Home
last modified time | relevance | path

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

/system/update_engine/
Dupdate_attempter_android_unittest.cc173 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, &prefs_)); in TEST_F()
176 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, &prefs_)); in TEST_F()
211 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, &prefs_)); in TEST_F()
214 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, &prefs_)); in TEST_F()
223 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, &prefs_)); in TEST_F()
225 0, metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, &prefs_)); in TEST_F()
Dpayload_state.cc49 using metrics_utils::GetPersistedValue;
897 GetPersistedValue(kPrefsPayloadAttemptNumber, prefs_)); in LoadPayloadAttemptNumber()
902 GetPersistedValue(kPrefsFullPayloadAttemptNumber, prefs_)); in LoadFullPayloadAttemptNumber()
935 SetUrlIndex(GetPersistedValue(kPrefsCurrentUrlIndex, prefs_)); in LoadUrlIndex()
951 GetPersistedValue(kPrefsWallClockScatteringWaitPeriod, prefs_))); in LoadScatteringWaitPeriod()
969 GetPersistedValue(kPrefsWallClockStagingWaitPeriod, prefs_))); in LoadStagingWaitPeriod()
985 SetUrlSwitchCount(GetPersistedValue(kPrefsUrlSwitchCount, prefs_)); in LoadUrlSwitchCount()
996 SetUrlFailureCount(GetPersistedValue(kPrefsCurrentUrlFailureCount, prefs_)); in LoadUrlFailureCount()
1124 SetNumReboots(GetPersistedValue(kPrefsNumReboots, prefs_)); in LoadNumReboots()
1198 SetCurrentBytesDownloaded(source, GetPersistedValue(key, prefs_), true); in LoadCurrentBytesDownloaded()
[all …]
Dupdate_attempter_android.cc619 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, prefs_); in BytesReceived()
621 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, prefs_); in BytesReceived()
788 metrics_utils::GetPersistedValue(kPrefsPayloadAttemptNumber, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished()
800 metrics_utils::GetPersistedValue(kPrefsUpdateBootTimestampStart, prefs_)); in CollectAndReportUpdateMetricsOnUpdateFinished()
802 metrics_utils::GetPersistedValue(kPrefsUpdateTimestampStart, prefs_)); in CollectAndReportUpdateMetricsOnUpdateFinished()
817 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished()
827 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished()
835 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished()
894 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in UpdatePrefsAndReportUpdateMetricsOnReboot()
929 metrics_utils::GetPersistedValue(kPrefsPayloadAttemptNumber, prefs_); in UpdatePrefsOnUpdateStart()
Dmetrics_utils.h78 int64_t GetPersistedValue(const std::string& key, PrefsInterface* prefs);
Dmetrics_utils.cc336 int64_t GetPersistedValue(const std::string& key, PrefsInterface* prefs) { in GetPersistedValue() function
400 int64_t stored_value = GetPersistedValue(kPrefsSystemUpdatedMarker, prefs); in LoadAndReportTimeToReboot()