/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipMediaController.kt | 75 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/ |
D | PhoneFallbackEventHandler.java | 53 MediaSessionManager mMediaSessionManager; field in PhoneFallbackEventHandler 309 if (mMediaSessionManager == null) { in getMediaSessionManager() 310 mMediaSessionManager = in getMediaSessionManager() 313 return mMediaSessionManager; in getMediaSessionManager()
|
D | PhoneWindow.java | 340 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/ |
D | MediaOutputControllerTest.java | 120 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 …]
|
D | MediaOutputBaseDialogTest.java | 80 private MediaSessionManager mMediaSessionManager = mock(MediaSessionManager.class); field in MediaOutputBaseDialogTest 124 when(mMediaSessionManager.getActiveSessions(any())).thenReturn(mMediaControllers); in setUp() 132 mMediaSessionManager, in setUp()
|
D | MediaOutputDialogTest.java | 88 private final MediaSessionManager mMediaSessionManager = mock(MediaSessionManager.class); field in MediaOutputDialogTest 136 when(mMediaSessionManager.getActiveSessionsForUser(any(), in setUp() 146 mMediaSessionManager, in setUp()
|
D | MediaOutputBroadcastDialogTest.java | 85 private final MediaSessionManager mMediaSessionManager = mock(MediaSessionManager.class); field in MediaOutputBroadcastDialogTest 133 mMediaSessionManager, in setUp()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseAppStateTracker.java | 291 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/ |
D | MediaRouter2Manager.java | 85 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/ |
D | MediaOutputController.java | 131 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/ |
D | InfoMediaManagerTest.java | 132 private MediaSessionManager mMediaSessionManager; field in InfoMediaManagerTest 145 doReturn(mMediaSessionManager).when(mContext).getSystemService( in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BackgroundRestrictionTest.java | 297 @Mock private MediaSessionManager mMediaSessionManager; field in BackgroundRestrictionTest 3426 return BackgroundRestrictionTest.this.mMediaSessionManager; in getMediaSessionManager()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 364 @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()
|