This is a transitional step towards truth 1.0.1, where these APIs have
been completely removed.
Bug: 168765701
Test: m checkbuild
Exempt-From-Owner-Approval: Cherry-pick of no-op refactor into another branch
Merged-In: I26ab5ab82bb939bbd9553c05387ac8641eb468b4
Change-Id: I26ab5ab82bb939bbd9553c05387ac8641eb468b4
(cherry picked from commit 4697f76edd28cc9363c5ca099a6f9c311c1aee50)
The stack trace log may confuse other developers and mistakenly points
to IORap as the bug cause.
cherry-pick from ef5e1a6dbee8c7b2db4f150ea9463a8523a207ec
Bug: 161145462
Test: Make and check the logcat.
Merged-In: I3cb24cace060cff381ab3c5770ff6c1c948a2d89
Change-Id: I3cb24cace060cff381ab3c5770ff6c1c948a2d89
This class is for sanity check only, downgrade the log level.
Bug: 159947779
Test: Make and check the logcat.
Change-Id: I0c9c125c0208849252db4992dfd4860750a104f8
This reverts commit e4533f0e3e163812acc9fa292367a937100a4ee7.
Reason for revert: The tests are very flaky. It prevents the new CLs. It's not flaky when using acloud. Temporarily turn it off before submitting ag/11056503
Bug: 155424393
Change-Id: I5d5ecc3162d6a89a1e86e3dfab91a4af05d9d2d1
For example: 100001ms should be 100.001s instead of 100.1s
Bug: 154036462
Test: atest iorap-functional-tests
Change-Id: I9502358539019573af106d9dcec2681ea406598b
Branch ub-ctsshim-dev doesn't include these apks in other dir and
causes dangling symlink.
Bug: 153458255
Test: make
Change-Id: I9efdfe620d06356d6e6f84faf5334382465c681f
Changes:
* Check logcat instead of db to confirm each step.
* Include version invalidation.
Bug: 152443508
Bug: 148936893
Test: atest iorap-functional-tests on cuttlefish.
Change-Id: I27e8fc8705889a04cb6f38295b64a25c1aceb742
The plan is to use it for iorap to purge its traces when a package
is updated.
Bug: 150640692
Test: adb shell cmd package bg-dexopt-job com.google.android.GoogleCamera
Change-Id: I45f4dacc1630c4afd7cf2321371a04f79ef18d9e
Downgrade EventSequenceValidator into warnings for rvc-dev since the C++ side
will already handle bad state transitions from ActivityMetricsLogger.
Only for rvc-dev because we'll want to properly fix this for S.
Bug: 152322073
Test: build
Change-Id: Idf7a68436c2d60b123e0e6e58dc098b62aa11e80
Querying in the native layer for assets provided through
AssetsProviders does not currently work. This change refactors the
AssetProvider API to return a file descriptor that is read in the
native layer and can bubble up to the java layer.
This change also removes the InputStream API to favor of developers
using memfd_create.
Bug: 142716192
Test: atest ResourceLoaderValuesTest
Change-Id: I1a7eca0994c3b7cc32008d9a72bf91086ff0e816
This API allows a directory to be loaded as if it was a zipped APK.
This is a substitute for the DirectoryAssetProvider API that
currently does not work in the native layer.
Bug: 142716192
Test: atest FrameworksResourceLoaderTests
Change-Id: Ia13e15653e75b421423dd56f9fe89e183ab4cb9a
Fixes system_server crashes at the end of a job (in #onStopJob)
by correcting the MAX type number.
Bug: 148191073
Test: make
Change-Id: I12b0c65a0b3ad7ab3277a94f51fa2e71d323f862
(cherry picked from commit aa1ac9309416519dab21a17b8632645860e1431b)
The prefetching work runs on another process.
Grep everything to workaround it.
Bug: 137403231
Test: atest iorap-functional-tests
Change-Id: Iac1796cb22f0db83ac5ebd78cb40e5cc5ac3a930
(cherry picked from commit 7d76f014eb92661f4fb8fdb949ac000ffdce3c65)
inode2filename is a bit slower now so it takes a while for the compiler
to finish. Increase timeout to compensate.
Bug: 150462358
Test: atest iorap-functional-tests
Change-Id: If1e017ad3c2c441b96dceadd91eb340fdf24302c
Fixes a bug in the scripts which prevented true cold starts from
happening (it was force-stopping the activity after the dropcaches).
Also adds -rfd/--reportfullydrawn to make rfd parsing optional since
most apps don't have it.
Bug: 150237362
Test: run_app_with_prefetch -r cold
Change-Id: I132bfc3ccd4d96f171ed364ef64387bbf2c78091
* Enable perfetto tracing and readahead for testing.
* Extend time limit for JUnit test to 5min.
Bug: 148936893
Test: run atest iorap-functional-tests on Forrest
Change-Id: Iad2b2201abf7736a9c86e4e5f7c1579eb78b2e23
It is broken because selinux is broken in cf_x86,
see bug b/149098310.
Disable it until the above bug is resolved or we come up
with a workaround.
Bug: 148765584
Change-Id: If0ac0f6dd04b1aad693405643f133361ad65f4fc
This reverts commit 7cda47a2d1c9a50fee547645ead90559fadc7450.
Reason for revert: This test failed frequently for some reason. Disable it to investigate the reason.
Change-Id: I7c9da14396010f4ddf728e5626b8827d471219a8
iorap.stress.memory <optional:bytecount> will mlock that amount of RAM
with randomly-written values, ensuring we avoid kernel optimizations
such as swap, zram, ksm, etc.
Bug: 137397549
Test: iorap.stress.memory # and visually inspect VmLck output.
Change-Id: Icf0786b2607a9a8bc7b6d77aa119abfc0249e7e0