Home
last modified time | relevance | path

Searched refs:HeadsetStateMachine (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java50 private HeadsetStateMachine mStateMachine;
62 mStateMachine = HeadsetStateMachine.make(this); in start()
100 mStateMachine.sendMessage(HeadsetStateMachine.INTENT_BATTERY_CHANGED, intent);
104 mStateMachine.sendMessage(HeadsetStateMachine.INTENT_SCO_VOLUME_CHANGED,
362 mStateMachine.sendMessage(HeadsetStateMachine.CONNECT, device); in connect()
375 mStateMachine.sendMessage(HeadsetStateMachine.DISCONNECT, device); in disconnect()
420 mStateMachine.sendMessage(HeadsetStateMachine.VOICE_RECOGNITION_START); in startVoiceRecognition()
434 mStateMachine.sendMessage(HeadsetStateMachine.VOICE_RECOGNITION_STOP); in stopVoiceRecognition()
485 mStateMachine.sendMessage(HeadsetStateMachine.CONNECT_AUDIO); in connectAudio()
495 mStateMachine.sendMessage(HeadsetStateMachine.DISCONNECT_AUDIO); in disconnectAudio()
[all …]
DHeadsetStateMachine.java74 final class HeadsetStateMachine extends StateMachine { class
208 private HeadsetStateMachine(HeadsetService context) { in HeadsetStateMachine() method in HeadsetStateMachine
260 static HeadsetStateMachine make(HeadsetService context) { in make()
262 HeadsetStateMachine hssm = new HeadsetStateMachine(context); in make()
355 synchronized (HeadsetStateMachine.this) { in processMessage()
413 synchronized (HeadsetStateMachine.this) { in processConnectionEvent()
436 synchronized (HeadsetStateMachine.this) { in processConnectionEvent()
497 synchronized (HeadsetStateMachine.this) { in processMessage()
544 synchronized (HeadsetStateMachine.this) { in processConnectionEvent()
555 synchronized (HeadsetStateMachine.this) { in processConnectionEvent()
[all …]
DHeadsetPhoneState.java37 private HeadsetStateMachine mStateMachine;
87 HeadsetPhoneState(Context context, HeadsetStateMachine stateMachine) { in HeadsetPhoneState()
226 HeadsetStateMachine sm = mStateMachine; in sendDeviceStateChanged()
228 sm.sendMessage(HeadsetStateMachine.DEVICE_STATE_CHANGED, in sendDeviceStateChanged()
DAtPhonebook.java81 private HeadsetStateMachine mStateMachine;
102 public AtPhonebook(Context context, HeadsetStateMachine headsetState) { in AtPhonebook()