Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/
DMediaData.kt179 val showBroadcastButton: Boolean constant in com.android.systemui.media.controls.shared.model.MediaDeviceData
195 showBroadcastButton == other.showBroadcastButton in equalsWithoutIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaControlViewModel.kt172 val showBroadcastButton = legacyLeAudioSharing() && device?.showBroadcastButton == true in <lambda>() constant
185 if (showBroadcastButton) { in <lambda>()
192 ?: if (showBroadcastButton) { in <lambda>()
198 isTapEnabled = showBroadcastButton || !useDisabledAlpha, in <lambda>()
201 ?: if (showBroadcastButton) { in <lambda>()
214 isVisible = showBroadcastButton, in <lambda>()
216 if (showBroadcastButton) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDeviceManager.kt80 MediaDeviceData(enabled = false, icon = null, name = null, showBroadcastButton = false) in <lambda>()
268 /* showBroadcastButton */ showBroadcastButton = false in <lambda>()
365 showBroadcastButton = false in <lambda>()
402 showBroadcastButton = false in <lambda>()
419 showBroadcastButton = false in <lambda>()
432 showBroadcastButton = false in <lambda>()
440 showBroadcastButton = true in <lambda>()
DMediaDataProcessor.kt830 showBroadcastButton = false in <lambda>()
DLegacyMediaDataManagerImpl.kt885 showBroadcastButton = false in loadMediaDataInBg()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputDialog.java106 boolean showBroadcastButton = isBroadcastSupported() && mMediaOutputController.isPlaying(); in getStopButtonVisibility()
108 return (isActiveRemoteDevice || showBroadcastButton) ? View.VISIBLE : View.GONE; in getStopButtonVisibility()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDeviceManagerTest.kt751 MediaDeviceData(false, null, REMOTE_DEVICE_NAME, null, showBroadcastButton = false) in testRemotePlaybackDeviceOverride()
780 assertThat(data.showBroadcastButton).isFalse() in onBroadcastStarted_flagOff_currentMediaDeviceDataIsBroadcasting()
799 assertThat(data.showBroadcastButton).isTrue() in onBroadcastStarted_legacy_currentMediaDeviceDataIsBroadcasting()
819 assertThat(data.showBroadcastButton).isTrue() in onBroadcastStarted_legacy_currentMediaDeviceDataIsNotBroadcasting()
837 assertThat(data.showBroadcastButton).isFalse() in onBroadcastStopped_legacy_bluetoothLeBroadcastIsDisabledAndBroadcastingButtonIsGone()
854 assertThat(data.showBroadcastButton).isFalse() in onBroadcastStarted_currentMediaDeviceDataIsBroadcasting()
873 assertThat(data.showBroadcastButton).isFalse() in onBroadcastStarted_currentMediaDeviceDataIsNotBroadcasting()
891 assertThat(data.showBroadcastButton).isFalse() in onBroadcastStopped_bluetoothLeBroadcastIsDisabledAndBroadcastingButtonIsGone()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaControlViewModelTest.kt92 val device = MediaDeviceData(true, null, DEVICE_NAME, null, showBroadcastButton = true) in initMediaData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java669 private void bindOutputSwitcherAndBroadcastButton(boolean showBroadcastButton, MediaData data) { in bindOutputSwitcherAndBroadcastButton() argument
680 if (showBroadcastButton) { in bindOutputSwitcherAndBroadcastButton()
730 if (showBroadcastButton) { in bindOutputSwitcherAndBroadcastButton()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanelTest.kt202 MediaDeviceData(false, null, DISABLED_DEVICE_NAME, null, showBroadcastButton = false) in <lambda>()
330 MediaDeviceData(true, null, name, null, showBroadcastButton = shouldShowBroadcastButton) in <lambda>()