Searched refs:HeadsetStateMachine (Results 1 – 4 of 4) sorted by relevance
46 private HeadsetStateMachine mStateMachine;58 mStateMachine = HeadsetStateMachine.make(this); in start()96 mStateMachine.sendMessage(HeadsetStateMachine.INTENT_BATTERY_CHANGED, intent);101 HeadsetStateMachine.INTENT_SCO_VOLUME_CHANGED, intent);362 mStateMachine.sendMessage(HeadsetStateMachine.CONNECT, device); in connect()374 mStateMachine.sendMessage(HeadsetStateMachine.DISCONNECT, device); in disconnect()416 mStateMachine.sendMessage(HeadsetStateMachine.VOICE_RECOGNITION_START); in startVoiceRecognition()430 mStateMachine.sendMessage(HeadsetStateMachine.VOICE_RECOGNITION_STOP); in stopVoiceRecognition()484 mStateMachine.sendMessage(HeadsetStateMachine.CONNECT_AUDIO); in connectAudio()494 mStateMachine.sendMessage(HeadsetStateMachine.DISCONNECT_AUDIO); in disconnectAudio()[all …]
73 final class HeadsetStateMachine extends StateMachine { class209 private HeadsetStateMachine(HeadsetService context) { in HeadsetStateMachine() method in HeadsetStateMachine264 static HeadsetStateMachine make(HeadsetService context) { in make()266 HeadsetStateMachine hssm = new HeadsetStateMachine(context); in make()359 synchronized (HeadsetStateMachine.this) { in processMessage()415 synchronized (HeadsetStateMachine.this) { in processConnectionEvent()435 synchronized (HeadsetStateMachine.this) { in processConnectionEvent()493 synchronized (HeadsetStateMachine.this) { in processMessage()546 synchronized (HeadsetStateMachine.this) { in processConnectionEvent()556 synchronized (HeadsetStateMachine.this) { in processConnectionEvent()[all …]
37 private HeadsetStateMachine mStateMachine;87 HeadsetPhoneState(Context context, HeadsetStateMachine stateMachine) { in HeadsetPhoneState()239 HeadsetStateMachine sm = mStateMachine; in sendDeviceStateChanged()241 sm.sendMessage(HeadsetStateMachine.DEVICE_STATE_CHANGED, in sendDeviceStateChanged()
81 private HeadsetStateMachine mStateMachine;100 public AtPhonebook(Context context, HeadsetStateMachine headsetState) { in AtPhonebook()