Searched refs:GetPersistedValue (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/aosp/ |
D | update_attempter_android_unittest.cc | 175 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, &prefs_)); in TEST_F() 178 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, &prefs_)); in TEST_F() 213 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, &prefs_)); in TEST_F() 216 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, &prefs_)); in TEST_F() 225 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, &prefs_)); in TEST_F() 227 0, metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, &prefs_)); in TEST_F()
|
D | update_attempter_android.cc | 643 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, prefs_); in BytesReceived() 645 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, prefs_); in BytesReceived() 811 metrics_utils::GetPersistedValue(kPrefsPayloadAttemptNumber, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished() 823 metrics_utils::GetPersistedValue(kPrefsUpdateBootTimestampStart, prefs_)); in CollectAndReportUpdateMetricsOnUpdateFinished() 825 metrics_utils::GetPersistedValue(kPrefsUpdateTimestampStart, prefs_)); in CollectAndReportUpdateMetricsOnUpdateFinished() 839 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished() 849 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished() 857 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished() 921 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in UpdatePrefsAndReportUpdateMetricsOnReboot() 958 metrics_utils::GetPersistedValue(kPrefsPayloadAttemptNumber, prefs_); in UpdatePrefsOnUpdateStart()
|
/system/update_engine/cros/ |
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() 950 GetPersistedValue(kPrefsWallClockScatteringWaitPeriod, prefs_))); in LoadScatteringWaitPeriod() 967 GetPersistedValue(kPrefsWallClockStagingWaitPeriod, prefs_))); in LoadStagingWaitPeriod() 982 SetUrlSwitchCount(GetPersistedValue(kPrefsUrlSwitchCount, prefs_)); in LoadUrlSwitchCount() 992 SetUrlFailureCount(GetPersistedValue(kPrefsCurrentUrlFailureCount, prefs_)); in LoadUrlFailureCount() 1112 SetNumReboots(GetPersistedValue(kPrefsNumReboots, prefs_)); in LoadNumReboots() 1181 SetCurrentBytesDownloaded(source, GetPersistedValue(key, prefs_), true); in LoadCurrentBytesDownloaded() [all …]
|
/system/update_engine/ |
D | metrics_utils.h | 53 int64_t GetPersistedValue(const std::string& key, PrefsInterface* prefs);
|
D | metrics_utils.cc | 297 int64_t GetPersistedValue(const std::string& key, PrefsInterface* prefs) { in GetPersistedValue() function 361 int64_t stored_value = GetPersistedValue(kPrefsSystemUpdatedMarker, prefs); in LoadAndReportTimeToReboot()
|