Home
last modified time | relevance | path

Searched refs:boot_key (Results 1 – 3 of 3) sorted by relevance

/aosp12/system/gsid/
H A Dlibgsi.cpp74 std::string boot_key; in CanBootIntoGsi() local
75 if (!GetInstallStatus(&boot_key)) { in CanBootIntoGsi()
82 if (GetBootAttempts(boot_key, &attempts)) { in CanBootIntoGsi()
105 if (boot_key != kInstallStatusOk) { in CanBootIntoGsi()
128 bool GetBootAttempts(const std::string& boot_key, int* attempts) { in GetBootAttempts() argument
129 return android::base::ParseInt(boot_key, attempts); in GetBootAttempts()
H A Dgsi_service.cpp335 std::string boot_key; in isGsiEnabled() local
336 if (!GetInstallStatus(&boot_key)) { in isGsiEnabled()
339 *_aidl_return = (boot_key != kInstallStatusDisabled); in isGsiEnabled()
929 std::string boot_key; in ReenableGsi() local
930 if (!GetInstallStatus(&boot_key)) { in ReenableGsi()
934 if (boot_key != kInstallStatusDisabled) { in ReenableGsi()
1078 std::string boot_key; in RunStartupTasks() local
1079 if (!GetInstallStatus(&boot_key)) { in RunStartupTasks()
1086 if (boot_key == kInstallStatusWipe) { in RunStartupTasks()
1094 if (GetBootAttempts(boot_key, &ignore)) { in RunStartupTasks()
H A Dlibgsi_private.h25 bool GetBootAttempts(const std::string& boot_key, int* attempts);