Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDeviceManager.kt43 import com.android.systemui.media.controls.shared.model.MediaDeviceData in <lambda>()
80 MediaDeviceData(enabled = false, icon = null, name = null, showBroadcastButton = false) in <lambda>()
138 private fun processDevice(key: String, oldKey: String?, device: MediaDeviceData?) { in <lambda>()
144 fun onMediaDeviceChanged(key: String, oldKey: String?, data: MediaDeviceData?) in <lambda>()
165 private var current: MediaDeviceData? = null in <lambda>()
264 MediaDeviceData( in <lambda>()
344 val activeDevice: MediaDeviceData? in <lambda>()
361 } ?: MediaDeviceData( in <lambda>()
397 MediaDeviceData( in <lambda>()
407 private fun getSassDevice(): MediaDeviceData? { in <lambda>()
[all …]
DMediaDataCombineLatest.kt20 import com.android.systemui.media.controls.shared.model.MediaDeviceData
29 private val entries: MutableMap<String, Pair<MediaData?, MediaDeviceData?>> = mutableMapOf()
64 override fun onMediaDeviceChanged(key: String, oldKey: String?, data: MediaDeviceData?) { in onMediaDeviceChanged()
DMediaDataProcessor.kt81 import com.android.systemui.media.controls.shared.model.MediaDeviceData in <lambda>()
806 var device: MediaDeviceData? = null in <lambda>()
825 MediaDeviceData( in <lambda>()
DLegacyMediaDataManagerImpl.kt78 import com.android.systemui.media.controls.shared.model.MediaDeviceData in <lambda>()
861 var device: MediaDeviceData? = null in loadMediaDataInBg()
880 MediaDeviceData( in loadMediaDataInBg()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/
DMediaData.kt57 val device: MediaDeviceData? = null,
160 data class MediaDeviceData class
186 fun equalsWithoutIcon(other: MediaDeviceData?): Boolean { in equalsWithoutIcon()
DMediaControlModel.kt38 val deviceData: MediaDeviceData?,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataCombineLatestTest.java37 import com.android.systemui.media.controls.shared.model.MediaDeviceData;
71 private MediaDeviceData mDeviceData;
83 mDeviceData = new MediaDeviceData(true, null, DEVICE_NAME, null, false); in setUp()
DMediaDeviceManagerTest.kt50 import com.android.systemui.media.controls.shared.model.MediaDeviceData
682 val dataCaptor = ArgumentCaptor.forClass(MediaDeviceData::class.java) in deviceIdChanged_informListener()
711 val dataCaptor = ArgumentCaptor.forClass(MediaDeviceData::class.java) in deviceNameChanged_informListener()
732 val dataCaptor = ArgumentCaptor.forClass(MediaDeviceData::class.java) in deviceIconChanged_doesNotCallListener()
751 MediaDeviceData(false, null, REMOTE_DEVICE_NAME, null, showBroadcastButton = false) in testRemotePlaybackDeviceOverride()
939 private fun captureDeviceData(key: String, oldKey: String? = null): MediaDeviceData { in captureDeviceData()
940 val captor = ArgumentCaptor.forClass(MediaDeviceData::class.java) in captureDeviceData()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaControlViewModelTest.kt34 import com.android.systemui.media.controls.shared.model.MediaDeviceData
92 val device = MediaDeviceData(true, null, DEVICE_NAME, null, showBroadcastButton = true) in initMediaData()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/resume/
DMediaResumeListenerTest.kt40 import com.android.systemui.media.controls.shared.model.MediaDeviceData
86 @Mock private lateinit var device: MediaDeviceData in capture()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanelTest.kt78 import com.android.systemui.media.controls.shared.model.MediaDeviceData in <lambda>()
200 private lateinit var device: MediaDeviceData in <lambda>()
202 MediaDeviceData(false, null, DISABLED_DEVICE_NAME, null, showBroadcastButton = false) in <lambda>()
330 MediaDeviceData(true, null, name, null, showBroadcastButton = shouldShowBroadcastButton) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java98 import com.android.systemui.media.controls.shared.model.MediaDeviceData;
674 final MediaDeviceData device = data.getDevice(); in bindOutputSwitcherAndBroadcastButton()