Searched refs:screenOffId (Results 1 – 5 of 5) sorted by relevance
/packages/modules/StatsD/statsd/tests/ |
D | statsd_test_util.h | 294 State CreateScreenStateWithOnOffMap(int64_t screenOnId, int64_t screenOffId); 297 State CreateScreenStateWithSimpleOnOffMap(int64_t screenOnId, int64_t screenOffId); 303 StateMap_StateGroup CreateScreenStateOffGroup(int64_t screenOffId); 309 StateMap_StateGroup CreateScreenStateSimpleOffGroup(int64_t screenOffId); 312 StateMap CreateScreenStateOnOffMap(int64_t screenOnId, int64_t screenOffId); 315 StateMap CreateScreenStateSimpleOnOffMap(int64_t screenOnId, int64_t screenOffId);
|
D | statsd_test_util.cpp | 402 State CreateScreenStateWithOnOffMap(int64_t screenOnId, int64_t screenOffId) { in CreateScreenStateWithOnOffMap() argument 407 auto map = CreateScreenStateOnOffMap(screenOnId, screenOffId); in CreateScreenStateWithOnOffMap() 413 State CreateScreenStateWithSimpleOnOffMap(int64_t screenOnId, int64_t screenOffId) { in CreateScreenStateWithSimpleOnOffMap() argument 418 auto map = CreateScreenStateSimpleOnOffMap(screenOnId, screenOffId); in CreateScreenStateWithSimpleOnOffMap() 433 StateMap_StateGroup CreateScreenStateOffGroup(int64_t screenOffId) { in CreateScreenStateOffGroup() argument 435 group.set_group_id(screenOffId); in CreateScreenStateOffGroup() 449 StateMap_StateGroup CreateScreenStateSimpleOffGroup(int64_t screenOffId) { in CreateScreenStateSimpleOffGroup() argument 451 group.set_group_id(screenOffId); in CreateScreenStateSimpleOffGroup() 456 StateMap CreateScreenStateOnOffMap(int64_t screenOnId, int64_t screenOffId) { in CreateScreenStateOnOffMap() argument 459 *map.add_group() = CreateScreenStateOffGroup(screenOffId); in CreateScreenStateOnOffMap() [all …]
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | CountMetric_e2e_test.cpp | 438 int64_t screenOffId = 9876; in TEST() local 439 auto state = CreateScreenStateWithOnOffMap(screenOnId, screenOffId); in TEST() 595 EXPECT_EQ(screenOffId, data.slice_by_state(0).group_id()); in TEST() 820 int64_t screenOffId = 9876; in TEST() local 821 auto state1 = CreateScreenStateWithOnOffMap(screenOnId, screenOffId); in TEST() 1027 EXPECT_EQ(screenOffId, data.slice_by_state(0).group_id()); in TEST() 1039 EXPECT_EQ(screenOffId, data.slice_by_state(0).group_id()); in TEST() 1051 EXPECT_EQ(screenOffId, data.slice_by_state(0).group_id()); in TEST() 1076 EXPECT_EQ(screenOffId, data.slice_by_state(0).group_id()); in TEST()
|
D | DurationMetric_e2e_test.cpp | 1049 int64_t screenOffId = 9876; in TEST() local 1050 auto screenStateWithMap = CreateScreenStateWithOnOffMap(screenOnId, screenOffId); in TEST() 1175 EXPECT_EQ(screenOffId, data.slice_by_state(0).group_id()); in TEST()
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | config_update_utils_test.cpp | 984 int64_t screenOnId = 0x4321, screenOffId = 0x1234; in TEST_F() local 985 *state1.mutable_map() = CreateScreenStateSimpleOnOffMap(screenOnId, screenOffId); in TEST_F() 1010 {{android::view::DisplayStateEnum::DISPLAY_STATE_OFF, screenOffId}, in TEST_F()
|