summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHoward Chen <howardsoc@google.com>2020-02-26 12:48:41 +0800
committerHoward Chen <howardsoc@google.com>2020-03-03 08:19:17 +0000
commit7885d3c1167c1ec0230c85e4a78628b7c9f34e59 (patch)
treed1fec92b4633593f6cf07274176ec2ced4800499 /include
parent0a5a944d4264a2ba0dbb451394d00bd74f71d3f1 (diff)
downloadgsid-7885d3c1167c1ec0230c85e4a78628b7c9f34e59.tar.gz
Provide oneway method for methods required by system_server
Bug: 149790245 Bug: 149716497 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: I472566bd84591422ef67c9838b9c94a0a6f1e8aa
Diffstat (limited to 'include')
-rw-r--r--include/libgsi/libgsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libgsi/libgsi.h b/include/libgsi/libgsi.h
index c824c57..fbe2f17 100644
--- a/include/libgsi/libgsi.h
+++ b/include/libgsi/libgsi.h
@@ -47,6 +47,8 @@ std::string GetDsuSlot(const std::string& install_dir);
static constexpr char kGsiBootedProp[] = "ro.gsid.image_running";
+static constexpr char kGsiInstalledProp[] = "gsid.image_installed";
+
static constexpr char kDsuPostfix[] = "_gsi";
static constexpr int kMaxBootAttempts = 1;