Home
last modified time | relevance | path

Searched refs:SetBoolean (Results 1 – 16 of 16) 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()
/system/update_engine/common/
Dmock_prefs.h39 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.h48 bool SetBoolean(const std::string& key, const bool value) override;
Dprefs.h74 bool SetBoolean(const std::string& key, const bool value) override;
Dfake_prefs.cc88 bool FakePrefs::SetBoolean(const string& key, const bool value) { in SetBoolean() function in chromeos_update_engine::FakePrefs
Dprefs_unittest.cc379 EXPECT_TRUE(prefs_.SetBoolean(kKey, true)); in TEST_F()
387 EXPECT_TRUE(prefs_.SetBoolean(kKey, false)); in TEST_F()
395 EXPECT_FALSE(prefs_.SetBoolean(kKey, true)); in TEST_F()
Dprefs.cc98 bool PrefsBase::SetBoolean(const string& key, const bool value) { in SetBoolean() function in chromeos_update_engine::PrefsBase
/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc363 FakeSystemState::Get()->fake_prefs()->SetBoolean( in TEST_F()
369 FakeSystemState::Get()->fake_prefs()->SetBoolean( in TEST_F()
378 fake_prefs->SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, false); in TEST_F()
380 fake_prefs->SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, true); in TEST_F()
391 FakeSystemState::Get()->fake_prefs()->SetBoolean( in TEST_F()
/system/update_engine/payload_generator/
Dpayload_properties.cc65 properties.SetBoolean(kPayloadPropertyJsonIsDelta, is_delta_); in GetPropertiesAsJson()
/system/update_engine/cros/
Dcommon_service.cc250 if (!SystemState::Get()->prefs()->SetBoolean(kPrefsP2PEnabled, in_enabled)) { in SetP2PUpdatePermission()
291 if (!SystemState::Get()->prefs()->SetBoolean( in SetUpdateOverCellularPermission()
Dimage_properties_chromeos.cc144 lsb_release.SetBoolean(kLsbReleaseIsPowerwashAllowedKey, in StoreMutableImageProperties()
Dpayload_state_unittest.cc987 SetBoolean(kPrefsRollbackHappened, true)); in TEST_F()
1000 SetBoolean(kPrefsRollbackHappened, true)); in TEST_F()
1159 EXPECT_CALL(*prefs, SetBoolean(_, _)).Times(0); in TEST_F()
1186 fake_prefs->SetBoolean(kPrefsAttemptInProgress, true); in TEST_F()
Dpayload_state.cc707 prefs_->SetBoolean(kPrefsAttemptInProgress, true); in PersistAttemptMetrics()
1125 powerwash_safe_prefs_->SetBoolean(kPrefsRollbackHappened, in SetRollbackHappened()
Domaha_request_action_unittest.cc902 fake_prefs_->SetBoolean(kPrefsUpdateOverCellularPermission, true); in TEST_F()
/system/update_engine/aosp/
Dupdate_attempter_android.cc609 prefs_->SetBoolean(kPrefsPostInstallSucceeded, succeeded); in ActionCompleted()
624 prefs_->SetBoolean(kPrefsVerityWritten, true); in ActionCompleted()