Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaDataCombineLatestTest.java68 private MediaData mMediaData;
76 mMediaData = new MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, in setUp()
109 ArgumentCaptor<MediaData> captor = ArgumentCaptor.forClass(MediaData.class); in emitEventAfterDeviceFirst()
123 ArgumentCaptor<MediaData> captor = ArgumentCaptor.forClass(MediaData.class); in emitEventAfterMediaFirst()
140 ArgumentCaptor<MediaData> captor = ArgumentCaptor.forClass(MediaData.class); in migrateKeyMediaFirst()
156 ArgumentCaptor<MediaData> captor = ArgumentCaptor.forClass(MediaData.class); in migrateKeyDeviceFirst()
174 ArgumentCaptor<MediaData> captor = ArgumentCaptor.forClass(MediaData.class); in migrateKeyMediaAfter()
192 ArgumentCaptor<MediaData> captor = ArgumentCaptor.forClass(MediaData.class); in migrateKeyDeviceAfter()
231 ArgumentCaptor<MediaData> captor = ArgumentCaptor.forClass(MediaData.class); in mediaDataKeyUpdated()
DMediaControlPanelTest.kt212 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindWhenUnattached()
221 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindText()
231 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindDevice()
244 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindDisabledDevice()
258 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindNullDevice()
269 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindDeviceResumptionPlayer()
327 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in dismissButtonClick()
341 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in dismissButtonDisabled()
355 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in dismissButtonClick_notInManager()
DMediaDataFilterTest.kt81 private lateinit var dataMain: MediaData in eq()
82 private lateinit var dataGuest: MediaData in eq()
98 dataMain = MediaData(USER_MAIN, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in eq()
101 dataGuest = MediaData(USER_GUEST, true, BG_COLOR, APP, null, ARTIST, TITLE, null, in eq()
DMediaSessionBasedFilterTest.kt57 private val info = MediaData(
117 private lateinit var mediaData1: MediaData in eq()
118 private lateinit var mediaData2: MediaData in eq()
119 private lateinit var mediaData3: MediaData in eq()
120 private lateinit var mediaData4: MediaData in eq()
DMediaDataManagerTest.kt88 @Captor lateinit var mediaDataCaptor: ArgumentCaptor<MediaData>
167 val data = MediaData(userId = USER_ID, initialized = true, backgroundColor = 0, app = null, in testSetTimedOut_deactivatesMedia()
187 mediaDataManager.onMediaDataLoaded(KEY, oldKey = null, data = mock(MediaData::class.java)) in testOnMetaDataLoaded_callsListener()
208 mediaDataManager.onMediaDataLoaded(KEY, oldKey = null, data = mock(MediaData::class.java)) in testOnNotificationRemoved_callsListener()
319 mediaDataManager.onMediaDataLoaded(KEY, oldKey = null, data = mock(MediaData::class.java)) in testDismissMedia_listenerCalled()
DMediaTimeoutListenerTest.kt73 private lateinit var mediaData: MediaData
97 mediaData = MediaData(USER_ID, true, 0, PACKAGE, null, null, SESSION_TITLE, null, in setup()
DMediaDeviceManagerTest.kt83 private lateinit var mediaData: MediaData in eq()
104 mediaData = MediaData(USER_ID, true, 0, PACKAGE, null, null, SESSION_TITLE, null, in eq()
DMediaResumeListenerTest.kt96 private lateinit var data: MediaData in capture()
131 data = MediaData( in capture()
DMediaPlayerDataTest.kt166 MediaData(0, false, 0, app, null, null, null, null, emptyList(), emptyList<Int>(), "",
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaDataFilter.kt66 private val allEntries: LinkedHashMap<String, MediaData> = LinkedHashMap() in <lambda>()
68 private val userEntries: LinkedHashMap<String, MediaData> = LinkedHashMap() in <lambda>()
85 data: MediaData, in <lambda>()
267 sortedEntries: SortedMap<String, MediaData> in <lambda>()
DMediaTimeoutListener.kt56 data: MediaData, in onMediaDataLoaded()
120 data: MediaData
127 var mediaData: MediaData = data
DMediaDataCombineLatest.kt28 private val entries: MutableMap<String, Pair<MediaData?, MediaDeviceData?>> = mutableMapOf()
33 data: MediaData, in onMediaDataLoaded()
DMediaSessionBasedFilter.kt97 data: MediaData, in <lambda>()
170 info: MediaData, in <lambda>()
DMediaDataManager.kt80 private val LOADING = MediaData(-1, false, 0, null, null, null, null, null, in <lambda>()
149 private val mediaEntries: LinkedHashMap<String, MediaData> = LinkedHashMap()
374 private fun notifyMediaDataLoaded(key: String, oldKey: String?, info: MediaData) { in addInternalListener()
506 onMediaDataLoaded(packageName, null, MediaData(userId, true, bgColor, appName, in loadMediaDataInBgForResumption()
632 onMediaDataLoaded(key, oldKey, MediaData(sbn.normalizedUserId, true, bgColor, app, in loadMediaDataInBg()
707 fun onMediaDataLoaded(key: String, oldKey: String?, data: MediaData) { in onMediaDataLoaded()
841 data: MediaData, in onSwipeToDismiss()
DMediaData.kt25 data class MediaData( dataClass
DMediaCarouselController.kt210 data: MediaData, in <lambda>()
353 private fun addOrUpdatePlayer(key: String, oldKey: String?, data: MediaData): Boolean { in <lambda>()
770 private val EMPTY = MediaData(-1, false, 0, null, null, null, null, null,
781 val data: MediaData,
795 … fun addMediaPlayer(key: String, data: MediaData, player: MediaControlPanel, clock: SystemClock) { in addMediaPlayer()
DMediaDeviceManager.kt69 data: MediaData, in <lambda>()
DMediaHost.kt62 data: MediaData, in <lambda>()
DMediaResumeListener.kt161 data: MediaData, in onMediaDataLoaded()
DMediaControlPanel.java263 public void bindPlayer(@NonNull MediaData data, String key) { in bindPlayer()
/frameworks/base/packages/SystemUI/docs/
Dmedia-controls.md58 * MediaData.kt
67 * Converts media notifications and resumable media info into `MediaData`
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java55 import com.android.systemui.media.MediaData;
248 @Nullable String oldKey, @NonNull MediaData data, boolean immediately, in setupNotifPipeline()
322 @Nullable String oldKey, @NonNull MediaData data, boolean immediately, in setupNEM()