Home
last modified time | relevance | path

Searched refs:GetPersistedValue (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/
Dupdate_attempter_android_unittest.cc163 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, &prefs_)); in TEST_F()
166 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, &prefs_)); in TEST_F()
196 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, &prefs_)); in TEST_F()
199 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, &prefs_)); in TEST_F()
208 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, &prefs_)); in TEST_F()
210 0, metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, &prefs_)); in TEST_F()
Dupdate_attempter_android.cc534 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, prefs_); in BytesReceived()
536 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, prefs_); in BytesReceived()
684 metrics_utils::GetPersistedValue(kPrefsPayloadAttemptNumber, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished()
696 metrics_utils::GetPersistedValue(kPrefsUpdateBootTimestampStart, prefs_)); in CollectAndReportUpdateMetricsOnUpdateFinished()
698 metrics_utils::GetPersistedValue(kPrefsUpdateTimestampStart, prefs_)); in CollectAndReportUpdateMetricsOnUpdateFinished()
713 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished()
723 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished()
731 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished()
786 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in UpdatePrefsAndReportUpdateMetricsOnReboot()
821 metrics_utils::GetPersistedValue(kPrefsPayloadAttemptNumber, prefs_); in UpdatePrefsOnUpdateStart()
Dpayload_state.cc48 using metrics_utils::GetPersistedValue;
870 GetPersistedValue(kPrefsPayloadAttemptNumber, prefs_)); in LoadPayloadAttemptNumber()
875 GetPersistedValue(kPrefsFullPayloadAttemptNumber, prefs_)); in LoadFullPayloadAttemptNumber()
907 SetUrlIndex(GetPersistedValue(kPrefsCurrentUrlIndex, prefs_)); in LoadUrlIndex()
923 GetPersistedValue(kPrefsWallClockScatteringWaitPeriod, prefs_))); in LoadScatteringWaitPeriod()
941 GetPersistedValue(kPrefsWallClockStagingWaitPeriod, prefs_))); in LoadStagingWaitPeriod()
957 SetUrlSwitchCount(GetPersistedValue(kPrefsUrlSwitchCount, prefs_)); in LoadUrlSwitchCount()
968 SetUrlFailureCount(GetPersistedValue(kPrefsCurrentUrlFailureCount, prefs_)); in LoadUrlFailureCount()
1096 SetNumReboots(GetPersistedValue(kPrefsNumReboots, prefs_)); in LoadNumReboots()
1170 SetCurrentBytesDownloaded(source, GetPersistedValue(key, prefs_), true); in LoadCurrentBytesDownloaded()
[all …]
Dmetrics_utils.h78 int64_t GetPersistedValue(const std::string& key, PrefsInterface* prefs);
Dmetrics_utils.cc328 int64_t GetPersistedValue(const std::string& key, PrefsInterface* prefs) { in GetPersistedValue() function
392 int64_t stored_value = GetPersistedValue(kPrefsSystemUpdatedMarker, prefs); in LoadAndReportTimeToReboot()