commit | 4ab7a5df1ce72cceae1a28e2dfc960805e3b1186 | [log] [tgz] |
---|---|---|
author | Jiakai Zhang <jiakaiz@google.com> | Mon Nov 27 21:45:46 2023 +0000 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Thu Nov 30 11:10:22 2023 +0000 |
tree | f0d1621fdee0c9b7fe2a3d88d0fac571e30127c0 | |
parent | b78a8a3b9f2e9d9a056fb6ea9cd15ddf2c8c470a [diff] |
Change `dexoptPackages` to support multiple passes. This CL changes `dexoptPackages` so that it can report progress and results for multiple passes. It enables us to add one more pass for background dexopt and collect stats of the new pass. This is generally a no-op change, except for that it changes the outputs of the `pm art dexopt-packages` command. Bug: 242170869 Test: atest ArtServiceTests Test: adb shell pm art dexopt-packages -r bg-dexopt Test: adb shell pm art dexopt-packages -r first-boot (cherry picked from https://android-review.googlesource.com/q/commit:03144b13b3489be8e5fcde799d08fcf30bd00b19) Merged-In: I6197ec92caca0e30a4efbc394faf24c778ba0b8a Change-Id: I6197ec92caca0e30a4efbc394faf24c778ba0b8a