diff options
author | Howard Chen <howardsoc@google.com> | 2019-03-26 16:13:04 +0800 |
---|---|---|
committer | Howard Chen <howardsoc@google.com> | 2019-04-12 19:08:24 +0800 |
commit | 148d7ed8f0ac1b4cc0b2b24343a434f72233a40f (patch) | |
tree | f0a59a7310e5c0209c24b488b12629e428295937 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | be0106abced580a34ea89d0484b2851d0b73065c (diff) |
Add SD card support for AOT
Some low end devices do not have enough space in internal storage
and need a SD card for the AndroidOnTap to work. This CL makes AOT
to use SD card when it exists. Also it adds a "os.aot.path" system
property to overwrite the path for testing.
Bug: 128801963
Test: adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
--es KEY_SYSTEM_URL file:///storage/emulated/0/Download/system.raw.gz \
--el KEY_SYSTEM_SIZE $(du -b system.raw) \
--el KEY_USERDATA_SIZE 8589934592
w/wo the "os.aot.path" system property and logcat
Change-Id: I1b35b39b207a68236bc44f8b3c4b952c7dbd5a1e
Merged-In: I1b35b39b207a68236bc44f8b3c4b952c7dbd5a1e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions