Searched refs:isFilterMatched (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/ |
D | DeviceItemFactoryTest.kt | 95 assertThat(savedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testSavedFactory_isFilterMatched_bondedAndNotConnected_returnsTrue() 105 assertThat(savedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testSavedFactory_isFilterMatched_connected_returnsFalse() 115 assertThat(savedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testSavedFactory_isFilterMatched_notBonded_returnsFalse() 129 assertThat(savedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testSavedFactory_isFilterMatched_exclusivelyManaged_returnsFalse() 139 assertThat(savedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testSavedFactory_isFilterMatched_noExclusiveManager_returnsTrue() 153 assertThat(savedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testSavedFactory_isFilterMatched_exclusiveManagerNotEnabled_returnsTrue() 167 assertThat(savedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testSavedFactory_isFilterMatched_exclusiveManagerNotInstalled_returnsTrue() 177 assertThat(savedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testSavedFactory_isFilterMatched_notExclusivelyManaged_notBonded_returnsFalse() 187 assertThat(savedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testSavedFactory_isFilterMatched_notExclusivelyManaged_connected_returnsFalse() 198 assertThat(connectedDeviceItemFactory.isFilterMatched(context, cachedDevice, audioManager)) in testConnectedFactory_isFilterMatched_bondedAndConnected_returnsTrue() [all …]
|
D | DeviceItemInteractorTest.kt | 221 override fun isFilterMatched( in <lambda>() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/ |
D | DeviceItemFactory.kt | 42 abstract fun isFilterMatched( in isFilterMatched() method 80 override fun isFilterMatched( in isFilterMatched() method in com.android.systemui.bluetooth.qsdialog.ActiveMediaDeviceItemFactory 105 override fun isFilterMatched( in isFilterMatched() method in com.android.systemui.bluetooth.qsdialog.AudioSharingMediaDeviceItemFactory 129 override fun isFilterMatched( in isFilterMatched() method in com.android.systemui.bluetooth.qsdialog.ActiveHearingDeviceItemFactory 140 override fun isFilterMatched( in isFilterMatched() method in com.android.systemui.bluetooth.qsdialog.AvailableMediaDeviceItemFactory 164 override fun isFilterMatched( in isFilterMatched() method in com.android.systemui.bluetooth.qsdialog.AvailableHearingDeviceItemFactory 175 override fun isFilterMatched( in isFilterMatched() method in com.android.systemui.bluetooth.qsdialog.ConnectedDeviceItemFactory 203 override fun isFilterMatched( in isFilterMatched() method in com.android.systemui.bluetooth.qsdialog.SavedDeviceItemFactory 232 override fun isFilterMatched( in isFilterMatched() method in com.android.systemui.bluetooth.qsdialog.SavedHearingDeviceItemFactory
|
D | DeviceItemInteractor.kt | 136 .firstOrNull { it.isFilterMatched(context, cachedDevice, audioManager) } in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothUtils.java | 511 boolean isFilterMatched = false; in isAvailableMediaBluetoothDevice() 532 isFilterMatched = cachedDevice.isConnectedA2dpDevice(); in isAvailableMediaBluetoothDevice() 535 isFilterMatched = cachedDevice.isConnectedHfpDevice(); in isAvailableMediaBluetoothDevice() 539 return isFilterMatched; in isAvailableMediaBluetoothDevice() 662 boolean isFilterMatched = false; in isConnectedBluetoothDevice() 679 isFilterMatched = !cachedDevice.isConnectedA2dpDevice(); in isConnectedBluetoothDevice() 682 isFilterMatched = !cachedDevice.isConnectedHfpDevice(); in isConnectedBluetoothDevice() 686 return isFilterMatched; in isConnectedBluetoothDevice()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/ |
D | HearingDevicesDialogDelegate.java | 440 if (itemFactory.isFilterMatched(context, cachedDevice, mAudioManager)) { in createHearingDeviceItem()
|