summaryrefslogtreecommitdiff
path: root/libnativeloader/native_loader_test.h
diff options
context:
space:
mode:
author Calin Juravle <calin@google.com> 2021-06-02 14:42:03 -0700
committer Treehugger Robot <treehugger-gerrit@google.com> 2021-06-08 20:58:43 +0000
commitbeb9f2012587035a5c30d0eca8af458b2ad659b7 (patch)
treeebc2509c9d3250d47e6e54c2c67f2f4bce74c80b /libnativeloader/native_loader_test.h
parentf31b75b2b80154112835c25bb0a21196453ac71a (diff)
Consider the size of the reference profile when assessing IsFirstSave
This makes the detection logic for the first profile save much more precise. It prevents the case where we would return true if the data was already moved from the current profile to the reference profile. At the same time, rework part of the logic for early save. The checks needed to be moved earlier to encompass the startup class resolution. Test: run-test & manual adb shell stop; adb shell setprop dalvik.vm.ps-min-save-period-ms 300; adb shell setprop dalvik.vm.extra-opts -verbose:profiler; adb shell start; adb shell cmd package compile com.android.systemui -r bg-dexopt restart & check Bug: 185979271 Change-Id: Icfec30c6f49c8e03b03ff4bcbc2b869393fdcbfe
Diffstat (limited to 'libnativeloader/native_loader_test.h')
0 files changed, 0 insertions, 0 deletions