Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A 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()
H A DSwitchInputMapper.cpp67 int32_t SwitchInputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
H A DKeyboardInputMapper.cpp370 int32_t KeyboardInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
374 int32_t KeyboardInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
378 bool KeyboardInputMapper::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes()
H A DCursorInputMapper.cpp494 int32_t CursorInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
H A DTouchInputMapper.cpp3975 int32_t TouchInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
3989 int32_t TouchInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
4003 bool TouchInputMapper::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes()
/aosp12/frameworks/native/services/inputflinger/reader/
H A DInputDevice.cpp432 int32_t InputDevice::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
436 int32_t InputDevice::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
440 int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
444 int32_t InputDevice::getState(uint32_t sourceMask, int32_t code, GetStateFunc getStateFunc) { in getState()
466 bool InputDevice::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes()
H A DInputReader.cpp511 int32_t InputReader::getKeyCodeState(int32_t deviceId, uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
517 int32_t InputReader::getScanCodeState(int32_t deviceId, uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
523 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
529 int32_t InputReader::getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code, in getStateLocked()
570 bool InputReader::hasKeys(int32_t deviceId, uint32_t sourceMask, size_t numCodes, in hasKeys()
578 bool InputReader::markSupportedKeyCodesLocked(int32_t deviceId, uint32_t sourceMask, in markSupportedKeyCodesLocked()
H A DMacros.h78 static inline bool sourcesMatchMask(uint32_t sources, uint32_t sourceMask) { in sourcesMatchMask()
/aosp12/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java287 int deviceId, int sourceMask, int scanCode); in nativeGetScanCodeState()
289 int deviceId, int sourceMask, int keyCode); in nativeGetKeyCodeState()
291 int deviceId, int sourceMask, int sw); in nativeGetSwitchState()
293 int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists); in nativeHasKeys()
624 public int getKeyCodeState(int deviceId, int sourceMask, int keyCode) { in getKeyCodeState()
637 public int getScanCodeState(int deviceId, int sourceMask, int scanCode) { in getScanCodeState()
650 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { in getSwitchState()
667 public boolean hasKeys(int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists) { in hasKeys()
/aosp12/frameworks/base/core/java/android/hardware/input/
H A DIInputManager.aidl51 boolean hasKeys(int deviceId, int sourceMask, in int[] keyCodes, out boolean[] keyExists); in hasKeys()
/aosp12/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp1519 jlong ptr, jint deviceId, jint sourceMask, jint scanCode) { in nativeGetScanCodeState()
1527 jlong ptr, jint deviceId, jint sourceMask, jint keyCode) { in nativeGetKeyCodeState()
1535 jlong ptr, jint deviceId, jint sourceMask, jint sw) { in nativeGetSwitchState()
1543 jlong ptr, jint deviceId, jint sourceMask, jintArray keyCodes, jbooleanArray outFlags) { in nativeHasKeys()