/frameworks/native/services/inputflinger/ |
D | InputReader.h | 316 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask, 318 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask, 320 virtual int32_t getSwitchState(int32_t deviceId, uint32_t sourceMask, 327 virtual bool hasKeys(int32_t deviceId, uint32_t sourceMask, 423 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask, 425 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask, 427 virtual int32_t getSwitchState(int32_t deviceId, uint32_t sourceMask, 432 virtual bool hasKeys(int32_t deviceId, uint32_t sourceMask, 523 typedef int32_t (InputDevice::*GetStateFunc)(uint32_t sourceMask, int32_t code); 524 int32_t getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code, [all …]
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 200 int deviceId, int sourceMask, int scanCode); in nativeGetScanCodeState() argument 202 int deviceId, int sourceMask, int keyCode); in nativeGetKeyCodeState() argument 204 int deviceId, int sourceMask, int sw); in nativeGetSwitchState() argument 206 int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists); in nativeHasKeys() argument 452 public int getKeyCodeState(int deviceId, int sourceMask, int keyCode) { in getKeyCodeState() argument 453 return nativeGetKeyCodeState(mPtr, deviceId, sourceMask, keyCode); in getKeyCodeState() 465 public int getScanCodeState(int deviceId, int sourceMask, int scanCode) { in getScanCodeState() argument 466 return nativeGetScanCodeState(mPtr, deviceId, sourceMask, scanCode); in getScanCodeState() 478 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { in getSwitchState() argument 479 return nativeGetSwitchState(mPtr, deviceId, sourceMask, switchCode); in getSwitchState() [all …]
|
/frameworks/base/core/java/android/hardware/input/ |
D | IInputManager.aidl | 42 boolean hasKeys(int deviceId, int sourceMask, in int[] keyCodes, out boolean[] keyExists); in hasKeys() argument
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1291 jlong ptr, jint deviceId, jint sourceMask, jint scanCode) { in nativeGetScanCodeState() argument 1295 deviceId, uint32_t(sourceMask), scanCode); in nativeGetScanCodeState() 1299 jlong ptr, jint deviceId, jint sourceMask, jint keyCode) { in nativeGetKeyCodeState() argument 1303 deviceId, uint32_t(sourceMask), keyCode); in nativeGetKeyCodeState() 1307 jlong ptr, jint deviceId, jint sourceMask, jint sw) { in nativeGetSwitchState() argument 1311 deviceId, uint32_t(sourceMask), sw); in nativeGetSwitchState() 1315 jlong ptr, jint deviceId, jint sourceMask, jintArray keyCodes, jbooleanArray outFlags) { in nativeHasKeys() argument 1324 deviceId, uint32_t(sourceMask), numCodes, codes, flags)) { in nativeHasKeys()
|