Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DEventHub.cpp425 std::vector<int32_t> scanCodes; in getKeyCodeState() local
426 device->keyMap.keyLayoutMap->findScanCodesForKey(keyCode, &scanCodes); in getKeyCodeState()
427 if (scanCodes.size() != 0) { in getKeyCodeState()
431 for (size_t i = 0; i < scanCodes.size(); i++) { in getKeyCodeState()
432 int32_t sc = scanCodes[i]; in getKeyCodeState()
488 std::vector<int32_t> scanCodes; in markSupportedKeyCodes() local
490 scanCodes.clear(); in markSupportedKeyCodes()
493 keyCodes[codeIndex], &scanCodes); in markSupportedKeyCodes()
497 for (size_t sc = 0; sc < scanCodes.size(); sc++) { in markSupportedKeyCodes()
498 if (test_bit(scanCodes[sc], device->keyBitmask)) { in markSupportedKeyCodes()
[all …]