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-07-26 18:06:17 -07:00
2019-08-09 20:38:34 +00:00
2019-07-29 20:00:37 -07:00
2019-08-01 13:44:37 +01:00
2019-08-09 20:52:39 +00:00
2019-08-01 13:44:37 +01:00
2019-08-07 23:08:25 +00:00
2019-08-04 02:29:44 -07:00
2019-06-12 11:16:08 +00:00
2019-08-19 17:35:02 +08:00
2019-07-17 15:29:42 -07:00
2019-08-09 22:13:33 +00:00
2019-08-07 22:51:23 +00:00
2019-07-23 07:49:41 +00:00
2019-08-08 15:09:33 +01:00
2019-08-11 17:00:38 +00:00
2019-08-01 09:33:03 -07:00
2019-08-08 10:03:37 +00:00