Lines Matching defs:HeadsetClientStateMachine
57 private HashMap<BluetoothDevice, HeadsetClientStateMachine> mStateMachineMap =
125 for (Iterator<Map.Entry<BluetoothDevice, HeadsetClientStateMachine>> it =
127 HeadsetClientStateMachine sm =
150 HeadsetClientStateMachine.cleanup();
162 // ({@link HeadsetClientStateMachine#SET_SPEAKER_VOLUME} in
163 // {@link HeadsetClientStateMachine} for details.
171 int hfVol = HeadsetClientStateMachine.amToHfVol(streamValue);
485 HeadsetClientStateMachine sm = getStateMachine(device);
496 sm.sendMessage(HeadsetClientStateMachine.CONNECT, device);
503 HeadsetClientStateMachine sm = getStateMachine(device);
515 sm.sendMessage(HeadsetClientStateMachine.DISCONNECT, device);
524 HeadsetClientStateMachine sm = mStateMachineMap.get(bd);
537 HeadsetClientStateMachine sm = mStateMachineMap.get(bd);
548 HeadsetClientStateMachine sm = mStateMachineMap.get(device);
587 HeadsetClientStateMachine sm = getStateMachine(device);
598 HeadsetClientStateMachine sm = getStateMachine(device);
610 sm.sendMessage(HeadsetClientStateMachine.CONNECT_AUDIO);
616 HeadsetClientStateMachine sm = getStateMachine(device);
625 sm.sendMessage(HeadsetClientStateMachine.DISCONNECT_AUDIO);
631 HeadsetClientStateMachine sm = getStateMachine(device);
642 Message msg = sm.obtainMessage(HeadsetClientStateMachine.HOLD_CALL);
649 HeadsetClientStateMachine sm = getStateMachine(device);
660 Message msg = sm.obtainMessage(HeadsetClientStateMachine.ACCEPT_CALL);
668 HeadsetClientStateMachine sm = getStateMachine(device);
680 Message msg = sm.obtainMessage(HeadsetClientStateMachine.REJECT_CALL);
687 HeadsetClientStateMachine sm = getStateMachine(device);
699 Message msg = sm.obtainMessage(HeadsetClientStateMachine.TERMINATE_CALL);
707 HeadsetClientStateMachine sm = getStateMachine(device);
719 Message msg = sm.obtainMessage(HeadsetClientStateMachine.ENTER_PRIVATE_MODE);
727 HeadsetClientStateMachine sm = getStateMachine(device);
740 device, HeadsetClientStateMachine.HF_ORIGINATED_CALL_ID,
743 Message msg = sm.obtainMessage(HeadsetClientStateMachine.DIAL_NUMBER);
751 HeadsetClientStateMachine sm = getStateMachine(device);
762 Message msg = sm.obtainMessage(HeadsetClientStateMachine.SEND_DTMF);
774 HeadsetClientStateMachine sm = getStateMachine(device);
789 HeadsetClientStateMachine sm = getStateMachine(device);
800 Message msg = sm.obtainMessage(HeadsetClientStateMachine.EXPLICIT_CALL_TRANSFER);
807 HeadsetClientStateMachine sm = getStateMachine(device);
822 HeadsetClientStateMachine sm = getStateMachine(device);
836 HeadsetClientStateMachine sm = getStateMachine(stackEvent.device);
845 private synchronized HeadsetClientStateMachine getStateMachine(BluetoothDevice device) {
851 HeadsetClientStateMachine sm = mStateMachineMap.get(device);
880 HeadsetClientStateMachine sm = mStateMachineMap.get(bd);
893 for (HeadsetClientStateMachine sm : mStateMachineMap.values()) {
903 protected synchronized Map<BluetoothDevice, HeadsetClientStateMachine> getStateMachineMap() {