Searched refs:switchState (Results 1 – 1 of 1) sorted by relevance
478 public int computeNewHeadsetState(int headsetState, int switchState) { in computeNewHeadsetState() argument480 int setBits = ((switchState == 1) ? mState1Bits : in computeNewHeadsetState()481 ((switchState == 2) ? mState2Bits : in computeNewHeadsetState()482 ((switchState == mStateNbits) ? mStateNbits : 0))); in computeNewHeadsetState()