Searched refs:testBitInRange (Results 1 – 4 of 4) sorted by relevance
/hardware/libhardware/tests/input/evdev/ |
D | BitUtils_test.cpp | 26 EXPECT_FALSE(testBitInRange(arr, 0, 0)); in TEST() 27 EXPECT_FALSE(testBitInRange(arr, 1, 0)); in TEST() 33 EXPECT_FALSE(testBitInRange(arr, 0, 8)); in TEST() 40 EXPECT_TRUE(testBitInRange(arr, 0, 8)); in TEST() 47 EXPECT_FALSE(testBitInRange(arr, 0, i)); in TEST() 50 EXPECT_TRUE(testBitInRange(arr, 0, i)); in TEST() 57 EXPECT_TRUE(testBitInRange(arr, i, 8)); in TEST() 60 EXPECT_FALSE(testBitInRange(arr, i, 8)); in TEST() 70 EXPECT_FALSE(testBitInRange(arr, start, end)) in TEST() 73 EXPECT_TRUE(testBitInRange(arr, start, end)) in TEST()
|
/hardware/libhardware/modules/input/evdev/ |
D | BitUtils.h | 25 bool testBitInRange(const uint8_t arr[], size_t start, size_t end);
|
D | BitUtils.cpp | 38 bool testBitInRange(const uint8_t arr[], size_t start, size_t end) { in testBitInRange() function
|
D | InputHub.cpp | 267 return testBitInRange(mKeyBitmask, startKey, endKey); in hasKeyInRange()
|