Home
last modified time | relevance | path

Searched refs:GetBoolean (Results 1 – 18 of 18) sorted by relevance

/system/update_engine/update_manager/
Devaluation_context_unittest.cc58 bool GetBoolean(bool* value) { in GetBoolean() function
263 Bind(&GetBoolean, &value)); in TEST_F()
280 Bind(&GetBoolean, &value)); in TEST_F()
324 Bind(&GetBoolean, &done)); in TEST_F()
355 Bind(&GetBoolean, &value)); in TEST_F()
Dreal_updater_provider.cc325 if (prefs_ && prefs_->Exists(key_) && !prefs_->GetBoolean(key_, &result)) in OnPrefSet()
/system/update_engine/payload_generator/
Dpayload_generation_config.cc123 if (!store.GetBoolean("RUN_POSTINSTALL_" + part.name, &run_postinstall) || in LoadPostInstallConfig()
131 store.GetBoolean("POSTINSTALL_OPTIONAL_" + part.name, in LoadPostInstallConfig()
178 store.GetBoolean("virtual_ab", &snapshot_enabled); in LoadDynamicPartitionMetadata()
/system/update_engine/common/
Dmock_prefs.h39 MOCK_CONST_METHOD2(GetBoolean, bool(const std::string& key, bool* value));
Dprefs_interface.h69 virtual bool GetBoolean(const std::string& key, bool* value) const = 0;
Dprefs_unittest.cc329 EXPECT_TRUE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
337 EXPECT_TRUE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
345 EXPECT_FALSE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
352 EXPECT_FALSE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
357 EXPECT_FALSE(prefs_.GetBoolean("random-key", &value)); in TEST_F()
Dfake_prefs.h46 bool GetBoolean(const std::string& key, bool* value) const override;
Dprefs.h72 bool GetBoolean(const std::string& key, bool* value) const override;
Dfake_prefs.cc83 bool FakePrefs::GetBoolean(const string& key, bool* value) const { in GetBoolean() function in chromeos_update_engine::FakePrefs
Dprefs.cc80 bool PrefsBase::GetBoolean(const string& key, bool* value) const { in GetBoolean() function in chromeos_update_engine::PrefsBase
/system/update_engine/
Dcommon_service.cc270 !prefs->GetBoolean(kPrefsP2PEnabled, &p2p_pref)) { in GetP2PUpdatePermission()
361 if (!prefs->GetBoolean(kPrefsUpdateOverCellularPermission, &is_allowed)) { in GetUpdateOverCellularPermission()
Dimage_properties_chromeos.cc134 if (!lsb_release.GetBoolean(kLsbReleaseIsPowerwashAllowedKey, in LoadMutableImageProperties()
Dimage_properties_android.cc224 if (!system_state->prefs()->GetBoolean(kPrefsImgPropPowerwashAllowed, in LoadMutableImageProperties()
Dhardware_chromeos.cc338 if (!store.GetBoolean(kConfigOptsIsOOBEEnabled, &is_oobe_enabled_)) in LoadConfig()
Dpayload_state.cc714 if (!prefs_->GetBoolean(kPrefsAttemptInProgress, &attempt_in_progress)) in ReportAndClearPersistedAttemptMetrics()
1130 powerwash_safe_prefs_->GetBoolean(kPrefsRollbackHappened, &rollback_happened); in LoadRollbackHappened()
Dpayload_state_unittest.cc1004 EXPECT_CALL(*mock_powerwash_safe_prefs, GetBoolean(kPrefsRollbackHappened, _)) in TEST()
1177 EXPECT_CALL(*prefs, GetBoolean(_, _)).Times(0); in TEST()
1178 EXPECT_CALL(*prefs, GetBoolean(kPrefsAttemptInProgress, _)); in TEST()
Dupdate_attempter_android.cc257 if (prefs_->GetBoolean(kPrefsVerityWritten, &verity_written) && in ApplyPayload()
Domaha_request_action.cc1550 prefs->GetBoolean(kPrefsUpdateOverCellularPermission, &is_allowed) && in IsUpdateAllowedOverCellularByPrefs()