Home
last modified time | relevance | path

Searched refs:mSessionCallback (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/tv/
DTvRecordingClient.java48 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()
337 if (this != mSessionCallback) { in onSessionCreated()
354 mSessionCallback = null; in onSessionCreated()
366 if (this != mSessionCallback) { in onTuned()
[all …]
DTvView.java90 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 …]
DTvInputService.java397 private ITvInputSessionCallback mSessionCallback;
460 if (mSessionCallback != null) {
461 mSessionCallback.onSessionEvent(eventType, eventArgs);
486 if (mSessionCallback != null) {
487 mSessionCallback.onChannelRetuned(channelUri);
515 if (mSessionCallback != null) {
516 mSessionCallback.onTracksChanged(tracksCopy);
546 if (mSessionCallback != null) {
547 mSessionCallback.onTrackSelected(type, trackId);
573 if (mSessionCallback != null) {
[all …]
DTvInputManager.java662 private final SessionCallback mSessionCallback; field in TvInputManager.SessionCallbackRecord
668 mSessionCallback = sessionCallback; in SessionCallbackRecord()
677 mSessionCallback.onSessionCreated(session); in postSessionCreated()
686 mSessionCallback.onSessionReleased(mSession); in postSessionReleased()
695 mSessionCallback.onChannelRetuned(mSession, channelUri); in postChannelRetuned()
704 mSessionCallback.onTracksChanged(mSession, tracks); in postTracksChanged()
713 mSessionCallback.onTrackSelected(mSession, type, trackId); in postTrackSelected()
722 mSessionCallback.onVideoSizeChanged(mSession, width, height); in postVideoSizeChanged()
731 mSessionCallback.onVideoAvailable(mSession); in postVideoAvailable()
740 mSessionCallback.onVideoUnavailable(mSession, reason); in postVideoUnavailable()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallInstalling.java62 private PackageInstaller.SessionCallback mSessionCallback; field in InstallInstalling
178 mSessionCallback = new InstallSessionCallback(); in onCreate()
215 getPackageManager().getPackageInstaller().registerSessionCallback(mSessionCallback); in onStart()
257 getPackageManager().getPackageInstaller().unregisterSessionCallback(mSessionCallback); in onStop()