Home
last modified time | relevance | path

Searched refs:mMediaSessionManager (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipMediaController.kt75 private val mMediaSessionManager: MediaSessionManager? in <lambda>() constant in com.android.wm.shell.common.pip.PipMediaController
141 mMediaSessionManager = mContext.getSystemService( in <lambda>()
152 mMediaSessionManager!!.getActiveSessionsForUser( in <lambda>()
279 mMediaSessionManager!!.removeOnActiveSessionsChangedListener(mSessionsChangedListener) in <lambda>()
280 mMediaSessionManager.addOnActiveSessionsChangedListener( in <lambda>()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java53 MediaSessionManager mMediaSessionManager; field in PhoneFallbackEventHandler
309 if (mMediaSessionManager == null) { in getMediaSessionManager()
310 mMediaSessionManager = in getMediaSessionManager()
313 return mMediaSessionManager; in getMediaSessionManager()
DPhoneWindow.java340 private MediaSessionManager mMediaSessionManager; field in PhoneWindow
2099 if (mMediaSessionManager == null) { in getMediaSessionManager()
2100 mMediaSessionManager = (MediaSessionManager) getContext().getSystemService( in getMediaSessionManager()
2103 return mMediaSessionManager; in getMediaSessionManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputControllerTest.java120 private MediaSessionManager mMediaSessionManager; field in MediaOutputControllerTest
189 when(mMediaSessionManager.getActiveSessionsForUser(any(), in setUp()
192 doReturn(mMediaSessionManager).when(mSpyContext).getSystemService( in setUp()
203 mMediaSessionManager, in setUp()
286 verifyZeroInteractions(mMediaSessionManager); in start_MediaNotificationFound_mediaControllerNotInitFromSession()
297 mMediaSessionManager, in start_withoutPackageName_verifyMediaControllerInit()
339 mMediaSessionManager, in stop_withoutPackageName_verifyMediaControllerDeinit()
595 mMediaSessionManager, in getAppSourceName_packageNameIsNull_returnsNull()
629 mMediaSessionManager, in getNotificationSmallIcon_packageNameIsNull_returnsNull()
676 mMediaSessionManager, in addDeviceToPlayMedia_callsLocalMediaManager()
[all …]
DMediaOutputBaseDialogTest.java80 private MediaSessionManager mMediaSessionManager = mock(MediaSessionManager.class); field in MediaOutputBaseDialogTest
124 when(mMediaSessionManager.getActiveSessions(any())).thenReturn(mMediaControllers); in setUp()
132 mMediaSessionManager, in setUp()
DMediaOutputDialogTest.java88 private final MediaSessionManager mMediaSessionManager = mock(MediaSessionManager.class); field in MediaOutputDialogTest
136 when(mMediaSessionManager.getActiveSessionsForUser(any(), in setUp()
146 mMediaSessionManager, in setUp()
DMediaOutputBroadcastDialogTest.java85 private final MediaSessionManager mMediaSessionManager = mock(MediaSessionManager.class); field in MediaOutputBroadcastDialogTest
133 mMediaSessionManager, in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateTracker.java291 MediaSessionManager mMediaSessionManager; field in BaseAppStateTracker.Injector
313 mMediaSessionManager = context.getSystemService(MediaSessionManager.class); in onSystemReady()
377 return mMediaSessionManager; in getMediaSessionManager()
/frameworks/base/media/java/android/media/
DMediaRouter2Manager.java85 private final MediaSessionManager mMediaSessionManager; field in MediaRouter2Manager
127 mMediaSessionManager = (MediaSessionManager) context in MediaRouter2Manager()
224 for (MediaController controller : mMediaSessionManager.getActiveSessions(null)) { in getMediaControllerForRoutingSession()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputController.java131 private final MediaSessionManager mMediaSessionManager; field in MediaOutputController
200 mMediaSessionManager = mediaSessionManager; in MediaOutputController()
320 mMediaSessionManager.getActiveSessionsForUser( in getMediaController()
972 mMediaSessionManager, in launchMediaOutputBroadcastDialog()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DInfoMediaManagerTest.java132 private MediaSessionManager mMediaSessionManager; field in InfoMediaManagerTest
145 doReturn(mMediaSessionManager).when(mContext).getSystemService( in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java297 @Mock private MediaSessionManager mMediaSessionManager; field in BackgroundRestrictionTest
3426 return BackgroundRestrictionTest.this.mMediaSessionManager; in getMediaSessionManager()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java364 @Nullable private volatile MediaSessionManager mMediaSessionManager; field in AudioService
1518 if (mMediaSessionManager == null) { in getMediaSessionManager()
1519 mMediaSessionManager = (MediaSessionManager) mContext in getMediaSessionManager()
1522 return mMediaSessionManager; in getMediaSessionManager()