Searched refs:calculate_mode (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SchedulerUtilsTest.cpp | 95 TEST_F(SchedulerUtilsTest, calculate_mode) { in TEST_F() argument 98 EXPECT_EQ(0, calculate_mode(testVector)); in TEST_F() 101 EXPECT_EQ(33, calculate_mode(testVector)); in TEST_F() 104 EXPECT_EQ(33, calculate_mode(testVector)); in TEST_F() 106 EXPECT_EQ(33, calculate_mode(testVector)); in TEST_F() 108 EXPECT_EQ(33, calculate_mode(testVector)); in TEST_F() 110 EXPECT_EQ(33, calculate_mode(testVector)); in TEST_F() 112 EXPECT_EQ(33, calculate_mode(testVector)); in TEST_F() 114 EXPECT_EQ(33, calculate_mode(testVector)); in TEST_F() 116 EXPECT_EQ(33, calculate_mode(testVector)); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | SchedulerUtils.h | 56 auto calculate_mode(const T& v) { in calculate_mode() function
|