Searched refs:switchMask (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/services/input/
H A DInputListener.cpp107 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 DInputListener.h120 uint32_t switchMask; member in struct:android::NotifySwitchArgs
125 uint32_t switchValues, uint32_t switchMask);
H A DInputDispatcher.h254 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) = 0;
H A DInputDispatcher.cpp2509 ALOGD("notifySwitch - eventTime=%lld, policyFlags=0x%x, switchValues=0x%08x, switchMask=0x%08x",
2511 args->switchValues, args->switchMask);
2517 args->switchValues, args->switchMask, policyFlags);
/frameworks/base/services/java/com/android/server/
H A DWiredAccessoryManager.java126 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask) { argument
128 + " bits=" + switchCodeToString(switchValues, switchMask)
129 + " mask=" + Integer.toHexString(switchMask));
133 mSwitchValues = (mSwitchValues & ~switchMask) | switchValues;
272 private String switchCodeToString(int switchValues, int switchMask) { argument
274 if ((switchMask & SW_HEADPHONE_INSERT_BIT) != 0 &&
278 if ((switchMask & SW_MICROPHONE_INSERT_BIT) != 0 &&
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java1272 private void notifySwitch(long whenNanos, int switchValues, int switchMask) { argument
1275 + ", mask=" + Integer.toHexString(switchMask));
1278 if ((switchMask & SW_LID_BIT) != 0) {
1283 if (mUseDevInputEventForAudioJack && (switchMask & SW_JACK_BITS) != 0) {
1285 switchMask);
1501 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask); argument
/frameworks/base/services/input/tests/
H A DInputDispatcher_test.cpp90 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) {
89 notifySwitch(nsecs_t when, uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) argument
H A DInputReader_test.cpp1515 args.switchMask);
/frameworks/base/services/jni/
H A Dcom_android_server_input_InputManagerService.cpp191 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

Completed in 355 milliseconds