Home
last modified time | relevance | path

Searched refs:currentDevice (Results 1 – 3 of 3) sorted by relevance

/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
H A DLocalMediaManagerTest.java135 final MediaDevice currentDevice = mock(MediaDevice.class); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice() local
137 mLocalMediaManager.mMediaDevices.add(currentDevice); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()
139 mLocalMediaManager.mCurrentConnectedDevice = currentDevice; in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()
142 when(currentDevice.getId()).thenReturn(TEST_CURRENT_DEVICE_ID); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()
147 verify(currentDevice).disconnect(); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()
494 final MediaDevice currentDevice = mock(MediaDevice.class); in onDeviceAttributesChanged_failingTransferring_shouldResetState() local
498 mLocalMediaManager.mMediaDevices.add(currentDevice); in onDeviceAttributesChanged_failingTransferring_shouldResetState()
602 final MediaDevice currentDevice = mock(MediaDevice.class); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice() local
606 mLocalMediaManager.mMediaDevices.add(currentDevice); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice()
619 mLocalMediaManager.mCurrentConnectedDevice = currentDevice; in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice()
[all …]
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DPbapClientStateMachine.java389 BluetoothDevice currentDevice; in getDevicesMatchingConnectionStates() local
392 currentDevice = getDevice(); in getDevicesMatchingConnectionStates()
397 if (currentDevice != null) { in getDevicesMatchingConnectionStates()
398 deviceList.add(currentDevice); in getDevicesMatchingConnectionStates()
/aosp12/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/utils/
H A DFrameBufferBuffer.java197 config.setValue(Config.KEY_DEVICE, currentDevice()); in setConfiguration()
210 public DeviceInfoDB.Device currentDevice() { in currentDevice() method in FrameBufferBuffer.ConfigSelector
400 DeviceInfo deviceInfo = DeviceInfoDB.getDeviceInfo(getConfigSelector().currentDevice()); in renderNativeBuffer()