/system/update_engine/ |
D | metrics_reporter_omaha_unittest.cc | 54 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 …]
|
D | metrics_reporter_omaha.cc | 37 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 …]
|
D | metrics_utils.cc | 34 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 …]
|
D | metrics_reporter_interface.h | 35 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;
|
D | mock_metrics_reporter.h | 32 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));
|
D | metrics_reporter_android.h | 34 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;
|
D | metrics_reporter_stub.h | 34 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()
|
D | metrics_utils_unittest.cc | 32 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 …]
|
D | metrics_reporter_omaha.h | 37 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;
|
D | metrics_reporter_android.cc | 43 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()
|
D | omaha_request_action_unittest.cc | 351 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 …]
|
D | metrics_utils.h | 41 metrics::DownloadErrorCode GetDownloadErrorCode(ErrorCode code); 47 metrics::AttemptResult GetAttemptResult(ErrorCode code); 50 metrics::ConnectionType GetConnectionType(ConnectionType type,
|
D | payload_state.cc | 75 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 …]
|
D | omaha_request_action.cc | 942 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 …]
|
D | metrics_reporter_stub.cc | 23 namespace metrics { namespace
|
/system/bt/common/ |
D | metrics.cc | 48 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 …]
|
D | metrics_unittest.cc | 40 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/ |
D | Android.bp | 8 "bluetooth/metrics/bluetooth.proto", 21 "bluetooth/metrics/bluetooth.proto", 35 "bluetooth/metrics/bluetooth.proto",
|
/system/bt/build/secondary/third_party/libchrome/ |
D | BUILD.gn | 81 "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/ |
D | EventReporter.h | 40 android::sp<android::net::metrics::INetdEventListener> getNetdEventListener(); 55 android::sp<android::net::metrics::INetdEventListener> mNetdEventListener
|
/system/core/bootstat/ |
D | README.md | 5 command also aggregates boot event metrics locally and logs the metrics for 11 -l, --log Log all metrics to logstorage
|
/system/bt/btif/src/ |
D | btif_a2dp_source.cc | 1277 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/ |
D | bluetooth.proto | 19 // 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/ |
D | mediametrics.te | 1 # mediametrics - daemon for collecting media.metrics data 23 # Allow metrics service to send information to statsd socket.
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | mediametrics.te | 1 # mediametrics - daemon for collecting media.metrics data 23 # Allow metrics service to send information to statsd socket.
|