Home
last modified time | relevance | path

Searched refs:metrics (Results 1 – 25 of 78) sorted by relevance

1234

/system/update_engine/
Dmetrics_reporter_omaha_unittest.cc54 SendToUMA(metrics::kMetricDailyOSAgeDays, _, _, _, _)) in TEST_F()
71 metrics::CheckResult result = metrics::CheckResult::kUpdateAvailable; in TEST_F()
72 metrics::CheckReaction reaction = metrics::CheckReaction::kIgnored; in TEST_F()
73 metrics::DownloadErrorCode error_code = in TEST_F()
74 metrics::DownloadErrorCode::kHttpStatus200; in TEST_F()
78 SendEnumToUMA(metrics::kMetricCheckResult, static_cast<int>(result), _)) in TEST_F()
82 metrics::kMetricCheckReaction, static_cast<int>(reaction), _)) in TEST_F()
85 SendSparseToUMA(metrics::kMetricCheckDownloadErrorCode, in TEST_F()
91 SendSparseToUMA(metrics::kMetricCheckTargetVersion, _)) in TEST_F()
94 SendSparseToUMA(metrics::kMetricCheckRollbackTargetVersion, _)) in TEST_F()
[all …]
Dmetrics_reporter_omaha.cc37 namespace metrics { namespace
148 string metric = metrics::kMetricDailyOSAgeDays; in ReportDailyMetrics()
160 metrics::CheckResult result, in ReportUpdateCheckMetrics()
161 metrics::CheckReaction reaction, in ReportUpdateCheckMetrics()
162 metrics::DownloadErrorCode download_error_code) { in ReportUpdateCheckMetrics()
167 if (result != metrics::CheckResult::kUnset) { in ReportUpdateCheckMetrics()
168 metric = metrics::kMetricCheckResult; in ReportUpdateCheckMetrics()
170 max_value = static_cast<int>(metrics::CheckResult::kNumConstants) - 1; in ReportUpdateCheckMetrics()
174 if (reaction != metrics::CheckReaction::kUnset) { in ReportUpdateCheckMetrics()
175 metric = metrics::kMetricCheckReaction; in ReportUpdateCheckMetrics()
[all …]
Dmetrics_utils.cc34 metrics::AttemptResult GetAttemptResult(ErrorCode code) { in GetAttemptResult()
40 return metrics::AttemptResult::kUpdateSucceeded; in GetAttemptResult()
43 return metrics::AttemptResult::kUpdateSucceededNotActive; in GetAttemptResult()
49 return metrics::AttemptResult::kPayloadDownloadError; in GetAttemptResult()
62 return metrics::AttemptResult::kMetadataMalformed; in GetAttemptResult()
66 return metrics::AttemptResult::kOperationMalformed; in GetAttemptResult()
77 return metrics::AttemptResult::kOperationExecutionError; in GetAttemptResult()
80 return metrics::AttemptResult::kMetadataVerificationFailed; in GetAttemptResult()
88 return metrics::AttemptResult::kPayloadVerificationFailed; in GetAttemptResult()
93 return metrics::AttemptResult::kVerificationFailed; in GetAttemptResult()
[all …]
Dmetrics_reporter_interface.h35 namespace metrics {
49 virtual void ReportRollbackMetrics(metrics::RollbackResult result) = 0;
96 metrics::CheckResult result,
97 metrics::CheckReaction reaction,
98 metrics::DownloadErrorCode download_error_code) = 0;
129 metrics::AttemptResult attempt_result,
144 metrics::DownloadErrorCode payload_download_error_code,
145 metrics::ConnectionType connection_type) = 0;
Dmock_metrics_reporter.h32 MOCK_METHOD1(ReportRollbackMetrics, void(metrics::RollbackResult result));
41 metrics::CheckResult result,
42 metrics::CheckReaction reaction,
43 metrics::DownloadErrorCode download_error_code));
52 metrics::AttemptResult attempt_result,
59 metrics::DownloadErrorCode payload_download_error_code,
60 metrics::ConnectionType connection_type));
Dmetrics_reporter_android.h34 void ReportRollbackMetrics(metrics::RollbackResult result) override {} in ReportRollbackMetrics()
43 metrics::CheckResult result, in ReportUpdateCheckMetrics()
44 metrics::CheckReaction reaction, in ReportUpdateCheckMetrics()
45 metrics::DownloadErrorCode download_error_code) override {} in ReportUpdateCheckMetrics()
53 metrics::AttemptResult attempt_result,
60 metrics::DownloadErrorCode payload_download_error_code,
61 metrics::ConnectionType connection_type) override;
Dmetrics_reporter_stub.h34 void ReportRollbackMetrics(metrics::RollbackResult result) override {} in ReportRollbackMetrics()
43 metrics::CheckResult result, in ReportUpdateCheckMetrics()
44 metrics::CheckReaction reaction, in ReportUpdateCheckMetrics()
45 metrics::DownloadErrorCode download_error_code) override {} in ReportUpdateCheckMetrics()
53 metrics::AttemptResult attempt_result, in ReportUpdateAttemptMetrics()
60 metrics::DownloadErrorCode payload_download_error_code, in ReportUpdateAttemptDownloadMetrics()
61 metrics::ConnectionType connection_type) override {} in ReportUpdateAttemptDownloadMetrics()
Dmetrics_utils_unittest.cc32 EXPECT_EQ(metrics::ConnectionType::kUnknown, in TEST()
35 EXPECT_EQ(metrics::ConnectionType::kDisconnected, in TEST()
38 EXPECT_EQ(metrics::ConnectionType::kEthernet, in TEST()
42 metrics::ConnectionType::kWifi, in TEST()
44 EXPECT_EQ(metrics::ConnectionType::kCellular, in TEST()
47 EXPECT_EQ(metrics::ConnectionType::kTetheredEthernet, in TEST()
50 EXPECT_EQ(metrics::ConnectionType::kTetheredWifi, in TEST()
55 EXPECT_EQ(metrics::ConnectionType::kEthernet, in TEST()
58 EXPECT_EQ(metrics::ConnectionType::kEthernet, in TEST()
61 EXPECT_EQ(metrics::ConnectionType::kEthernet, in TEST()
[all …]
Dmetrics_reporter_omaha.h37 namespace metrics {
111 void ReportRollbackMetrics(metrics::RollbackResult result) override;
120 metrics::CheckResult result,
121 metrics::CheckReaction reaction,
122 metrics::DownloadErrorCode download_error_code) override;
130 metrics::AttemptResult attempt_result,
137 metrics::DownloadErrorCode payload_download_error_code,
138 metrics::ConnectionType connection_type) override;
Dmetrics_reporter_android.cc43 namespace metrics { namespace
58 metrics::AttemptResult attempt_result, in ReportUpdateAttemptMetrics()
77 metrics::DownloadErrorCode /* payload_download_error_code */, in ReportUpdateAttemptDownloadMetrics()
78 metrics::ConnectionType /* connection_type */) { in ReportUpdateAttemptDownloadMetrics()
114 static_cast<int>(metrics::AttemptResult::kAbnormalTermination); in ReportAbnormallyTerminatedUpdateAttemptMetrics()
Domaha_request_action_unittest.cc351 metrics::CheckResult expected_check_result;
352 metrics::CheckReaction expected_check_reaction;
353 metrics::DownloadErrorCode expected_download_error_code;
391 .expected_check_result = metrics::CheckResult::kUpdateAvailable, in SetUp()
392 .expected_check_reaction = metrics::CheckReaction::kUpdating, in SetUp()
393 .expected_download_error_code = metrics::DownloadErrorCode::kUnset, in SetUp()
478 metrics::CheckResult::kNoUpdateAvailable; in SetUp()
479 tuc_params_.expected_check_reaction = metrics::CheckReaction::kUnset; in SetUp()
595 tuc_params_.expected_check_result = metrics::CheckResult::kParsingError; in TEST_F()
596 tuc_params_.expected_check_reaction = metrics::CheckReaction::kUnset; in TEST_F()
[all …]
Dmetrics_utils.h41 metrics::DownloadErrorCode GetDownloadErrorCode(ErrorCode code);
47 metrics::AttemptResult GetAttemptResult(ErrorCode code);
50 metrics::ConnectionType GetConnectionType(ConnectionType type,
Dpayload_state.cc75 attempt_connection_type_(metrics::ConnectionType::kUnknown), in PayloadState()
205 metrics::ConnectionType type; in AttemptStarted()
213 type = metrics::ConnectionType::kUnknown; in AttemptStarted()
250 metrics::RollbackResult::kSuccess); in UpdateSucceeded()
283 metrics::RollbackResult::kFailed); in UpdateFailed()
644 metrics::DownloadErrorCode payload_download_error_code = in CollectAndReportAttemptMetrics()
645 metrics::DownloadErrorCode::kUnset; in CollectAndReportAttemptMetrics()
647 metrics::AttemptResult attempt_result = metrics_utils::GetAttemptResult(code); in CollectAndReportAttemptMetrics()
651 case metrics::AttemptResult::kPayloadDownloadError: in CollectAndReportAttemptMetrics()
655 case metrics::AttemptResult::kInternalError: in CollectAndReportAttemptMetrics()
[all …]
Domaha_request_action.cc942 metrics::DownloadErrorCode download_error_code = in TransferComplete()
946 metrics::CheckResult::kUnset, in TransferComplete()
947 metrics::CheckReaction::kUnset, in TransferComplete()
1432 metrics::CheckResult result = metrics::CheckResult::kUnset; in ActionCompleted()
1433 metrics::CheckReaction reaction = metrics::CheckReaction::kUnset; in ActionCompleted()
1434 metrics::DownloadErrorCode download_error_code = in ActionCompleted()
1435 metrics::DownloadErrorCode::kUnset; in ActionCompleted()
1445 result = metrics::CheckResult::kUpdateAvailable; in ActionCompleted()
1446 reaction = metrics::CheckReaction::kUpdating; in ActionCompleted()
1448 result = metrics::CheckResult::kNoUpdateAvailable; in ActionCompleted()
[all …]
Dmetrics_reporter_stub.cc23 namespace metrics { namespace
/system/bt/common/
Dmetrics.cc48 using bluetooth::metrics::BluetoothMetricsProto::A2DPSession;
49 using bluetooth::metrics::BluetoothMetricsProto::A2dpSourceCodec;
50 using bluetooth::metrics::BluetoothMetricsProto::BluetoothLog;
51 using bluetooth::metrics::BluetoothMetricsProto::BluetoothSession;
52 using bluetooth::metrics::BluetoothMetricsProto::
54 using bluetooth::metrics::BluetoothMetricsProto::
56 using bluetooth::metrics::BluetoothMetricsProto::DeviceInfo;
57 using bluetooth::metrics::BluetoothMetricsProto::DeviceInfo_DeviceType;
58 using bluetooth::metrics::BluetoothMetricsProto::HeadsetProfileConnectionStats;
59 using bluetooth::metrics::BluetoothMetricsProto::HeadsetProfileType;
[all …]
Dmetrics_unittest.cc40 using bluetooth::metrics::BluetoothMetricsProto::A2DPSession;
41 using bluetooth::metrics::BluetoothMetricsProto::A2dpSourceCodec;
42 using bluetooth::metrics::BluetoothMetricsProto::BluetoothLog;
43 using bluetooth::metrics::BluetoothMetricsProto::BluetoothSession;
44 using bluetooth::metrics::BluetoothMetricsProto::
46 using bluetooth::metrics::BluetoothMetricsProto::
48 using bluetooth::metrics::BluetoothMetricsProto::DeviceInfo;
49 using bluetooth::metrics::BluetoothMetricsProto::DeviceInfo_DeviceType;
50 using bluetooth::metrics::BluetoothMetricsProto::HeadsetProfileConnectionStats;
51 using bluetooth::metrics::BluetoothMetricsProto::HeadsetProfileType;
[all …]
/system/bt/gd/proto/
DAndroid.bp8 "bluetooth/metrics/bluetooth.proto",
21 "bluetooth/metrics/bluetooth.proto",
35 "bluetooth/metrics/bluetooth.proto",
/system/bt/build/secondary/third_party/libchrome/
DBUILD.gn81 "base/metrics/bucket_ranges.cc",
82 "base/metrics/dummy_histogram.cc",
83 "base/metrics/field_trial.cc",
84 "base/metrics/field_trial_param_associator.cc",
85 "base/metrics/histogram.cc",
86 "base/metrics/histogram_base.cc",
87 "base/metrics/histogram_functions.cc",
88 "base/metrics/histogram_samples.cc",
89 "base/metrics/histogram_snapshot_manager.cc",
90 "base/metrics/metrics_hashes.cc",
[all …]
/system/netd/server/
DEventReporter.h40 android::sp<android::net::metrics::INetdEventListener> getNetdEventListener();
55 android::sp<android::net::metrics::INetdEventListener> mNetdEventListener
/system/core/bootstat/
DREADME.md5 command also aggregates boot event metrics locally and logs the metrics for
11 -l, --log Log all metrics to logstorage
/system/bt/btif/src/
Dbtif_a2dp_source.cc1277 A2dpSessionMetrics metrics; in btif_a2dp_source_update_metrics() local
1278 metrics.codec_index = stats.codec_index; in btif_a2dp_source_update_metrics()
1279 metrics.is_a2dp_offload = btif_av_is_a2dp_offload_running(); in btif_a2dp_source_update_metrics()
1287 metrics.audio_duration_ms = in btif_a2dp_source_update_metrics()
1293 metrics.media_timer_min_ms = in btif_a2dp_source_update_metrics()
1296 metrics.media_timer_max_ms = in btif_a2dp_source_update_metrics()
1300 metrics.total_scheduling_count = enqueue_stats.overdue_scheduling_count + in btif_a2dp_source_update_metrics()
1303 if (metrics.total_scheduling_count > 0) { in btif_a2dp_source_update_metrics()
1304 metrics.media_timer_avg_ms = enqueue_stats.total_scheduling_time_us / in btif_a2dp_source_update_metrics()
1305 (1000 * metrics.total_scheduling_count); in btif_a2dp_source_update_metrics()
[all …]
/system/bt/gd/proto/bluetooth/metrics/
Dbluetooth.proto19 // C++ namespace: bluetooth::metrics::BluetoothMetricsProto
20 package bluetooth.metrics.BluetoothMetricsProto;
96 // A metrics dump takes a snapshot of current Bluetooth session and thus
97 // is not a real disconnect, but a discontinuation in metrics logging.
122 // Numeric reason for disconnecting as defined in metrics.h
279 // Number of times that this profile is connected since last metrics dump
/system/sepolicy/public/
Dmediametrics.te1 # mediametrics - daemon for collecting media.metrics data
23 # Allow metrics service to send information to statsd socket.
/system/sepolicy/prebuilts/api/30.0/public/
Dmediametrics.te1 # mediametrics - daemon for collecting media.metrics data
23 # Allow metrics service to send information to statsd socket.

1234