Searched refs:GetBoolean (Results 1 - 19 of 19) sorted by relevance

/system/update_engine/common/
H A Dmock_prefs.h38 MOCK_CONST_METHOD2(GetBoolean, bool(const std::string& key, bool* value));
H A Dprefs_interface.h68 virtual bool GetBoolean(const std::string& key, bool* value) const = 0;
H A Dfake_prefs.h46 bool GetBoolean(const std::string& key, bool* value) const override;
H A Dprefs_unittest.cc205 EXPECT_TRUE(prefs_.GetBoolean(kKey, &value));
213 EXPECT_TRUE(prefs_.GetBoolean(kKey, &value));
221 EXPECT_FALSE(prefs_.GetBoolean(kKey, &value));
228 EXPECT_FALSE(prefs_.GetBoolean(kKey, &value));
233 EXPECT_FALSE(prefs_.GetBoolean("random-key", &value));
H A Dfake_prefs.cc82 bool FakePrefs::GetBoolean(const string& key, bool* value) const { function in class:chromeos_update_engine::FakePrefs
H A Dprefs.h67 bool GetBoolean(const std::string& key, bool* value) const override;
H A Dprefs.cc60 bool PrefsBase::GetBoolean(const string& key, bool* value) const { function in class:chromeos_update_engine::PrefsBase
/system/update_engine/payload_generator/
H A Dpayload_generation_config.cc92 if (!store.GetBoolean("RUN_POSTINSTALL_" + part.name, &run_postinstall) ||
100 store.GetBoolean("POSTINSTALL_OPTIONAL_" + part.name,
/system/update_engine/update_manager/
H A Devaluation_context_unittest.cc58 bool GetBoolean(bool* value) { function in namespace:chromeos_update_manager::__anon2787
259 Bind(&GetBoolean, &value));
276 Bind(&GetBoolean, &value));
320 Bind(&GetBoolean, &done));
351 Bind(&GetBoolean, &value));
H A Dreal_updater_provider.cc328 if (prefs_ && prefs_->Exists(key_) && !prefs_->GetBoolean(key_, &result))
/system/update_engine/
H A Dconnection_manager.cc96 if (!prefs->GetBoolean(kPrefsUpdateOverCellularPermission,
H A Dimage_properties_chromeos.cc133 if (!lsb_release.GetBoolean(kLsbReleaseIsPowerwashAllowedKey,
H A Dconnection_manager_unittest.cc354 EXPECT_CALL(*prefs, GetBoolean(kPrefsUpdateOverCellularPermission, _))
364 EXPECT_CALL(*prefs, GetBoolean(kPrefsUpdateOverCellularPermission, _))
H A Dcommon_service.cc250 !prefs->GetBoolean(kPrefsP2PEnabled, &p2p_pref)) {
H A Dhardware_chromeos.cc253 if (!store.GetBoolean(kConfigOptsIsOOBEEnabled, &is_oobe_enabled_))
H A Dimage_properties_android.cc220 if (!system_state->prefs()->GetBoolean(kPrefsImgPropPowerwashAllowed,
H A Dupdate_attempter_android.cc222 prefs_->GetBoolean(kPrefsPostInstallSucceeded, &post_install_succeeded);
H A Dpayload_state_unittest.cc1152 EXPECT_CALL(*prefs, GetBoolean(_, _)).Times(0);
1153 EXPECT_CALL(*prefs, GetBoolean(kPrefsAttemptInProgress, _));
H A Dpayload_state.cc679 if (!prefs_->GetBoolean(kPrefsAttemptInProgress, &attempt_in_progress))

Completed in 272 milliseconds