diff options
| author | 2022-10-07 22:10:12 +0100 | |
|---|---|---|
| committer | 2022-10-18 23:10:38 +0100 | |
| commit | 901d13ba1a6a785b3805816abad51c6a57be6a5e (patch) | |
| tree | 8f28d7b616ae7add75b8c82bf22a5a2638879e1d /libs/androidfw/ResourceTimer.cpp | |
| parent | 280ea1af03eb6f61925e3556372c40eb0e6edfe3 (diff) | |
Optionally use ART Service for optimizing packages.
It is only used when the system property dalvik.vm.useartservice is
true and the requested options are supported.
Test: adb root
adb shell cmd package force-dex-opt com.google.android.dialer
with dalvik.vm.useartservice=true and
DexoptOptions.DEXOPT_INSTALL_WITH_DEX_METADATA_FILE added to the
flags in DexOptHelper.forceDexOpt. Check that artd calls dex2oat and
that /data/dalvik-cache/x86_64/*@classes.dex are created and used
with:
adb shell am start -S -W -c android.intent.category.LAUNCHER \
-a android.intent.action.MAIN com.google.android.dialer
adb shell cat '/proc/`pidof com.google.android.dialer`/maps' \
| grep classes.dex
Bug: 251903639
Change-Id: Iea2fd2d1cb5d77e725f51c00211d7df43826700a
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions