Home
last modified time | relevance | path

Searched refs:setPlayer (Results 1 – 19 of 19) sorted by relevance

/frameworks/support/media/src/androidTest/java/androidx/media/
DMediaSession2Test.java86 .setPlayer(mPlayer) in setUp()
112 builder.setPlayer(null); in testBuilder()
135 .setPlayer(mPlayer) in testPlayerStateChange()
177 .setPlayer(mPlayer) in testBufferingStateChange()
225 .setPlayer(mPlayer) in testSeekCompleted()
245 .setPlayer(mPlayer) in testCurrentDataSourceChanged()
303 .setPlayer(mPlayer) in testMediaPrepared()
333 .setPlayer(mPlayer) in testBufferingStateChanged()
364 .setPlayer(mPlayer) in testPlaybackSpeedChanged()
402 mSession = new MediaSession2.Builder(mContext).setPlayer(mPlayer) in testUpdatePlayer()
[all …]
DMediaController2Test.java95 .setPlayer(mPlayer) in setUp()
338 .setPlayer(mPlayer) in testGetPlaylist()
386 .setPlayer(mPlayer) in testGetPlaylistMetadata()
455 .setPlayer(mPlayer) in testControllerCallback_onPlaylistMetadataChanged()
834 mSession = new MediaSession2.Builder(mContext).setPlayer(mPlayer) in testSendCustomCommand()
864 mSession = new MediaSession2.Builder(mContext).setPlayer(mPlayer) in testControllerCallback_sessionRejects()
901 .setPlayer(mPlayer) in testFastForward()
922 .setPlayer(mPlayer) in testRewind()
950 .setPlayer(mPlayer) in testPlayFromSearch()
977 .setPlayer(mPlayer) in testPlayFromUri()
[all …]
DMediaSessionManager_MediaSession2Test.java56 .setPlayer(player) in setUp()
108 mSession = new MediaSession2.Builder(mContext).setPlayer(new MockPlayer(0)) in testGetSessionTokens_sessionRejected()
DMockMediaSessionService2.java66 .setPlayer(player) in onCreateSession()
DMockMediaLibraryService2.java121 librarySessionCallback).setPlayer(player).setId(sessionId).build(); in onCreateSession()
DMediaSession2_PermissionTest.java116 mSession = new MediaSession2.Builder(mContext).setPlayer(mPlayer).setId(SESSION_ID) in createSessionWithAllowedActions()
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/
DMediaController2Test_copied.java106 .setPlayer(mPlayer) in setUp()
350 .setPlayer(mPlayer) in testGetPlaylist()
398 .setPlayer(mPlayer) in testGetPlaylistMetadata()
467 .setPlayer(mPlayer) in testControllerCallback_onPlaylistMetadataChanged()
849 mSession = new MediaSession2.Builder(mContext).setPlayer(mPlayer) in testSendCustomCommand()
879 mSession = new MediaSession2.Builder(mContext).setPlayer(mPlayer) in testControllerCallback_sessionRejects()
916 .setPlayer(mPlayer) in testFastForward()
937 .setPlayer(mPlayer) in testRewind()
965 .setPlayer(mPlayer) in testPlayFromSearch()
992 .setPlayer(mPlayer) in testPlayFromUri()
[all …]
/frameworks/base/media/java/android/media/
DMediaLibraryService2.java218 public Builder setPlayer(@NonNull MediaPlayerBase player) { in setPlayer() method in MediaLibraryService2.MediaLibrarySession.Builder
219 return super.setPlayer(player); in setPlayer()
DMediaSession2.java563 @NonNull U setPlayer(@NonNull MediaPlayerBase player) { in setPlayer() method in MediaSession2.BuilderBase
662 public @NonNull Builder setPlayer(@NonNull MediaPlayerBase player) { in setPlayer() method in MediaSession2.Builder
663 return super.setPlayer(player); in setPlayer()
/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/androidx/media/test/service/
DTestHelperService.java63 .setPlayer(new MockPlayer(0)) in getSessionToken2()
/frameworks/support/media/src/main/java/androidx/media/
DMediaSession2.java1186 public @NonNull Builder setPlayer(@NonNull MediaPlayerInterface player) { in setPlayer() method in MediaSession2.Builder
1187 return super.setPlayer(player); in setPlayer()
1629 @NonNull U setPlayer(@NonNull MediaPlayerInterface player) { in setPlayer() method in MediaSession2.BuilderBase
1633 mBaseImpl.setPlayer(player); in setPlayer()
DMediaLibraryService2.java235 public @NonNull Builder setPlayer(@NonNull MediaPlayerInterface player) { in setPlayer() method in MediaLibraryService2.MediaLibrarySession.Builder
236 return super.setPlayer(player); in setPlayer()
DSessionPlaylistAgentImplBase.java150 public void setPlayer(@NonNull MediaPlayerInterface player) { in setPlayer() method in SessionPlaylistAgentImplBase
DMediaSession2ImplBase.java1449 void setPlayer(@NonNull MediaPlayerInterface player) { in setPlayer() method in MediaSession2ImplBase.BuilderBase
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
DSampleMediaRouterActivity.java141 mSessionManager.setPlayer(mPlayer);
398 mSessionManager.setPlayer(mPlayer); in onCreate()
799 public void setPlayer(Player player) { in setPlayer() method in SampleMediaRouterActivity.ControllerDialogFragment
DSessionManager.java402 public void setPlayer(Player player) { in setPlayer() method in SessionManager
DSampleMediaRouteProvider.java239 mSessionManager.setPlayer(mPlayer); in SampleRouteController()
/frameworks/av/packages/MediaComponents/src/com/android/media/
DSessionPlaylistAgent.java149 public void setPlayer(@NonNull MediaPlayerBase player) { in setPlayer() method in SessionPlaylistAgent
/frameworks/support/media/api/
Dcurrent.txt796 …method public androidx.media.MediaLibraryService2.MediaLibrarySession.Builder setPlayer(androidx.m…
1230 … method public androidx.media.MediaSession2.Builder setPlayer(androidx.media.MediaPlayerInterface);