Home | History | Annotate | Download | only in server

Lines Matching defs:switchValues

107             int switchValues = 0;
109 switchValues |= SW_HEADPHONE_INSERT_BIT;
112 switchValues |= SW_MICROPHONE_INSERT_BIT;
115 switchValues |= SW_LINEOUT_INSERT_BIT;
117 notifyWiredAccessoryChanged(0, switchValues,
125 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask) {
127 + " bits=" + switchCodeToString(switchValues, switchMask)
132 mSwitchValues = (mSwitchValues & ~switchMask) | switchValues;
301 private String switchCodeToString(int switchValues, int switchMask) {
304 (switchValues & SW_HEADPHONE_INSERT_BIT) != 0) {
308 (switchValues & SW_MICROPHONE_INSERT_BIT) != 0) {