Home
last modified time | relevance | path

Searched refs:cachedBluetoothDeviceManager (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/bluetooth/
DCachedBluetoothDeviceManagerKosmos.kt23 var Kosmos.cachedBluetoothDeviceManager: CachedBluetoothDeviceManager by Kosmos.Fixture { mock {} } in <lambda>() variable
DLocalBluetoothManagerKosmos.kt26 mock { whenever(cachedDeviceManager).thenReturn(cachedBluetoothDeviceManager) } in <lambda>()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DInfoMediaManagerTest.java806 final CachedBluetoothDeviceManager cachedBluetoothDeviceManager = in addMediaDevice_verifyDeviceTypeCanCorrespondToMediaDevice() local
831 .thenReturn(cachedBluetoothDeviceManager); in addMediaDevice_verifyDeviceTypeCanCorrespondToMediaDevice()
832 when(cachedBluetoothDeviceManager.findDevice(any(BluetoothDevice.class))) in addMediaDevice_verifyDeviceTypeCanCorrespondToMediaDevice()
847 final CachedBluetoothDeviceManager cachedBluetoothDeviceManager = in addMediaDevice_cachedBluetoothDeviceIsNull_shouldNotAdded() local
853 .thenReturn(cachedBluetoothDeviceManager); in addMediaDevice_cachedBluetoothDeviceIsNull_shouldNotAdded()
854 when(cachedBluetoothDeviceManager.findDevice(any(BluetoothDevice.class))) in addMediaDevice_cachedBluetoothDeviceIsNull_shouldNotAdded()
865 final CachedBluetoothDeviceManager cachedBluetoothDeviceManager = in onRoutesUpdated_setsFirstSelectedRouteAsCurrentConnectedDevice() local
881 .thenReturn(cachedBluetoothDeviceManager); in onRoutesUpdated_setsFirstSelectedRouteAsCurrentConnectedDevice()
882 when(cachedBluetoothDeviceManager.findDevice(any(BluetoothDevice.class))) in onRoutesUpdated_setsFirstSelectedRouteAsCurrentConnectedDevice()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputBaseDialogTest.java114 final CachedBluetoothDeviceManager cachedBluetoothDeviceManager = mock( in setUp() local
117 cachedBluetoothDeviceManager); in setUp()
118 when(cachedBluetoothDeviceManager.findDevice(any())).thenReturn(null); in setUp()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/
DAudioOutputInteractorTest.kt29 import com.android.systemui.bluetooth.cachedBluetoothDeviceManager
144 whenever(cachedBluetoothDeviceManager.findDevice(any())) in inCall_bluetooth_returnsCommunicationDevice()