Home
last modified time | relevance | path

Searched refs:DEVICE_ADDRESS (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/
DDeviceItemActionInteractorTest.kt124 whenever(cachedBluetoothDevice.address).thenReturn(DEVICE_ADDRESS) in testOnClick_connectedMedia_setActive()
141 whenever(cachedBluetoothDevice.address).thenReturn(DEVICE_ADDRESS) in testOnClick_activeMedia_disconnect()
158 whenever(cachedBluetoothDevice.address).thenReturn(DEVICE_ADDRESS) in testOnClick_connectedOtherDevice_disconnect()
175 whenever(cachedBluetoothDevice.address).thenReturn(DEVICE_ADDRESS) in testOnClick_saved_connect()
192 whenever(cachedBluetoothDevice.address).thenReturn(DEVICE_ADDRESS) in testOnClick_audioSharingDisabled_shouldNotLaunchSettings()
210 whenever(cachedBluetoothDevice.address).thenReturn(DEVICE_ADDRESS) in testOnClick_inAudioSharing_clickedDeviceHasSource_shouldNotLaunchSettings()
244 whenever(cachedBluetoothDevice.address).thenReturn(DEVICE_ADDRESS) in testOnClick_inAudioSharing_clickedDeviceNoSource_shouldLaunchSettings()
279 whenever(cachedBluetoothDevice.address).thenReturn(DEVICE_ADDRESS) in testOnClick_noConnectedLeDevice_shouldNotLaunchSettings()
302 whenever(cachedBluetoothDevice.address).thenReturn(DEVICE_ADDRESS) in testOnClick_hasOneConnectedLeDevice_clickedNonLe_shouldNotLaunchSettings()
331 whenever(cachedBluetoothDevice.address).thenReturn(DEVICE_ADDRESS) in testOnClick_hasOneConnectedLeDevice_clickedLe_shouldLaunchSettings()
[all …]
DDeviceItemFactoryTest.kt60 `when`(cachedDevice.address).thenReturn(DEVICE_ADDRESS) in setup()
314 private const val DEVICE_ADDRESS = "04:52:C7:0B:D8:3C" constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/muteawait/
DMediaMuteAwaitConnectionManagerTest.kt111 eq(DEVICE_ADDRESS), eq(DEVICE_NAME), eq(icon) in startListening_audioManagerHasMuteAwaitDevice_localMediaMangerNotified()
134 eq(DEVICE_ADDRESS), eq(DEVICE_NAME), eq(icon) in onMutedUntilConnection_isUsageMedia_localMediaManagerNotified()
198 verify(logger).logMutedDeviceAdded(DEVICE_ADDRESS, DEVICE_NAME, hasMediaUsage = true) in onMutedUntilConnection_isLogged()
208 DEVICE_ADDRESS, DEVICE_NAME, hasMediaUsage = true, isMostRecentDevice = false in onUnmutedEvent_notMostRecentDevice_isLogged()
221 DEVICE_ADDRESS, DEVICE_NAME, hasMediaUsage = true, isMostRecentDevice = true in onUnmutedEvent_isMostRecentDevice_isLogged()
234 private const val DEVICE_ADDRESS = "DeviceAddress" constant
239 DEVICE_ADDRESS,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesListAdapterTest.java51 private static final String DEVICE_ADDRESS = "AA:BB:CC:DD:EE:FF"; field in HearingDevicesListAdapterTest
63 when(mCachedDevice.getAddress()).thenReturn(DEVICE_ADDRESS); in setUp()
DHearingDevicesDialogDelegateTest.java88 private static final String DEVICE_ADDRESS = "AA:BB:CC:DD:EE:FF"; field in HearingDevicesDialogDelegateTest
144 when(mCachedDevice.getAddress()).thenReturn(DEVICE_ADDRESS); in setUp()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaMidiDevice.java372 dump.write("device_address", UsbAlsaMidiDeviceProto.DEVICE_ADDRESS, deviceAddr); in dump()
DUsbHostManager.java142 dump.write("device_address", UsbConnectionRecordProto.DEVICE_ADDRESS, mDeviceAddress); in dump()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java75 private static final String DEVICE_ADDRESS = "AA:BB:CC:DD:EE:FF"; field in CachedBluetoothDeviceTest
138 when(mDevice.getAddress()).thenReturn(DEVICE_ADDRESS); in setUp()
1585 assertThat(cachedBluetoothDevice.getName()).isEqualTo(DEVICE_ADDRESS); in deviceName_testNameNotAvailable()
1719 assertThat(mCachedDevice.getName()).isEqualTo(DEVICE_ADDRESS); in getName_aliasNameIsNull_returnAddress()