Home
last modified time | relevance | path

Searched refs:set_id (Results 1 – 25 of 42) sorted by relevance

12

/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp97 config.set_id(12345); in buildCircleMatchers()
100 eventMatcher->set_id(StringToId("SCREEN_IS_ON")); in buildCircleMatchers()
110 eventMatcher->set_id(StringToId("SCREEN_ON_OR_OFF")); in buildCircleMatchers()
123 config.set_id(12345); in buildAlertWithUnknownMetric()
128 metric->set_id(3); in buildAlertWithUnknownMetric()
135 alert->set_id(3); in buildAlertWithUnknownMetric()
145 config.set_id(12345); in buildMissingMatchers()
148 eventMatcher->set_id(StringToId("SCREEN_IS_ON")); in buildMissingMatchers()
158 eventMatcher->set_id(StringToId("SCREEN_ON_OR_OFF")); in buildMissingMatchers()
171 config.set_id(12345); in buildMissingPredicate()
[all …]
Dconfig_update_utils_test.cpp245 matcher3.set_id(StringToId("TEST3")); in TEST_F()
288 matcher3.set_id(StringToId("TEST3")); in TEST_F()
333 matcher3.set_id(StringToId("TEST3")); in TEST_F()
386 combination1.set_id(StringToId("combination1")); in TEST_F()
395 combination2.set_id(StringToId("combination2")); in TEST_F()
413 combination3.set_id(StringToId("combination3")); in TEST_F()
608 combination1.set_id(StringToId("COMBINATION1")); in TEST_F()
653 combination1.set_id(StringToId("COMBINATION1")); in TEST_F()
700 combination1.set_id(StringToId("COMBINATION1")); in TEST_F()
777 combination1.set_id(StringToId("COMBINATION1")); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dble_scanner_hci_interface.cc82 void PeriodicScanStart(uint8_t options, uint8_t set_id, uint8_t adv_addr_type, in PeriodicScanStart() argument
87 options, set_id, adv_addr_type, adv_addr, skip_num, sync_timeout, in PeriodicScanStart()
116 RawAddress& adv_addr, uint8_t set_id, in PeriodicAdvertiserListAddDevice() argument
119 adv_addr_type, adv_addr, set_id, in PeriodicAdvertiserListAddDevice()
124 RawAddress& adv_addr, uint8_t set_id, in PeriodicAdvertiserListRemoveDevice() argument
127 adv_addr_type, adv_addr, set_id, in PeriodicAdvertiserListRemoveDevice()
222 RawAddress& adv_addr, uint8_t set_id, in PeriodicAdvertiserListAddDevice() argument
225 adv_addr_type, adv_addr, set_id, in PeriodicAdvertiserListAddDevice()
230 RawAddress& adv_addr, uint8_t set_id, in PeriodicAdvertiserListRemoveDevice() argument
233 adv_addr_type, adv_addr, set_id, in PeriodicAdvertiserListRemoveDevice()
Dbtm_ble_scanner.cc47 void PeriodicScanStart(uint8_t options, uint8_t set_id, uint8_t adv_addr_type, in PeriodicScanStart() argument
51 GetHciInterface()->PeriodicScanStart(options, set_id, adv_addr_type, in PeriodicScanStart()
97 uint8_t set_id, uint8_t adv_addr_type, in OnPeriodicScanEstablished() argument
101 btm_ble_periodic_adv_sync_established(status, sync_handle, set_id, in OnPeriodicScanEstablished()
Dble_scanner_hci_interface.h49 uint8_t status, uint16_t sync_handle, uint8_t set_id,
80 virtual void PeriodicScanStart(uint8_t options, uint8_t set_id,
/packages/modules/StatsD/statsd/tests/metrics/
DRestrictedEventMetricProducer_test.cpp56 metric.set_id(metricId1); in TEST_F()
90 metric.set_id(metricId2); in TEST_F()
132 metric.set_id(metricId1); in TEST_F()
167 metric.set_id(metricId1); in TEST_F()
188 metric.set_id(metricId1); in TEST_F()
208 metric.set_id(metricId1); in TEST_F()
251 metric.set_id(metricId1); in TEST_F()
DDurationMetricProducer_test.cpp69 metric.set_id(1); in TEST()
92 metric.set_id(1); in TEST()
132 metric.set_id(1); in TEST()
191 metric.set_id(1); in TEST()
249 metric.set_id(1); in TEST_P()
314 metric.set_id(1); in TEST_P()
376 metric.set_id(1); in TEST_P()
428 metric.set_id(1); in TEST_P()
484 metric.set_id(1); in TEST_P()
548 metric.set_id(1); in TEST()
[all …]
DCountMetricProducer_test.cpp74 metric.set_id(1); in TEST()
95 metric.set_id(1); in TEST()
158 metric.set_id(1); in TEST()
208 metric.set_id(1); in TEST()
268 metric.set_id(1); in TEST_P()
340 metric.set_id(1); in TEST_P()
399 metric.set_id(1); in TEST()
459 alert.set_id(11); in TEST()
472 metric.set_id(1); in TEST()
533 metric.set_id(1); in TEST()
DEventMetricProducer_test.cpp74 metric.set_id(1); in TEST_F()
111 metric.set_id(1); in TEST_F()
155 metric.set_id(1); in TEST_F()
206 metric.set_id(1); in TEST_F()
257 metric.set_id(1); in TEST_F()
311 metric.set_id(1); in TEST_F()
358 metric.set_id(1); in TEST_F()
465 metric.set_id(1); in TEST_F()
563 metric.set_id(1); in TEST_F()
661 metric.set_id(1); in TEST_F()
DGaugeMetricProducer_test.cpp87 metric.set_id(metricId); in TEST()
118 metric.set_id(metricId); in TEST()
218 metric.set_id(metricId); in TEST_P()
224 alert.set_id(101); in TEST_P()
305 metric.set_id(metricId); in TEST_P()
383 metric.set_id(metricId); in TEST()
432 metric.set_id(metricId); in TEST()
510 metric.set_id(1111111); in TEST()
585 metric.set_id(metricId); in TEST()
604 alert.set_id(101); in TEST()
[all …]
DOringDurationTracker_test.cpp312 alert.set_id(101); in TEST()
380 alert.set_id(101); in TEST()
425 alert.set_id(101); in TEST()
482 alert.set_id(101); in TEST()
533 alert.set_id(101); in TEST()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.cpp75 atom_matcher.set_id(StringToId(name)); in CreateSimpleAtomMatcher()
88 atom_matcher.set_id(StringToId(name)); in CreateScheduledJobStateChangedAtomMatcher()
114 atom_matcher.set_id(StringToId("ScreenBrightnessChanged")); in CreateScreenBrightnessChangedAtomMatcher()
122 atom_matcher.set_id(StringToId("UidProcessStateChanged")); in CreateUidProcessStateChangedAtomMatcher()
131 atom_matcher.set_id(StringToId(name)); in CreateWakelockStateChangedAtomMatcher()
151 atom_matcher.set_id(StringToId(name)); in CreateBatterySaverModeStateChangedAtomMatcher()
174 atom_matcher.set_id(StringToId(name)); in CreateBatteryStateChangedAtomMatcher()
196 atom_matcher.set_id(StringToId(name)); in CreateScreenStateChangedAtomMatcher()
218 atom_matcher.set_id(StringToId(name)); in CreateSyncStateChangedAtomMatcher()
238 atom_matcher.set_id(StringToId(name)); in CreateActivityForegroundStateChangedAtomMatcher()
[all …]
DDataCorruptionReason_test.cpp61 config.set_id(kConfigId); in buildGoodEventConfig()
65 eventMatcher->set_id(StringToId("SCREEN_IS_ON")); in buildGoodEventConfig()
70 metric->set_id(kNotInterestedMetricId); in buildGoodEventConfig()
77 eventMatcher->set_id(matcherId); in buildGoodEventConfig()
82 metric->set_id(kInterestedMetricId); in buildGoodEventConfig()
DConfigManager_test.cpp78 config91.set_id(91); in TEST()
80 config92.set_id(92); in TEST()
82 config93.set_id(93); in TEST()
84 config94.set_id(94); in TEST()
DStatsLogProcessor_test.cpp179 countMetric->set_id(StringToId("AppCrashes")); in MakeConfig()
194 eventMetric->set_id(StringToId("EventAppCrashes")); in makeRestrictedConfig()
357 countMetric->set_id(123456); in TEST()
488 config1.set_id(cfgId1); in TEST()
495 countMetric1->set_id(metricId1); in TEST()
500 countMetric2->set_id(metricId2); in TEST()
509 config2.set_id(cfgId2); in TEST()
516 countMetric3->set_id(metricId3); in TEST()
521 countMetric4->set_id(metricId4); in TEST()
537 config3.set_id(cfgId3); in TEST()
[all …]
DMetricsManager_test.cpp59 config.set_id(kConfigId); in buildEventConfig()
65 eventMatcher->set_id(StringToId("SCREEN_IS_ON")); in buildEventConfig()
70 metric->set_id(3); in buildEventConfig()
326 state.set_id(1); in TEST()
DStatsService_test.cpp74 config.set_id(kConfigKey); in TEST()
161 config.set_id(kConfigKey); in TEST_F()
/packages/modules/StatsD/statsd/tests/e2e/
DValueMetric_pull_e2e_test.cpp49 valueMetric->set_id(metricId); in CreateStatsdConfig()
88 screenOnOnBatteryPredicate->set_id(StringToId("screenOnOnBatteryPredicate")); in CreateStatsdConfigWithStates()
94 screenOffOnBatteryPredicate->set_id(StringToId("ScreenOffOnBattery")); in CreateStatsdConfigWithStates()
105 valueMetric1->set_id(metricId); in CreateStatsdConfigWithStates()
117 valueMetric2->set_id(StringToId("ValueMetricSubsystemSleepWhileScreenOffOnBattery")); in CreateStatsdConfigWithStates()
129 valueMetric3->set_id(StringToId("ValueMetricSubsystemSleepWhileOnBatterySliceScreen")); in CreateStatsdConfigWithStates()
665 valueMetric->set_id(metricId); in TEST()
718 valueMetric->set_id(metricId); in TEST()
777 valueMetric->set_id(metricId); in TEST()
816 valueMetric->set_id(metricId); in TEST()
[all …]
DAlarm_e2e_test.cpp35 alarm->set_id(123456); in CreateStatsdConfig()
40 alarm->set_id(654321); in CreateStatsdConfig()
DConfigTtl_e2e_test.cpp38 countMetric->set_id(123456); in CreateStatsdConfig()
45 alert->set_id(StringToId("alert")); in CreateStatsdConfig()
DCountMetric_e2e_test.cpp58 screenOnOnBatteryPredicate->set_id(StringToId("screenOnOnBatteryPredicate")); in TEST()
65 countMetric1->set_id(StringToId("CountSyncStartWhileScreenOnOnBattery")); in TEST()
72 countMetric2->set_id(StringToId("CountSyncStartWhileOnBatterySliceScreen")); in TEST()
133 countMetric->set_id(metricId); in TEST()
295 countMetric->set_id(metricId); in TEST()
445 countMetric->set_id(metricId); in TEST()
622 countMetric->set_id(metricId); in TEST()
830 countMetric->set_id(metricId); in TEST()
1165 countMetric->set_id(metricId); in TEST()
1232 countMetric->set_id(metricId); in TEST()
[all …]
DDurationMetric_e2e_test.cpp43 durationMetric->set_id(metricId); in TEST()
126 durationMetric->set_id(metricId); in TEST()
213 durationMetric->set_id(metricId); in TEST()
390 durationMetric->set_id(StringToId("WakelockDuration")); in TEST()
488 durationMetric->set_id(StringToId("WakelockDuration")); in TEST()
592 durationMetric->set_id(StringToId("WakelockDuration")); in TEST()
750 durationMetric->set_id(StringToId("DurationBatterySaverModeSliceScreen")); in TEST()
897 durationMetric->set_id(StringToId("DurationBatterySaverModeOnBatterySliceScreen")); in TEST()
1055 durationMetric->set_id(StringToId("DurationBatterySaverModeSliceScreenMapped")); in TEST()
1200 durationMetric->set_id(StringToId("DurationHoldingWakelockSliceUidProcessState")); in TEST()
[all …]
/packages/modules/Bluetooth/system/stack/include/
Dble_scanner.h46 virtual void PeriodicScanStart(uint8_t options, uint8_t set_id,
75 uint8_t set_id, uint8_t adv_addr_type,
/packages/modules/StatsD/statsd/benchmark/
Dduration_metric_benchmark.cpp60 combinationPredicate->set_id(StringToId("CombinationPredicate")); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()
67 metric->set_id(StringToId("scheduledJob")); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()
108 combinationPredicate->set_id(StringToId("CombinationPredicate")); in CreateDurationMetricConfig_Link_AND_CombinationCondition()
115 metric->set_id(StringToId("scheduledJob")); in CreateDurationMetricConfig_Link_AND_CombinationCondition()
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/lib/
Dble_lib.py161 set_id = evt['data']['setId']
163 …evt = self.dut.ed.pop_event(advertising_set_on_own_address_read.format(set_id), self.default_timeo…

12