Lines Matching defs:switchValues
110 int switchValues = 0;
112 switchValues |= SW_HEADPHONE_INSERT_BIT;
115 switchValues |= SW_MICROPHONE_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;
271 private String switchCodeToString(int switchValues, int switchMask) {
274 (switchValues & SW_HEADPHONE_INSERT_BIT) != 0) {
278 (switchValues & SW_MICROPHONE_INSERT_BIT) != 0) {