Searched refs:bluetoothManager (Results 1 – 2 of 2) sorted by relevance
60 private AppRTCBluetoothManager bluetoothManager; field in BluetoothManagerTest79 bluetoothManager = new AppRTCBluetoothManager(context, mockedAppRtcAudioManager) { in setUp()132 bluetoothManager.start(); in testBluetoothServiceListenerInitialized()141 bluetoothManager.start(); in testBluetoothBroadcastReceiversAreRegistered()143 bluetoothManager.stop(); in testBluetoothBroadcastReceiversAreRegistered()150 bluetoothManager.start(); in testBluetoothDefaultStartStopStates()151 assertEquals(bluetoothManager.getState(), State.HEADSET_UNAVAILABLE); in testBluetoothDefaultStartStopStates()152 bluetoothManager.stop(); in testBluetoothDefaultStartStopStates()153 assertEquals(bluetoothManager.getState(), State.UNINITIALIZED); in testBluetoothDefaultStartStopStates()160 bluetoothManager.start(); in testBluetoothServiceListenerConnectedWithNoHeadset()[all …]
99 private final AppRTCBluetoothManager bluetoothManager; field in AppRTCAudioManager169 bluetoothManager = AppRTCBluetoothManager.create(context, this); in AppRTCAudioManager()281 bluetoothManager.start(); in start()306 bluetoothManager.stop(); in stop()467 + "BT state=" + bluetoothManager.getState()); in updateAudioDeviceState()476 if (bluetoothManager.getState() == AppRTCBluetoothManager.State.HEADSET_AVAILABLE in updateAudioDeviceState()477 || bluetoothManager.getState() == AppRTCBluetoothManager.State.HEADSET_UNAVAILABLE in updateAudioDeviceState()478 || bluetoothManager.getState() == AppRTCBluetoothManager.State.SCO_DISCONNECTING) { in updateAudioDeviceState()479 bluetoothManager.updateDevice(); in updateAudioDeviceState()485 if (bluetoothManager.getState() == AppRTCBluetoothManager.State.SCO_CONNECTED in updateAudioDeviceState()[all …]