Home
last modified time | relevance | path

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

12

/frameworks/base/cmds/statsd/tests/
DMetricsManager_test.cpp48 config.set_id(12345); in buildGoodConfig()
51 eventMatcher->set_id(StringToId("SCREEN_IS_ON")); in buildGoodConfig()
61 eventMatcher->set_id(StringToId("SCREEN_IS_OFF")); in buildGoodConfig()
71 eventMatcher->set_id(StringToId("SCREEN_ON_OR_OFF")); in buildGoodConfig()
79 metric->set_id(3); in buildGoodConfig()
88 alert->set_id(3); in buildGoodConfig()
98 config.set_id(12345); in buildCircleMatchers()
101 eventMatcher->set_id(StringToId("SCREEN_IS_ON")); in buildCircleMatchers()
111 eventMatcher->set_id(StringToId("SCREEN_ON_OR_OFF")); in buildCircleMatchers()
124 config.set_id(12345); in buildAlertWithUnknownMetric()
[all …]
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()
Dstatsd_test_util.cpp24 atom_matcher.set_id(StringToId(name)); in CreateSimpleAtomMatcher()
37 atom_matcher.set_id(StringToId(name)); in CreateScheduledJobStateChangedAtomMatcher()
58 atom_matcher.set_id(StringToId("ScreenBrightnessChanged")); in CreateScreenBrightnessChangedAtomMatcher()
66 atom_matcher.set_id(StringToId("UidProcessStateChanged")); in CreateUidProcessStateChangedAtomMatcher()
75 atom_matcher.set_id(StringToId(name)); in CreateWakelockStateChangedAtomMatcher()
95 atom_matcher.set_id(StringToId(name)); in CreateBatterySaverModeStateChangedAtomMatcher()
119 atom_matcher.set_id(StringToId(name)); in CreateScreenStateChangedAtomMatcher()
142 atom_matcher.set_id(StringToId(name)); in CreateSyncStateChangedAtomMatcher()
162 atom_matcher.set_id(StringToId(name)); in CreateActivityForegroundStateChangedAtomMatcher()
184 atom_matcher.set_id(StringToId(name)); in CreateProcessLifeCycleStateChangedAtomMatcher()
[all …]
DStatsLogProcessor_test.cpp151 countMetric->set_id(StringToId("AppCrashes")); in MakeConfig()
260 countMetric->set_id(123456); in TEST()
304 config1.set_id(cfgId1); in TEST()
312 countMetric1->set_id(metricId1); in TEST()
317 countMetric2->set_id(metricId2); in TEST()
326 config2.set_id(cfgId2); in TEST()
334 countMetric3->set_id(metricId3); in TEST()
339 countMetric4->set_id(metricId4); in TEST()
355 config3.set_id(cfgId3); in TEST()
362 countMetric5->set_id(metricId5); in TEST()
[all …]
DStatsService_test.cpp38 config.set_id(12345); in TEST()
/frameworks/base/cmds/statsd/benchmark/
Dmetric_util.cpp23 atom_matcher.set_id(StringToId(name)); in CreateSimpleAtomMatcher()
32 atom_matcher.set_id(StringToId(name)); in CreateScheduledJobStateChangedAtomMatcher()
53 atom_matcher.set_id(StringToId("ScreenBrightnessChanged")); in CreateScreenBrightnessChangedAtomMatcher()
61 atom_matcher.set_id(StringToId("UidProcessStateChanged")); in CreateUidProcessStateChangedAtomMatcher()
70 atom_matcher.set_id(StringToId(name)); in CreateWakelockStateChangedAtomMatcher()
90 atom_matcher.set_id(StringToId(name)); in CreateScreenStateChangedAtomMatcher()
112 atom_matcher.set_id(StringToId(name)); in CreateSyncStateChangedAtomMatcher()
132 atom_matcher.set_id(StringToId(name)); in CreateActivityForegroundStateChangedAtomMatcher()
153 predicate.set_id(StringToId("ScheduledJobRunningPredicate")); in CreateScheduledJobPredicate()
161 predicate.set_id(StringToId("BatterySaverIsOn")); in CreateBatterySaverModePredicate()
[all …]
Dduration_metric_benchmark.cpp59 combinationPredicate->set_id(StringToId("CombinationPredicate")); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()
66 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()
/frameworks/base/cmds/statsd/tests/metrics/
DDurationMetricProducer_test.cpp45 metric.set_id(1); in TEST()
65 metric.set_id(1); in TEST()
102 metric.set_id(1); in TEST()
150 metric.set_id(1); in TEST()
208 metric.set_id(1); in TEST()
262 metric.set_id(1); in TEST()
312 metric.set_id(1); in TEST()
351 metric.set_id(1); in TEST()
398 metric.set_id(1); in TEST()
DEventMetricProducer_test.cpp44 metric.set_id(1); in TEST()
67 metric.set_id(1); in TEST()
96 metric.set_id(1); in TEST()
DCountMetricProducer_test.cpp42 metric.set_id(1); in TEST()
61 metric.set_id(1); in TEST()
122 metric.set_id(1); in TEST()
167 metric.set_id(1); in TEST()
224 metric.set_id(1); in TEST()
285 metric.set_id(1); in TEST()
330 alert.set_id(11); in TEST()
343 metric.set_id(1); in TEST()
DGaugeMetricProducer_test.cpp58 metric.set_id(metricId); in TEST()
92 metric.set_id(metricId); in TEST()
192 metric.set_id(metricId); in TEST()
197 alert.set_id(101); in TEST()
272 metric.set_id(metricId); in TEST()
348 metric.set_id(metricId); in TEST()
401 metric.set_id(metricId); in TEST()
479 metric.set_id(1111111); in TEST()
569 metric.set_id(metricId); in TEST()
589 alert.set_id(101); in TEST()
[all …]
DOringDurationTracker_test.cpp311 alert.set_id(101); in TEST()
376 alert.set_id(101); in TEST()
420 alert.set_id(101); in TEST()
477 alert.set_id(101); in TEST()
527 alert.set_id(101); in TEST()
DMaxDurationTracker_test.cpp267 alert.set_id(101); in TEST()
327 alert.set_id(101); in TEST()
410 alert.set_id(101); in TEST()
/frameworks/base/cmds/statsd/tests/e2e/
DAlarm_e2e_test.cpp36 alarm->set_id(123456); in CreateStatsdConfig()
41 alarm->set_id(654321); in CreateStatsdConfig()
DConfigTtl_e2e_test.cpp39 countMetric->set_id(123456); in CreateStatsdConfig()
46 alert->set_id(StringToId("alert")); in CreateStatsdConfig()
DPartialBucket_e2e_test.cpp63 countMetric->set_id(StringToId("AppCrashes")); in MakeConfig()
80 valueMetric->set_id(123456); in MakeValueMetricConfig()
103 gaugeMetric->set_id(123456); in MakeGaugeMetricConfig()
DDimensionInCondition_e2e_combination_OR_cond_test.cpp52 combinationPredicate->set_id(987654); in CreateCountMetric_NoLink_CombinationCondition_Config()
58 metric->set_id(StringToId("ScreenBrightnessChangeMetric")); in CreateCountMetric_NoLink_CombinationCondition_Config()
255 combinationPredicate->set_id(987654); in CreateCountMetric_Link_CombinationCondition()
262 metric->set_id(StringToId("AppCrashMetric")); in CreateCountMetric_Link_CombinationCondition()
450 combinationPredicate->set_id(987654); in CreateDurationMetricConfig_NoLink_CombinationCondition()
457 metric->set_id(StringToId("BatterySaverModeDurationMetric")); in CreateDurationMetricConfig_NoLink_CombinationCondition()
645 combinationPredicate->set_id(987654); in CreateDurationMetricConfig_Link_CombinationCondition()
652 metric->set_id(StringToId("AppInBackgroundMetric")); in CreateDurationMetricConfig_Link_CombinationCondition()
DDurationMetric_e2e_test.cpp43 durationMetric->set_id(metricId); in TEST()
126 durationMetric->set_id(metricId); in TEST()
214 durationMetric->set_id(metricId); in TEST()
382 durationMetric->set_id(StringToId("WakelockDuration")); in TEST()
468 durationMetric->set_id(StringToId("WakelockDuration")); in TEST()
571 durationMetric->set_id(StringToId("WakelockDuration")); in TEST()
DAnomaly_count_e2e_test.cpp39 countMetric->set_id(123456); in CreateStatsdConfig()
46 alert->set_id(StringToId("alert")); in CreateStatsdConfig()
DDimensionInCondition_e2e_combination_AND_cond_test.cpp63 combinationPredicate->set_id(StringToId("CombinationPredicate")); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()
70 metric->set_id(StringToId("scheduledJob")); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()
428 combinationPredicate->set_id(StringToId("CombinationPredicate")); in CreateDurationMetricConfig_Link_AND_CombinationCondition()
435 metric->set_id(StringToId("scheduledJob")); in CreateDurationMetricConfig_Link_AND_CombinationCondition()
675 combinationPredicate->set_id(StringToId("CombinationPredicate")); in CreateDurationMetricConfig_PartialLink_AND_CombinationCondition()
682 metric->set_id(StringToId("scheduledJob")); in CreateDurationMetricConfig_PartialLink_AND_CombinationCondition()
/frameworks/native/services/surfaceflinger/
DSurfaceInterceptor.cpp179 change->set_id(layerId); in createSurfaceChangeLocked()
187 dispChange->set_id(sequenceId); in createDisplayChangeLocked()
427 creation->set_id(getLayerId(layer)); in addSurfaceCreationLocked()
437 deletion->set_id(getLayerId(layer)); in addSurfaceDeletionLocked()
444 update->set_id(getLayerId(layer)); in addBufferUpdateLocked()
508 creation->set_id(info.sequenceId); in addDisplayCreationLocked()
518 deletion->set_id(sequenceId); in addDisplayDeletionLocked()
525 powerModeUpdate->set_id(sequenceId); in addPowerModeUpdateLocked()
/frameworks/av/drm/mediacas/plugins/clearkey/
Decm_generator.cpp96 asset->set_id(LoadNext32(&ptr)); in DecodeECMClearFields()
Decm.h228 inline void set_id(uint16_t value) { in set_id() function
/frameworks/native/services/surfaceflinger/tests/
DStress_test.cpp55 layers[i]->set_id(i); in generateLayerProto()
/frameworks/base/tools/aapt2/format/
DContainer_test.cpp54 pb_pkg->mutable_package_id()->set_id(0x01u); in TEST()

12