/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/ |
D | DeviceItemActionInteractorTest.kt | 70 @Mock private lateinit var cachedBluetoothDevice: CachedBluetoothDevice variable in com.android.systemui.bluetooth.qsdialog.DeviceItemActionInteractorTest 79 cachedBluetoothDevice = cachedBluetoothDevice, in setUp() 88 cachedBluetoothDevice = cachedBluetoothDevice, in setUp() 97 cachedBluetoothDevice = cachedBluetoothDevice, in setUp() 106 cachedBluetoothDevice = cachedBluetoothDevice, in setUp() 124 whenever(cachedBluetoothDevice.address).thenReturn(DEVICE_ADDRESS) in testOnClick_connectedMedia_setActive() 127 verify(cachedBluetoothDevice).setActive() in testOnClick_connectedMedia_setActive() 130 cachedBluetoothDevice.address, in testOnClick_connectedMedia_setActive() 141 whenever(cachedBluetoothDevice.address).thenReturn(DEVICE_ADDRESS) in testOnClick_activeMedia_disconnect() 144 verify(cachedBluetoothDevice).disconnect() in testOnClick_activeMedia_disconnect() [all …]
|
D | AudioSharingInteractorTest.kt | 54 @Mock private lateinit var cachedBluetoothDevice: CachedBluetoothDevice variable in com.android.systemui.bluetooth.qsdialog.AudioSharingInteractorTest 126 whenever(deviceItem.cachedBluetoothDevice).thenReturn(cachedBluetoothDevice) in testButtonStateUpdate_hasSource_returnGone() 129 cachedBluetoothDevice, in testButtonStateUpdate_hasSource_returnGone() 148 whenever(deviceItem.cachedBluetoothDevice).thenReturn(cachedBluetoothDevice) in testButtonStateUpdate_hasActiveDevice_returnAudioSharing() 151 cachedBluetoothDevice, in testButtonStateUpdate_hasActiveDevice_returnAudioSharing() 156 whenever(BluetoothUtils.isActiveLeAudioDevice(cachedBluetoothDevice)).thenReturn(true) in testButtonStateUpdate_hasActiveDevice_returnAudioSharing()
|
D | BluetoothTileDialogDelegateTest.kt | 72 @Mock private lateinit var cachedBluetoothDevice: CachedBluetoothDevice variable in com.android.systemui.bluetooth.qsdialog.BluetoothTileDialogDelegateTest 139 cachedBluetoothDevice = cachedBluetoothDevice, in setUp() 145 `when`(cachedBluetoothDevice.isBusy).thenReturn(false) in setUp()
|
D | BluetoothTileDialogViewModelTest.kt | 88 @Mock private lateinit var cachedBluetoothDevice: CachedBluetoothDevice variable in com.android.systemui.bluetooth.qsdialog.BluetoothTileDialogViewModelTest 210 whenever(deviceItem.cachedBluetoothDevice).thenReturn(cachedBluetoothDevice) in testStartSettingsActivity_activityLaunched_dialogDismissed()
|
D | DeviceItemInteractorTest.kt | 98 `when`(deviceItem1.cachedBluetoothDevice).thenReturn(cachedDevice1) in <lambda>() 99 `when`(deviceItem2.cachedBluetoothDevice).thenReturn(cachedDevice2) in <lambda>()
|
D | DeviceItemFactoryTest.kt | 305 assertThat(deviceItem.cachedBluetoothDevice).isEqualTo(cachedDevice) in assertDeviceItem()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/spatial/domain/interactor/ |
D | SpatialAudioComponentInteractor.kt | 156 getAudioDeviceAttributesByBluetoothProfile(cachedBluetoothDevice) in <lambda>() 162 cachedBluetoothDevice.address, in <lambda>() 167 cachedBluetoothDevice.address, in <lambda>() 172 cachedBluetoothDevice.address, in <lambda>() 177 cachedBluetoothDevice.address, in <lambda>() 182 cachedBluetoothDevice.address, in <lambda>() 193 cachedBluetoothDevice: CachedBluetoothDevice in <lambda>() 196 cachedBluetoothDevice.profiles in <lambda>() 198 it.profileId in audioProfiles && it.isEnabled(cachedBluetoothDevice.device) in <lambda>() 208 cachedBluetoothDevice.address in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/ |
D | DeviceItemActionInteractor.kt | 80 logger.logDeviceClick(deviceItem.cachedBluetoothDevice.address, deviceItem.type) in <lambda>() 96 launchSettings(deviceItem.cachedBluetoothDevice.device, dialog) in <lambda>() 100 deviceItem.cachedBluetoothDevice.apply { in <lambda>() 183 deviceItem.cachedBluetoothDevice, in <lambda>() 286 cachedBluetoothDevice.profiles.any { profile -> in <lambda>() 287 profile is LeAudioProfile && profile.isEnabled(cachedBluetoothDevice.device) in <lambda>() 300 cachedBluetoothDevice.connectableProfiles.any { in <lambda>()
|
D | AudioSharingInteractor.kt | 81 it.cachedBluetoothDevice, in getButtonState() 86 deviceItem.any { BluetoothUtils.isActiveLeAudioDevice(it.cachedBluetoothDevice) } -> in getButtonState()
|
D | DeviceItem.kt | 48 val cachedBluetoothDevice: CachedBluetoothDevice, constant in com.android.systemui.bluetooth.qsdialog.DeviceItem
|
D | BluetoothTileDialogDelegate.kt | 324 return deviceItem1.cachedBluetoothDevice == deviceItem2.cachedBluetoothDevice in <lambda>() 332 deviceItem1.cachedBluetoothDevice == deviceItem2.cachedBluetoothDevice && in <lambda>()
|
D | DeviceItemInteractor.kt | 165 mostRecentlyConnectedDevices?.indexOf(it.cachedBluetoothDevice.device) ?: 0 in <lambda>()
|
D | DeviceItemFactory.kt | 63 cachedBluetoothDevice = cachedDevice, in isFilterMatched()
|
D | BluetoothTileDialogViewModel.kt | 261 putString("device_address", deviceItem.cachedBluetoothDevice.address) in onDeviceItemGearClicked()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/ |
D | TestMediaDevicesFactory.kt | 69 val cachedBluetoothDevice: CachedBluetoothDevice = mock { in bluetoothMediaDevice() constant 79 whenever(cachedDevice).thenReturn(cachedBluetoothDevice) in bluetoothMediaDevice()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/domain/model/ |
D | AudioOutputDevice.kt | 44 val cachedBluetoothDevice: CachedBluetoothDevice, constant in com.android.systemui.volume.domain.model.AudioOutputDevice.Bluetooth
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/domain/interactor/ |
D | AudioOutputInteractor.kt | 98 cachedBluetoothDevice = device, in <lambda>() 121 cachedBluetoothDevice = cachedDevice, in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/spatial/domain/ |
D | SpatialAudioAvailabilityCriteriaTest.kt | 68 val cachedBluetoothDevice: CachedBluetoothDevice = mock { in setup() constant 76 whenever(cachedDevice).thenReturn(cachedBluetoothDevice) in setup()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceTest.java | 1572 CachedBluetoothDevice cachedBluetoothDevice = in deviceName_testAliasNameAvailable() local 1575 assertThat(cachedBluetoothDevice.getName()).isEqualTo(DEVICE_ALIAS); in deviceName_testAliasNameAvailable() 1577 assertThat(cachedBluetoothDevice.hasHumanReadableName()).isTrue(); in deviceName_testAliasNameAvailable() 1582 CachedBluetoothDevice cachedBluetoothDevice = in deviceName_testNameNotAvailable() local 1585 assertThat(cachedBluetoothDevice.getName()).isEqualTo(DEVICE_ADDRESS); in deviceName_testNameNotAvailable() 1587 assertThat(cachedBluetoothDevice.hasHumanReadableName()).isFalse(); in deviceName_testNameNotAvailable() 1599 CachedBluetoothDevice cachedBluetoothDevice = in deviceName_testRenameDevice() local 1602 assertThat(cachedBluetoothDevice.getName()).isEqualTo(DEVICE_ALIAS); in deviceName_testRenameDevice() 1604 cachedBluetoothDevice.setName(null); in deviceName_testRenameDevice() 1607 cachedBluetoothDevice.setName(DEVICE_ALIAS_NEW); in deviceName_testRenameDevice() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/ |
D | HearingDevicesDialogDelegate.java | 202 CachedBluetoothDevice cachedBluetoothDevice = deviceItem.getCachedBluetoothDevice(); in onDeviceItemOnClicked() local 205 cachedBluetoothDevice.disconnect(); in onDeviceItemOnClicked() 206 case AVAILABLE_MEDIA_BLUETOOTH_DEVICE -> cachedBluetoothDevice.setActive(); in onDeviceItemOnClicked() 207 case SAVED_BLUETOOTH_DEVICE -> cachedBluetoothDevice.connect(); in onDeviceItemOnClicked()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManager.java | 390 public synchronized void onActiveDeviceChanged(CachedBluetoothDevice cachedBluetoothDevice) { in onActiveDeviceChanged() argument 391 if (cachedBluetoothDevice.isHearingAidDevice()) { in onActiveDeviceChanged() 392 mHearingAidDeviceManager.onActiveDeviceChanged(cachedBluetoothDevice); in onActiveDeviceChanged()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/spatial/domain/interactor/ |
D | SpatialAudioComponentInteractorTest.kt | 86 val cachedBluetoothDevice: CachedBluetoothDevice = mock { in setup() constant 95 whenever(cachedDevice).thenReturn(cachedBluetoothDevice) in setup()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/ |
D | AudioOutputInteractorTest.kt | 137 val cachedBluetoothDevice: CachedBluetoothDevice = mock { in inCall_bluetooth_returnsCommunicationDevice() constant 145 .thenReturn(cachedBluetoothDevice) in inCall_bluetooth_returnsCommunicationDevice()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/anc/domain/interactor/ |
D | AncSliceInteractor.kt | 81 device = outputDevice.cachedBluetoothDevice.device, in <lambda>()
|