/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/ |
D | MediaDataCombineLatestTest.java | 68 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()
|
D | MediaControlPanelTest.kt | 212 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()
|
D | MediaDataFilterTest.kt | 81 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()
|
D | MediaSessionBasedFilterTest.kt | 57 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()
|
D | MediaDataManagerTest.kt | 88 @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()
|
D | MediaTimeoutListenerTest.kt | 73 private lateinit var mediaData: MediaData 97 mediaData = MediaData(USER_ID, true, 0, PACKAGE, null, null, SESSION_TITLE, null, in setup()
|
D | MediaDeviceManagerTest.kt | 83 private lateinit var mediaData: MediaData in eq() 104 mediaData = MediaData(USER_ID, true, 0, PACKAGE, null, null, SESSION_TITLE, null, in eq()
|
D | MediaResumeListenerTest.kt | 96 private lateinit var data: MediaData in capture() 131 data = MediaData( in capture()
|
D | MediaPlayerDataTest.kt | 166 MediaData(0, false, 0, app, null, null, null, null, emptyList(), emptyList<Int>(), "",
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaDataFilter.kt | 66 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>()
|
D | MediaTimeoutListener.kt | 56 data: MediaData, in onMediaDataLoaded() 120 data: MediaData 127 var mediaData: MediaData = data
|
D | MediaDataCombineLatest.kt | 28 private val entries: MutableMap<String, Pair<MediaData?, MediaDeviceData?>> = mutableMapOf() 33 data: MediaData, in onMediaDataLoaded()
|
D | MediaSessionBasedFilter.kt | 97 data: MediaData, in <lambda>() 170 info: MediaData, in <lambda>()
|
D | MediaDataManager.kt | 80 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()
|
D | MediaData.kt | 25 data class MediaData( dataClass
|
D | MediaCarouselController.kt | 210 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()
|
D | MediaDeviceManager.kt | 69 data: MediaData, in <lambda>()
|
D | MediaHost.kt | 62 data: MediaData, in <lambda>()
|
D | MediaResumeListener.kt | 161 data: MediaData, in onMediaDataLoaded()
|
D | MediaControlPanel.java | 263 public void bindPlayer(@NonNull MediaData data, String key) { in bindPlayer()
|
/frameworks/base/packages/SystemUI/docs/ |
D | media-controls.md | 58 * MediaData.kt 67 * Converts media notifications and resumable media info into `MediaData`
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationMediaManager.java | 55 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()
|