Home
last modified time | relevance | path

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

/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()
181 if (store.GetBoolean("virtual_ab_compression", &vabc_enabled) && in LoadDynamicPartitionMetadata()
/system/update_engine/update_manager/
Devaluation_context_unittest.cc60 bool GetBoolean(bool* value) { in GetBoolean() function
266 Bind(&GetBoolean, &value)); in TEST_F()
283 Bind(&GetBoolean, &value)); in TEST_F()
327 Bind(&GetBoolean, &done)); in TEST_F()
358 Bind(&GetBoolean, &value)); in TEST_F()
Dreal_updater_provider.cc320 if (prefs->Exists(key_) && !prefs->GetBoolean(key_, &result)) in OnPrefSet()
/system/update_engine/common/
Dmock_prefs.h38 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;
Dfake_prefs.h47 bool GetBoolean(const std::string& key, bool* value) const override;
Dprefs_unittest.cc346 EXPECT_TRUE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
354 EXPECT_TRUE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
362 EXPECT_FALSE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
369 EXPECT_FALSE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
374 EXPECT_FALSE(prefs_.GetBoolean("random-key", &value)); in TEST_F()
Dprefs.h73 bool GetBoolean(const std::string& key, bool* value) const override;
Dfake_prefs.cc84 bool FakePrefs::GetBoolean(const string& key, bool* value) const { in GetBoolean() function in chromeos_update_engine::FakePrefs
Dprefs.cc82 bool PrefsBase::GetBoolean(const string& key, bool* value) const { in GetBoolean() function in chromeos_update_engine::PrefsBase
/system/update_engine/cros/
Dcommon_service.cc266 !prefs->GetBoolean(kPrefsP2PEnabled, &p2p_pref)) { in GetP2PUpdatePermission()
351 if (!prefs->GetBoolean(kPrefsUpdateOverCellularPermission, &is_allowed)) { in GetUpdateOverCellularPermission()
Dimage_properties_chromeos.cc134 if (!lsb_release.GetBoolean(kLsbReleaseIsPowerwashAllowedKey, in LoadMutableImageProperties()
Dhardware_chromeos.cc303 if (!store.GetBoolean(kConfigOptsIsOOBEEnabled, &is_oobe_enabled_)) in LoadConfig()
Dpayload_state.cc716 if (!prefs_->GetBoolean(kPrefsAttemptInProgress, &attempt_in_progress)) in ReportAndClearPersistedAttemptMetrics()
1117 powerwash_safe_prefs_->GetBoolean(kPrefsRollbackHappened, &rollback_happened); in LoadRollbackHappened()
Dpayload_state_unittest.cc997 EXPECT_CALL(*mock_powerwash_safe_prefs, GetBoolean(kPrefsRollbackHappened, _)) in TEST_F()
1162 EXPECT_CALL(*prefs, GetBoolean(_, _)).Times(0); in TEST_F()
1163 EXPECT_CALL(*prefs, GetBoolean(kPrefsAttemptInProgress, _)); in TEST_F()
Domaha_request_action.cc1594 prefs->GetBoolean(kPrefsUpdateOverCellularPermission, &is_allowed) && in IsUpdateAllowedOverCellularByPrefs()
/system/update_engine/aosp/
Dupdate_attempter_android.cc259 if (prefs_->GetBoolean(kPrefsVerityWritten, &verity_written) && in ApplyPayload()