Home
last modified time | relevance | path

Searched refs:MediaSessionManager (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMediaController.java33 import android.media.session.MediaSessionManager;
34 import android.media.session.MediaSessionManager.OnActiveSessionsChangedListener;
71 private final MediaSessionManager mMediaSessionManager;
102 private final MediaSessionManager.OnActiveSessionsChangedListener mSessionsChangedListener =
124 (MediaSessionManager) context.getSystemService(Context.MEDIA_SESSION_SERVICE); in PipMediaController()
/frameworks/base/media/apex/java/android/media/
DMediaSession2Service.java32 import android.media.session.MediaSessionManager;
33 import android.media.session.MediaSessionManager.RemoteUserInfo;
80 private MediaSessionManager mMediaSessionManager;
106 (MediaSessionManager) getSystemService(Context.MEDIA_SESSION_SERVICE); in onCreate()
256 MediaSessionManager getMediaSessionManager() { in getMediaSessionManager()
DMediaSession2.java35 import android.media.session.MediaSessionManager;
36 import android.media.session.MediaSessionManager.RemoteUserInfo;
90 private final MediaSessionManager mSessionManager;
118 mSessionManager = (MediaSessionManager) mContext.getSystemService( in MediaSession2()
611 MediaSessionManager manager = (MediaSessionManager) mContext.getSystemService( in build()
/frameworks/base/media/java/android/media/
DRemoteController.java27 import android.media.session.MediaSessionManager;
67 private MediaSessionManager mSessionManager;
68 private MediaSessionManager.OnActiveSessionsChangedListener mSessionListener;
125 mSessionManager = (MediaSessionManager) context in RemoteController()
479 MediaSessionManager.OnActiveSessionsChangedListener {
DAudioManager.java48 import android.media.session.MediaSessionManager;
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java27 import android.media.session.MediaSessionManager;
53 MediaSessionManager mMediaSessionManager;
319 MediaSessionManager getMediaSessionManager() { in getMediaSessionManager()
322 (MediaSessionManager) mContext.getSystemService(Context.MEDIA_SESSION_SERVICE); in getMediaSessionManager()
DPhoneWindow.java52 import android.media.session.MediaSessionManager;
272 private MediaSessionManager mMediaSessionManager;
1961 private MediaSessionManager getMediaSessionManager() { in getMediaSessionManager()
1963 mMediaSessionManager = (MediaSessionManager) getContext().getSystemService( in getMediaSessionManager()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerController.java22 import android.media.session.MediaSessionManager;
52 private MediaSessionManager mManager;
66 mManager = (MediaSessionManager) context in PlayerController()
DPlayerSession.java24 import android.media.session.MediaSessionManager;
74 MediaSessionManager man = (MediaSessionManager) mContext in createSession()
/frameworks/base/non-updatable-api/
Dsystem-lint-baseline.txt190 …Last: android.media.session.MediaSessionManager#addOnActiveSessionsChangedListener(android.media.s…
192 …Last: android.media.session.MediaSessionManager#addOnActiveSessionsChangedListener(android.media.s…
194 …Last: android.media.session.MediaSessionManager#addOnSession2TokensChangedListener(android.media.s…
196 …android.media.session.MediaSessionManager#registerCallback(java.util.concurrent.Executor, android.…
/frameworks/base/cmds/media/src/com/android/commands/media/
DMedia.java27 import android.media.session.MediaSessionManager;
52 private static MediaSessionManager sMediaSessionManager;
90 (MediaSessionManager) context.getSystemService(Context.MEDIA_SESSION_SERVICE); in onRun()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/
DMediaSessions.java32 import android.media.session.MediaSessionManager;
33 import android.media.session.MediaSessionManager.OnActiveSessionsChangedListener;
61 private final MediaSessionManager mMgr;
70 mMgr = (MediaSessionManager) context.getSystemService(Context.MEDIA_SESSION_SERVICE); in MediaSessions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipManager.java40 import android.media.session.MediaSessionManager;
117 private MediaSessionManager mMediaSessionManager;
173 private final MediaSessionManager.OnActiveSessionsChangedListener mActiveMediaSessionListener =
174 new MediaSessionManager.OnActiveSessionsChangedListener() {
291 (MediaSessionManager) mContext.getSystemService(Context.MEDIA_SESSION_SERVICE); in initialize()
/frameworks/base/api/
Dsystem-lint-baseline.txt263 …Last: android.media.session.MediaSessionManager#addOnActiveSessionsChangedListener(android.media.s…
265 …Last: android.media.session.MediaSessionManager#addOnActiveSessionsChangedListener(android.media.s…
267 …Last: android.media.session.MediaSessionManager#addOnSession2TokensChangedListener(android.media.s…
Dlint-baseline.txt803 …sion: android.media.session.MediaSessionManager#addOnActiveSessionsChangedListener(android.media.s…
805 …sion: android.media.session.MediaSessionManager#addOnActiveSessionsChangedListener(android.media.s…
807 RequiresPermission: android.media.session.MediaSessionManager#getActiveSessions(android.content.Com…
809 …ermission: android.media.session.MediaSessionManager#isTrustedForMediaControl(android.media.sessio…
Dsystem-current.txt3969 public final class MediaSessionManager {
3970 …Null java.util.concurrent.Executor, @NonNull android.media.session.MediaSessionManager.OnMediaKeyE…
3971 …Null java.util.concurrent.Executor, @NonNull android.media.session.MediaSessionManager.OnMediaKeyE…
3972 …veOnMediaKeyEventDispatchedListener(@NonNull android.media.session.MediaSessionManager.OnMediaKeyE…
3973 …MediaKeyEventSessionChangedListener(@NonNull android.media.session.MediaSessionManager.OnMediaKeyE…
3974 …_LISTENER) public void setOnMediaKeyListener(android.media.session.MediaSessionManager.OnMediaKeyL…
3975 … public void setOnVolumeKeyLongPressListener(android.media.session.MediaSessionManager.OnVolumeKey…
3978 public static interface MediaSessionManager.OnMediaKeyEventDispatchedListener {
3982 public static interface MediaSessionManager.OnMediaKeyEventSessionChangedListener {
3986 public static interface MediaSessionManager.OnMediaKeyListener {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java40 import android.media.session.MediaSessionManager;
127 private final MediaSessionManager mMediaSessionManager;
198 = (MediaSessionManager) mContext.getSystemService(Context.MEDIA_SESSION_SERVICE); in NotificationMediaManager()
/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java55 private MediaSessionManager mSessionManager;
64 mSessionManager = (MediaSessionManager) context in MediaSessionLegacyHelper()
DMediaSessionManager.java65 public final class MediaSessionManager { class
111 public MediaSessionManager(Context context) { in MediaSessionManager() method in MediaSessionManager
DMediaSession.java33 import android.media.session.MediaSessionManager.RemoteUserInfo;
191 MediaSessionManager manager = (MediaSessionManager) context in MediaSession()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java32 import android.media.session.MediaSessionManager;
33 import android.media.session.MediaSessionManager.RemoteUserInfo;
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java100 import android.media.session.MediaSessionManager;
929 registerService(Context.MEDIA_SESSION_SERVICE, MediaSessionManager.class, in registerService()
930 new CachedServiceFetcher<MediaSessionManager>() { in registerService()
932 public MediaSessionManager createService(ContextImpl ctx) { in registerService()
933 return new MediaSessionManager(ctx); in registerService()
/frameworks/base/config/
Ddirty-image-objects116 android.media.session.MediaSessionManager
Dpreloaded-classes2460 android.media.session.MediaSessionManager$Callback
2461 android.media.session.MediaSessionManager$CallbackImpl$4
2462 android.media.session.MediaSessionManager$CallbackImpl
2463 android.media.session.MediaSessionManager$OnActiveSessionsChangedListener
2464 android.media.session.MediaSessionManager$OnMediaKeyListener
2465 android.media.session.MediaSessionManager$OnMediaKeyListenerImpl
2466 android.media.session.MediaSessionManager$OnSession2TokensChangedListener
2467 android.media.session.MediaSessionManager$OnVolumeKeyLongPressListener
2468 android.media.session.MediaSessionManager$OnVolumeKeyLongPressListenerImpl
2469 android.media.session.MediaSessionManager$RemoteUserInfo
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java60 import android.media.session.MediaSessionManager;
2292 if (resultCode == MediaSessionManager.RESULT_MEDIA_KEY_HANDLED) { in onReceiveResult()

12