Home
last modified time | relevance | path

Searched refs:SetBoolean (Results 1 – 18 of 18) sorted by relevance

/system/update_engine/
Dupdate_status_utils.cc87 key_value_store.SetBoolean(kIsEnterpriseRollback, in UpdateEngineStatusToString()
89 key_value_store.SetBoolean(kIsInstall, status.is_install); in UpdateEngineStatusToString()
90 key_value_store.SetBoolean(kWillPowerwashAfterReboot, in UpdateEngineStatusToString()
Dcommon_service.cc253 if (!prefs->SetBoolean(kPrefsP2PEnabled, in_enabled)) { in SetP2PUpdatePermission()
299 !prefs->SetBoolean(kPrefsUpdateOverCellularPermission, in_allowed)) { in SetUpdateOverCellularPermission()
Dimage_properties_chromeos.cc145 lsb_release.SetBoolean(kLsbReleaseIsPowerwashAllowedKey, in StoreMutableImageProperties()
Dimage_properties_android.cc236 if (!system_state->prefs()->SetBoolean(kPrefsImgPropPowerwashAllowed, in StoreMutableImageProperties()
Domaha_response_handler_action_unittest.cc453 EXPECT_CALL(*fake_system_state_.mock_prefs(), SetBoolean(_, true)) in TEST_F()
487 EXPECT_CALL(*fake_system_state_.mock_prefs(), SetBoolean(_, true)) in TEST_F()
521 EXPECT_CALL(*fake_system_state_.mock_prefs(), SetBoolean(_, true)) in TEST_F()
554 EXPECT_CALL(*fake_system_state_.mock_prefs(), SetBoolean(_, false)) in TEST_F()
Dpayload_state_unittest.cc994 SetBoolean(kPrefsRollbackHappened, true)); in TEST()
1007 SetBoolean(kPrefsRollbackHappened, true)); in TEST()
1174 EXPECT_CALL(*prefs, SetBoolean(_, _)).Times(0); in TEST()
1206 fake_prefs.SetBoolean(kPrefsAttemptInProgress, true); in TEST()
Dupdate_attempter_android.cc585 prefs_->SetBoolean(kPrefsPostInstallSucceeded, succeeded); in ActionCompleted()
600 prefs_->SetBoolean(kPrefsVerityWritten, true); in ActionCompleted()
Dpayload_state.cc705 prefs_->SetBoolean(kPrefsAttemptInProgress, true); in PersistAttemptMetrics()
1139 powerwash_safe_prefs_->SetBoolean(kPrefsRollbackHappened, in SetRollbackHappened()
Domaha_request_action_unittest.cc904 fake_prefs_.SetBoolean(kPrefsUpdateOverCellularPermission, true); in TEST_F()
/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc368 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, false); in TEST_F()
373 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, true); in TEST_F()
379 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, false); in TEST_F()
381 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, true); in TEST_F()
392 fake_prefs_.SetBoolean( in TEST_F()
/system/update_engine/common/
Dmock_prefs.h40 MOCK_METHOD2(SetBoolean, bool(const std::string& key, const bool value));
Dprefs_interface.h73 virtual bool SetBoolean(const std::string& key, const bool value) = 0;
Dfake_prefs.h47 bool SetBoolean(const std::string& key, const bool value) override;
Dprefs.h73 bool SetBoolean(const std::string& key, const bool value) override;
Dfake_prefs.cc87 bool FakePrefs::SetBoolean(const string& key, const bool value) { in SetBoolean() function in chromeos_update_engine::FakePrefs
Dprefs_unittest.cc362 EXPECT_TRUE(prefs_.SetBoolean(kKey, true)); in TEST_F()
370 EXPECT_TRUE(prefs_.SetBoolean(kKey, false)); in TEST_F()
378 EXPECT_FALSE(prefs_.SetBoolean(kKey, true)); in TEST_F()
Dprefs.cc96 bool PrefsBase::SetBoolean(const string& key, const bool value) { in SetBoolean() function in chromeos_update_engine::PrefsBase
/system/update_engine/payload_generator/
Dpayload_properties.cc67 properties.SetBoolean(kPayloadPropertyJsonIsDelta, is_delta_); in GetPropertiesAsJson()