/packages/modules/StatsD/statsd/benchmark/ |
D | on_log_event_benchmark.cpp | 34 auto matcher = CreateSimpleAtomMatcher("name" + to_string(atomId), atomId); in BM_OnLogEvent() 35 *config.add_atom_matcher() = CreateSimpleAtomMatcher("name" + to_string(atomId), atomId); in BM_OnLogEvent()
|
D | value_metric_benchmark.cpp | 43 *config.add_atom_matcher() = CreateSimpleAtomMatcher("matcher", /* atomId */ 1); in createConfig()
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | metrics_manager_util_test.cpp | 273 CreateSimpleAtomMatcher("SUBSYSTEM_SLEEP", util::SUBSYSTEM_SLEEP_STATE); in buildConfigWithDifferentPredicates() 704 CreateSimpleAtomMatcher("SubsystemSleep", util::SUBSYSTEM_SLEEP_STATE); in TEST_F() 719 CreateSimpleAtomMatcher("SubsystemSleep", util::SUBSYSTEM_SLEEP_STATE); in TEST_F() 734 CreateSimpleAtomMatcher("SubsystemSleep", util::SUBSYSTEM_SLEEP_STATE); in TEST_F() 749 CreateSimpleAtomMatcher("SubsystemSleep", util::SUBSYSTEM_SLEEP_STATE); in TEST_F() 776 CreateSimpleAtomMatcher("SubsystemSleep", util::SUBSYSTEM_SLEEP_STATE); in TEST_F() 1221 CreateSimpleAtomMatcher(/*name=*/"Matcher", /*atomId=*/util::SUBSYSTEM_SLEEP_STATE); in TEST_F() 1675 CreateSimpleAtomMatcher("APP_CRASH_OCCURRED", util::APP_CRASH_OCCURRED); in TEST_F() 1681 AtomMatcher bleScanResultReceivedMatcher = CreateSimpleAtomMatcher( in TEST_F() 1821 CreateSimpleAtomMatcher("APP_CRASH_OCCURRED", util::APP_CRASH_OCCURRED); in TEST_F() [all …]
|
D | config_update_utils_test.cpp | 166 AtomMatcher matcher = CreateSimpleAtomMatcher("TEST", /*atom=*/10); in TEST_F() 186 AtomMatcher matcher = CreateSimpleAtomMatcher("TEST", /*atom=*/10); in TEST_F() 193 AtomMatcher newMatcher = CreateSimpleAtomMatcher("TEST", /*atom=*/11); in TEST_F() 211 AtomMatcher matcher = CreateSimpleAtomMatcher("TEST", /*atom=*/10); in TEST_F() 218 AtomMatcher newMatcher = CreateSimpleAtomMatcher("DIFFERENT_NAME", /*atom=*/10); in TEST_F() 236 AtomMatcher matcher1 = CreateSimpleAtomMatcher("TEST1", /*atom=*/10); in TEST_F() 240 AtomMatcher matcher2 = CreateSimpleAtomMatcher("TEST2", /*atom=*/11); in TEST_F() 279 AtomMatcher matcher1 = CreateSimpleAtomMatcher("TEST1", /*atom=*/10); in TEST_F() 283 AtomMatcher matcher2 = CreateSimpleAtomMatcher("TEST2", /*atom=*/11); in TEST_F() 324 AtomMatcher matcher1 = CreateSimpleAtomMatcher("TEST1", /*atom=*/10); in TEST_F() [all …]
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | StringReplace_e2e_test.cpp | 64 CreateSimpleAtomMatcher("TestAtomMatcher", util::TEST_ATOM_REPORTED); in TEST() 163 CreateSimpleAtomMatcher("TestAtomMatcher", util::TEST_ATOM_REPORTED); in TEST() 242 CreateSimpleAtomMatcher("SubsystemMatcher", util::SUBSYSTEM_SLEEP_STATE); in TEST() 301 CreateSimpleAtomMatcher("SubsystemMatcher", util::SUBSYSTEM_SLEEP_STATE); in TEST() 388 matcher = CreateSimpleAtomMatcher("TestAtomMatcher", util::TEST_ATOM_REPORTED); in TEST() 611 AtomMatcher matcher = CreateSimpleAtomMatcher("Matcher1", util::SUBSYSTEM_SLEEP_STATE); in TEST() 628 AtomMatcher matcher = CreateSimpleAtomMatcher("Matcher2", util::SUBSYSTEM_SLEEP_STATE); in TEST()
|
D | ValueMetric_pull_e2e_test.cpp | 40 CreateSimpleAtomMatcher("TestMatcher", util::SUBSYSTEM_SLEEP_STATE); in CreateStatsdConfig() 71 auto pulledAtomMatcher = CreateSimpleAtomMatcher("TestMatcher", util::SUBSYSTEM_SLEEP_STATE); in CreateStatsdConfigWithStates() 656 CreateSimpleAtomMatcher("TestMatcher", util::SUBSYSTEM_SLEEP_STATE); in TEST() 709 CreateSimpleAtomMatcher("CpuTimePerUidMatcher", util::CPU_TIME_PER_UID); in TEST() 768 CreateSimpleAtomMatcher("CpuTimePerUidMatcher", util::CPU_TIME_PER_UID); in TEST() 810 CreateSimpleAtomMatcher("TestAtomReportedMatcher", util::TEST_ATOM_REPORTED); in TEST() 839 CreateSimpleAtomMatcher("TestAtomReportedMatcher", util::TEST_ATOM_REPORTED); in TEST() 886 CreateSimpleAtomMatcher("TestAtomReportedMatcher", util::TEST_ATOM_REPORTED); in TEST()
|
D | KllMetric_e2e_test.cpp | 108 whatMatcher = CreateSimpleAtomMatcher("TestAtomReported", util::TEST_ATOM_REPORTED); in TEST_F() 181 CreateSimpleAtomMatcher("TestAtomReportedMatcher", util::TEST_ATOM_REPORTED); in TEST_F() 211 AtomMatcher bleScanResultReceivedMatcher = CreateSimpleAtomMatcher( in TEST_F()
|
D | GaugeMetric_e2e_push_test.cpp | 37 auto atomMatcher = CreateSimpleAtomMatcher("", util::APP_START_OCCURRED); in CreateStatsdConfigForPushedEvent() 76 CreateSimpleAtomMatcher("TestAtomReportedMatcher", util::TEST_ATOM_REPORTED); in CreateStatsdConfigForRepeatedFieldsPushedEvent() 422 CreateSimpleAtomMatcher("APP_CRASH_OCCURRED", util::APP_CRASH_OCCURRED); in TEST_F() 512 CreateSimpleAtomMatcher("APP_CRASH_OCCURRED", util::APP_CRASH_OCCURRED); in TEST_F() 604 CreateSimpleAtomMatcher("APP_CRASH_OCCURRED", util::APP_CRASH_OCCURRED); in TEST_F()
|
D | CountMetric_e2e_test.cpp | 613 CreateSimpleAtomMatcher("APP_CRASH_OCCURRED", util::APP_CRASH_OCCURRED); in TEST() 816 CreateSimpleAtomMatcher("APP_CRASH_OCCURRED", util::APP_CRASH_OCCURRED); in TEST() 1089 auto appCrashMatcher = CreateSimpleAtomMatcher("APP_CRASH_OCCURRED", util::APP_CRASH_OCCURRED); in TEST() 1160 CreateSimpleAtomMatcher("TestAtomReportedMatcher", util::TEST_ATOM_REPORTED); in TEST() 1292 CreateSimpleAtomMatcher("TestAtomReportedMatcher", util::TEST_ATOM_REPORTED); in TEST() 1379 CreateSimpleAtomMatcher("TestAtomReportedMatcher", util::TEST_ATOM_REPORTED); in TEST() 1457 CreateSimpleAtomMatcher("TestAtomReportedMatcher", util::TEST_ATOM_REPORTED); in TEST() 1562 CreateSimpleAtomMatcher("TestAtomReportedMatcher", util::TEST_ATOM_REPORTED); in TEST() 1676 CreateSimpleAtomMatcher("TestAtomReportedMatcher", util::TEST_ATOM_REPORTED); in TEST() 1937 CreateSimpleAtomMatcher("APP_CRASH_OCCURRED", util::APP_CRASH_OCCURRED); in TEST()
|
D | RestrictedConfig_e2e_test.cpp | 37 AtomMatcher atomMatcher = CreateSimpleAtomMatcher("testmatcher", atomTag); in CreateConfigWithOneMetric() 47 AtomMatcher atomMatcher = CreateSimpleAtomMatcher("testmatcher", atomTag); in CreateConfigWithTwoMetrics()
|
D | PartialBucket_e2e_test.cpp | 58 CreateSimpleAtomMatcher("TestMatcher", util::SUBSYSTEM_SLEEP_STATE); in MakeValueMetricConfig() 83 CreateSimpleAtomMatcher("TestMatcher", util::SUBSYSTEM_SLEEP_STATE); in MakeGaugeMetricConfig()
|
D | EventMetric_e2e_test.cpp | 109 CreateSimpleAtomMatcher("TestAtomReportedMatcher", util::TEST_ATOM_REPORTED); in TEST_F()
|
D | ConfigUpdate_e2e_ab_test.cpp | 311 CreateSimpleAtomMatcher("SubsystemSleep", util::SUBSYSTEM_SLEEP_STATE); in TEST_P()
|
D | ConfigUpdate_e2e_test.cpp | 908 AtomMatcher appStartMatcher = CreateSimpleAtomMatcher("AppStart", util::APP_START_OCCURRED); in TEST_F() 919 CreateSimpleAtomMatcher("SubsystemSleep", util::SUBSYSTEM_SLEEP_STATE); in TEST_F() 1321 CreateSimpleAtomMatcher("SubsystemSleep", util::SUBSYSTEM_SLEEP_STATE); in TEST_F() 1863 CreateSimpleAtomMatcher("immediateMatcher", util::WAKELOCK_STATE_CHANGED); in TEST_F() 1870 AtomMatcher bootMatcher = CreateSimpleAtomMatcher("bootMatcher", util::WAKELOCK_STATE_CHANGED); in TEST_F() 1877 CreateSimpleAtomMatcher("childMatcher", util::WAKELOCK_STATE_CHANGED); in TEST_F()
|
D | RestrictedEventMetric_e2e_test.cpp | 96 AtomMatcher restrictedAtomMatcher = CreateSimpleAtomMatcher("restricted_matcher", atomTag); in SetUp()
|
D | GaugeMetric_e2e_pull_test.cpp | 41 auto atomMatcher = CreateSimpleAtomMatcher("TestMatcher", ATOM_TAG); in CreateStatsdConfig()
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEntryMatcher_test.cpp | 1515 AtomMatcher matcher = CreateSimpleAtomMatcher("matcher", TAG_ID); in TEST() 1548 AtomMatcher matcher = CreateSimpleAtomMatcher("matcher", TAG_ID); in TEST() 1585 AtomMatcher matcher = CreateSimpleAtomMatcher("matcher", TAG_ID); in TEST() 1623 AtomMatcher matcher = CreateSimpleAtomMatcher("matcher", TAG_ID); in TEST() 1667 AtomMatcher matcher = CreateSimpleAtomMatcher("matcher", TAG_ID); in TEST() 1699 AtomMatcher matcher = CreateSimpleAtomMatcher("matcher", TAG_ID); in TEST() 1741 AtomMatcher matcher = CreateSimpleAtomMatcher("matcher", TAG_ID); in TEST() 1789 AtomMatcher matcher = CreateSimpleAtomMatcher("matcher", TAG_ID); in TEST() 1837 AtomMatcher matcher = CreateSimpleAtomMatcher("matcher", TAG_ID); in TEST() 1885 AtomMatcher matcher = CreateSimpleAtomMatcher("matcher", TAG_ID); in TEST() [all …]
|
D | StatsService_test.cpp | 47 auto atomMatcher = CreateSimpleAtomMatcher("TestMatcher", ATOM_TAG); in CreateStatsdConfig()
|
D | statsd_test_util.cpp | 73 AtomMatcher CreateSimpleAtomMatcher(const string& name, int atomId) { in CreateSimpleAtomMatcher() function 82 return CreateSimpleAtomMatcher("TemperatureMatcher", util::TEMPERATURE); in CreateTemperatureAtomMatcher() 275 return CreateSimpleAtomMatcher("AppStartOccurredMatcher", util::APP_START_OCCURRED); in CreateAppStartOccurredAtomMatcher() 281 AtomMatcher atom_matcher = CreateSimpleAtomMatcher(name, util::TEST_ATOM_REPORTED); in CreateTestAtomRepeatedStateAtomMatcher()
|
D | UidMap_test.cpp | 757 CreateSimpleAtomMatcher("TestAtomMatcher", util::TEST_ATOM_REPORTED); in SetUp()
|
D | statsd_test_util.h | 175 AtomMatcher CreateSimpleAtomMatcher(const string& name, int atomId);
|