Home
last modified time | relevance | path

Searched refs:ResumeMediaBrowser (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/resume/
DResumeMediaBrowserFactory.java49 public ResumeMediaBrowser create(ResumeMediaBrowser.Callback callback, in create()
51 return new ResumeMediaBrowser(mContext, callback, componentName, mBrowserFactory, mLogger, in create()
DMediaResumeListener.kt77 private var mediaBrowser: ResumeMediaBrowser? = null
107 object : ResumeMediaBrowser.Callback() {
111 browser: ResumeMediaBrowser in addTrack()
175 listString?.split(ResumeMediaBrowser.DELIMITER.toRegex())?.dropLastWhile { in loadSavedComponents()
281 object : ResumeMediaBrowser.Callback() { in tryUpdateResumptionList()
294 browser: ResumeMediaBrowser in tryUpdateResumptionList()
325 if (resumeComponents.size > ResumeMediaBrowser.MAX_RESUMPTION_CONTROLS) { in updateResumptionList()
338 sb.append(ResumeMediaBrowser.DELIMITER) in writeSharedPrefs()
DResumeMediaBrowser.java42 public class ResumeMediaBrowser { class
69 public ResumeMediaBrowser( in ResumeMediaBrowser() method in ResumeMediaBrowser
120 ResumeMediaBrowser.this);
390 ResumeMediaBrowser browser) { in addTrack()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/resume/
DMediaResumeListenerTest.kt90 @Mock private lateinit var resumeBrowser: ResumeMediaBrowser in capture()
98 @Captor lateinit var callbackCaptor: ArgumentCaptor<ResumeMediaBrowser.Callback> in capture()
410 .split(ResumeMediaBrowser.DELIMITER.toRegex()) in capture()
535 .split(ResumeMediaBrowser.DELIMITER.toRegex()) in capture()
606 val newResumeBrowser = mock(ResumeMediaBrowser::class.java) in capture()
DResumeMediaBrowserTest.kt65 @Mock lateinit var callback: ResumeMediaBrowser.Callback in capture()
387 ) : ResumeMediaBrowser(context, callback, componentName, browserFactory, logger, userId) { in capture()
/frameworks/base/packages/SystemUI/docs/
Dmedia-controls.md14 * Blue: Internal listeners; all except `MediaDataManager` and `ResumeMediaBrowser` implement [`Medi…
80 * ResumeMediaBrowser.java
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessor.kt75 import com.android.systemui.media.controls.domain.resume.ResumeMediaBrowser in <lambda>()
1512 if (numResume > ResumeMediaBrowser.MAX_RESUMPTION_CONTROLS) { in <lambda>()
1516 .subList(0, numResume - ResumeMediaBrowser.MAX_RESUMPTION_CONTROLS) in <lambda>()
DLegacyMediaDataManagerImpl.kt72 import com.android.systemui.media.controls.domain.resume.ResumeMediaBrowser in <lambda>()
1568 if (numResume > ResumeMediaBrowser.MAX_RESUMPTION_CONTROLS) { in convertToResumePlayer()
1572 .subList(0, numResume - ResumeMediaBrowser.MAX_RESUMPTION_CONTROLS) in convertToResumePlayer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessorTest.kt60 import com.android.systemui.media.controls.domain.resume.ResumeMediaBrowser
914 for (i in 0..ResumeMediaBrowser.MAX_RESUMPTION_CONTROLS) { in testOnNotificationRemoved_withResumption_tooManyPlayers()