Home
last modified time | relevance | path

Searched refs:PrefsInterface (Results 1 – 25 of 27) sorted by relevance

12

/system/update_engine/
Dmetrics_utils.h78 int64_t GetPersistedValue(const std::string& key, PrefsInterface* prefs);
81 void SetNumReboots(int64_t num_reboots, PrefsInterface* prefs);
85 PrefsInterface* prefs);
88 void SetSystemUpdatedMarker(ClockInterface* clock, PrefsInterface* prefs);
93 PrefsInterface* prefs);
98 PrefsInterface* prefs);
106 PrefsInterface* prefs,
Dsystem_state.h47 class PrefsInterface; variable
82 virtual PrefsInterface* prefs() = 0;
88 virtual PrefsInterface* powerwash_safe_prefs() = 0;
Dreal_system_state.h100 inline PrefsInterface* prefs() override { return prefs_.get(); } in prefs()
102 inline PrefsInterface* powerwash_safe_prefs() override { in powerwash_safe_prefs()
167 std::unique_ptr<PrefsInterface> prefs_;
170 std::unique_ptr<PrefsInterface> powerwash_safe_prefs_;
Dcertificate_checker.h30 class PrefsInterface; variable
102 CertificateChecker(PrefsInterface* prefs, OpenSSLWrapper* openssl_wrapper);
162 PrefsInterface* prefs_;
Dfake_system_state.h75 inline PrefsInterface* prefs() override { return prefs_; } in prefs()
77 inline PrefsInterface* powerwash_safe_prefs() override { in powerwash_safe_prefs()
134 inline void set_prefs(PrefsInterface* prefs) { in set_prefs()
138 inline void set_powerwash_safe_prefs(PrefsInterface* powerwash_safe_prefs) { in set_powerwash_safe_prefs()
262 PrefsInterface* prefs_;
263 PrefsInterface* powerwash_safe_prefs_;
Dcommon_service.cc214 PrefsInterface* prefs = system_state_->prefs(); in SetCohortHint()
232 PrefsInterface* prefs = system_state_->prefs(); in GetCohortHint()
245 PrefsInterface* prefs = system_state_->prefs(); in SetP2PUpdatePermission()
260 PrefsInterface* prefs = system_state_->prefs(); in GetP2PUpdatePermission()
290 PrefsInterface* prefs = system_state_->prefs(); in SetUpdateOverCellularPermission()
322 PrefsInterface* prefs = system_state_->prefs(); in SetUpdateOverCellularTarget()
345 PrefsInterface* prefs = system_state_->prefs(); in GetUpdateOverCellularPermission()
417 PrefsInterface* prefs = system_state_->prefs(); in GetEolStatus()
Dmetrics_utils.cc328 int64_t GetPersistedValue(const std::string& key, PrefsInterface* prefs) { in GetPersistedValue()
346 void SetNumReboots(int64_t num_reboots, PrefsInterface* prefs) { in SetNumReboots()
354 PrefsInterface* prefs) { in SetPayloadAttemptNumber()
360 void SetSystemUpdatedMarker(ClockInterface* clock, PrefsInterface* prefs) { in SetSystemUpdatedMarker()
370 PrefsInterface* prefs) { in SetUpdateTimestampStart()
379 PrefsInterface* prefs) { in SetUpdateBootTimestampStart()
388 PrefsInterface* prefs, in LoadAndReportTimeToReboot()
Dupdate_attempter_android.h54 PrefsInterface* prefs,
162 PrefsInterface* prefs_;
Ddaemon_state_android.h63 std::unique_ptr<PrefsInterface> prefs_;
Dpayload_state.h424 PrefsInterface* prefs_;
429 PrefsInterface* powerwash_safe_prefs_;
Dcertificate_checker.cc60 CertificateChecker::CertificateChecker(PrefsInterface* prefs, in CertificateChecker()
Domaha_request_action.cc155 PrefsInterface* prefs) { in GetAppBody()
223 string GetCohortArgXml(PrefsInterface* prefs, in GetCohortArgXml()
762 PrefsInterface* prefs = system_state->prefs(); in GetInstallDate()
893 bool UpdateLastPingDays(OmahaParserData* parser_data, PrefsInterface* prefs) { in UpdateLastPingDays()
1644 PrefsInterface* prefs = system_state->prefs(); in HasInstallDate()
1658 PrefsInterface* prefs = system_state->prefs(); in PersistInstallDate()
1798 PrefsInterface* prefs = system_state_->prefs(); in IsUpdateAllowedOverCellularByPrefs()
Domaha_request_action.h101 class PrefsInterface; variable
Dupdate_attempter.h440 PrefsInterface* prefs_ = nullptr;
/system/update_engine/payload_consumer/
Ddelta_performer.h44 class PrefsInterface; variable
65 DeltaPerformer(PrefsInterface* prefs, in DeltaPerformer()
138 static bool CanResumeUpdate(PrefsInterface* prefs,
145 static bool ResetUpdateProgress(PrefsInterface* prefs, bool quick);
281 PrefsInterface* prefs_;
Ddownload_action.h65 class PrefsInterface; variable
76 DownloadAction(PrefsInterface* prefs,
144 PrefsInterface* prefs_;
Ddownload_action.cc42 DownloadAction::DownloadAction(PrefsInterface* prefs, in DownloadAction()
/system/update_engine/common/
Dprefs_interface.h31 class PrefsInterface {
45 virtual ~PrefsInterface() = default;
Dmock_prefs.h29 class MockPrefs : public PrefsInterface {
Dfake_prefs.h36 class FakePrefs : public PrefsInterface {
Dprefs.h33 class PrefsBase : public PrefsInterface {
Dprefs_unittest.cc282 class MockPrefsObserver : public PrefsInterface::ObserverInterface {
/system/update_engine/update_manager/
Dstaging_utils.cc34 using chromeos_update_engine::PrefsInterface;
102 PrefsInterface* prefs, in CalculateStagingCase()
Dstaging_utils.h65 chromeos_update_engine::PrefsInterface* prefs,
Dreal_updater_provider.cc305 public chromeos_update_engine::PrefsInterface::ObserverInterface {
308 chromeos_update_engine::PrefsInterface* prefs, in BooleanPrefVariable()
333 chromeos_update_engine::PrefsInterface* prefs_;

12