Home
last modified time | relevance | path

Searched defs:sourceMask (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.cpp42 int32_t InputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
46 int32_t InputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
50 int32_t InputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
54 bool InputMapper::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes()
DKeyboardInputMapper.cpp367 int32_t KeyboardInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
371 int32_t KeyboardInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
375 bool KeyboardInputMapper::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes()
DSwitchInputMapper.cpp67 int32_t SwitchInputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
DCursorInputMapper.cpp450 int32_t CursorInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
DTouchInputMapper.cpp3867 int32_t TouchInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
3881 int32_t TouchInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
3895 bool TouchInputMapper::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp382 int32_t InputDevice::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
386 int32_t InputDevice::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
390 int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
394 int32_t InputDevice::getState(uint32_t sourceMask, int32_t code, GetStateFunc getStateFunc) { in getState()
416 bool InputDevice::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes()
DInputReader.cpp462 int32_t InputReader::getKeyCodeState(int32_t deviceId, uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
468 int32_t InputReader::getScanCodeState(int32_t deviceId, uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
474 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
480 int32_t InputReader::getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code, in getStateLocked()
520 bool InputReader::hasKeys(int32_t deviceId, uint32_t sourceMask, size_t numCodes, in hasKeys()
528 bool InputReader::markSupportedKeyCodesLocked(int32_t deviceId, uint32_t sourceMask, in markSupportedKeyCodesLocked()
DMacros.h78 static inline bool sourcesMatchMask(uint32_t sources, uint32_t sourceMask) { in sourcesMatchMask()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java204 int deviceId, int sourceMask, int scanCode); in nativeGetScanCodeState()
206 int deviceId, int sourceMask, int keyCode); in nativeGetKeyCodeState()
208 int deviceId, int sourceMask, int sw); in nativeGetSwitchState()
210 int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists); in nativeHasKeys()
444 public int getKeyCodeState(int deviceId, int sourceMask, int keyCode) { in getKeyCodeState()
457 public int getScanCodeState(int deviceId, int sourceMask, int scanCode) { in getScanCodeState()
470 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { in getSwitchState()
487 public boolean hasKeys(int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists) { in hasKeys()
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl44 boolean hasKeys(int deviceId, int sourceMask, in int[] keyCodes, out boolean[] keyExists); in hasKeys()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1291 jlong ptr, jint deviceId, jint sourceMask, jint scanCode) { in nativeGetScanCodeState()
1299 jlong ptr, jint deviceId, jint sourceMask, jint keyCode) { in nativeGetKeyCodeState()
1307 jlong ptr, jint deviceId, jint sourceMask, jint sw) { in nativeGetSwitchState()
1315 jlong ptr, jint deviceId, jint sourceMask, jintArray keyCodes, jbooleanArray outFlags) { in nativeHasKeys()