Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.cpp55 int32_t InputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
59 int32_t InputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
63 int32_t InputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
71 bool InputMapper::markSupportedKeyCodes(uint32_t sourceMask, const std::vector<int32_t>& keyCodes, in markSupportedKeyCodes()
DKeyboardInputMapper.cpp371 int32_t KeyboardInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
375 int32_t KeyboardInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
383 bool KeyboardInputMapper::markSupportedKeyCodes(uint32_t sourceMask, in markSupportedKeyCodes()
DSwitchInputMapper.cpp71 int32_t SwitchInputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
DCursorInputMapper.cpp413 int32_t CursorInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
DTouchInputMapper.cpp3920 int32_t TouchInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
3934 int32_t TouchInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
3948 bool TouchInputMapper::markSupportedKeyCodes(uint32_t sourceMask, in markSupportedKeyCodes()
/frameworks/native/services/inputflinger/tests/fuzzers/
DInputReaderFuzzer.cpp64 int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
68 int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
72 int32_t getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t sw) { in getSwitchState()
78 bool hasKeys(int32_t deviceId, uint32_t sourceMask, const std::vector<int32_t>& keyCodes, in hasKeys()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp465 int32_t InputDevice::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
469 int32_t InputDevice::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
473 int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
477 int32_t InputDevice::getState(uint32_t sourceMask, int32_t code, GetStateFunc getStateFunc) { in getState()
573 bool InputDevice::markSupportedKeyCodes(uint32_t sourceMask, const std::vector<int32_t>& keyCodes, in markSupportedKeyCodes()
DInputReader.cpp547 int32_t InputReader::getKeyCodeState(int32_t deviceId, uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
553 int32_t InputReader::getScanCodeState(int32_t deviceId, uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
559 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
565 int32_t InputReader::getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code, in getStateLocked()
607 bool InputReader::hasKeys(int32_t deviceId, uint32_t sourceMask, in hasKeys()
615 bool InputReader::markSupportedKeyCodesLocked(int32_t deviceId, uint32_t sourceMask, in markSupportedKeyCodesLocked()
DMacros.h118 static inline bool sourcesMatchMask(uint32_t sources, uint32_t sourceMask) { in sourcesMatchMask()
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java45 int getScanCodeState(int deviceId, int sourceMask, int scanCode); in getScanCodeState()
47 int getKeyCodeState(int deviceId, int sourceMask, int keyCode); in getKeyCodeState()
49 int getSwitchState(int deviceId, int sourceMask, int sw); in getSwitchState()
53 boolean hasKeys(int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists); in hasKeys()
300 public native int getScanCodeState(int deviceId, int sourceMask, int scanCode); in getScanCodeState()
303 public native int getKeyCodeState(int deviceId, int sourceMask, int keyCode); in getKeyCodeState()
306 public native int getSwitchState(int deviceId, int sourceMask, int sw); in getSwitchState()
312 public native boolean hasKeys(int deviceId, int sourceMask, int[] keyCodes, in hasKeys()
DInputManagerService.java609 public int getKeyCodeState(int deviceId, int sourceMask, int keyCode) { in getKeyCodeState()
622 public int getScanCodeState(int deviceId, int sourceMask, int scanCode) { in getScanCodeState()
635 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { in getSwitchState()
652 public boolean hasKeys(int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists) { in hasKeys()
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl62 boolean hasKeys(int deviceId, int sourceMask, in int[] keyCodes, out boolean[] keyExists); in hasKeys()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1781 jint sourceMask, jint scanCode) { in nativeGetScanCodeState()
1789 jint sourceMask, jint keyCode) { in nativeGetKeyCodeState()
1796 static jint nativeGetSwitchState(JNIEnv* env, jobject nativeImplObj, jint deviceId, jint sourceMask, in nativeGetSwitchState()
1818 static jboolean nativeHasKeys(JNIEnv* env, jobject nativeImplObj, jint deviceId, jint sourceMask, in nativeHasKeys()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp5363 audio_channel_mask_t sourceMask = sourceDesc->config().channel_mask; in createAudioPatchInternal() local