Searched refs:metrics_utils (Results 1 – 10 of 10) sorted by relevance
/system/update_engine/ |
D | metrics_utils_unittest.cc | 26 namespace metrics_utils { namespace 91 EXPECT_FALSE(metrics_utils::WallclockDurationHelper( in TEST() 95 EXPECT_TRUE(metrics_utils::WallclockDurationHelper( in TEST() 101 EXPECT_TRUE(metrics_utils::WallclockDurationHelper( in TEST() 104 EXPECT_TRUE(metrics_utils::WallclockDurationHelper( in TEST() 111 EXPECT_TRUE(metrics_utils::WallclockDurationHelper( in TEST() 114 EXPECT_TRUE(metrics_utils::WallclockDurationHelper( in TEST() 120 EXPECT_TRUE(metrics_utils::WallclockDurationHelper( in TEST() 123 EXPECT_TRUE(metrics_utils::WallclockDurationHelper( in TEST() 131 EXPECT_FALSE(metrics_utils::WallclockDurationHelper( in TEST() [all …]
|
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 | update_attempter_android.cc | 619 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, prefs_); in BytesReceived() 621 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, prefs_); in BytesReceived() 701 metrics_utils::SetSystemUpdatedMarker(clock_.get(), prefs_); in TerminateUpdateAndNotify() 788 metrics_utils::GetPersistedValue(kPrefsPayloadAttemptNumber, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished() 798 metrics_utils::GetAttemptResult(error_code); 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() [all …]
|
D | metrics_utils.h | 35 namespace metrics_utils {
|
D | payload_state.cc | 49 using metrics_utils::GetPersistedValue; 215 type = metrics_utils::GetConnectionType(network_connection_type, tethering); in AttemptStarted() 259 metrics_utils::SetSystemUpdatedMarker(system_state_->clock(), prefs_); in UpdateSucceeded() 647 metrics::AttemptResult attempt_result = metrics_utils::GetAttemptResult(code); in CollectAndReportAttemptMetrics() 652 payload_download_error_code = metrics_utils::GetDownloadErrorCode(code); in CollectAndReportAttemptMetrics() 808 metrics_utils::SetNumReboots(num_reboots, prefs_); in SetNumReboots() 907 metrics_utils::SetPayloadAttemptNumber(payload_attempt_number, prefs_); in SetPayloadAttemptNumber() 1079 metrics_utils::SetUpdateTimestampStart(value, prefs_); in SetUpdateTimestampStart() 1294 metrics_utils::LoadAndReportTimeToReboot( in UpdateEngineStarted()
|
D | metrics_reporter_omaha.cc | 189 if (metrics_utils::WallclockDurationHelper( in ReportUpdateCheckMetrics() 205 if (metrics_utils::MonotonicDurationHelper( in ReportUpdateCheckMetrics() 312 if (metrics_utils::WallclockDurationHelper( in ReportUpdateAttemptMetrics() 328 if (metrics_utils::MonotonicDurationHelper( in ReportUpdateAttemptMetrics()
|
D | Android.bp | 308 "metrics_utils.cc", 360 "metrics_utils.cc",
|
D | metrics_utils.cc | 32 namespace metrics_utils { namespace
|
D | omaha_request_action.cc | 943 metrics_utils::GetDownloadErrorCode(aux_error_code); in TransferComplete() 1476 metrics_utils::GetDownloadErrorCode(code); in ActionCompleted()
|
D | BUILD.gn | 204 "metrics_utils.cc",
|