Home
last modified time | relevance | path

Searched refs:HeadsetClientStateMachine (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java68 private final HashMap<BluetoothDevice, HeadsetClientStateMachine> mStateMachineMap =
174 for (Iterator<Map.Entry<BluetoothDevice, HeadsetClientStateMachine>> it = in stop()
177 HeadsetClientStateMachine sm = in stop()
215 int hfVol = HeadsetClientStateMachine.amToHfVol(streamValue);
224 for (HeadsetClientStateMachine sm : mStateMachineMap.values()) {
227 HeadsetClientStateMachine.SET_SPEAKER_VOLUME,
247 for (HeadsetClientStateMachine sm : mStateMachineMap.values()) {
250 HeadsetClientStateMachine.SEND_BIEV,
624 HeadsetClientStateMachine sm = getStateMachine(device, true); in connect()
630 sm.sendMessage(HeadsetClientStateMachine.CONNECT, device); in connect()
[all …]
DHeadsetClientStateMachineFactory.java26 public HeadsetClientStateMachine make( in make()
28 return HeadsetClientStateMachine.make( in make()
DHeadsetClientStateMachine.java79 public class HeadsetClientStateMachine extends StateMachine { class
80 private static final String TAG = HeadsetClientStateMachine.class.getSimpleName();
881 HeadsetClientStateMachine( in HeadsetClientStateMachine() method in HeadsetClientStateMachine
953 static HeadsetClientStateMachine make( in make()
959 HeadsetClientStateMachine hfcsm = in make()
960 new HeadsetClientStateMachine( in make()
1356 obtainMessage(HeadsetClientStateMachine.SET_SPEAKER_VOLUME, amVol, 0)); in processConnectionEvent()
1361 HeadsetClientStateMachine.SET_MIC_VOLUME, in processConnectionEvent()
1365 deferMessage(obtainMessage(HeadsetClientStateMachine.SUBSCRIBER_INFO)); in processConnectionEvent()
1894 sendMessage(HeadsetClientStateMachine.DISCONNECT_AUDIO); in processAudioEvent()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java22 import static com.android.bluetooth.hfpclient.HeadsetClientStateMachine.AT_OK;
23 import static com.android.bluetooth.hfpclient.HeadsetClientStateMachine.ENTER_PRIVATE_MODE;
24 import static com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EXPLICIT_CALL_TRANSFER;
25 import static com.android.bluetooth.hfpclient.HeadsetClientStateMachine.MAX_HFP_SCO_VOICE_CALL_VOLU…
26 import static com.android.bluetooth.hfpclient.HeadsetClientStateMachine.MIN_HFP_SCO_VOICE_CALL_VOLU…
27 import static com.android.bluetooth.hfpclient.HeadsetClientStateMachine.VOICE_RECOGNITION_START;
28 import static com.android.bluetooth.hfpclient.HeadsetClientStateMachine.VOICE_RECOGNITION_STOP;
212 amToHfMap.put(i, HeadsetClientStateMachine.amToHfVol(i)); in testAmHfVolumeSymmetric_AmLowerRange()
218 HeadsetClientStateMachine.hfToAmVol((int) entry.getValue()), entry.getKey()); in testAmHfVolumeSymmetric_AmLowerRange()
245 hfToAmMap.put(i, HeadsetClientStateMachine.hfToAmVol(i));
[all …]
DHeadsetClientServiceTest.java75 @Mock private HeadsetClientStateMachine mStateMachine;
123 .sendMessage(eq(HeadsetClientStateMachine.SEND_BIEV), eq(2), anyInt()); in testSendBIEVtoStateMachineWhenBatteryChanged()
141 .sendMessage(eq(HeadsetClientStateMachine.SEND_BIEV), eq(2), anyInt()); in testUpdateBatteryLevel()
DHfpNativeInterfaceTest.java253 int type = HeadsetClientStateMachine.AT_OK; in onCmdResult()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetService.java70 import com.android.bluetooth.hfpclient.HeadsetClientStateMachine;