Home
last modified time | relevance | path

Searched refs:getMetricId (Results 1 – 21 of 21) sorted by relevance

/packages/modules/StatsD/statsd/tests/
DStatsLogProcessor_test.cpp485 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/
Dconfig_update_utils_test.cpp1731 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/
DAdapterServiceTest.java772 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/
DValueMetricsTests.java95 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()
DDurationMetricsTests.java93 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()
DCountMetricsTests.java64 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);
DGaugeMetricsTests.java122 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()
DMetricActivationTests.java556 assertThat(metricReport.getMetricId()).isEqualTo(metricId); in verifyMetric()
/packages/modules/StatsD/statsd/src/metrics/
DMetricsManager.cpp416 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()
DMetricProducer.h314 inline int64_t getMetricId() const { in getMetricId() function
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DBondStateMachine.java411 mAdapterService.getMetricId(device)); in sendIntent()
416 mAdapterService.getMetricId(device)); in sendIntent()
DAdapterProperties.java658 mService.getMetricId(device)); in sendConnectionStateChange()
DRemoteDevices.java703 int metricId = sAdapterService.getMetricId(device); in aclStateChangeCallback()
DAdapterService.java3843 public int getMetricId(BluetoothDevice device) { in getMetricId() method in AdapterService
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java953 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/
DTestDrive.java224 if (isTrackedMetric(statsLog.getMetricId())) { in dumpMetrics()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java324 mAdapterService.getMetricId(device)); in broadcastAudioState()
1930 null, mAdapterService.getMetricId(device)); in processAtXapl()
DHeadsetService.java1809 mAdapterService.getMetricId(device)); in broadcastActiveDevice()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidService.java691 mAdapterService.getMetricId(device)); in reportActiveDevice()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java1046 hardwareVersion, softwareVersion, mAdapterService.getMetricId(device)); in logManufacturerInfo()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java1808 AdapterService.getAdapterService().getMetricId(device)); in broadcastAudioState()