Home
last modified time | relevance | path

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

/system/update_engine/
Dmetrics_utils_unittest.cc26 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 …]
Dupdate_attempter_android_unittest.cc173 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()
Dupdate_attempter_android.cc619 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 …]
Dmetrics_utils.h35 namespace metrics_utils {
Dpayload_state.cc49 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()
Dmetrics_reporter_omaha.cc189 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()
DAndroid.bp308 "metrics_utils.cc",
360 "metrics_utils.cc",
Dmetrics_utils.cc32 namespace metrics_utils { namespace
Domaha_request_action.cc943 metrics_utils::GetDownloadErrorCode(aux_error_code); in TransferComplete()
1476 metrics_utils::GetDownloadErrorCode(code); in ActionCompleted()
DBUILD.gn204 "metrics_utils.cc",