Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DEventHub.h230 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes,
295 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes,
DInputReader.h361 size_t numCodes, const int32_t* keyCodes, uint8_t* outFlags) = 0;
434 size_t numCodes, const int32_t* keyCodes, uint8_t* outFlags);
521 bool markSupportedKeyCodesLocked(int32_t deviceId, uint32_t sourceMask, size_t numCodes,
571 bool markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes,
971 virtual bool markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes,
1056 virtual bool markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes,
1190 virtual bool markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes,
DInputReader.cpp642 size_t numCodes, const int32_t* keyCodes, uint8_t* outFlags) { in hasKeys() argument
645 memset(outFlags, 0, numCodes); in hasKeys()
646 return markSupportedKeyCodesLocked(deviceId, sourceMask, numCodes, keyCodes, outFlags); in hasKeys()
650 size_t numCodes, const int32_t* keyCodes, uint8_t* outFlags) { in markSupportedKeyCodesLocked() argument
658 numCodes, keyCodes, outFlags); in markSupportedKeyCodesLocked()
667 numCodes, keyCodes, outFlags); in markSupportedKeyCodesLocked()
1051 bool InputDevice::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes() argument
1058 result |= mapper->markSupportedKeyCodes(sourceMask, numCodes, keyCodes, outFlags); in markSupportedKeyCodes()
1777 bool InputMapper::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes() argument
2216 bool KeyboardInputMapper::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes() argument
[all …]
DEventHub.cpp406 bool EventHub::markSupportedKeyCodes(int32_t deviceId, size_t numCodes, in markSupportedKeyCodes() argument
413 for (size_t codeIndex = 0; codeIndex < numCodes; codeIndex++) { in markSupportedKeyCodes()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1085 jsize numCodes = env->GetArrayLength(keyCodes); in nativeHasKeys() local
1087 if (numCodes == env->GetArrayLength(keyCodes)) { in nativeHasKeys()
1089 deviceId, uint32_t(sourceMask), numCodes, codes, flags)) { in nativeHasKeys()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp622 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes, in markSupportedKeyCodes() argument
627 for (size_t i = 0; i < numCodes; i++) { in markSupportedKeyCodes()
899 virtual bool markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes() argument
902 for (size_t i = 0; i < numCodes; i++) { in markSupportedKeyCodes()