Searched defs:switchMask (Results 1 - 5 of 5) sorted by relevance

/frameworks/native/services/inputflinger/
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.h122 uint32_t switchMask; member in struct:android::NotifySwitchArgs
127 uint32_t switchValues, uint32_t switchMask);
/frameworks/base/services/core/java/com/android/server/
H A DWiredAccessoryManager.java122 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask) { argument
124 + " bits=" + switchCodeToString(switchValues, switchMask)
125 + " mask=" + Integer.toHexString(switchMask));
129 mSwitchValues = (mSwitchValues & ~switchMask) | switchValues;
301 private String switchCodeToString(int switchValues, int switchMask) { argument
303 if ((switchMask & SW_HEADPHONE_INSERT_BIT) != 0 &&
307 if ((switchMask & SW_MICROPHONE_INSERT_BIT) != 0 &&
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java1402 private void notifySwitch(long whenNanos, int switchValues, int switchMask) { argument
1405 + ", mask=" + Integer.toHexString(switchMask));
1408 if ((switchMask & SW_LID_BIT) != 0) {
1413 if ((switchMask & SW_CAMERA_LENS_COVER_BIT) != 0) {
1418 if (mUseDevInputEventForAudioJack && (switchMask & SW_JACK_BITS) != 0) {
1420 switchMask);
1637 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask); argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp217 virtual void notifySwitch(nsecs_t when, uint32_t switchValues, uint32_t switchMask,
575 uint32_t switchValues, uint32_t switchMask, uint32_t /* policyFlags */) {
577 ALOGD("notifySwitch - when=%lld, switchValues=0x%08x, switchMask=0x%08x, policyFlags=0x%x",
578 when, switchValues, switchMask, policyFlags);
584 when, switchValues, switchMask);
574 notifySwitch(nsecs_t when, uint32_t switchValues, uint32_t switchMask, uint32_t ) argument

Completed in 328 milliseconds