Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/
DAudioSharingRepository.kt50 launch { send(isBroadcasting()) } in leBroadcast()
54 launch { send(isBroadcasting()) } in leBroadcast()
58 launch { send(isBroadcasting()) } in leBroadcast()
62 launch { send(isBroadcasting()) } in leBroadcast()
88 .onStart { emit(isBroadcasting()) } in leBroadcast()
95 private fun isBroadcasting(): Boolean { in isBroadcasting() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/
DAudioSharingInteractorTest.kt106 whenever(BluetoothUtils.isBroadcasting(localBluetoothManager)).thenReturn(true) in testButtonStateUpdate_isBroadcasting_returnSharingAudio()
125 whenever(BluetoothUtils.isBroadcasting(localBluetoothManager)).thenReturn(false) in testButtonStateUpdate_hasSource_returnGone()
147 whenever(BluetoothUtils.isBroadcasting(localBluetoothManager)).thenReturn(false) in testButtonStateUpdate_hasActiveDevice_returnAudioSharing()
DDeviceItemActionInteractorTest.kt220 whenever(BluetoothUtils.isBroadcasting(ArgumentMatchers.any())).thenReturn(true) in testOnClick_inAudioSharing_clickedDeviceHasSource_shouldNotLaunchSettings()
255 whenever(BluetoothUtils.isBroadcasting(ArgumentMatchers.any())).thenReturn(true) in testOnClick_inAudioSharing_clickedDeviceNoSource_shouldLaunchSettings()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/
DAudioSharingInteractor.kt74 BluetoothUtils.isBroadcasting(localBluetoothManager) -> in getButtonState()
DDeviceItemActionInteractor.kt87 val inAudioSharing = BluetoothUtils.isBroadcasting(localBluetoothManager) in <lambda>()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DBluetoothUtilsTest.java535 assertThat(BluetoothUtils.isBroadcasting(mLocalBluetoothManager)).isEqualTo(true); in testIsBroadcasting_broadcastEnabled_returnTrue()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java559 public static boolean isBroadcasting(@Nullable LocalBluetoothManager manager) { in isBroadcasting() method in BluetoothUtils
DCachedBluetoothDevice.java1236 if (BluetoothUtils.isBroadcasting(mBluetoothManager)) { in getConnectionSummary()