/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothRouteTransitionTests.java | 51 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 …]
|
D | BluetoothRouteManagerTest.java | 48 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 …]
|
D | CallAudioRoutePeripheralAdapterTest.java | 34 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 48 @Mock private BluetoothRouteManager mBluetoothRouteManager;
|
D | InCallTonePlayerTest.java | 49 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 65 @Mock private BluetoothRouteManager mBluetoothRouteManager;
|
D | BluetoothDeviceManagerTest.java | 52 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()
|
D | CallAudioRouteTransitionTests.java | 52 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 153 @Mock BluetoothRouteManager mockBluetoothRouteManager;
|
D | CallAudioRouteControllerTest.java | 81 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 103 @Mock BluetoothRouteManager mBluetoothRouteManager;
|
D | TelecomSystemTest.java | 100 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 542 BluetoothRouteManager bluetoothManager, in setupTelecomSystem()
|
D | CallAudioRouteStateMachineTest.java | 63 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 95 @Mock BluetoothRouteManager mockBluetoothRouteManager;
|
D | CallsManagerTest.java | 134 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 282 @Mock private BluetoothRouteManager mBluetoothRouteManager;
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioRoutePeripheralAdapter.java | 19 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 26 DockManager.Listener, BluetoothRouteManager.BluetoothStateListener { 29 private final BluetoothRouteManager mBluetoothRouteManager; 34 BluetoothRouteManager bluetoothManager, in CallAudioRoutePeripheralAdapter()
|
D | PendingAudioRoute.java | 29 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 43 private BluetoothRouteManager mBluetoothRouteManager; 61 BluetoothRouteManager bluetoothRouteManager) { in PendingAudioRoute()
|
D | AudioRoute.java | 34 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()
|
D | CallAudioCommunicationDeviceTracker.java | 28 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 48 private BluetoothRouteManager mBluetoothRouteManager; 58 public void setBluetoothRouteManager(BluetoothRouteManager bluetoothRouteManager) { in setBluetoothRouteManager()
|
D | TelecomSystem.java | 44 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 263 BluetoothRouteManager bluetoothRouteManager = new BluetoothRouteManager(mContext, mLock, in TelecomSystem()
|
D | CallAudioRouteStateMachine.java | 47 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()
|
D | CallAudioRouteController.java | 53 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 87 private final BluetoothRouteManager mBluetoothRouteManager; 174 BluetoothRouteManager bluetoothRouteManager, StatusBarNotifier statusBarNotifier, in CallAudioRouteController()
|
D | CallsManager.java | 121 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/ |
D | BluetoothStateReceiver.java | 26 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()
|
D | BluetoothRouteManager.java | 57 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()
|
D | BluetoothDeviceManager.java | 287 private BluetoothRouteManager mBluetoothRouteManager; 326 public void setBluetoothRouteManager(BluetoothRouteManager brm) { in setBluetoothRouteManager()
|