Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaDataManager.kt294 it.resumeAction = action in setResumeAction()
310 val resumeData = LOADING.copy(packageName = packageName, resumeAction = action, in addResumptionControls()
475 resumeAction: Runnable, in loadMediaDataInBgForResumption()
503 val mediaAction = getResumeMediaAction(resumeAction) in loadMediaDataInBgForResumption()
509 resumeAction = resumeAction, resumption = true, notificationKey = packageName, in loadMediaDataInBgForResumption()
629 val resumeAction: Runnable? = mediaEntries[key]?.resumeAction in loadMediaDataInBg() constant
635 active, resumeAction = resumeAction, isLocalSession = isLocalSession, in loadMediaDataInBg()
760 if (useMediaResumption && removed?.resumeAction != null && removed?.isLocalSession) { in onNotificationRemoved()
763 val resumeAction = getResumeMediaAction(removed.resumeAction!!) in onNotificationRemoved() constant
764 val updated = removed.copy(token = null, actions = listOf(resumeAction), in onNotificationRemoved()
DMediaResumeListener.kt89 val resumeAction = getResumeAction(component) in addTrack() constant
98 mediaDataManager.addResumptionControls(currentUserId, desc, resumeAction, token, in addTrack()
172 if (data.resumeAction == null && !data.hasCheckedForResume && data.isLocalSession) { in onMediaDataLoaded()
DMediaData.kt83 var resumeAction: Runnable?, variable in com.android.systemui.media.MediaData
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaDataManagerTest.kt170 clickIntent = null, device = null, active = true, resumeAction = null) in testSetTimedOut_deactivatesMedia()
224 mediaDataManager.onMediaDataLoaded(KEY, null, data.copy(resumeAction = Runnable {})) in testOnNotificationRemoved_withResumption()
247 val resumableData = data.copy(resumeAction = Runnable {}) in testOnNotificationRemoved_twoWithResumption()
282 val dataRemoteWithResume = data.copy(resumeAction = Runnable {}, isLocalSession = false) in testOnNotificationRemoved_withResumption_butNotLocal()
468 mediaDataManager.onMediaDataLoaded(KEY, null, data.copy(resumeAction = Runnable {})) in testOnActiveMediaConverted_doesNotUpdateLastActiveTime()
DMediaResumeListenerTest.kt148 resumeAction = null) in capture()
241 val dataCopy = data.copy(resumeAction = null, hasCheckedForResume = false) in capture()
316 val dataCopy = data.copy(resumeAction = null, hasCheckedForResume = false) in capture()
DMediaTimeoutListenerTest.kt99 device = null, active = true, resumeAction = null) in setup()
DMediaDeviceManagerTest.kt106 device = null, active = true, resumeAction = null) in eq()
DMediaSessionBasedFilterTest.kt73 resumeAction = null,