Searched refs:BluetoothRouteManager (Results 1 – 14 of 14) sorted by relevance
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothRouteTransitionTests.java | 31 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 242 @Mock private BluetoothRouteManager.BluetoothStateListener mListener; 263 BluetoothRouteManager sm = setupStateMachine( in testTransitions() 276 sm.sendMessage(BluetoothRouteManager.BT_AUDIO_LOST, args); in testTransitions() 282 if (mParams.messageType == BluetoothRouteManager.NEW_DEVICE_CONNECTED) { in testTransitions() 286 } else if (mParams.messageType == BluetoothRouteManager.LOST_DEVICE) { in testTransitions() 339 sm.getHandler().removeMessages(BluetoothRouteManager.CONNECTION_TIMEOUT); in testTransitions() 358 private BluetoothRouteManager setupStateMachine(String initialState, in setupStateMachine() 368 BluetoothRouteManager sm = new BluetoothRouteManager(mContext, in setupStateMachine() 386 .setInitialBluetoothState(BluetoothRouteManager.AUDIO_OFF_STATE_NAME) in generateTestCases() [all …]
|
D | BluetoothRouteManagerTest.java | 32 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 67 @Mock private BluetoothRouteManager.BluetoothStateListener mListener; 84 BluetoothRouteManager sm = setupStateMachine( in testConnectHfpRetryWhileNotConnected() 85 BluetoothRouteManager.AUDIO_OFF_STATE_NAME, null); in testConnectHfpRetryWhileNotConnected() 90 executeRoutingAction(sm, BluetoothRouteManager.CONNECT_HFP, DEVICE1.getAddress()); in testConnectHfpRetryWhileNotConnected() 98 assertEquals(BluetoothRouteManager.AUDIO_OFF_STATE_NAME, sm.getCurrentState().getName()); in testConnectHfpRetryWhileNotConnected() 99 sm.getHandler().removeMessages(BluetoothRouteManager.CONNECTION_TIMEOUT); in testConnectHfpRetryWhileNotConnected() 106 BluetoothRouteManager sm = setupStateMachine( in testAmbiguousActiveDevice() 107 BluetoothRouteManager.AUDIO_CONNECTED_STATE_NAME_PREFIX, DEVICE1); in testAmbiguousActiveDevice() 112 executeRoutingAction(sm, BluetoothRouteManager.BT_AUDIO_LOST, DEVICE1.getAddress()); in testAmbiguousActiveDevice() [all …]
|
D | BluetoothDeviceManagerTest.java | 32 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 56 @Mock BluetoothRouteManager mRouteManager; 211 verify(mRouteManager, never()).sendMessage(BluetoothRouteManager.BT_AUDIO_IS_ON); in testHearingAidChangesIgnoredWhenNotInCall()
|
D | CallAudioRouteTransitionTests.java | 48 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 148 @Mock BluetoothRouteManager mockBluetoothRouteManager;
|
D | CallAudioRouteStateMachineTest.java | 28 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 83 @Mock BluetoothRouteManager mockBluetoothRouteManager;
|
D | TelecomSystemTest.java | 96 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 496 BluetoothRouteManager bluetoothManager, in setupTelecomSystem()
|
D | CallsManagerTest.java | 91 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 177 @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; 33 BluetoothRouteManager bluetoothManager, in CallAudioRoutePeripheralAdapter()
|
D | TelecomSystem.java | 21 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 233 BluetoothRouteManager bluetoothRouteManager = new BluetoothRouteManager(mContext, mLock, in TelecomSystem()
|
D | CallAudioRouteStateMachine.java | 46 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 79 BluetoothRouteManager bluetoothManager, in create() 1383 private final BluetoothRouteManager mBluetoothRouteManager; 1404 BluetoothRouteManager bluetoothManager, in CallAudioRouteStateMachine() 1426 BluetoothRouteManager bluetoothManager, in CallAudioRouteStateMachine()
|
D | CallsManager.java | 96 import com.android.server.telecom.bluetooth.BluetoothRouteManager; 341 private final BluetoothRouteManager mBluetoothRouteManager; 468 BluetoothRouteManager bluetoothManager, in CallsManager()
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothStateReceiver.java | 32 import static com.android.server.telecom.bluetooth.BluetoothRouteManager.BT_AUDIO_IS_ON; 33 import static com.android.server.telecom.bluetooth.BluetoothRouteManager.BT_AUDIO_LOST; 51 private final BluetoothRouteManager mBluetoothRouteManager; 164 BluetoothRouteManager routeManager) { in BluetoothStateReceiver()
|
D | BluetoothRouteManager.java | 49 public class BluetoothRouteManager extends StateMachine { class 50 private static final String LOG_TAG = BluetoothRouteManager.class.getSimpleName(); 455 public BluetoothRouteManager(Context context, TelecomSystem.SyncRoot lock, in BluetoothRouteManager() method in BluetoothRouteManager 457 super(BluetoothRouteManager.class.getSimpleName()); in BluetoothRouteManager()
|
D | BluetoothDeviceManager.java | 119 private BluetoothRouteManager mBluetoothRouteManager; 135 public void setBluetoothRouteManager(BluetoothRouteManager brm) { in setBluetoothRouteManager()
|