Home
last modified time | relevance | path

Searched refs:dismissMediaData (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaCarouselController.kt432 dismissMediaData: Boolean = true, in <lambda>()
444 if (dismissMediaData) { in <lambda>()
446 mediaManager.dismissMediaData(key, delay = 0L) in <lambda>()
462 removePlayer(key, dismissMediaData = false, dismissRecommendation = false) in <lambda>()
468 removePlayer(key, dismissMediaData = false, dismissRecommendation = false) in <lambda>()
DMediaControlPanel.java458 if (!mMediaDataManagerLazy.get().dismissMediaData(mKey, in bindPlayer()
DMediaDataManager.kt436 fun dismissMediaData(key: String, delay: Long): Boolean { in dismissMediaData() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaControlPanelTest.kt334 verify(mediaDataManager).dismissMediaData(eq(mediaKey), anyLong()) in dismissButtonClick()
352 whenever(mediaDataManager.dismissMediaData(eq(mediaKey), anyLong())).thenReturn(false) in dismissButtonClick_notInManager()
363 verify(mediaDataManager).dismissMediaData(eq(mediaKey), anyLong()) in dismissButtonClick_notInManager()
DMediaDataManagerTest.kt320 val removed = mediaDataManager.dismissMediaData(KEY, 0L) in testDismissMedia_listenerCalled()
331 val removed = mediaDataManager.dismissMediaData(KEY, 0L) in testDismissMedia_keyDoesNotExist_returnsFalse()