Home
last modified time | relevance | path

Searched refs:testBitInRange (Results 1 – 4 of 4) sorted by relevance

/hardware/libhardware/tests/input/evdev/
DBitUtils_test.cpp26 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/
DBitUtils.h25 bool testBitInRange(const uint8_t arr[], size_t start, size_t end);
DBitUtils.cpp38 bool testBitInRange(const uint8_t arr[], size_t start, size_t end) { in testBitInRange() function
DInputHub.cpp267 return testBitInRange(mKeyBitmask, startKey, endKey); in hasKeyInRange()