Loading tests/src/com/android/server/telecom/tests/BluetoothRouteManagerTest.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -235,7 +235,8 @@ public class BluetoothRouteManagerTest extends TelecomTestCase { when(mDeviceManager.getBluetoothAdapter()).thenReturn(mBluetoothAdapter); when(mDeviceManager.getBluetoothAdapter()).thenReturn(mBluetoothAdapter); when(mDeviceManager.getLeAudioService()).thenReturn(mBluetoothLeAudio); when(mDeviceManager.getLeAudioService()).thenReturn(mBluetoothLeAudio); when(mBluetoothHeadset.connectAudio()).thenReturn(true); when(mBluetoothHeadset.connectAudio()).thenReturn(true); when(mBluetoothHeadset.setActiveDevice(nullable(BluetoothDevice.class))).thenReturn(true); when(mBluetoothAdapter.setActiveDevice(nullable(BluetoothDevice.class), eq(BluetoothAdapter.ACTIVE_DEVICE_ALL))).thenReturn(true); when(mTimeoutsAdapter.getRetryBluetoothConnectAudioBackoffMillis( when(mTimeoutsAdapter.getRetryBluetoothConnectAudioBackoffMillis( nullable(ContentResolver.class))).thenReturn(100000L); nullable(ContentResolver.class))).thenReturn(100000L); when(mTimeoutsAdapter.getBluetoothPendingTimeoutMillis( when(mTimeoutsAdapter.getBluetoothPendingTimeoutMillis( Loading Loading
tests/src/com/android/server/telecom/tests/BluetoothRouteManagerTest.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -235,7 +235,8 @@ public class BluetoothRouteManagerTest extends TelecomTestCase { when(mDeviceManager.getBluetoothAdapter()).thenReturn(mBluetoothAdapter); when(mDeviceManager.getBluetoothAdapter()).thenReturn(mBluetoothAdapter); when(mDeviceManager.getLeAudioService()).thenReturn(mBluetoothLeAudio); when(mDeviceManager.getLeAudioService()).thenReturn(mBluetoothLeAudio); when(mBluetoothHeadset.connectAudio()).thenReturn(true); when(mBluetoothHeadset.connectAudio()).thenReturn(true); when(mBluetoothHeadset.setActiveDevice(nullable(BluetoothDevice.class))).thenReturn(true); when(mBluetoothAdapter.setActiveDevice(nullable(BluetoothDevice.class), eq(BluetoothAdapter.ACTIVE_DEVICE_ALL))).thenReturn(true); when(mTimeoutsAdapter.getRetryBluetoothConnectAudioBackoffMillis( when(mTimeoutsAdapter.getRetryBluetoothConnectAudioBackoffMillis( nullable(ContentResolver.class))).thenReturn(100000L); nullable(ContentResolver.class))).thenReturn(100000L); when(mTimeoutsAdapter.getBluetoothPendingTimeoutMillis( when(mTimeoutsAdapter.getBluetoothPendingTimeoutMillis( Loading