Searched refs:SetBoolean (Results 1 - 15 of 15) sorted by relevance
/system/update_engine/common/ |
H A D | mock_prefs.h | 39 MOCK_METHOD2(SetBoolean, bool(const std::string& key, const bool value));
|
H A D | prefs_interface.h | 72 virtual bool SetBoolean(const std::string& key, const bool value) = 0;
|
H A D | fake_prefs.h | 47 bool SetBoolean(const std::string& key, const bool value) override;
|
H A D | prefs_unittest.cc | 238 EXPECT_TRUE(prefs_.SetBoolean(kKey, true)); 246 EXPECT_TRUE(prefs_.SetBoolean(kKey, false)); 254 EXPECT_FALSE(prefs_.SetBoolean(kKey, true));
|
H A D | fake_prefs.cc | 86 bool FakePrefs::SetBoolean(const string& key, const bool value) { function in class:chromeos_update_engine::FakePrefs
|
H A D | prefs.h | 68 bool SetBoolean(const std::string& key, const bool value) override;
|
H A D | prefs.cc | 76 bool PrefsBase::SetBoolean(const string& key, const bool value) { function in class:chromeos_update_engine::PrefsBase
|
/system/update_engine/update_manager/ |
H A D | real_updater_provider_unittest.cc | 369 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 D | common_service.cc | 233 if (!prefs->SetBoolean(kPrefsP2PEnabled, in_enabled)) { 289 if (!prefs->SetBoolean(kPrefsUpdateOverCellularPermission, in_allowed)) {
|
H A D | image_properties_chromeos.cc | 144 lsb_release.SetBoolean(kLsbReleaseIsPowerwashAllowedKey,
|
H A D | image_properties_android.cc | 232 if (!system_state->prefs()->SetBoolean(kPrefsImgPropPowerwashAllowed,
|
H A D | omaha_response_handler_action_unittest.cc | 391 EXPECT_CALL(*fake_system_state_.mock_prefs(), SetBoolean(_, true)) 423 EXPECT_CALL(*fake_system_state_.mock_prefs(), SetBoolean(_, false))
|
H A D | update_attempter_android.cc | 480 prefs_->SetBoolean(kPrefsPostInstallSucceeded, succeeded);
|
H A D | payload_state_unittest.cc | 1149 EXPECT_CALL(*prefs, SetBoolean(_, _)).Times(0); 1181 fake_prefs.SetBoolean(kPrefsAttemptInProgress, true);
|
H A D | payload_state.cc | 670 prefs_->SetBoolean(kPrefsAttemptInProgress, true);
|
Completed in 158 milliseconds