summaryrefslogtreecommitdiffstats
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
* Track reason for screen turning on.Dianne Hackborn2015-07-151-1/+1
| | | | Change-Id: I1ab64b6d29d7e2c6f9006587d41a318289f13227
* fix slotting of permission categoryGuang Zhu2015-06-231-6/+6
| | | | | | | Per convention, event categories that are not key events should be inserted before the block of key event categories. Change-Id: I2cbe4a34231462dbdee1f8b97270fdd0b3354690
* teach monkey to flip permissions on appsGuang Zhu2015-06-216-59/+363
| | | | | | | | | 1. added a new MonkeyEvent type for permission events 2. added monkey permission utility for randomized permission events generation against targeted packages 3. refactored package whitelist/blacklist into MonkeyUtils class Change-Id: I8f7998d74c3e28d02f5bcd47a0f9cc6167b93c93
* Update call to IActivityManager.startActivity.Jeff Hao2014-08-261-1/+1
| | | | | | | | Multi-project change to go with https://googleplex-android-review.git.corp.google.com/529286 Bug: 17040932 Change-Id: I7fa018213acd71bc0f63c97399a1676bbde61d44
* am 361fce55: am d9fb901d: am 479cf9ff: Merge "Track changes to ↵Narayan Kamath2014-05-301-1/+1
|\ | | | | | | | | | | | | IActivityManager.startInstrumentation." * commit '361fce55866e220380fdf1c81f29e5498b5fa0a7': Track changes to IActivityManager.startInstrumentation.
| * Track changes to IActivityManager.startInstrumentation.Narayan Kamath2014-05-301-1/+1
| | | | | | | | Change-Id: Iceaecb720c2824134a1d6d13b1f3e0a16d41d76d
* | Add logging for failed injections to Monkey.Michael Wright2014-04-011-0/+1
| | | | | | | | | | Bug: 13679803 Change-Id: Iefb0073ad892b15b734b739fe036262ea60066d2
* | blacklist KEYCODE_SLEEP in random key generationGuang Zhu2014-03-211-0/+1
|/ | | | | Bug: 13583213 Change-Id: Ic0fa933440acb27a0636b2db83be08695e9df0db
* Merge "Revert "Monkey support for swipes from the sides of a device.""Ying Wang2013-06-113-113/+14
|\
| * Revert "Monkey support for swipes from the sides of a device."Ying Wang2013-06-113-113/+14
| | | | | | | | | | | | This reverts commit 47937eb6b2669060da7526cf66a3d9e4f6e35244 Change-Id: I788739c7a70132afb1f1ca13b71fff7d89ad200f
* | Optimizing AccessibilityNodeInfo caching (Monkey).Svetoslav2013-06-041-1/+2
|/ | | | | | | | Update monkey due to an API change. Main change:https://googleplex-android-review.googlesource.com/#/c/316822 Change-Id: Ib945c5e977925775569f2bbd78be9c7a66267480
* Monkey support for swipes from the sides of a device.Ying Wang2013-05-143-14/+113
| | | | | Bug: 8446772 Change-Id: I875f7bd083e275cce877e2168b5f580dd1d03dcd
* Debugging help for issue #8734824: WATCHDOG KILLING SYSTEM PROCESSDianne Hackborn2013-05-061-0/+55
| | | | | | | The monkey now gets told about system hangs, and does stuff about it! Most especially, it can collect a bug report. Monkey wins! Change-Id: Ic8350721e715ef21d1ec813c6aff9a83262d5faa
* Update to follow activity manager protocol change.Dianne Hackborn2013-01-311-1/+1
| | | | Change-Id: Iee6382c8ed35e296fe27a8fdb69e97dd8b455cc9
* Refactoring due to removing some private APIs.Svetoslav Ganov2013-01-233-79/+41
| | | | Change-Id: Id00d9fa974d8cb747cebb99c5a64ed5b438b56e9
* am ab8b25ff: am 03c58239: am c6fbad00: Merge "Make all monkeys do the same ↵Brian Muramatsu2012-10-091-2/+5
|\ | | | | | | | | | | | | thing" into jb-mr1-dev * commit 'ab8b25ff8ec856f490f5bbb95240c8fc0d24ba43': Make all monkeys do the same thing
| * Make all monkeys do the same thingKenny Root2012-10-091-2/+5
| | | | | | | | | | | | | | | | | | Monkeys were using SecureRandom, but what it really wanted was an LCRNG that allowed it to reproduce the same output with seeds. This change allows the monkeys to shine. Bug: 6950454 Change-Id: Iabf0fc5e7d50b786fa32b946e85de797220ff569
* | am 0c8fe324: am 1e1926db: Merge "For the recent SD card access change. The ↵Yu Shan Emily Lau2012-09-241-2/+2
|\| | | | | | | | | | | | | non-zogyte process need to use the Environment#getLegacyExternalStorage to access the sdcard." into jb-mr1-dev * commit '0c8fe324e579842cb04818a96016ef7b929e625a': For the recent SD card access change. The non-zogyte process need to use the Environment#getLegacyExternalStorage to access the sdcard.
| * For the recent SD card access change.Yu Shan Emily Lau2012-09-211-2/+2
| | | | | | | | | | | | | | The non-zogyte process need to use the Environment#getLegacyExternalStorage to access the sdcard. Change-Id: I797d235954defe25e1bd8728f167250e4f9d0fe9
* | am 6852ac74: am 077c59a0: Track multi-user change.Dianne Hackborn2012-09-101-1/+1
|\| | | | | | | | | * commit '6852ac7430cdf909a223e6ba9d9ec9b9ca22e46a': Track multi-user change.
| * Track multi-user change.Dianne Hackborn2012-09-071-1/+1
| | | | | | | | Change-Id: I0b45ec880f6149fba5d2d83c014e1e71a6524b99
* | am a80e74b7: am dbb1e6af: Fix some more.Dianne Hackborn2012-09-041-2/+3
|\| | | | | | | | | * commit 'a80e74b710e3bc262395c7dbbfa3a82eb189ceb1': Fix some more.
| * Fix some more.Dianne Hackborn2012-09-041-2/+3
| | | | | | | | Change-Id: Ieeba0ba87f65eed25f3a0f23924fc99b90cc1d69
* | am 75cd1b5b: am 99c82587: Merge "Use new display manager API." into jb-mr1-devJeff Brown2012-08-292-4/+4
|\| | | | | | | | | * commit '75cd1b5bc411a599b9fbb632e96edcbdd9a0e1f8': Use new display manager API.
| * Use new display manager API.Jeff Brown2012-08-292-4/+4
| | | | | | | | Change-Id: Ia7a19413d201532d8cf22bee6bcedd4af1657831
* | am 3eadba67: am f9fc2a56: Use new display manager API.Jeff Brown2012-08-192-9/+5
|\| | | | | | | | | * commit '3eadba67786e6e44ae17d5f6531343d95133e27d': Use new display manager API.
| * Use new display manager API.Jeff Brown2012-08-192-9/+5
| | | | | | | | | | | | Also deleted some dead code. Change-Id: I4d070b6642caf2c143eeacceeb678c102e5da19c
* | am 846fe415: am 77201b54: Rename UserId to UserHandle.Dianne Hackborn2012-08-162-5/+5
|\| | | | | | | | | * commit '846fe415350bd0668f8a2190d1c78cf07c97ef60': Rename UserId to UserHandle.
| * Rename UserId to UserHandle.Dianne Hackborn2012-08-162-5/+5
| | | | | | | | Change-Id: I701335483628d30c875d087f27287e084789f10c
* | am b25ebf3f: am 9bb23fd7: Use new PowerManager API.Jeff Brown2012-08-151-1/+1
|\| | | | | | | | | * commit 'b25ebf3fc78c98b508f1b51278d017c070998ea8': Use new PowerManager API.
| * Use new PowerManager API.Jeff Brown2012-08-141-1/+1
| | | | | | | | Change-Id: I2901fd02cd5b2307e3a4d2f35b03ef7060712908
* | supported multi-touch scripts and line-by-line mode in monkey, fixed some ↵Xiaojun Bi2012-07-191-1/+115
|/ | | | | | format issues Change-Id: Ib8890bf290b11c5842f0bf7e6829231816a3bae8
* Remove the WaitEvent added in Tap and Drag.Xia Wang2012-05-181-4/+1
| | | | | | | | | As the delay is added as WaitEvent, throttle time is applied after the WaitEvent. This cause problem for Tap and Drag. The thorrle time is then inserted between ACTION_DOWN and ACTION_UP, or ACTION_DOWN and ACTION_MOVE. This broke the two actions. Change-Id: I5a122d6cb3d99e38d9442c3de50e0360652c4baf
* more fixes to monkey motion event timingGuang Zhu2012-05-041-9/+20
| | | | | | | | | | | | | | | | | | | Last attempt to fix ACTION_MOVE ended up breaking stuff elsewhere. For a touch based gesture, it usually have a group of motion events, and typically they have the same down time and individual event times. Example: a tap should have ACTION_DOWN with same down time and event time, and subsequent ACTION_UP should have the same down time as previous one, but a fresh event time. Similar situation applies to ACTION_DOWN, ACTION_MOVEs, ACTION_UP sequence of a drag/scroll/fling gesture In addition, a 5ms delay is added for a tap between DOWN and UP. And a 5ms delay is added for each injected event in a drag gesture Change-Id: I8e65e578152b1c1ff1fa4c0f476ef45806826479
* fix how monkey adjust timestamps for motion eventsGuang Zhu2012-05-011-5/+6
| | | | | | | | | | | | | | | Currently for motion events, monkey forces current system uptime onto both down time and event time. This breaks ACTION_MOVE events because the down time of it is supposed to be the time when finger is down. the new logic is: * check down time, if it's invalid (<0), fill in uptime * always update event time with a fresh uptime Bug: 6424997 Change-Id: I0b445815a5015d48c08bebc921c572164874449d
* Fix Monkey key events.Jeff Brown2012-04-261-30/+34
| | | | | | | | | Monkey should not be injecting keys with metastate of -1. Cleaned up the code to ensure it doesn't happen and to make it more obvious what's going on. Bug: 6397645 Change-Id: I7339b2fe14edb0578005f93af1f803a0ae3dec96
* Merge "change the way we fetch the test result file."Tsu Chiang Chuang2012-04-171-3/+3
|\
| * change the way we fetch the test result file.Tsu Chiang Chuang2012-04-091-3/+3
| | | | | | | | Change-Id: I5b1863ad0a7db877e50e1d38cff4e23b95faa4b0
* | Ensure Monkey uses sane timestamps for key events.Jeff Brown2012-04-111-14/+16
| | | | | | | | | | Bug: 6323659 Change-Id: Idc14c36026bc8d1b612765e2da73e9b618d94ded
* | Use new InputManager API.Jeff Brown2012-04-092-2/+2
|/ | | | Change-Id: Ic521e4134e0aeb4d85e322b0a4f5bc925458b71f
* Merge "Use new input manager API."Jeff Brown2012-04-054-49/+20
|\
| * Use new input manager API.Jeff Brown2012-04-054-49/+20
| | | | | | | | | | Bug: 6110399 Change-Id: Icc0b2bb1261ce39809af6a2b78279b28d3a758c5
* | Add new way to calculate FPS to monkey.Tsu Chiang Chuang2012-04-022-0/+186
|/ | | | Change-Id: I7ba222bfd3c6955bfeed3fda6d4bda95c129f2dc
* Support to generate screen rotation events.Ying Wang2012-03-275-13/+140
| | | | | | | Bug: 6086016 Use "--pct-rotation <percentage>" to set the percentage. Change-Id: If16fac45399ad50b25e211f2788a02fdc03c44b4
* Package control per userAmith Yamasani2012-03-202-3/+6
| | | | Change-Id: Ife6c3b223c382ca680b5fcf9b71213d0460c95b7
* Update to follow IActivityManager change.Dianne Hackborn2012-03-141-2/+2
| | | | Change-Id: I1e02418be7e6c2777662c0b4ba99b7b68c37834a
* Fix # of arguments to startActivitySiva Velusamy2012-03-091-1/+1
| | | | Change-Id: I01daa8efe56d6a8ba0d35f63290d50281d4723eb
* Merge "Fix UNKNOWN keycode parsing in monkey."Bill Napier2012-03-053-3/+10
|\
| * Fix UNKNOWN keycode parsing in monkey.Bill Napier2012-02-163-3/+10
| | | | | | | | | | | | | | | | | | 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
* | Update the intent that monkey uses to launch applicationGuang Zhu2012-02-271-5/+5
|/ | | | | | | | | 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