Searched refs:switchMask (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 107 uint32_t switchValues, uint32_t switchMask) : in NotifySwitchArgs() argument 109 switchValues(switchValues), switchMask(switchMask) { in NotifySwitchArgs() 114 switchValues(other.switchValues), switchMask(other.switchMask) { in NotifySwitchArgs()
|
D | InputListener.h | 120 uint32_t switchMask; member 125 uint32_t switchValues, uint32_t switchMask);
|
D | InputDispatcher.h | 251 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) = 0;
|
D | InputDispatcher.cpp | 2514 args->switchValues, args->switchMask); in notifySwitch() 2520 args->switchValues, args->switchMask, policyFlags); in notifySwitch()
|
/frameworks/base/services/core/java/com/android/server/ |
D | WiredAccessoryManager.java | 125 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask) { in notifyWiredAccessoryChanged() argument 127 + " bits=" + switchCodeToString(switchValues, switchMask) in notifyWiredAccessoryChanged() 128 + " mask=" + Integer.toHexString(switchMask)); in notifyWiredAccessoryChanged() 132 mSwitchValues = (mSwitchValues & ~switchMask) | switchValues; in notifyWiredAccessoryChanged() 301 private String switchCodeToString(int switchValues, int switchMask) { in switchCodeToString() argument 303 if ((switchMask & SW_HEADPHONE_INSERT_BIT) != 0 && in switchCodeToString() 307 if ((switchMask & SW_MICROPHONE_INSERT_BIT) != 0 && in switchCodeToString()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 1402 private void notifySwitch(long whenNanos, int switchValues, int switchMask) { in notifySwitch() argument 1405 + ", mask=" + Integer.toHexString(switchMask)); in notifySwitch() 1408 if ((switchMask & SW_LID_BIT) != 0) { in notifySwitch() 1413 if ((switchMask & SW_CAMERA_LENS_COVER_BIT) != 0) { in notifySwitch() 1418 if (mUseDevInputEventForAudioJack && (switchMask & SW_JACK_BITS) != 0) { in notifySwitch() 1420 switchMask); in notifySwitch() 1637 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask); in notifyWiredAccessoryChanged() argument
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 89 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) { in notifySwitch() argument
|
D | InputReader_test.cpp | 1525 args.switchMask); in TEST_F()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 209 virtual void notifySwitch(nsecs_t when, uint32_t switchValues, uint32_t switchMask, 551 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) { in notifySwitch() argument 554 when, switchValues, switchMask, policyFlags); in notifySwitch() 560 when, switchValues, switchMask); in notifySwitch()
|