/system/update_engine/common/ |
D | prefs_unittest.cc | 261 EXPECT_FALSE(prefs_.Exists(kKey)); in TEST_F() 265 EXPECT_TRUE(prefs_.Exists(kKey)); in TEST_F() 277 EXPECT_FALSE(prefs_.Exists(kKey)); in TEST_F() 348 EXPECT_FALSE(prefs_.Exists(kKey)); in TEST_F() 353 EXPECT_TRUE(prefs_.Exists(kKey)); in TEST_F() 358 EXPECT_FALSE(prefs_.Exists(kKey)); in TEST_F()
|
D | mock_prefs.h | 41 MOCK_CONST_METHOD1(Exists, bool(const std::string& key));
|
D | prefs_interface.h | 76 virtual bool Exists(const std::string& key) const = 0;
|
D | fake_prefs.h | 49 bool Exists(const std::string& key) const override;
|
D | prefs.h | 70 bool Exists(const std::string& key) const override;
|
D | fake_prefs.cc | 91 bool FakePrefs::Exists(const string& key) const { in Exists() function in chromeos_update_engine::FakePrefs
|
D | prefs.cc | 80 bool PrefsBase::Exists(const string& key) const { in Exists() function in chromeos_update_engine::PrefsBase
|
/system/update_engine/ |
D | payload_state.cc | 787 if (!prefs_->Exists(key)) in GetPersistedValue() 833 if (prefs_->Exists(kPrefsCurrentResponseSignature) && in LoadResponseSignature() 930 if (!prefs_->Exists(kPrefsBackoffExpiryTime)) in LoadBackoffExpiryTime() 970 if (!prefs_->Exists(kPrefsUpdateTimestampStart)) { in LoadUpdateTimestampStart() 1023 if (!prefs_->Exists(kPrefsUpdateDurationUptime)) { in LoadUpdateDurationUptime() 1217 if (prefs_->Exists(kPrefsSystemUpdatedMarker)) { in UpdateEngineStarted() 1243 if (prefs_->Exists(kPrefsTargetVersionInstalledFrom)) { in ReportFailedBootIfNeeded() 1292 if (prefs_->Exists(kPrefsTargetVersionUniqueId) && in ExpectRebootInNewVersion()
|
D | image_properties_android.cc | 79 if (!system_state->prefs()->Exists(current_channel_key) || in LoadImageProperties()
|
D | connection_manager_unittest.cc | 355 EXPECT_CALL(*prefs, Exists(kPrefsUpdateOverCellularPermission)) in TEST_F() 362 EXPECT_CALL(*prefs, Exists(kPrefsUpdateOverCellularPermission)) in TEST_F() 372 EXPECT_CALL(*prefs, Exists(kPrefsUpdateOverCellularPermission)) in TEST_F()
|
D | omaha_request_action.cc | 173 if (!prefs->Exists(prefs_key)) in GetCohortArgXml() 1171 if (system_state_->prefs()->Exists(kPrefsUpdateFirstSeenAt)) { in IsWallClockBasedWaitingSatisfied() 1271 if (system_state_->prefs()->Exists(kPrefsUpdateCheckCount)) { in IsUpdateCheckCountBasedWaitingSatisfied() 1344 return prefs->Exists(kPrefsInstallDateDays); in HasInstallDate() 1373 if (new_value.empty() && system_state_->prefs()->Exists(prefs_key)) { in PersistCohortData()
|
D | payload_state_unittest.cc | 603 EXPECT_CALL(*prefs2, Exists(_)).WillRepeatedly(Return(true)); in TEST() 1113 EXPECT_TRUE(fake_prefs.Exists(kPrefsSystemUpdatedMarker)); in TEST() 1133 EXPECT_FALSE(fake_prefs.Exists(kPrefsSystemUpdatedMarker)); in TEST() 1144 EXPECT_CALL(*prefs, Exists(_)).Times(0); in TEST() 1196 EXPECT_FALSE(fake_prefs.Exists(kPrefsAttemptInProgress)); in TEST() 1221 EXPECT_FALSE(fake_prefs.Exists(kPrefsAttemptInProgress)); in TEST() 1226 EXPECT_TRUE(fake_prefs.Exists(kPrefsAttemptInProgress)); in TEST() 1231 EXPECT_FALSE(fake_prefs.Exists(kPrefsAttemptInProgress)); in TEST()
|
D | omaha_request_action_unittest.cc | 463 EXPECT_FALSE(fake_prefs_.Exists(kPrefsOmahaCohort)); in TEST_F() 464 EXPECT_FALSE(fake_prefs_.Exists(kPrefsOmahaCohortHint)); in TEST_F() 465 EXPECT_FALSE(fake_prefs_.Exists(kPrefsOmahaCohortName)); in TEST_F() 1922 EXPECT_TRUE(fake_prefs_.Exists(kPrefsPreviousVersion)); in TEST_F() 2094 EXPECT_FALSE(fake_prefs_.Exists(kPrefsInstallDateDays)); in TEST_F() 2098 EXPECT_TRUE(fake_prefs_.Exists(kPrefsInstallDateDays)); in TEST_F() 2130 EXPECT_FALSE(fake_prefs_.Exists(kPrefsInstallDateDays)); in TEST_F() 2141 EXPECT_FALSE(fake_prefs_.Exists(kPrefsInstallDateDays)); in TEST_F() 2150 EXPECT_TRUE(fake_prefs_.Exists(kPrefsInstallDateDays)); in TEST_F()
|
D | connection_manager.cc | 110 if (!prefs || !prefs->Exists(kPrefsUpdateOverCellularPermission)) { in IsUpdateAllowedOver()
|
D | common_service.cc | 209 if (prefs->Exists(kPrefsP2PEnabled) && in GetP2PUpdatePermission()
|
D | update_attempter.cc | 194 if (system_state_->prefs()->Exists(kPrefsDailyMetricsLastReportedAt) && in CheckAndReportDailyMetrics() 1458 if (!prefs_->Exists(kPrefsUpdateCheckCount)) { in DecrementUpdateCheckCount() 1512 prefs_->Exists(kPrefsSystemUpdatedMarker)) { in UpdateEngineStarted() 1572 if (!prefs_->Exists(kPrefsUpdateCompletedOnBootId) || in GetBootTimeAtUpdate()
|
D | update_attempter_unittest.cc | 801 EXPECT_TRUE(fake_prefs.Exists(kPrefsUpdateCheckCount)); in DecrementUpdateCheckCountTestStart() 814 EXPECT_TRUE(fake_prefs.Exists(kPrefsUpdateCheckCount)); in DecrementUpdateCheckCountTestStart() 864 EXPECT_FALSE(fake_prefs.Exists(kPrefsWallClockWaitPeriod)); in NoScatteringDoneDuringManualUpdateTestStart() 868 EXPECT_FALSE(fake_prefs.Exists(kPrefsUpdateCheckCount)); in NoScatteringDoneDuringManualUpdateTestStart()
|
D | update_attempter_android.cc | 536 return (prefs_->Exists(kPrefsUpdateCompletedOnBootId) && in UpdateCompletedOnThisBoot()
|
/system/update_engine/update_manager/ |
D | real_updater_provider.cc | 325 if (prefs_ && prefs_->Exists(key_) && !prefs_->GetBoolean(key_, &result)) in OnPrefSet()
|