Searched defs:switchValues (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/services/input/ |
H A D | InputListener.cpp | 107 uint32_t switchValues, uint32_t switchMask) : 109 switchValues(switchValues), switchMask(switchMask) { 114 switchValues(other.switchValues), switchMask(other.switchMask) { 106 NotifySwitchArgs(nsecs_t eventTime, uint32_t policyFlags, uint32_t switchValues, uint32_t switchMask) argument
|
H A D | InputListener.h | 119 uint32_t switchValues; member in struct:android::NotifySwitchArgs 125 uint32_t switchValues, uint32_t switchMask);
|
/frameworks/base/services/input/tests/ |
H A D | InputDispatcher_test.cpp | 90 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) { 89 notifySwitch(nsecs_t when, uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) argument
|
/frameworks/base/services/java/com/android/server/ |
H A D | WiredAccessoryManager.java | 111 int switchValues = 0; 113 switchValues |= SW_HEADPHONE_INSERT_BIT; 116 switchValues |= SW_MICROPHONE_INSERT_BIT; 118 notifyWiredAccessoryChanged(0, switchValues, 126 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask) { argument 128 + " bits=" + switchCodeToString(switchValues, switchMask) 133 mSwitchValues = (mSwitchValues & ~switchMask) | switchValues; 272 private String switchCodeToString(int switchValues, int switchMask) { argument 275 (switchValues & SW_HEADPHONE_INSERT_BIT) != 0) { 279 (switchValues [all...] |
/frameworks/base/services/jni/ |
H A 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) { 535 ALOGD("notifySwitch - when=%lld, switchValues=0x%08x, switchMask=0x%08x, policyFlags=0x%x", 536 when, switchValues, switchMask, policyFlags); 542 when, switchValues, switchMask); 532 notifySwitch(nsecs_t when, uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) argument
|
/frameworks/base/services/java/com/android/server/input/ |
H A D | InputManagerService.java | 1272 private void notifySwitch(long whenNanos, int switchValues, int switchMask) { argument 1274 Slog.d(TAG, "notifySwitch: values=" + Integer.toHexString(switchValues) 1279 final boolean lidOpen = ((switchValues & SW_LID_BIT) == 0); 1284 mWiredAccessoryCallbacks.notifyWiredAccessoryChanged(whenNanos, switchValues, 1501 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask); argument
|
Completed in 225 milliseconds