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
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 …]
Dupdate_attempter_android.cc534 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 …]
Dupdate_attempter_android_unittest.cc163 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()
Dmetrics_utils.h35 namespace metrics_utils {
Dpayload_state.cc48 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()
Dmetrics_reporter_omaha.cc193 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()
Dmetrics_utils.cc32 namespace metrics_utils { namespace
DAndroid.bp277 "metrics_utils.cc",
325 "metrics_utils.cc",
Dupdate_engine.gyp270 'metrics_utils.cc',
Domaha_request_action.cc1743 metrics_utils::GetDownloadErrorCode(code); in ActionCompleted()