Searched refs:SetBoolean (Results 1 - 14 of 14) sorted by relevance

/system/update_engine/common/
H A Dmock_prefs.h39 MOCK_METHOD2(SetBoolean, bool(const std::string& key, const bool value));
H A Dprefs_interface.h72 virtual bool SetBoolean(const std::string& key, const bool value) = 0;
H A Dfake_prefs.h47 bool SetBoolean(const std::string& key, const bool value) override;
H A Dprefs_unittest.cc239 EXPECT_TRUE(prefs_.SetBoolean(kKey, true));
247 EXPECT_TRUE(prefs_.SetBoolean(kKey, false));
255 EXPECT_FALSE(prefs_.SetBoolean(kKey, true));
H A Dfake_prefs.cc86 bool FakePrefs::SetBoolean(const string& key, const bool value) { function in class:chromeos_update_engine::FakePrefs
H A Dprefs.h68 bool SetBoolean(const std::string& key, const bool value) override;
H A Dprefs.cc76 bool PrefsBase::SetBoolean(const string& key, const bool value) { function in class:chromeos_update_engine::PrefsBase
/system/weaved/buffet/
H A Dbuffet_config_unittest.cc37 config_store.SetBoolean("wifi_auto_setup_enabled", false);
38 config_store.SetBoolean("ble_setup_enabled", true);
45 config_store.SetBoolean("local_pairing_enabled", false);
46 config_store.SetBoolean("local_discovery_enabled", false);
/system/update_engine/
H A Dimage_properties_android.cc107 prefs->SetBoolean(kPrefsImgPropPowerwashAllowed,
H A Dimage_properties_chromeos.cc140 lsb_release.SetBoolean(kLsbReleaseIsPowerwashAllowedKey,
H A Dcommon_service.cc193 if (!prefs->SetBoolean(kPrefsP2PEnabled, in_enabled)) {
249 if (!prefs->SetBoolean(kPrefsUpdateOverCellularPermission, in_allowed)) {
H A Dpayload_state_unittest.cc1147 EXPECT_CALL(*prefs, SetBoolean(_, _)).Times(0);
1185 fake_prefs.SetBoolean(kPrefsAttemptInProgress, true);
H A Dpayload_state.cc646 prefs_->SetBoolean(kPrefsAttemptInProgress, true);
/system/update_engine/update_manager/
H A Dreal_updater_provider_unittest.cc379 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, false);
384 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, true);
390 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, false);
392 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, true);
403 fake_prefs_.SetBoolean(

Completed in 111 milliseconds