Home
last modified time | relevance | path

Searched refs:metrics_utils (Results 1 – 9 of 9) sorted by relevance

/aosp12/system/update_engine/aosp/
H A Dupdate_attempter_android.cc645 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, prefs_); in BytesReceived()
725 metrics_utils::SetSystemUpdatedMarker(clock_.get(), prefs_); in TerminateUpdateAndNotify()
811 metrics_utils::GetPersistedValue(kPrefsPayloadAttemptNumber, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished()
821 metrics_utils::GetAttemptResult(error_code); in CollectAndReportUpdateMetricsOnUpdateFinished()
849 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished()
921 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in UpdatePrefsAndReportUpdateMetricsOnReboot()
922 metrics_utils::SetNumReboots(reboot_count + 1, prefs_); in UpdatePrefsAndReportUpdateMetricsOnReboot()
940 metrics_utils::LoadAndReportTimeToReboot( in UpdatePrefsAndReportUpdateMetricsOnReboot()
954 metrics_utils::SetNumReboots(0, prefs_); in UpdatePrefsOnUpdateStart()
955 metrics_utils::SetPayloadAttemptNumber(1, prefs_); in UpdatePrefsOnUpdateStart()
[all …]
H A Dupdate_attempter_android_unittest.cc175 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()
/aosp12/system/update_engine/cros/
H A Dpayload_state.cc49 using metrics_utils::GetPersistedValue;
214 type = metrics_utils::GetConnectionType(network_connection_type, tethering); in AttemptStarted()
258 metrics_utils::SetSystemUpdatedMarker(SystemState::Get()->clock(), prefs_); in UpdateSucceeded()
649 metrics::AttemptResult attempt_result = metrics_utils::GetAttemptResult(code); in CollectAndReportAttemptMetrics()
654 payload_download_error_code = metrics_utils::GetDownloadErrorCode(code); in CollectAndReportAttemptMetrics()
811 metrics_utils::SetNumReboots(num_reboots, prefs_); in SetNumReboots()
907 metrics_utils::SetPayloadAttemptNumber(payload_attempt_number, prefs_); in SetPayloadAttemptNumber()
1069 metrics_utils::SetUpdateTimestampStart(value, prefs_); in SetUpdateTimestampStart()
1272 metrics_utils::LoadAndReportTimeToReboot( in UpdateEngineStarted()
H A Domaha_request_action.cc974 metrics_utils::GetDownloadErrorCode(aux_error_code); in TransferComplete()
1527 metrics_utils::GetDownloadErrorCode(code); in ActionCompleted()
/aosp12/system/update_engine/
H A Dmetrics_utils.h33 namespace metrics_utils {
H A Dmetrics_utils_unittest.cc22 namespace metrics_utils { namespace
H A Dmetrics_utils.cc31 namespace metrics_utils { namespace
H A DAndroid.bp387 "metrics_utils.cc",
443 "metrics_utils.cc",
H A DBUILD.gn215 "metrics_utils.cc",