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

/frameworks/native/services/inputflinger/
H A DInputListener.cpp110 uint32_t switchValues, uint32_t switchMask) :
112 switchValues(switchValues), switchMask(switchMask) {
117 switchValues(other.switchValues), switchMask(other.switchMask) {
109 NotifySwitchArgs(nsecs_t eventTime, uint32_t policyFlags, uint32_t switchValues, uint32_t switchMask) argument
H A DInputListener.h128 uint32_t switchValues; member in struct:android::NotifySwitchArgs
134 uint32_t switchValues, uint32_t switchMask);
/frameworks/base/services/core/java/com/android/server/
H A DWiredAccessoryManager.java104 int switchValues = 0;
106 switchValues |= SW_HEADPHONE_INSERT_BIT;
109 switchValues |= SW_MICROPHONE_INSERT_BIT;
112 switchValues |= SW_LINEOUT_INSERT_BIT;
114 notifyWiredAccessoryChanged(0, switchValues,
122 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask) { argument
124 + " bits=" + switchCodeToString(switchValues, switchMask)
129 mSwitchValues = (mSwitchValues & ~switchMask) | switchValues;
301 private String switchCodeToString(int switchValues, int switchMask) { argument
304 (switchValues
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp241 virtual void notifySwitch(nsecs_t when, uint32_t switchValues, uint32_t switchMask,
647 uint32_t switchValues, uint32_t switchMask, uint32_t /* policyFlags */) {
649 ALOGD("notifySwitch - when=%lld, switchValues=0x%08x, switchMask=0x%08x, policyFlags=0x%x",
650 when, switchValues, switchMask, policyFlags);
657 when, switchValues, switchMask);
646 notifySwitch(nsecs_t when, uint32_t switchValues, uint32_t switchMask, uint32_t ) argument
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java1781 private void notifySwitch(long whenNanos, int switchValues, int switchMask) { argument
1783 Slog.d(TAG, "notifySwitch: values=" + Integer.toHexString(switchValues)
1788 final boolean lidOpen = ((switchValues & SW_LID_BIT) == 0);
1793 final boolean lensCovered = ((switchValues & SW_CAMERA_LENS_COVER_BIT) != 0);
1798 mWiredAccessoryCallbacks.notifyWiredAccessoryChanged(whenNanos, switchValues,
1806 args.arg1 = Boolean.valueOf((switchValues & SW_TABLET_MODE_BIT) != 0);
2025 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask); argument

Completed in 52 milliseconds