Howard Chen
7bb18effb2
Use Ashmem to reduce buffer copies
Use android.os.MemoryFile to allocate Ashmem and use gsid.setAshmem and
gsid.commitGsiChunkFromAshmem to submit data.
Bug: 138976291
Test: adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
-d file:///storage/emulated/0/Download/system.raw.gz \
--el KEY_SYSTEM_SIZE $(du -b system.raw|cut -f1) \
--el KEY_USERDATA_SIZE 8589934592
Change-Id: I6df718a8cc3f4e5835c9d20d0bf5bf8bb0daee22
2019-08-19 17:35:02 +08:00
..
2019-08-19 17:35:02 +08:00
2019-08-08 16:56:57 +00:00
2019-08-08 17:33:09 +00:00
2019-08-08 14:40:06 -07:00
2019-08-09 16:01:23 +00:00