Amith Yamasani
a277cee31d
Package control per user
...
Change-Id: Ife6c3b223c382ca680b5fcf9b71213d0460c95b7
2012-03-20 11:48:16 -07:00
Dianne Hackborn
51cb3a4dbc
Update to follow IActivityManager change.
...
Change-Id: I1e02418be7e6c2777662c0b4ba99b7b68c37834a
2012-03-14 12:57:15 -07:00
Siva Velusamy
fd4a73989f
Fix # of arguments to startActivity
...
Change-Id: I01daa8efe56d6a8ba0d35f63290d50281d4723eb
2012-03-09 14:35:44 -08:00
Bill Napier
339fa32291
Merge "Fix UNKNOWN keycode parsing in monkey."
2012-03-05 09:49:27 -08:00
Guang Zhu
73421de1a0
Update the intent that monkey uses to launch application
...
The purpose of the monkey event is to imitate user action of
launching an app from launcher, and apparently launcher is
using one extra flag FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
Bug: 6007633
Change-Id: Ie42cc84fd6235c9419b96bd9574056ed46687b25
2012-02-27 14:38:55 -08:00
Bill Napier
3d3d64250d
Fix UNKNOWN keycode parsing in monkey.
...
Reported here: http://code.google.com/p/android/issues/detail?id=25369
Change the monkey's keycode parsing code to check
KeyEvent.KEYCODE_UNKNOWN instead of -1.
Change-Id: I2caa82980b83c49614a318d38c0257a5587c16cd
2012-02-16 16:58:19 -08:00
Svetoslav Ganov
6848f33575
Merge "Updating the monkey to use a dedicated UI test bridge."
2012-02-01 13:45:42 -08:00
Yu Shan Emily Lau
c44d7a8359
am 075783dc: am 979806b0: Regular monkey should not write script log.
...
* commit '075783dcd8b07c8e1e0994f1ec5d909f3977eef5':
Regular monkey should not write script log.
2012-01-30 11:28:02 -08:00
Yu Shan Emily Lau
979806b0a8
Regular monkey should not write script log.
...
Change-Id: I225cb01d3fb81478ea0e13cc4a6546d71d16d251
2012-01-30 11:08:53 -08:00
Svetoslav Ganov
4ce026b4b1
Updating the monkey to use a dedicated UI test bridge.
...
1. The MonkeySourceNetworkViews was registering a raw event
listener for accessibility events and hence perform
connection and cache management in similar way to an
AccessibilityService. This is fragile and requires
the Monkey implementor to know internal framework
stuff. Now the functionality required by the class
is accessed via the new UiTestAutomationBridge.
Change-Id: Idd5820e42a4b4dfc1d9eed8977ec5ccd96485daa
2012-01-23 18:23:45 -08:00
Svetoslav Ganov
15ee96f1d5
Fising the build
...
Change-Id: I3bbc77a2ad4244076df01071c1093f969c9dd4e4
2011-11-30 19:37:55 -08:00
Svetoslav Ganov
bdf03ad735
Updating the Monkey commands due to framework changes.
...
bug:5664337
Change-Id: I7093fb8a646b9363dde6eee87955330bedec117b
2011-11-30 17:48:47 -08:00
Yu Shan Emily Lau
1baa142c06
do not merge: cherry-picked Change-Id: I094dbc4ffa42771a13dfb796761546093649481c from master branch
...
Change-Id: Ia54463c93a7f941d7de3cc003ce773749d1f016e
2011-11-08 15:35:28 -08:00
Yu Shan Emily Lau
08fa5ef66f
Bug 5440088 Turn off the bugreport catpure
...
by default.
Swith the mGetPeriodicBugreport default
value to false so that the bugreport
will not be captured by default.
Change-Id: Ieae662478d865d9a49dec4f77f52046b560c8972
2011-10-10 19:40:22 -07:00
Svetoslav Ganov
33a93ebfe3
Update required due to framework API change.
...
Change-Id: I0c297c978415e2a23df1fc2e70ebfa3e6e00715d
2011-08-24 16:35:09 -07:00
Dianne Hackborn
b4ac2b3b35
Update to follow framework change.
...
Change-Id: I4ce9cadc9a3a5e34bc0fc4cf01ebb0cd1447f913
2011-08-15 18:25:56 -07:00
Michael Wright
c6c89b994e
Added deferreturn command
...
Change-Id: Id84ac667d42dab4648b24cc335917c3d15ec1de4
2011-07-20 14:27:10 -07:00
Michael Wright
b36bed5899
Added view introspection functionality to Monkey
...
Change-Id: Ica8439d8c5694dc6ecc5c64d8ce52d16f51cbb25
2011-07-20 14:21:04 -07:00
Yu Shan Emily Lau
921d82fcdc
Add the Tap duration in the scripted monkey.
...
Change-Id: Ie18872f6ab7934458f45fb2ac573a90a2c12319a
2011-07-14 16:59:45 -07:00
Yu Shan Emily Lau
3de6f45822
Add the pinch and zoom action in the
...
scripted monkey.
Change-Id: I658ee5954bc6c994e2206e7bde4aec382a66caea
2011-07-13 14:35:40 -07:00
Dianne Hackborn
5480519835
Follow internal impl change.
...
Change-Id: I61e545306182e106723e74f28650c165dcdab19a
2011-06-30 11:23:55 -07:00
Yu Shan Emily Lau
d099c144ed
Add the framerate catpure tool. The change
...
introduce two new keywords - StartCaptureFramerate and
EndCaptureFramerate. This will call the adb shell call
service call SurfaceFlinger 1013 to get the actual fps.
The system property - viewancestor.profile_rendering
must be set to true before running this test.
Change-Id: I0fd1940ac94c77fc2bbf3c8048d7d5d68571590e
2011-06-15 18:39:39 -07:00
Yu Shan Emily Lau
5f8f4e8d21
Added the Drag action to the scripted moneky
...
Change-Id: Ib7f4f09cd07029c7332f99813c97ed0fc8dfa66a
2011-02-09 15:32:46 -08:00
Yu Shan Emily Lau
ebbef932a7
Added the periodic bugreport option for the Auotmated profile test.
...
Added the press and hold keyword in the scripted monkey.
Bug#3426961
Change-Id: I18f84520ef37c9b5cb300f62df3540d0d774c62b
2011-02-07 20:46:25 -08:00
The Android Automerger
902bc7bcea
resolved conflicts for merge of 42f87e1b to honeycomb-plus-aosp
...
Change-Id: Ic0ea8910670567e1725e42de76e6da0cd09decac
2011-01-24 23:45:43 -08:00
Yu Shan Emily Lau
d391ae2098
Fixed the appCrashBugreport reset flag. Bug# 3383876
...
Change-Id: I51d06ad30ed43789943cc99744898028e11b8466
2011-01-24 11:57:32 -08:00
Dianne Hackborn
42f87e1b47
am e6354845: Merge "Monkey: request am to show the ANR dialog"
...
* commit 'e635484562dc7f21aa16de3147a100210708c8f8':
Monkey: request am to show the ANR dialog
2011-01-22 11:52:53 -08:00
Vairavan Srinivasan
af5e575643
Monkey: request am to show the ANR dialog
...
Default return value of 1 from appNotResponding was to show the
ANR dialog in eclair. However, recent version of android's am
interpret 1 as to wait. Fix is to change the default return
value from 1 to 0.
Change-Id: I6620ef54309f1d30ef18a2b60d73b346c2446f93
2011-01-21 18:00:52 -08:00
Jeff Brown
f40ea5cfd9
am 98ab3219: Prevent monkey from turning off the screen. (DO NOT MERGE)
...
* commit '98ab321927f1ea9ebb7ba6b5506ac6748b005555':
Prevent monkey from turning off the screen. (DO NOT MERGE)
2011-01-20 21:46:27 -08:00
Ed Heyl
fd6a2b4d25
Merge "Really don't send POWER or ENDCALL." into honeycomb
2011-01-20 19:10:22 -08:00
Jeff Brown
98ab321927
Prevent monkey from turning off the screen. (DO NOT MERGE)
...
Bug: 3371251
Change-Id: I33005005fadc0f994f39fded10faafe21116f82a
2011-01-20 17:54:53 -08:00
Jeff Brown
82df76b040
Really don't send POWER or ENDCALL.
...
Change-Id: If55c6bc7565a9a6b493da16fac5c7ad3c621684f
2011-01-20 17:41:18 -08:00
Yu Shan Emily Lau
080c237638
Merge "Fixed the monkey option - killProcessAfterError is not beging checked in ANR. bug#3146736" into honeycomb
2011-01-20 10:21:37 -08:00
Jeff Brown
8a2659dc0d
Prevent monkey from turning off the screen.
...
Bug: 3371251
Change-Id: Iadae29e8e4a67052746b8e2d2f5f542e4ee6dcc5
2011-01-19 19:43:49 -08:00
Yu Shan Emily Lau
bf86c3e1ce
Fixed the monkey option - killProcessAfterError is not beging checked in ANR. bug#3146736
...
Change-Id: I82dc5d28a218f8e2a6e7c13f27a4aca398cd904d
2011-01-14 19:25:11 -08:00
Brett Chabot
b45644eac0
Replace use of ro.monkey with ro.test_harness.
...
Bug 3329873
Change-Id: Ia681803c3d0b0afeceb178b8314c9d7227d99355
2011-01-09 14:11:50 -08:00
Jeff Brown
585ab96950
Add support for multitouch pinch-zoom gesture to monkey.
...
Change-Id: Ib28f2ede95dbe01eae4d9c72906b6fdfeda44ce4
2010-12-14 13:42:22 -08:00
Yu Shan Emily Lau
af2fc1a4e2
Adjusted the motionEvent time to the acutal time when then event is send out to the queue.
...
Change-Id: I722508829c79028a7345a4dea0517fc1117b8fa5
2010-12-09 18:36:39 -08:00
Dima Zavin
9f8e7b45b2
monkey: trap SIGHUP in shell before launching
...
Change-Id: Ia79361858baa72970ba15d2d1ce0290d0bd38967
Signed-off-by: Dima Zavin <dima@android.com >
2010-12-09 14:22:21 -08:00
Jeff Brown
f083bd43a0
Monkey updates for new keyboard features.
...
Add the new volume mute key as a system key.
Use virtual keyboard during injection.
Also fixed a deprecation warning for using an old Intent API.
Bug: 2912307
Bug: 3221301
Change-Id: I056844509112727aa3541223f090cc500c55fc41
2010-11-23 15:51:40 -08:00
Yu Shan Emily Lau
05cd1145d4
am 35ccee0b: am 9bfa6f90: Merge "1) add the bugreport option which allow the scripted monkey to capature the bugrepor and save it to the sdcard wherenever there is a ANR, java crash and native crash. 2) Add a new option in the scripted monkey which can enter a string
...
Merge commit '35ccee0b22501feda0249dfcaaff2a9fdcd363b6'
* commit '35ccee0b22501feda0249dfcaaff2a9fdcd363b6':
1) add the bugreport option which allow the scripted monkey to capature the bugrepor and save it to the sdcard wherenever there is a ANR, java crash and native crash.
2010-10-21 13:44:36 -07:00
Yu Shan Emily Lau
35ccee0b22
am 9bfa6f90: Merge "1) add the bugreport option which allow the scripted monkey to capature the bugrepor and save it to the sdcard wherenever there is a ANR, java crash and native crash. 2) Add a new option in the scripted monkey which can enter a string through the s
...
Merge commit '9bfa6f90b8c56ed7404c0c07a70e27a9fbad3c23' into gingerbread-plus-aosp
* commit '9bfa6f90b8c56ed7404c0c07a70e27a9fbad3c23':
1) add the bugreport option which allow the scripted monkey to capature the bugrepor and save it to the sdcard wherenever there is a ANR, java crash and native crash.
2010-10-20 14:06:56 -07:00
Yu Shan Emily Lau
e8b416049b
1) add the bugreport option which allow the scripted monkey to capature the bugrepor and save it to the sdcard wherenever there is a ANR, java crash and native crash.
...
2) Add a new option in the scripted monkey which can enter a string through the shell command input text <string>
Change-Id: Iab7478fdc594c07e5166091d29dc644e430e43cb
2010-10-19 22:04:33 -07:00
Jeff Brown
b0b841029a
Use framework-supplied keycode symbols.
...
KeyEvent now offers an (@hidden) method to map keycodes to symbolic names
in a way that is compatible with what Monkey was already doing itself.
Now we shouldn't need to change monkey each time we add new keycodes.
Bug: 2912307
Change-Id: I9cd729b17c3f19505a4d3afcce465dad0c64cce0
2010-10-14 23:02:59 -07:00
Ying Wang
cbe0d5b963
resolved conflicts for merge of de14fbd4 to gingerbread-plus-aosp
...
Change-Id: I53302710ca0698daa5fe8ca3ce631a70d1578463
2010-10-07 14:59:03 -07:00
Ying Wang
de14fbd4b1
Set monkey process name
...
So you can find it easily with "ps" or "top".
Change-Id: Id52cb8bb1680bd2cc24043d08a94f0a304f1e436
2010-10-07 13:04:24 -07:00
Brad Fitzpatrick
feebca8ba2
am 9c1a73ba: Update Monkey to new StrictMode API.
...
Merge commit '9c1a73ba8a6b6cee05f235ef71975c427a9f3a3c' into gingerbread-plus-aosp
* commit '9c1a73ba8a6b6cee05f235ef71975c427a9f3a3c':
Update Monkey to new StrictMode API.
2010-10-01 13:07:42 -07:00
Ying Wang
58c636c9bc
am 45550faa: Merge "Don\'t send non-existent system keys." into gingerbread
...
Merge commit '45550faad0f683d1393ea20144246ed43fc19899' into gingerbread-plus-aosp
* commit '45550faad0f683d1393ea20144246ed43fc19899':
Don't send non-existent system keys.
2010-10-01 10:48:30 -07:00
Brad Fitzpatrick
9c1a73ba8a
Update Monkey to new StrictMode API.
...
Change-Id: I0f2e90496c4dece8ee3766170d8a1fe2d22a7ff4
2010-10-01 10:48:01 -07:00
Ying Wang
5ee69f6f2c
Don't send non-existent system keys.
...
Send only if the system key physically exists.
Change-Id: I8fa102db679c55e5bfba1c9a68ecf2bc196021cd
2010-09-29 13:23:56 -07:00