Searched refs:SetBoolean (Results 1 - 15 of 15) 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.cc238 EXPECT_TRUE(prefs_.SetBoolean(kKey, true));
246 EXPECT_TRUE(prefs_.SetBoolean(kKey, false));
254 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/update_engine/update_manager/
H A Dreal_updater_provider_unittest.cc369 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, false);
374 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, true);
380 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, false);
382 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, true);
393 fake_prefs_.SetBoolean(
/system/update_engine/
H A Dcommon_service.cc233 if (!prefs->SetBoolean(kPrefsP2PEnabled, in_enabled)) {
289 if (!prefs->SetBoolean(kPrefsUpdateOverCellularPermission, in_allowed)) {
H A Dimage_properties_chromeos.cc144 lsb_release.SetBoolean(kLsbReleaseIsPowerwashAllowedKey,
H A Dimage_properties_android.cc232 if (!system_state->prefs()->SetBoolean(kPrefsImgPropPowerwashAllowed,
H A Domaha_response_handler_action_unittest.cc391 EXPECT_CALL(*fake_system_state_.mock_prefs(), SetBoolean(_, true))
423 EXPECT_CALL(*fake_system_state_.mock_prefs(), SetBoolean(_, false))
H A Dupdate_attempter_android.cc480 prefs_->SetBoolean(kPrefsPostInstallSucceeded, succeeded);
H A Dpayload_state_unittest.cc1149 EXPECT_CALL(*prefs, SetBoolean(_, _)).Times(0);
1181 fake_prefs.SetBoolean(kPrefsAttemptInProgress, true);
H A Dpayload_state.cc670 prefs_->SetBoolean(kPrefsAttemptInProgress, true);

Completed in 158 milliseconds