Home
last modified time | relevance | path

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

/system/update_engine/common/
Dprefs_unittest.cc205 EXPECT_TRUE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
213 EXPECT_TRUE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
221 EXPECT_FALSE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
228 EXPECT_FALSE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
233 EXPECT_FALSE(prefs_.GetBoolean("random-key", &value)); in TEST_F()
Dmock_prefs.h38 MOCK_CONST_METHOD2(GetBoolean, bool(const std::string& key, bool* value));
Dprefs_interface.h68 virtual bool GetBoolean(const std::string& key, bool* value) const = 0;
Dprefs.h49 bool GetBoolean(const std::string& key, bool* value) const override;
Dfake_prefs.h46 bool GetBoolean(const std::string& key, bool* value) const override;
Dprefs.cc79 bool Prefs::GetBoolean(const string& key, bool* value) const { in GetBoolean() function in chromeos_update_engine::Prefs
Dfake_prefs.cc82 bool FakePrefs::GetBoolean(const string& key, bool* value) const { in GetBoolean() function in chromeos_update_engine::FakePrefs
/system/update_engine/update_manager/
Devaluation_context_unittest.cc58 bool GetBoolean(bool* value) { in GetBoolean() function
259 Bind(&GetBoolean, &value)); in TEST_F()
276 Bind(&GetBoolean, &value)); in TEST_F()
320 Bind(&GetBoolean, &done)); in TEST_F()
351 Bind(&GetBoolean, &value)); in TEST_F()
Dreal_config_provider.cc56 if (!store.GetBoolean(kConfigOptsIsOOBEEnabled, &is_oobe_enabled)) in Init()
Dreal_updater_provider.cc325 if (prefs_ && prefs_->Exists(key_) && !prefs_->GetBoolean(key_, &result)) in OnPrefSet()
/system/weaved/buffet/
Dbuffet_config.cc136 store.GetBoolean(config_keys::kWifiAutoSetupEnabled, in LoadDefaults()
162 store.GetBoolean(config_keys::kLocalDiscoveryEnabled, in LoadDefaults()
164 store.GetBoolean(config_keys::kLocalPairingEnabled, in LoadDefaults()
/system/update_engine/
Dimage_properties_android.cc95 if (!prefs->GetBoolean(kPrefsImgPropPowerwashAllowed, in LoadMutableImageProperties()
Dimage_properties_chromeos.cc129 if (!lsb_release.GetBoolean(kLsbReleaseIsPowerwashAllowedKey, in LoadMutableImageProperties()
Dconnection_manager_unittest.cc365 EXPECT_CALL(*prefs, GetBoolean(kPrefsUpdateOverCellularPermission, _)) in TEST_F()
375 EXPECT_CALL(*prefs, GetBoolean(kPrefsUpdateOverCellularPermission, _)) in TEST_F()
Dconnection_manager.cc117 if (!prefs->GetBoolean(kPrefsUpdateOverCellularPermission, in IsUpdateAllowedOver()
Dcommon_service.cc210 !prefs->GetBoolean(kPrefsP2PEnabled, &p2p_pref)) { in GetP2PUpdatePermission()
Dpayload_state_unittest.cc1150 EXPECT_CALL(*prefs, GetBoolean(_, _)).Times(0); in TEST()
1151 EXPECT_CALL(*prefs, GetBoolean(kPrefsAttemptInProgress, _)); in TEST()
Dpayload_state.cc655 if (!prefs_->GetBoolean(kPrefsAttemptInProgress, &attempt_in_progress)) in ReportAndClearPersistedAttemptMetrics()
/system/webservd/webservd/
Dconfig.cc82 if (handler_value->GetBoolean(kUseTLSKey, &use_tls)) in LoadHandlerConfig()
/system/update_engine/payload_generator/
Dpayload_generation_config.cc90 if (!store.GetBoolean("RUN_POSTINSTALL_" + part.name, &run_postinstall) || in LoadPostInstallConfig()