/frameworks/base/cmds/statsd/tests/ |
D | MetricsManager_test.cpp | 48 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 …]
|
D | ConfigManager_test.cpp | 78 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()
|
D | statsd_test_util.cpp | 24 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 …]
|
D | StatsLogProcessor_test.cpp | 151 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 …]
|
D | StatsService_test.cpp | 38 config.set_id(12345); in TEST()
|
/frameworks/base/cmds/statsd/benchmark/ |
D | metric_util.cpp | 23 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 …]
|
D | duration_metric_benchmark.cpp | 59 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/ |
D | DurationMetricProducer_test.cpp | 45 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()
|
D | EventMetricProducer_test.cpp | 44 metric.set_id(1); in TEST() 67 metric.set_id(1); in TEST() 96 metric.set_id(1); in TEST()
|
D | CountMetricProducer_test.cpp | 42 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()
|
D | GaugeMetricProducer_test.cpp | 58 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 …]
|
D | OringDurationTracker_test.cpp | 311 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()
|
D | MaxDurationTracker_test.cpp | 267 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/ |
D | Alarm_e2e_test.cpp | 36 alarm->set_id(123456); in CreateStatsdConfig() 41 alarm->set_id(654321); in CreateStatsdConfig()
|
D | ConfigTtl_e2e_test.cpp | 39 countMetric->set_id(123456); in CreateStatsdConfig() 46 alert->set_id(StringToId("alert")); in CreateStatsdConfig()
|
D | PartialBucket_e2e_test.cpp | 63 countMetric->set_id(StringToId("AppCrashes")); in MakeConfig() 80 valueMetric->set_id(123456); in MakeValueMetricConfig() 103 gaugeMetric->set_id(123456); in MakeGaugeMetricConfig()
|
D | DimensionInCondition_e2e_combination_OR_cond_test.cpp | 52 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()
|
D | DurationMetric_e2e_test.cpp | 43 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()
|
D | Anomaly_count_e2e_test.cpp | 39 countMetric->set_id(123456); in CreateStatsdConfig() 46 alert->set_id(StringToId("alert")); in CreateStatsdConfig()
|
D | DimensionInCondition_e2e_combination_AND_cond_test.cpp | 63 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/ |
D | SurfaceInterceptor.cpp | 179 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/ |
D | ecm_generator.cpp | 96 asset->set_id(LoadNext32(&ptr)); in DecodeECMClearFields()
|
D | ecm.h | 228 inline void set_id(uint16_t value) { in set_id() function
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Stress_test.cpp | 55 layers[i]->set_id(i); in generateLayerProto()
|
/frameworks/base/tools/aapt2/format/ |
D | Container_test.cpp | 54 pb_pkg->mutable_package_id()->set_id(0x01u); in TEST()
|