diff options
author | Shubham Ajmera <shubhamajmera@google.com> | 2017-06-22 11:10:27 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-10-31 14:51:58 -0700 |
commit | 54ef8626be7b2351eb8482e21951ddb00a3b39d6 (patch) | |
tree | 76e376db8b564acc6b7b47b0b87123393071790c /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 3f94b5e2d830c1c9000b8c391041a07776de3696 (diff) |
Check dexopt needed for secondary dex while downgrading
Test: make otapreopt
Test: manual
* Remove the check in the code that allows downgrade only when
the space is low on the device.
* adb root
* Set pm.dexopt_unopt_after_inactive_days to 600
* Make sure the current time of the device is correctly set
* Install 2 non system apps - B, C
* Downgrade B to extract
* Upgrade a system apps to speed-profile - E
* Downgrade a system app to quicken - G
* adb shell cmd package bg-dexopt-job
Expected Results:
* Extract - B
* Verify - C
* There should not be any entries for apps E an G
in dalvik_cache
For secondary dex:
* compile googlequicksearchbox to everything.
* run background dexopt service for secondary dex.
* verify the compiler filter for the corresponding odex files.
(cherry picked from commit 45c8743428e0c9445430995ba395b3b5ebf82b3e)
Bug: 36598475
Merged-In: I6ad40e2c53433326f83c2589646d94ba555400b2
Change-Id: I6ad40e2c53433326f83c2589646d94ba555400b2
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions