Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/
DDeviceItemFactoryTest.kt52 private val connectedDeviceItemFactory = ConnectedDeviceItemFactory() constant
76 val deviceItem = connectedDeviceItemFactory.create(context, cachedDevice) in testConnectedDeviceItemFactory_createFromCachedDevice()
198 assertThat(connectedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testConnectedFactory_isFilterMatched_bondedAndConnected_returnsTrue()
209 assertThat(connectedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testConnectedFactory_isFilterMatched_notConnected_returnsFalse()
220 assertThat(connectedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testConnectedFactory_isFilterMatched_notBonded_returnsFalse()
235 assertThat(connectedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testConnectedFactory_isFilterMatched_exclusivelyManaged_returnsFalse()
246 assertThat(connectedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testConnectedFactory_isFilterMatched_noExclusiveManager_returnsTrue()
261 assertThat(connectedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testConnectedFactory_isFilterMatched_exclusiveManagerNotEnabled_returnsTrue()
276 assertThat(connectedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testConnectedFactory_isFilterMatched_exclusiveManagerNotInstalled_returnsTrue()
287 assertThat(connectedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testConnectedFactory_isFilterMatched_notExclusivelyManaged_notBonded_returnsFalse()
[all …]