Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothRouteTransitionTests.java31 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 …]
DBluetoothRouteManagerTest.java32 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 …]
DBluetoothDeviceManagerTest.java32 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
56 @Mock BluetoothRouteManager mRouteManager;
211 verify(mRouteManager, never()).sendMessage(BluetoothRouteManager.BT_AUDIO_IS_ON); in testHearingAidChangesIgnoredWhenNotInCall()
DCallAudioRouteTransitionTests.java48 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
148 @Mock BluetoothRouteManager mockBluetoothRouteManager;
DCallAudioRouteStateMachineTest.java28 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
83 @Mock BluetoothRouteManager mockBluetoothRouteManager;
DTelecomSystemTest.java96 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
496 BluetoothRouteManager bluetoothManager, in setupTelecomSystem()
DCallsManagerTest.java91 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
177 @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;
33 BluetoothRouteManager bluetoothManager, in CallAudioRoutePeripheralAdapter()
DTelecomSystem.java21 import com.android.server.telecom.bluetooth.BluetoothRouteManager;
233 BluetoothRouteManager bluetoothRouteManager = new BluetoothRouteManager(mContext, mLock, in TelecomSystem()
DCallAudioRouteStateMachine.java46 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()
DCallsManager.java96 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/
DBluetoothStateReceiver.java32 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()
DBluetoothRouteManager.java49 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()
DBluetoothDeviceManager.java119 private BluetoothRouteManager mBluetoothRouteManager;
135 public void setBluetoothRouteManager(BluetoothRouteManager brm) { in setBluetoothRouteManager()