test lab session. It puts a device into bootloader mode,
reboots into bootloader mode, determines device type, erases
user cache, flashes a generic userdata image, updates the boot
image, updates the radio image, updates the system image and
reboots, sets up for a monkey run and finally runs a random
monkey test. It will repeat this based on an optional
parameter(-i) or default to 100 times. It will detect if it is
in a low battery situation and wait for it to charge
again.
Adding custom flash files for use with nexusone and sholes.
Updating files with review changes
Removing some trailing spaces and fixing a few typos.
Fixed some additional items and changed some of the naming
Fixed a comparison that wasn't correct
removed a default bootpart name, now needs to be added
custom_flash.sh
missing exit added
edited README for typos and wordage.
Change-Id: Ie7dc2139823304ce11b10b6fd65997cf311a2e9c
- Add in device "drag" command to simulate a finger moving across the touch screen
- Add in some pixel operation on MonkeyImage to scripts can do pixel level tests and comparisons.
- Fix up the help command to no longer loop forever.
- Start MonkeyRunner in interactive mode if no script file is specified.
Change-Id: Ifd2655d3291dcc9dc355d4c2efa9019dc38bee5d
- Set __name__ inside the scriptfile runner so python scripts expecting it get it.
- Propagate sys.exit error codes so monkeyrunner will actually return those error codes.
- Better handle PyExceptions thrown by the script to actually terminate monkeyrunner.
- Bubble up installPackage and removePackage error codes so callers can tell if they worked or not.
Change-Id: Ia4717b1ad2c9b4cccd607aba00211f2f85dfb412
(but noticable) performance improvement.
Add in unit tests to validate that ImageUtils works correctly.
Change-Id: I3f5a8512534c0193f99c0e514066dbd02746a6bc
- Add in ImageUtils (which is basically a copy from HierarchyViewer)
- Encapsulate ADB communications inside DebugBridge.
- Encapsulate Network Monkey protocol inside MonkeyMananger
Most of this code is currenlty duplicated in MonkeyRunner.java. Deletions of that code
will come in a subsequent change.
Change-Id: Ia33eeae9b12d97371781c5d2a0292b738130b4d3
It turns out annotation classes aren't spelled out in the public API
file, so we now emit warnings instead of errors on unrecognized method
calls into annotation classes.
The <angle bracket> stripper wasn't working quite right, and did the
wrong thing on nested brackets and stuff like "java.lang.Class<?>[]".
Merge commit '7f5c515c64a62c400f692ec2c3670a7b16a01a91'
* commit '7f5c515c64a62c400f692ec2c3670a7b16a01a91':
Fix compilation error by declaring stride before the first goto
The ETC1 texture format is commonly supported by
OpenGL ES 2.0-capable GPUs.
For historical reasons ETC1 texture files have the
default extension .PKM
This tool relies on the libETC1 library to
compress and decompress the image data.
The ETC1 texture format is commonly supported by
OpenGL ES 2.0-capable GPUs.
For historical reasons ETC1 texture files have the
default extension .PKM
This tool relies on the libETC1 library to
compress and decompress the image data.
This script can replace the copies of mkkey.sh sprinkled all over the
tree. It prompts nicely for passwords, avoids writing the raw private
key to disk, and always generates certs that use sha1WithRSAEncryption.