Searched refs:switchValues (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/java/com/android/server/ |
D | WiredAccessoryManager.java | 111 int switchValues = 0; in bootCompleted() local 113 switchValues |= SW_HEADPHONE_INSERT_BIT; in bootCompleted() 116 switchValues |= SW_MICROPHONE_INSERT_BIT; in bootCompleted() 118 notifyWiredAccessoryChanged(0, switchValues, in bootCompleted() 126 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask) { in notifyWiredAccessoryChanged() argument 128 + " bits=" + switchCodeToString(switchValues, switchMask) in notifyWiredAccessoryChanged() 133 mSwitchValues = (mSwitchValues & ~switchMask) | switchValues; in notifyWiredAccessoryChanged() 272 private String switchCodeToString(int switchValues, int switchMask) { in switchCodeToString() argument 275 (switchValues & SW_HEADPHONE_INSERT_BIT) != 0) { in switchCodeToString() 279 (switchValues & SW_MICROPHONE_INSERT_BIT) != 0) { in switchCodeToString()
|
/frameworks/base/services/input/ |
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 | 119 uint32_t switchValues; member 125 uint32_t switchValues, uint32_t switchMask);
|
D | InputDispatcher.h | 254 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) = 0;
|
D | InputDispatcher.cpp | 2511 args->switchValues, args->switchMask); in notifySwitch() 2517 args->switchValues, args->switchMask, policyFlags); in notifySwitch()
|
/frameworks/base/services/java/com/android/server/input/ |
D | InputManagerService.java | 1272 private void notifySwitch(long whenNanos, int switchValues, int switchMask) { in notifySwitch() argument 1274 Slog.d(TAG, "notifySwitch: values=" + Integer.toHexString(switchValues) in notifySwitch() 1279 final boolean lidOpen = ((switchValues & SW_LID_BIT) == 0); in notifySwitch() 1284 mWiredAccessoryCallbacks.notifyWiredAccessoryChanged(whenNanos, switchValues, in notifySwitch() 1501 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask); in notifyWiredAccessoryChanged() argument
|
/frameworks/base/services/input/tests/ |
D | InputDispatcher_test.cpp | 90 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) { in notifySwitch() argument
|
D | InputReader_test.cpp | 1513 ASSERT_EQ((1 << SW_LID) | (1 << SW_JACK_PHYSICAL_INSERT), args.switchValues); in TEST_F()
|
/frameworks/base/services/jni/ |
D | com_android_server_input_InputManagerService.cpp | 191 virtual void notifySwitch(nsecs_t when, uint32_t switchValues, uint32_t switchMask, 533 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) { in notifySwitch() argument 536 when, switchValues, switchMask, policyFlags); in notifySwitch() 542 when, switchValues, switchMask); in notifySwitch()
|