Home
last modified time | relevance | path

Searched refs:mediaKey (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaControlPanelTest.kt325 val mediaKey = "key for dismissal" in dismissButtonClick() constant
330 player.bindPlayer(state, mediaKey) in dismissButtonClick()
334 verify(mediaDataManager).dismissMediaData(eq(mediaKey), anyLong()) in dismissButtonClick()
339 val mediaKey = "key for dismissal" in dismissButtonDisabled() constant
344 player.bindPlayer(state, mediaKey) in dismissButtonDisabled()
351 val mediaKey = "key for dismissal" in dismissButtonClick_notInManager() constant
352 whenever(mediaDataManager.dismissMediaData(eq(mediaKey), anyLong())).thenReturn(false) in dismissButtonClick_notInManager()
358 player.bindPlayer(state, mediaKey) in dismissButtonClick_notInManager()
363 verify(mediaDataManager).dismissMediaData(eq(mediaKey), anyLong()) in dismissButtonClick_notInManager()
364 verify(mediaCarouselController).removePlayer(eq(mediaKey), eq(false), eq(false)) in dismissButtonClick_notInManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaTimeoutListener.kt208 private fun expireMediaTimeout(mediaKey: String, reason: String) { in expireMediaTimeout()
211 Log.v(TAG, "media timeout cancelled for $mediaKey, reason: $reason") in expireMediaTimeout()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp88 ConfigMapper(std::string mediaKey, C2String c2struct, C2String c2field) in ConfigMapper()
89 : mDomain(Domain::ALL), mMediaKey(mediaKey), mStruct(c2struct), mField(c2field) { } in ConfigMapper()
173 std::string mediaKey() const { return mMediaKey; } in mediaKey() function
263 auto it = mConfigMappers.find(cm.mediaKey()); in add()
274 cm.mediaKey().c_str(), cm.path().c_str()); in add()
277 mConfigMappers.emplace(cm.mediaKey(), eqs); in add()