diff options
author | Howard Chen <howardsoc@google.com> | 2019-11-05 20:46:20 +0800 |
---|---|---|
committer | Howard Chen <howardsoc@google.com> | 2019-11-12 20:13:26 +0800 |
commit | 4663de60960272ce35e390f325a4448992b5f6a0 (patch) | |
tree | 824ebcd05b938e791a9640c5ad72d08c50625d74 /Android.bp | |
parent | 4d4c722d2fc0a5583d52a2f3111553c168f73979 (diff) | |
download | gsid-4663de60960272ce35e390f325a4448992b5f6a0.tar.gz |
Refactoring
* Remove GsiInstallParams.aidl
* GsiInstaller -> PartitionInstaller
* beginGsiInstall -> open, close, createPartition
* wipeUserdata -> zeroPartition
* GetInstallation returns current installation
* SaveInstallation save current installation
Test: gsi_tool install & reboot
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: I2be8b12130bd0a5f768a496c3a0ca8a3b2682c45
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -79,7 +79,7 @@ cc_binary { srcs: [ "daemon.cpp", "gsi_service.cpp", - "gsi_installer.cpp", + "partition_installer.cpp", ], required: [ "mke2fs", @@ -122,7 +122,6 @@ aidl_interface { filegroup { name: "gsiservice_aidl", srcs: [ - "aidl/android/gsi/GsiInstallParams.aidl", "aidl/android/gsi/GsiProgress.aidl", "aidl/android/gsi/IImageService.aidl", "aidl/android/gsi/IGsid.aidl", |