Searched refs:maskAndState (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/core/java/com/android/server/ |
D | WiredAccessoryManager.java | 524 int []maskAndState = {0,0}; in parseState() local 527 updateBit(maskAndState, BIT_HEADSET_NO_MIC, status, "HEADPHONE") ; in parseState() 528 updateBit(maskAndState, BIT_HEADSET, status,"MICROPHONE") ; in parseState() 529 updateBit(maskAndState, BIT_HDMI_AUDIO, status,"HDMI") ; in parseState() 530 updateBit(maskAndState, BIT_LINEOUT, status,"LINE-OUT") ; in parseState() 531 if (LOG) Slog.v(TAG, "mask " + maskAndState[0] + " state " + maskAndState[1]); in parseState() 532 return Pair.create(maskAndState[0],maskAndState[1]); in parseState() 537 Pair<Integer, Integer> maskAndState) { in updateState() argument 539 int mask = maskAndState.first; in updateState() 540 int state = maskAndState.second; in updateState() [all …]
|