Searched refs:calculate_mode (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SchedulerUtilsTest.cpp | 91 TEST_F(SchedulerUtilsTest, calculate_mode) { in TEST_F() argument 94 EXPECT_EQ(0, calculate_mode(testVector)); in TEST_F() 97 EXPECT_EQ(33, calculate_mode(testVector)); in TEST_F() 100 EXPECT_EQ(33, calculate_mode(testVector)); in TEST_F() 102 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() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | SchedulerUtils.h | 61 auto calculate_mode(const T& v) { in calculate_mode() function
|