Home
last modified time | relevance | path

Searched refs:BluetoothRouteManager (Results 1 – 21 of 21) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothRouteTransitionTests.java51 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
267 @Mock private BluetoothRouteManager.BluetoothStateListener mListener;
290 BluetoothRouteManager sm = setupStateMachine( in testTransitions()
310 sm.sendMessage(BluetoothRouteManager.BT_AUDIO_LOST, args); in testTransitions()
316 if (mParams.messageType == BluetoothRouteManager.NEW_DEVICE_CONNECTED) { in testTransitions()
319 } else if (mParams.messageType == BluetoothRouteManager.LOST_DEVICE) { in testTransitions()
388 sm.getHandler().removeMessages(BluetoothRouteManager.CONNECTION_TIMEOUT); in testTransitions()
409 private BluetoothRouteManager setupStateMachine(String initialState, in setupStateMachine()
421 BluetoothRouteManager sm = new BluetoothRouteManager(mContext, in setupStateMachine()
440 .setInitialBluetoothState(BluetoothRouteManager.AUDIO_OFF_STATE_NAME) in generateTestCases()
[all …]
DBluetoothRouteManagerTest.java48 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
83 @Mock private BluetoothRouteManager.BluetoothStateListener mListener;
101 BluetoothRouteManager sm = setupStateMachine( in testConnectLeftHearingAidWhenLeftIsActive()
102 BluetoothRouteManager.AUDIO_OFF_STATE_NAME, HEARING_AID_DEVICE_LEFT); in testConnectLeftHearingAidWhenLeftIsActive()
113 BluetoothRouteManager.NEW_DEVICE_CONNECTED, HEARING_AID_DEVICE_LEFT.getAddress()); in testConnectLeftHearingAidWhenLeftIsActive()
116 BluetoothRouteManager.CONNECT_BT, HEARING_AID_DEVICE_LEFT.getAddress()); in testConnectLeftHearingAidWhenLeftIsActive()
118 assertEquals(BluetoothRouteManager.AUDIO_CONNECTED_STATE_NAME_PREFIX in testConnectLeftHearingAidWhenLeftIsActive()
127 BluetoothRouteManager sm = setupStateMachine( in testConnectRightHearingAidWhenLeftIsActive()
128 BluetoothRouteManager.AUDIO_OFF_STATE_NAME, HEARING_AID_DEVICE_RIGHT); in testConnectRightHearingAidWhenLeftIsActive()
140 BluetoothRouteManager.NEW_DEVICE_CONNECTED, HEARING_AID_DEVICE_LEFT.getAddress()); in testConnectRightHearingAidWhenLeftIsActive()
[all …]
DCallAudioRoutePeripheralAdapterTest.java34 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
48 @Mock private BluetoothRouteManager mBluetoothRouteManager;
DInCallTonePlayerTest.java49 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
65 @Mock private BluetoothRouteManager mBluetoothRouteManager;
DBluetoothDeviceManagerTest.java52 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
73 @Mock BluetoothRouteManager mRouteManager;
381 verify(mRouteManager, never()).sendMessage(BluetoothRouteManager.BT_AUDIO_IS_ON); in testHearingAidChangesIgnoredWhenNotInCall()
398 verify(mRouteManager, never()).sendMessage(BluetoothRouteManager.BT_AUDIO_IS_ON); in testLeAudioGroupChangesIgnoredWhenNotInCall()
DCallAudioRouteTransitionTests.java52 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
153 @Mock BluetoothRouteManager mockBluetoothRouteManager;
DCallAudioRouteControllerTest.java81 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
103 @Mock BluetoothRouteManager mBluetoothRouteManager;
DTelecomSystemTest.java100 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
542 BluetoothRouteManager bluetoothManager, in setupTelecomSystem()
DCallAudioRouteStateMachineTest.java63 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
95 @Mock BluetoothRouteManager mockBluetoothRouteManager;
DCallsManagerTest.java134 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
282 @Mock private BluetoothRouteManager mBluetoothRouteManager;
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRoutePeripheralAdapter.java19 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
26 DockManager.Listener, BluetoothRouteManager.BluetoothStateListener {
29 private final BluetoothRouteManager mBluetoothRouteManager;
34 BluetoothRouteManager bluetoothManager, in CallAudioRoutePeripheralAdapter()
DPendingAudioRoute.java29 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
43 private BluetoothRouteManager mBluetoothRouteManager;
61 BluetoothRouteManager bluetoothRouteManager) { in PendingAudioRoute()
DAudioRoute.java34 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
241 BluetoothRouteManager bluetoothRouteManager, boolean isScoAudioConnected) { in onDestRouteAsPendingRoute()
302 AudioManager audioManager, BluetoothRouteManager bluetoothRouteManager) { in onOrigRouteAsPendingRoute()
352 AudioManager audioManager, BluetoothRouteManager bluetoothRouteManager) { in connectBtAudio()
374 BluetoothRouteManager bluetoothRouteManager, AudioManager audioManager) { in clearCommunicationDevice()
DCallAudioCommunicationDeviceTracker.java28 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
48 private BluetoothRouteManager mBluetoothRouteManager;
58 public void setBluetoothRouteManager(BluetoothRouteManager bluetoothRouteManager) { in setBluetoothRouteManager()
DTelecomSystem.java44 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
263 BluetoothRouteManager bluetoothRouteManager = new BluetoothRouteManager(mContext, mLock, in TelecomSystem()
DCallAudioRouteStateMachine.java47 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
83 BluetoothRouteManager bluetoothManager, in create()
1503 private final BluetoothRouteManager mBluetoothRouteManager;
1526 BluetoothRouteManager bluetoothManager, in CallAudioRouteStateMachine()
1553 BluetoothRouteManager bluetoothManager, in CallAudioRouteStateMachine()
DCallAudioRouteController.java53 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
87 private final BluetoothRouteManager mBluetoothRouteManager;
174 BluetoothRouteManager bluetoothRouteManager, StatusBarNotifier statusBarNotifier, in CallAudioRouteController()
DCallsManager.java121 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
456 private final BluetoothRouteManager mBluetoothRouteManager;
588 BluetoothRouteManager bluetoothManager, in CallsManager()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothStateReceiver.java26 import static com.android.server.telecom.bluetooth.BluetoothRouteManager.BT_AUDIO_IS_ON;
27 import static com.android.server.telecom.bluetooth.BluetoothRouteManager.BT_AUDIO_LOST;
71 private final BluetoothRouteManager mBluetoothRouteManager;
348 BluetoothRouteManager routeManager, in BluetoothStateReceiver()
DBluetoothRouteManager.java57 public class BluetoothRouteManager extends StateMachine { class
58 private static final String LOG_TAG = BluetoothRouteManager.class.getSimpleName();
607 public BluetoothRouteManager(Context context, TelecomSystem.SyncRoot lock, in BluetoothRouteManager() method in BluetoothRouteManager
611 super(BluetoothRouteManager.class.getSimpleName()); in BluetoothRouteManager()
DBluetoothDeviceManager.java287 private BluetoothRouteManager mBluetoothRouteManager;
326 public void setBluetoothRouteManager(BluetoothRouteManager brm) { in setBluetoothRouteManager()