Searched refs:GetPersistedValue (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/ |
D | update_attempter_android_unittest.cc | 173 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()
|
D | payload_state.cc | 49 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 …]
|
D | update_attempter_android.cc | 619 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()
|
D | metrics_utils.h | 78 int64_t GetPersistedValue(const std::string& key, PrefsInterface* prefs);
|
D | metrics_utils.cc | 336 int64_t GetPersistedValue(const std::string& key, PrefsInterface* prefs) { in GetPersistedValue() function 400 int64_t stored_value = GetPersistedValue(kPrefsSystemUpdatedMarker, prefs); in LoadAndReportTimeToReboot()
|