/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 196 uint32_t switchValues, uint32_t switchMask) in NotifySwitchArgs() argument 200 switchMask(switchMask) {} in NotifySwitchArgs() 206 switchMask(other.switchMask) {} in NotifySwitchArgs() 210 switchValues == rhs.switchValues && switchMask == rhs.switchMask; in operator ==()
|
/frameworks/base/services/core/java/com/android/server/ |
D | WiredAccessoryManager.java | 138 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask) { in notifyWiredAccessoryChanged() argument 141 + " bits=" + switchCodeToString(switchValues, switchMask) in notifyWiredAccessoryChanged() 142 + " mask=" + Integer.toHexString(switchMask)); in notifyWiredAccessoryChanged() 147 mSwitchValues = (mSwitchValues & ~switchMask) | switchValues; in notifyWiredAccessoryChanged() 321 private String switchCodeToString(int switchValues, int switchMask) { in switchCodeToString() argument 323 if ((switchMask & SW_HEADPHONE_INSERT_BIT) != 0 && in switchCodeToString() 327 if ((switchMask & SW_MICROPHONE_INSERT_BIT) != 0 && in switchCodeToString()
|
/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 149 uint32_t switchMask; member 154 uint32_t switchMask);
|
/frameworks/native/services/inputflinger/dispatcher/include/ |
D | InputDispatcherPolicyInterface.h | 98 virtual void notifySwitch(nsecs_t when, uint32_t switchValues, uint32_t switchMask,
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 1905 private void notifySwitch(long whenNanos, int switchValues, int switchMask) { in notifySwitch() argument 1908 + ", mask=" + Integer.toHexString(switchMask)); in notifySwitch() 1911 if ((switchMask & SW_LID_BIT) != 0) { in notifySwitch() 1916 if ((switchMask & SW_CAMERA_LENS_COVER_BIT) != 0) { in notifySwitch() 1921 if (mUseDevInputEventForAudioJack && (switchMask & SW_JACK_BITS) != 0) { in notifySwitch() 1923 switchMask); in notifySwitch() 1926 if ((switchMask & SW_TABLET_MODE_BIT) != 0) { in notifySwitch() 1935 if ((switchMask & SW_MUTE_DEVICE_BIT) != 0) { in notifySwitch() 2268 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask); in notifyWiredAccessoryChanged() argument
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 239 virtual void notifySwitch(nsecs_t when, uint32_t switchValues, uint32_t switchMask, 660 uint32_t switchValues, uint32_t switchMask, uint32_t /* policyFlags */) { in notifySwitch() argument 663 when, switchValues, switchMask, policyFlags); in notifySwitch() 670 when, switchValues, switchMask); in notifySwitch()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 108 EXPECT_EQ(args.switchMask, mLastNotifySwitch->switchMask); in assertNotifySwitchWasCalled() 250 virtual void notifySwitch(nsecs_t when, uint32_t switchValues, uint32_t switchMask, in notifySwitch() argument 256 mLastNotifySwitch = NotifySwitchArgs(1 /*id*/, when, policyFlags, switchValues, switchMask); in notifySwitch()
|
D | InputReader_test.cpp | 2402 args.switchMask); in TEST_F()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 3246 args->eventTime, args->policyFlags, args->switchValues, args->switchMask); in notifySwitch() 3251 mPolicy->notifySwitch(args->eventTime, args->switchValues, args->switchMask, policyFlags); in notifySwitch()
|