Lines Matching defs:switchValues
111 int switchValues = 0;
113 switchValues |= SW_HEADPHONE_INSERT_BIT;
116 switchValues |= SW_MICROPHONE_INSERT_BIT;
118 notifyWiredAccessoryChanged(0, switchValues,
126 public void notifyWiredAccessoryChanged(long whenNanos, int switchValues, int switchMask) {
128 + " bits=" + switchCodeToString(switchValues, switchMask)
133 mSwitchValues = (mSwitchValues & ~switchMask) | switchValues;
272 private String switchCodeToString(int switchValues, int switchMask) {
275 (switchValues & SW_HEADPHONE_INSERT_BIT) != 0) {
279 (switchValues & SW_MICROPHONE_INSERT_BIT) != 0) {