/packages/modules/StatsD/statsd/tests/ |
D | StatsLogProcessor_test.cpp | 485 if ((*metricIt)->getMetricId() == metricId1) { in TEST() 495 if ((*metricIt)->getMetricId() == metricId2) { in TEST() 511 if ((*metricIt)->getMetricId() == metricId3) { in TEST() 521 if ((*metricIt)->getMetricId() == metricId4) { in TEST() 537 if ((*metricIt)->getMetricId() == metricId5) { in TEST() 547 if ((*metricIt)->getMetricId() == metricId6) { in TEST() 607 if ((*metricIt)->getMetricId() == metricId1) { in TEST() 617 if ((*metricIt)->getMetricId() == metricId2) { in TEST() 633 if ((*metricIt)->getMetricId() == metricId3) { in TEST() 643 if ((*metricIt)->getMetricId() == metricId4) { in TEST() [all …]
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | config_update_utils_test.cpp | 1731 ASSERT_EQ(oldMetricProducers[0]->getMetricId(), event1Id); in TEST_F() 1854 EXPECT_EQ(newMetricProducers[event1Index]->getMetricId(), event1Id); in TEST_F() 1857 EXPECT_EQ(newMetricProducers[event2Index]->getMetricId(), event2Id); in TEST_F() 1860 EXPECT_EQ(newMetricProducers[event3Index]->getMetricId(), event3Id); in TEST_F() 1863 EXPECT_EQ(newMetricProducers[event4Index]->getMetricId(), event4Id); in TEST_F() 1866 EXPECT_EQ(newMetricProducers[event6Index]->getMetricId(), event6Id); in TEST_F() 1956 ASSERT_EQ(oldMetricProducers[0]->getMetricId(), count1Id); in TEST_F() 2080 EXPECT_EQ(newMetricProducers[count1Index]->getMetricId(), count1Id); in TEST_F() 2085 EXPECT_EQ(newMetricProducers[count2Index]->getMetricId(), count2Id); in TEST_F() 2089 EXPECT_EQ(newMetricProducers[count3Index]->getMetricId(), count3Id); in TEST_F() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterServiceTest.java | 772 Assert.assertEquals(mAdapterService.getMetricId(null), 0); in testGetMetricId_NullAddress() 783 int id = mAdapterService.getMetricId(device); in testGetMetricId_BluetoothDisabled() 797 int id = mAdapterService.getMetricId(device); in testGetMetricId_BluetoothEnabled() 808 int id1 = mAdapterService.getMetricId(device); in testGetMetricId_PersistentBetweenToggle() 814 int id2 = mAdapterService.getMetricId(device); in testGetMetricId_PersistentBetweenToggle() 820 int id3 = mAdapterService.getMetricId(device); in testGetMetricId_PersistentBetweenToggle() 833 int id1 = mAdapterService.getMetricId(device); in testgetMetricId_PersistentBetweenAdapterServiceInitialization() 838 int id2 = mAdapterService.getMetricId(device); in testgetMetricId_PersistentBetweenAdapterServiceInitialization()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/ |
D | ValueMetricsTests.java | 95 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.VALUE_METRIC_ID); in testValueMetric() 170 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.VALUE_METRIC_ID); in testPullerAcrossBuckets() 251 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.VALUE_METRIC_ID); in testMultipleEventsPerBucket() 320 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.VALUE_METRIC_ID); in testPullerAcrossBucketsWithActivation() 448 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.VALUE_METRIC_ID); in testValueMetricWithConditionAndActivation()
|
D | DurationMetricsTests.java | 93 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.DURATION_METRIC_ID); in testDurationMetric() 199 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.DURATION_METRIC_ID); in testDurationMetricWithCondition() 288 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.DURATION_METRIC_ID); in testDurationMetricWithActivation() 462 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.DURATION_METRIC_ID); in testDurationMetricWithConditionAndActivation() 548 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.DURATION_METRIC_ID); in testDurationMetricWithDimension()
|
D | CountMetricsTests.java | 64 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.COUNT_METRIC_ID); in testSimpleEventCountMetric() 120 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.COUNT_METRIC_ID); in testEventCountWithCondition() 241 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.COUNT_METRIC_ID); in testEventCountWithConditionAndActivation() 394 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.COUNT_METRIC_ID);
|
D | GaugeMetricsTests.java | 122 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.GAUGE_METRIC_ID); in testGaugeMetric() 194 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.GAUGE_METRIC_ID); in testPulledGaugeMetricWithActivation() 318 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.GAUGE_METRIC_ID); in testPulledGaugeMetricWithConditionAndActivation()
|
D | MetricActivationTests.java | 556 assertThat(metricReport.getMetricId()).isEqualTo(metricId); in verifyMetric()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | MetricsManager.cpp | 416 if (mNoReportMetricIds.find(producer->getMetricId()) == mNoReportMetricIds.end()) { in onDumpReport() 710 if (metric->getMetricId() == activeMetric.id()) { in loadActiveConfig() 711 VLOG("Setting active metric: %lld", (long long)metric->getMetricId()); in loadActiveConfig()
|
D | MetricProducer.h | 314 inline int64_t getMetricId() const { in getMetricId() function
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | BondStateMachine.java | 411 mAdapterService.getMetricId(device)); in sendIntent() 416 mAdapterService.getMetricId(device)); in sendIntent()
|
D | AdapterProperties.java | 658 mService.getMetricId(device)); in sendConnectionStateChange()
|
D | RemoteDevices.java | 703 int metricId = sAdapterService.getMetricId(device); in aclStateChangeCallback()
|
D | AdapterService.java | 3843 public int getMetricId(BluetoothDevice device) { in getMetricId() method in AdapterService
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 953 int metricId = mAdapterService.getMetricId(device); in codecConfigUpdated() 1024 mAdapterService.getMetricId(device)); in updateAndBroadcastActiveDevice()
|
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/ |
D | TestDrive.java | 224 if (isTrackedMetric(statsLog.getMetricId())) { in dumpMetrics()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachine.java | 324 mAdapterService.getMetricId(device)); in broadcastAudioState() 1930 null, mAdapterService.getMetricId(device)); in processAtXapl()
|
D | HeadsetService.java | 1809 mAdapterService.getMetricId(device)); in broadcastActiveDevice()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 691 mAdapterService.getMetricId(device)); in reportActiveDevice()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/ |
D | DatabaseManager.java | 1046 hardwareVersion, softwareVersion, mAdapterService.getMetricId(device)); in logManufacturerInfo()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachine.java | 1808 AdapterService.getAdapterService().getMetricId(device)); in broadcastAudioState()
|