Home
last modified time | relevance | path

Searched refs:createDurationMetric (Results 1 – 7 of 7) sorted by relevance

/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dconfig_update_utils_test.cpp1511 createDurationMetric("DURATION1", what.id(), condition.id(), {sliceState.id()}); in TEST_F()
1534 *config.add_duration_metric() = createDurationMetric("DURATION1", what.id(), nullopt, {}); in TEST_F()
1559 *config.add_duration_metric() = createDurationMetric("DURATION1", what.id(), nullopt, {}); in TEST_F()
1584 *config.add_duration_metric() = createDurationMetric("DURATION", what.id(), condition.id(), {}); in TEST_F()
1611 createDurationMetric("DURATION1", what.id(), nullopt, {sliceState.id()}); in TEST_F()
2592 createDurationMetric("DURATION1", predicate5Id, predicate4Id, {state2Id}); in TEST_F()
2605 DurationMetric duration2 = createDurationMetric("DURATION2", predicate1Id, nullopt, {}); in TEST_F()
2610 DurationMetric duration3 = createDurationMetric("DURATION3", predicate3Id, nullopt, {state1Id}); in TEST_F()
2615 DurationMetric duration4 = createDurationMetric("DURATION4", predicate3Id, predicate2Id, {}); in TEST_F()
2620 DurationMetric duration5 = createDurationMetric("DURATION5", predicate2Id, nullopt, {}); in TEST_F()
[all …]
Dmetrics_manager_util_test.cpp554 *metric = createDurationMetric(/*name=*/"Duration", /*what=*/StringToId("ScreenIsOn"), in TEST_F()
1041 createDurationMetric(/*name=*/"Duration", /*what=*/StringToId("ScreenIsEitherOnOff"), in TEST_F()
1075 createDurationMetric(/*name=*/"Duration", /*what=*/StringToId("SCREEN_IS_ON"), in TEST_F()
1091 *metric = createDurationMetric(/*name=*/"Duration", /*what=*/StringToId("ScreenIsOn"), in TEST_F()
1705 DurationMetric sampledDurationMetric = createDurationMetric( in TEST_F()
1714 DurationMetric unsampledDurationMetric = createDurationMetric( in TEST_F()
/packages/modules/StatsD/statsd/tests/e2e/
DConfigUpdate_e2e_test.cpp586 createDurationMetric("DurSyncPerUidWhileHoldingWLSliceProcessState", syncPredicate.id(), in TEST_F()
605 createDurationMetric("DurMaxSyncPerUidWhileHoldingWL", syncPredicate.id(), in TEST_F()
618 DurationMetric durationChange = createDurationMetric("Dur*WhileScreenOn", syncPredicate.id(), in TEST_F()
621 createDurationMetric("DurScreenOn", screenOnPredicate.id(), nullopt, {}); in TEST_F()
697 createDurationMetric("DurationSync", syncPredicate.id(), nullopt, {}); in TEST_F()
2335 createDurationMetric("DurWakelock", holdingWakelockPredicate.id(), nullopt, {}); in TEST_F()
2339 createDurationMetric("DurScreen", screenOnPredicate.id(), nullopt, {}); in TEST_F()
DStringReplace_e2e_test.cpp512 createDurationMetric("WakelockDuration", holdingWakelockPredicate.id() /* what */, in TEST()
DDurationMetric_e2e_test.cpp1672 DurationMetric sampledDurationMetric = createDurationMetric( in TEST()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h344 DurationMetric createDurationMetric(const string& name, int64_t what,
Dstatsd_test_util.cpp564 DurationMetric createDurationMetric(const string& name, const int64_t what, in createDurationMetric() function
2357 createDurationMetric("Duration", StringToId("ScreenIsOn") /* what */, in buildGoodConfig()