Home
last modified time | relevance | path

Searched refs:mediaDataManager (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaDataManagerTest.kt62 lateinit var mediaDataManager: MediaDataManager variable in com.android.systemui.media.MediaDataManagerTest
69 mediaDataManager = MediaDataManager(context, backgroundExecutor, foregroundExecutor, in setup()
92 mediaDataManager.destroy() in tearDown()
101 mediaDataManager.onNotificationAdded(KEY, mediaNotification) in testSetTimedOut_deactivatesMedia()
102 mediaDataManager.onMediaDataLoaded(KEY, oldKey = null, data = data) in testSetTimedOut_deactivatesMedia()
104 mediaDataManager.setTimedOut(KEY, timedOut = true) in testSetTimedOut_deactivatesMedia()
110 mediaDataManager.onNotificationAdded(KEY, mediaNotification) in testLoadsMetadataOnBackground()
117 mediaDataManager.addListener(listener) in testOnMetaDataLoaded_callsListener()
118 mediaDataManager.onNotificationAdded(KEY, mediaNotification) in testOnMetaDataLoaded_callsListener()
119 mediaDataManager.onMediaDataLoaded(KEY, oldKey = null, data = mock(MediaData::class.java)) in testOnMetaDataLoaded_callsListener()
[all …]
DMediaDataFilterTest.kt67 private lateinit var mediaDataManager: MediaDataManager in eq() variable in com.android.systemui.media.MediaDataFilterTest
82 mediaDataManager, lockscreenUserManager, executor) in eq()
214 verify(mediaDataManager).setTimedOut(eq(KEY), eq(true)) in eq()
DMediaDeviceManagerTest.kt71 @Mock private lateinit var mediaDataManager: MediaDataManager in eq() variable in com.android.systemui.media.MediaDeviceManagerTest
91 manager = MediaDeviceManager(context, lmmFactory, mr2, fakeExecutor, mediaDataManager, in eq()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaResumeListener.kt56 private lateinit var mediaDataManager: MediaDataManager variable in com.android.systemui.media.MediaResumeListener
91 mediaDataManager.addResumptionControls(currentUserId, desc, resumeAction, token, in addTrack()
108 mediaDataManager = manager in setManager()
114 mediaDataManager.setMediaResumptionEnabled(useMediaResumption) in setManager()
173 mediaDataManager.setResumeAction(key, null) in onMediaDataLoaded()
190 mediaDataManager.setResumeAction(key, getResumeAction(componentName)) in tryUpdateResumptionList()
198 mediaDataManager.setResumeAction(key, null) in tryUpdateResumptionList()
DMediaDataFilter.kt44 private val mediaDataManager: MediaDataManager, in <lambda>() constant in com.android.systemui.media.MediaDataFilter
124 mediaDataManager.setTimedOut(it, timedOut = true) in <lambda>()
DMediaDeviceManager.kt42 private val mediaDataManager: MediaDataManager, in <lambda>() constant in com.android.systemui.media.MediaDeviceManager
49 mediaDataManager.addListener(this) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/dagger/
DStatusBarDependenciesModule.java105 MediaDataManager mediaDataManager) { in provideNotificationMediaManager() argument
115 mediaDataManager); in provideNotificationMediaManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java193 MediaDataManager mediaDataManager) { in NotificationMediaManager() argument
207 mMediaDataManager = mediaDataManager; in NotificationMediaManager()
213 mediaDataManager.onNotificationAdded(entry.getKey(), entry.getSbn()); in NotificationMediaManager()
218 mediaDataManager.onNotificationAdded(entry.getKey(), entry.getSbn()); in NotificationMediaManager()
238 mediaDataManager.onNotificationRemoved(entry.getKey()); in NotificationMediaManager()