/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDeviceManagerTest.kt | 125 private lateinit var mediaData: MediaData variable in com.android.systemui.media.controls.domain.pipeline.MediaDeviceManagerTest 161 mediaData = in setUp() 185 manager.onMediaDataLoaded(KEY, null, mediaData) in loadMediaData() 191 manager.onMediaDataLoaded(KEY, null, mediaData) in loadAndRemoveMediaData() 200 manager.onMediaDataLoaded(KEY, null, mediaData.copy(token = null)) in loadMediaDataWithNullToken() 211 manager.onMediaDataLoaded(KEY_OLD, null, mediaData) in loadWithNewKey() 214 manager.onMediaDataLoaded(KEY, KEY_OLD, mediaData) in loadWithNewKey() 229 manager.onMediaDataLoaded(KEY, null, mediaData) in newKeySameAsOldKey() 232 manager.onMediaDataLoaded(KEY, KEY, mediaData) in newKeySameAsOldKey() 240 manager.onMediaDataLoaded(KEY, oldKey, mediaData) in unknownOldKey() [all …]
|
D | MediaTimeoutListenerTest.kt | 87 private lateinit var mediaData: MediaData variable in com.android.systemui.media.controls.domain.pipeline.MediaTimeoutListenerTest 130 mediaData = in setup() 137 resumeData = mediaData.copy(token = null, active = false, resumption = true) in setup() 146 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataLoaded_registersPlaybackListener() 152 mediaTimeoutListener.onMediaDataLoaded(KEY, KEY, mediaData) in testOnMediaDataLoaded_registersPlaybackListener() 158 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataLoaded_registersTimeout_whenPaused() 168 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataRemoved_unregistersPlaybackListener() 181 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataRemoved_clearsTimeout() 193 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataLoaded_migratesKeys() 200 mediaTimeoutListener.onMediaDataLoaded(newKey, KEY, mediaData) in testOnMediaDataLoaded_migratesKeys() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/ |
D | MediaControlInteractorTest.kt | 84 var mediaData = MediaData(userId = USER_ID, instanceId = instanceId, artist = ARTIST) in onMediaDataUpdated() variable 86 mediaDataFilter.onMediaDataLoaded(KEY, KEY, mediaData) in onMediaDataUpdated() 91 mediaData = MediaData(userId = USER_ID, instanceId = instanceId, artist = ARTIST_2) in onMediaDataUpdated() 93 mediaDataFilter.onMediaDataLoaded(KEY, KEY, mediaData) in onMediaDataUpdated() 98 mediaData = in onMediaDataUpdated() 105 mediaDataFilter.onMediaDataLoaded(KEY, KEY, mediaData) in onMediaDataUpdated() 107 assertThat(controlModel?.instanceId).isNotEqualTo(mediaData.instanceId) in onMediaDataUpdated() 224 var mediaData = MediaData(userId = USER_ID, instanceId = instanceId, artist = ARTIST) in removeMediaControl() variable 225 kosmos.mediaDataRepository.addMediaEntry(KEY, mediaData) in removeMediaControl()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaControlPanelTest.kt | 203 private lateinit var mediaData: MediaData in <lambda>() variable in com.android.systemui.media.controls.ui.controller.MediaControlPanelTest 350 mediaData = in <lambda>() 509 val state = mediaData.copy(token = null) in <lambda>() 525 val state = mediaData.copy(semanticActions = semanticActions) in <lambda>() 579 val state = mediaData.copy(semanticActions = semanticActions) in <lambda>() 611 val state = mediaData.copy(semanticActions = semanticActions) in <lambda>() 637 val state = mediaData.copy(artwork = albumArt) in <lambda>() 650 val state = mediaData.copy(artwork = albumArt) in <lambda>() 665 val state0 = mediaData.copy(artwork = null) in <lambda>() 666 val state1 = mediaData.copy(artwork = redArt) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/data/repository/ |
D | MediaDataRepository.kt | 108 val mediaData = entries.remove(key) in removeMediaEntry() constant 110 return mediaData in removeMediaEntry() 115 val mediaData = entries.put(key, data) in addMediaEntry() constant 117 return mediaData in addMediaEntry()
|
D | MediaFilterRepository.kt | 131 val mediaData = entries.remove(key) in <lambda>() constant 133 return mediaData in <lambda>() 149 val mediaData = entries.remove(key) in <lambda>() constant 151 return mediaData in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDataFilterImpl.kt | 176 val mediaData = sorted[lastActiveId]!!.copy(active = true) in <lambda>() constant 178 mediaData.appUid, in <lambda>() 179 mediaData.packageName, in <lambda>() 180 mediaData.instanceId in <lambda>() 186 mediaData.instanceId, in <lambda>() 187 mediaData.active, in <lambda>() 195 mediaData, in <lambda>() 227 mediaFilterRepository.removeMediaEntry(key)?.let { mediaData -> in <lambda>() method 228 val instanceId = mediaData.instanceId in <lambda>()
|
D | LegacyMediaDataFilterImpl.kt | 175 val mediaData = sorted.get(lastActiveKey)!!.copy(active = true) in <lambda>() constant 177 mediaData.appUid, in <lambda>() 178 mediaData.packageName, in <lambda>() 179 mediaData.instanceId in <lambda>() 185 mediaData, in <lambda>() 224 userEntries.get(lastActiveKey)?.let { mediaData -> in <lambda>() method 226 it.onMediaDataLoaded(lastActiveKey, lastActiveKey, mediaData, immediately) in <lambda>()
|
D | MediaDataProcessor.kt | 598 mediaDataRepository.mediaEntries.value[key]?.let { mediaData -> in <lambda>() method 599 if (mediaData.isLocalSession()) { in <lambda>() 600 mediaData.token?.let { in <lambda>()
|
D | LegacyMediaDataManagerImpl.kt | 643 mediaEntries[key]?.let { mediaData -> in dismissMediaData() method 644 if (mediaData.isLocalSession()) { in dismissMediaData() 645 mediaData.token?.let { in dismissMediaData()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/ |
D | CommunalMediaRepositoryImplTest.kt | 47 @Mock private lateinit var mediaData: MediaData variable in com.android.systemui.communal.data.repository.CommunalMediaRepositoryImplTest 91 whenever(mediaData.createdTimestampMillis).thenReturn(1234L) in mediaModel_updatesWhenMediaDataLoaded() 92 mediaDataListenerCaptor.value.onMediaDataLoaded("key", null, mediaData) in mediaModel_updatesWhenMediaDataLoaded() 108 mediaDataListenerCaptor.value.onMediaDataLoaded("key", null, mediaData) in mediaModel_updatesWhenMediaDataRemoved()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPWriter.cpp | 979 const uint8_t *mediaData = in sendSPSPPSIfIFrame() local 982 if ((mediaData[0] & H264_NALU_MASK) != H264_NALU_IFRAME) { in sendSPSPPSIfIFrame() 1001 const uint8_t *mediaData = in sendVPSSPSPPSIfIFrame() local 1004 int nalType = ((mediaData[0] >> 1) & H265_NALU_MASK); in sendVPSSPSPPSIfIFrame() 1040 const uint8_t *mediaData = in sendHEVCData() local 1111 mediaData, mediaBuf->range_length()); in sendHEVCData() 1123 unsigned nalType = (mediaData[0] >> 1) & H265_NALU_MASK; in sendHEVCData() 1124 ALOGV("H265 nalType 0x%x, data[0]=0x%x", nalType, mediaData[0]); in sendHEVCData() 1174 ALOGV("H265 payload header 0x%x %x", mediaData[0], mediaData[1]); in sendHEVCData() 1176 data[12 + rtpExtIndex] = mediaData[0] & 0x81; in sendHEVCData() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaCarouselController.kt | 1107 MediaPlayerData.mediaData().forEach { (key, data, isSsMediaRec) -> in <lambda>() 1654 private val mediaData: MutableMap<String, MediaSortKey> = mutableMapOf() constant 1683 mediaData.put(key, sortKey) in addMediaPlayer() 1711 mediaData.put(key, sortKey) in addMediaRecommendation() 1726 mediaData.remove(oldKey)?.let { in moveIfExists() 1734 mediaData.put(newKey, it) in moveIfExists() 1743 return mediaData.get(key)?.let { mediaPlayers.get(it) } in getMediaPlayer() 1747 val sortKey = mediaData.get(key) in getMediaPlayerIndex() 1762 mediaData.remove(key)?.let { in removeMediaPlayer() 1772 fun mediaData() = in mediaData() method [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | MediaControlViewModelTest.kt | 78 val mediaData = initMediaData() in addMediaControl_mediaControlViewModelIsLoaded() constant 80 mediaDataFilter.onMediaDataLoaded(KEY, KEY, mediaData) in addMediaControl_mediaControlViewModelIsLoaded()
|
D | MediaCarouselViewModelTest.kt | 172 val mediaData = in loadMediaControl() constant 181 mediaDataFilter.onMediaDataLoaded(key, key, mediaData) in loadMediaControl()
|