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 97 EXPECT_FALSE(metrics_utils::WallclockDurationHelper( in TEST() 101 EXPECT_TRUE(metrics_utils::WallclockDurationHelper( in TEST() 107 EXPECT_TRUE(metrics_utils::WallclockDurationHelper( in TEST() 110 EXPECT_TRUE(metrics_utils::WallclockDurationHelper( in TEST() 117 EXPECT_TRUE(metrics_utils::WallclockDurationHelper( in TEST() 120 EXPECT_TRUE(metrics_utils::WallclockDurationHelper( in TEST() 126 EXPECT_TRUE(metrics_utils::WallclockDurationHelper( in TEST() 129 EXPECT_TRUE(metrics_utils::WallclockDurationHelper( in TEST() 137 EXPECT_FALSE(metrics_utils::WallclockDurationHelper( in TEST() [all …]
|
D | update_attempter_android.cc | 534 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, prefs_); in BytesReceived() 536 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, prefs_); in BytesReceived() 602 metrics_utils::SetSystemUpdatedMarker(clock_.get(), prefs_); in TerminateUpdateAndNotify() 684 metrics_utils::GetPersistedValue(kPrefsPayloadAttemptNumber, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished() 694 metrics_utils::GetAttemptResult(error_code); in CollectAndReportUpdateMetricsOnUpdateFinished() 696 metrics_utils::GetPersistedValue(kPrefsUpdateBootTimestampStart, prefs_)); in CollectAndReportUpdateMetricsOnUpdateFinished() 698 metrics_utils::GetPersistedValue(kPrefsUpdateTimestampStart, prefs_)); in CollectAndReportUpdateMetricsOnUpdateFinished() 713 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished() 723 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished() 731 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished() [all …]
|
D | update_attempter_android_unittest.cc | 163 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, &prefs_)); in TEST_F() 166 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, &prefs_)); in TEST_F() 196 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, &prefs_)); in TEST_F() 199 metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, &prefs_)); in TEST_F() 208 metrics_utils::GetPersistedValue(kPrefsCurrentBytesDownloaded, &prefs_)); in TEST_F() 210 0, metrics_utils::GetPersistedValue(kPrefsTotalBytesDownloaded, &prefs_)); in TEST_F()
|
D | metrics_utils.h | 35 namespace metrics_utils {
|
D | payload_state.cc | 48 using metrics_utils::GetPersistedValue; 211 type = metrics_utils::GetConnectionType(network_connection_type, tethering); in AttemptStarted() 255 metrics_utils::SetSystemUpdatedMarker(system_state_->clock(), prefs_); in UpdateSucceeded() 620 metrics::AttemptResult attempt_result = metrics_utils::GetAttemptResult(code); in CollectAndReportAttemptMetrics() 625 payload_download_error_code = metrics_utils::GetDownloadErrorCode(code); in CollectAndReportAttemptMetrics() 781 metrics_utils::SetNumReboots(num_reboots, prefs_); in SetNumReboots() 880 metrics_utils::SetPayloadAttemptNumber(payload_attempt_number, prefs_); in SetPayloadAttemptNumber() 1051 metrics_utils::SetUpdateTimestampStart(value, prefs_); in SetUpdateTimestampStart() 1266 metrics_utils::LoadAndReportTimeToReboot( in UpdateEngineStarted()
|
D | metrics_reporter_omaha.cc | 193 if (metrics_utils::WallclockDurationHelper( in ReportUpdateCheckMetrics() 209 if (metrics_utils::MonotonicDurationHelper( in ReportUpdateCheckMetrics() 316 if (metrics_utils::WallclockDurationHelper( in ReportUpdateAttemptMetrics() 332 if (metrics_utils::MonotonicDurationHelper( in ReportUpdateAttemptMetrics()
|
D | metrics_utils.cc | 32 namespace metrics_utils { namespace
|
D | Android.bp | 277 "metrics_utils.cc", 325 "metrics_utils.cc",
|
D | update_engine.gyp | 270 'metrics_utils.cc',
|
D | omaha_request_action.cc | 1743 metrics_utils::GetDownloadErrorCode(code); in ActionCompleted()
|