Searched defs:sourceMask (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 153 static inline bool sourcesMatchMask(uint32_t sources, uint32_t sourceMask) { in sourcesMatchMask() 591 int32_t InputReader::getKeyCodeState(int32_t deviceId, uint32_t sourceMask, in getKeyCodeState() 598 int32_t InputReader::getScanCodeState(int32_t deviceId, uint32_t sourceMask, in getScanCodeState() 605 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) { in getSwitchState() 611 int32_t InputReader::getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code, in getStateLocked() 641 bool InputReader::hasKeys(int32_t deviceId, uint32_t sourceMask, in hasKeys() 649 bool InputReader::markSupportedKeyCodesLocked(int32_t deviceId, uint32_t sourceMask, in markSupportedKeyCodesLocked() 1020 int32_t InputDevice::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() 1024 int32_t InputDevice::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() 1028 int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState() [all …]
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 166 int deviceId, int sourceMask, int scanCode); in nativeGetScanCodeState() 168 int deviceId, int sourceMask, int keyCode); in nativeGetKeyCodeState() 170 int deviceId, int sourceMask, int sw); in nativeGetSwitchState() 172 int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists); in nativeHasKeys() 387 public int getKeyCodeState(int deviceId, int sourceMask, int keyCode) { in getKeyCodeState() 400 public int getScanCodeState(int deviceId, int sourceMask, int scanCode) { in getScanCodeState() 413 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { in getSwitchState() 430 public boolean hasKeys(int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists) { in hasKeys()
|
/frameworks/base/core/java/android/hardware/input/ |
D | IInputManager.aidl | 34 boolean hasKeys(int deviceId, int sourceMask, in int[] keyCodes, out boolean[] keyExists); in hasKeys()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1056 jlong ptr, jint deviceId, jint sourceMask, jint scanCode) { in nativeGetScanCodeState() 1064 jlong ptr, jint deviceId, jint sourceMask, jint keyCode) { in nativeGetKeyCodeState() 1072 jlong ptr, jint deviceId, jint sourceMask, jint sw) { in nativeGetSwitchState() 1080 jlong ptr, jint deviceId, jint sourceMask, jintArray keyCodes, jbooleanArray outFlags) { in nativeHasKeys()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 884 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() 889 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() 894 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState() 899 virtual bool markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes()
|