Searched refs:MediaSession2Impl (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/packages/MediaComponents/src/com/android/media/update/ |
D | ApiFactory.java | 75 import com.android.media.MediaSession2Impl; 110 return new MediaSession2Impl.CommandImpl(instance, commandCode); in createMediaSession2Command() 112 return new MediaSession2Impl.CommandImpl(instance, action, extra); in createMediaSession2Command() 117 return MediaSession2Impl.CommandImpl.fromBundle_impl(command); in fromBundle_MediaSession2Command() 123 return new MediaSession2Impl.CommandGroupImpl(instance, in createMediaSession2CommandGroup() 129 return MediaSession2Impl.CommandGroupImpl.fromBundle_impl(commands); in fromBundle_MediaSession2CommandGroup() 136 return new MediaSession2Impl.ControllerInfoImpl(context, in createMediaSession2ControllerInfo() 143 return new MediaSession2Impl.CommandButtonImpl.BuilderImpl(instance); in createMediaSession2CommandButtonBuilder() 148 return new MediaSession2Impl.BuilderImpl(context, instance); in createMediaSession2Builder()
|
/frameworks/av/packages/MediaComponents/src/com/android/media/ |
D | MediaSession2Impl.java | 77 public class MediaSession2Impl implements MediaSession2Provider { class 135 public MediaSession2Impl(Context context, MediaPlayerBase player, String id, in MediaSession2Impl() method in MediaSession2Impl 835 private final WeakReference<MediaSession2Impl> mSession; 837 private MyPlayerEventCallback(MediaSession2Impl session) { in MyPlayerEventCallback() 843 MediaSession2Impl session = getSession(); in onCurrentDataSourceChanged() 859 MediaSession2Impl session = getSession(); in onMediaPrepared() 875 MediaSession2Impl session = getSession(); in onPlayerStateChanged() 887 MediaSession2Impl session = getSession(); in onBufferingStateChanged() 902 private MediaSession2Impl getSession() { in getSession() 903 final MediaSession2Impl session = mSession.get(); in getSession() [all …]
|
D | MediaSession2Stub.java | 46 import com.android.media.MediaSession2Impl.CommandButtonImpl; 47 import com.android.media.MediaSession2Impl.CommandGroupImpl; 48 import com.android.media.MediaSession2Impl.ControllerInfoImpl; 70 private final WeakReference<MediaSession2Impl> mSession; 82 public MediaSession2Stub(MediaSession2Impl session) { in MediaSession2Stub() 117 private MediaSession2Impl getSession() { in getSession() 118 final MediaSession2Impl session = mSession.get(); in getSession() 126 final MediaSession2Impl session = getSession(); in getLibrarySession() 231 final MediaSession2Impl session = getSession(); in onCommand() 332 final MediaSession2Impl session = getSession(); in onControllerClosed() [all …]
|
D | MediaLibraryService2Impl.java | 37 import com.android.media.MediaSession2Impl.BuilderBaseImpl; 68 public static class MediaLibrarySessionImpl extends MediaSession2Impl
|
D | MediaSessionService2Impl.java | 105 return ((MediaSession2Impl) mSession.getProvider()).getSessionStub().asBinder(); in onBind_impl()
|
D | SessionPlaylistAgent.java | 49 private final MediaSession2Impl mSessionImpl; 135 public SessionPlaylistAgent(@NonNull MediaSession2Impl sessionImpl, in SessionPlaylistAgent()
|
D | MediaController2Stub.java | 33 import com.android.media.MediaSession2Impl.CommandButtonImpl;
|
/frameworks/av/packages/MediaComponents/tests/src/com/android/media/ |
D | SessionPlaylistAgentTest.java | 59 private MediaSession2Impl mSessionImpl; 241 mSessionImpl = mock(MediaSession2Impl.class); in setUp()
|