Searched refs:HeadsetStateMachine (Results 1 – 4 of 4) sorted by relevance
50 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 …]
74 final class HeadsetStateMachine extends StateMachine { class208 private HeadsetStateMachine(HeadsetService context) { in HeadsetStateMachine() method in HeadsetStateMachine260 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 …]
37 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()
81 private HeadsetStateMachine mStateMachine;102 public AtPhonebook(Context context, HeadsetStateMachine headsetState) { in AtPhonebook()