Home
last modified time | relevance | path

Searched refs:usageCodes (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/input/tests/
DInputDevice_test.cpp185 std::vector<int32_t> usageCodes = keyLayoutMap->findUsageCodesForKey(outKeyCode); in TEST() local
186 ASSERT_NE(std::find(usageCodes.begin(), usageCodes.end(), hidUsageCode), usageCodes.end()) in TEST()
199 std::vector<int32_t> usageCodes = keyLayoutMap->findUsageCodesForKey(outKeyCode); in TEST() local
200 ASSERT_EQ(std::find(usageCodes.begin(), usageCodes.end(), hidUsageCode), usageCodes.end()) in TEST()
/frameworks/native/libs/input/
DKeyLayoutMap.cpp252 std::vector<int32_t> usageCodes; in findUsageCodesForKey() local
255 usageCodes.push_back(usageCode); in findUsageCodesForKey()
258 return usageCodes; in findUsageCodesForKey()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp672 std::vector<int32_t> usageCodes = keyMap.keyLayoutMap->findUsageCodesForKey(keycode); in hasKeycodeLocked() local
673 if (usageCodes.size() > 0 && mscBitmask.test(MSC_SCAN)) { in hasKeycodeLocked()