Revert "Test featureId is correctly used in startActivity"
Revert submission 10111030-activityStarter_featureId
Reason for revert: presubmit test breakage
Reverted Changes:
Ic7056b492: Activity start: Send featureId from context->AppOp...
I8e2a07da7: Adjust monkey to changed internal APIs
I7a6af6fb1: Test featureId is correctly used in startActivity
Change-Id: I430258d9b50b3d760e408e94f9abd8b6745dd92a
The public platform version no longer can be a codename, it is
always the most recently released platform. A new build property
and API provides either the offical version or the current codename
as appropriate. This will avoid breaking apps that look at the
platform version while development is under a codename.
Bug: 143175463
Change-Id: I7570a01b322db0be86388d70b48991cf5beb4fea
Test: manual
Exempt-From-Owner-Approval: Previously approved, no new changes
Reason for revert: This causes a boot issue on Taimen (b/144480969). It wasn't caught by TreeHugger due to Taimen tests being disabled due to a different lab outage (b/144350336).
Change-Id: I97f1ba219f23b509c62c22f4a2786e4fb13b530f
The public platform version no longer can be a codename, it is
always the most recently released platform. A new build property
and API provides either the offical version or the current codename
as appropriate. This will avoid breaking apps that look at the
platform version while development is under a codename.
Bug: 143175463
Test: manual
Change-Id: I9cc55fa3d5cee2606ea634d3926d957990694908
* Sleep until file is done writing. Meanwhile appCrashed() should be called.
Bug: 68762010
Test: Run monkey + call "killall -SIGSEGV com.google.android.inputmethod.latin" in adb shell (repeated many times)
Change-Id: I4c8bd5d653fc195878275e291d927f2d87814858
Don't assume a single global trace file. /data/anr might contain
multiple files - always dump the most recent.
Test: Manual
Bug: 32064548
Change-Id: Ib24e7364cac9e3fd105dafb40d6e399d46759770
The runner is using internal constants from accessibility.
I'm moving window IDs to AccessibilityWindowInfo, so this
project needs to change as well.
Bug: 34773134
Test: Just verifying the build.
Change-Id: I64fa4ff63543deadb7aa32b3e93d3dad1d6b9439
the monkey not read completed the sync pipe.
- Incorrect exception handle.
When no space left on the device the write will
occurs an I/O exception, so we needed to catch it
and continue to read the data of the sync pipe to
aviod the bugreport hang forever.
https://code.google.com/p/android/issues/detail?id=211970
Change-Id: I80c6548434587bcc17b50f0c246a5887cdd339cf
Signed-off-by: songjinshi <songjinshi@xiaomi.com>
A few LOCAL_ADDITIONAL_DEPENDENCIES were required, where
LOCAL_REQUIRED_MODULES would be nicer, but you can't require a module of
the same name. It would create a dependency loop with the current
require implementation, so it's filtered by the build system.
Also translate monkey from ALL_PREBUILTS to a prebuilt like the rest of
the tools. This doesn't change anything, since 'monkey' is already in
build/target/product/base.mk.
ACP is being removed, so use the standard build system macros to copy
files.
Change-Id: I4f73c6b35c0d7ae25467145b0a9d5c32ba4578d2
Per convention, event categories that are not key events should
be inserted before the block of key event categories.
Change-Id: I2cbe4a34231462dbdee1f8b97270fdd0b3354690
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