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/controls/domain/pipeline/
DLegacyMediaDataManagerImpl.kt131 resumeAction = null, in <lambda>()
429 it.resumeAction = action in setResumeAction()
457 resumeAction = action, in addResumptionControls()
703 resumeAction: Runnable, in loadMediaDataInBgForResumption()
745 val mediaAction = getResumeMediaAction(resumeAction) in loadMediaDataInBgForResumption()
768 resumeAction = resumeAction, in loadMediaDataInBgForResumption()
926 val resumeAction: Runnable? = mediaEntries[key]?.resumeAction in loadMediaDataInBg() constant
948 resumeAction = resumeAction, in loadMediaDataInBg()
1463 return useMediaResumption && data.resumeAction != null && isEligibleForResume in isAbleToResume()
1523 val resumeAction = data.resumeAction?.let { getResumeMediaAction(it) } in convertToResumePlayer() constant
[all …]
DMediaDataProcessor.kt397 it.resumeAction = action in <lambda>()
426 resumeAction = action, in <lambda>()
649 resumeAction: Runnable, in <lambda>()
691 val mediaAction = getResumeMediaAction(resumeAction) in <lambda>()
714 resumeAction = resumeAction, in <lambda>()
871 val resumeAction: Runnable? = mediaDataRepository.mediaEntries.value[key]?.resumeAction in <lambda>() constant
894 resumeAction = resumeAction, in <lambda>()
1406 return useMediaResumption && data.resumeAction != null && isEligibleForResume in <lambda>()
1466 val resumeAction = data.resumeAction?.let { getResumeMediaAction(it) } in <lambda>() constant
1467 val actions = resumeAction?.let { listOf(resumeAction) } ?: emptyList() in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/
DMediaTestUtils.kt40 resumeAction = null,
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/resume/
DMediaResumeListener.kt117 val resumeAction = getResumeAction(component) in addTrack() constant
129 resumeAction, in addTrack()
254 if (data.resumeAction == null && !data.hasCheckedForResume && isEligibleForResume) { in onMediaDataLoaded()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessorTest.kt686 data.copy(song = SESSION_EMPTY_TITLE, resumeAction = Runnable {}) in testOnNotificationRemoved_emptyTitle_notConverted()
719 data.copy(song = SESSION_BLANK_TITLE, resumeAction = Runnable {}) in testOnNotificationRemoved_blankTitle_notConverted()
748 mediaDataProcessor.onMediaDataLoaded(KEY, null, data.copy(resumeAction = Runnable {})) in testOnNotificationRemoved_withResumption()
798 mediaDataProcessor.onMediaDataLoaded(KEY, null, data.copy(resumeAction = Runnable {})) in testOnNotificationRemoved_twoWithResumption()
799 mediaDataProcessor.onMediaDataLoaded(KEY_2, null, data2.copy(resumeAction = Runnable {})) in testOnNotificationRemoved_twoWithResumption()
839 data.copy(resumeAction = Runnable {}, playbackLocation = MediaData.PLAYBACK_CAST_LOCAL) in testOnNotificationRemoved_withResumption_butNotLocal()
868 data.copy(resumeAction = Runnable {}, playbackLocation = MediaData.PLAYBACK_CAST_LOCAL) in testOnNotificationRemoved_withResumption_isRemoteAndRemoteAllowed()
896 val dataRemoteWithResume = data.copy(resumeAction = Runnable {}) in testOnNotificationRemoved_withResumption_isRcnAndRemoteAllowed()
923 mediaDataProcessor.onMediaDataLoaded(KEY, null, data.copy(resumeAction = Runnable {})) in testOnNotificationRemoved_withResumption_tooManyPlayers()
1534 mediaDataProcessor.onMediaDataLoaded(KEY, null, data.copy(resumeAction = Runnable {})) in testOnActiveMediaConverted_updatesLastActiveTime()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/
DMediaData.kt65 var resumeAction: Runnable? = null, variable in com.android.systemui.media.controls.shared.model.MediaData
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/resume/
DMediaResumeListenerTest.kt290 val dataCopy = data.copy(resumeAction = null, hasCheckedForResume = false) in capture()
384 val dataCopy = data.copy(resumeAction = null, hasCheckedForResume = false) in capture()
529 val dataCopy = data.copy(resumeAction = null, hasCheckedForResume = false) in capture()
600 val dataCopy = data.copy(resumeAction = null, hasCheckedForResume = false) in capture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselController.kt1617 resumeAction = null,