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
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
by default.
Swith the mGetPeriodicBugreport default
value to false so that the bugreport
will not be captured by default.
Change-Id: Ieae662478d865d9a49dec4f77f52046b560c8972
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
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
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
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.
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.
2) Add a new option in the scripted monkey which can enter a string through the shell command input text <string>
Change-Id: Iab7478fdc594c07e5166091d29dc644e430e43cb
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
Merge commit '9c1a73ba8a6b6cee05f235ef71975c427a9f3a3c' into gingerbread-plus-aosp
* commit '9c1a73ba8a6b6cee05f235ef71975c427a9f3a3c':
Update Monkey to new StrictMode API.
Merge commit 'd424b8d9ccb569c4a2f01de248068fd130e3bd82' into gingerbread-plus-aosp
* commit 'd424b8d9ccb569c4a2f01de248068fd130e3bd82':
Prepare for a new IActivityController method.
Merge commit '67aad2d8d51e9d48730f0c6e4848c60b1a9d0798' into gingerbread-plus-aosp
* commit '67aad2d8d51e9d48730f0c6e4848c60b1a9d0798':
Add the simple script log for the statbility stress test.