Searched refs:switchState (Results 1 – 1 of 1) sorted by relevance
455 public int computeNewHeadsetState(int headsetState, int switchState) { in computeNewHeadsetState() argument457 int setBits = ((switchState == 1) ? mState1Bits : in computeNewHeadsetState()458 ((switchState == 2) ? mState2Bits : in computeNewHeadsetState()459 ((switchState == mStateNbits) ? mStateNbits : 0))); in computeNewHeadsetState()