Searched refs:mSessionCallback (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/media/java/android/media/tv/ |
D | TvRecordingClient.java | 48 private MySessionCallback mSessionCallback; field in TvRecordingClient 119 if (mSessionCallback != null && TextUtils.equals(mSessionCallback.mInputId, inputId)) { in tune() 123 mSessionCallback.mChannelUri = channelUri; in tune() 124 mSessionCallback.mConnectionParams = params; in tune() 128 mSessionCallback = new MySessionCallback(inputId, channelUri, params); in tune() 130 mTvInputManager.createRecordingSession(inputId, mSessionCallback, mHandler); in tune() 145 mSessionCallback = null; in resetInternal() 309 if (this != mSessionCallback) { in onSessionCreated() 326 mSessionCallback = null; in onSessionCreated() 338 if (this != mSessionCallback) { in onTuned() [all …]
|
D | TvView.java | 90 private MySessionCallback mSessionCallback; field in TvView 318 if (mSessionCallback != null && TextUtils.equals(mSessionCallback.mInputId, inputId)) { in tune() 326 mSessionCallback.mChannelUri = channelUri; in tune() 327 mSessionCallback.mTuneParams = params; in tune() 338 mSessionCallback = new MySessionCallback(inputId, channelUri, params); in tune() 340 mTvInputManager.createSession(inputId, mSessionCallback, mHandler); in tune() 361 mSessionCallback = null; in resetInternal() 481 if (mSessionCallback != null && TextUtils.equals(mSessionCallback.mInputId, inputId)) { in timeShiftPlay() 485 mSessionCallback.mRecordedProgramUri = recordedProgramUri; in timeShiftPlay() 489 mSessionCallback = new MySessionCallback(inputId, recordedProgramUri); in timeShiftPlay() [all …]
|
D | TvInputService.java | 294 private ITvInputSessionCallback mSessionCallback; 357 if (mSessionCallback != null) { 358 mSessionCallback.onSessionEvent(eventType, eventArgs); 383 if (mSessionCallback != null) { 384 mSessionCallback.onChannelRetuned(channelUri); 412 if (mSessionCallback != null) { 413 mSessionCallback.onTracksChanged(tracksCopy); 443 if (mSessionCallback != null) { 444 mSessionCallback.onTrackSelected(type, trackId); 470 if (mSessionCallback != null) { [all …]
|
D | TvInputManager.java | 550 private final SessionCallback mSessionCallback; field in TvInputManager.SessionCallbackRecord 556 mSessionCallback = sessionCallback; in SessionCallbackRecord() 565 mSessionCallback.onSessionCreated(session); in postSessionCreated() 574 mSessionCallback.onSessionReleased(mSession); in postSessionReleased() 583 mSessionCallback.onChannelRetuned(mSession, channelUri); in postChannelRetuned() 592 mSessionCallback.onTracksChanged(mSession, tracks); in postTracksChanged() 601 mSessionCallback.onTrackSelected(mSession, type, trackId); in postTrackSelected() 610 mSessionCallback.onVideoSizeChanged(mSession, width, height); in postVideoSizeChanged() 619 mSessionCallback.onVideoAvailable(mSession); in postVideoAvailable() 628 mSessionCallback.onVideoUnavailable(mSession, reason); in postVideoUnavailable() [all …]
|
/frameworks/support/mediarouter/src/androidTest/java/androidx/mediarouter/media/ |
D | MediaRouterTest.java | 49 private MediaSessionCallback mSessionCallback = new MediaSessionCallback(); field in MediaRouterTest 78 mSession.setCallback(mSessionCallback); in testSessionCallbackAfterSetMediaSessionCompat() 86 mSessionCallback.reset(); in testSessionCallbackAfterSetMediaSessionCompat() 89 assertTrue(mSessionCallback.mOnPlayCalled); in testSessionCallbackAfterSetMediaSessionCompat() 91 mSessionCallback.reset(); in testSessionCallbackAfterSetMediaSessionCompat() 94 assertTrue(mSessionCallback.mOnPauseCalled); in testSessionCallbackAfterSetMediaSessionCompat()
|
/frameworks/support/media/src/androidTest/java/androidx/media/ |
D | TestServiceRegistry.java | 41 private MediaLibrarySessionCallback mSessionCallback; field in TestServiceRegistry 82 mSessionCallback = sessionCallback; in setSessionCallback() 88 return mSessionCallback; in getSessionCallback() 125 mSessionCallback = null; in cleanUp()
|
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/ |
D | TestServiceRegistry.java | 42 private MediaLibrarySessionCallback mSessionCallback; field in TestServiceRegistry 83 mSessionCallback = sessionCallback; in setSessionCallback() 89 return mSessionCallback; in getSessionCallback() 126 mSessionCallback = null; in cleanUp()
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
D | QueueFragment.java | 76 mMediaController.registerCallback(mSessionCallback); 99 mMediaController.unregisterCallback(mSessionCallback); 108 private MediaControllerCompat.Callback mSessionCallback = new MediaControllerCompat.Callback() { field in QueueFragment 190 mMediaController.unregisterCallback(mSessionCallback); in onPause()
|