Lines Matching refs:inputId
113 String inputId, in createRecordingSession() argument
118 RecordingSession session = new RecordingSession(inputId, tag, callback, handler, endTimeMs); in createRecordingSession()
179 public Long getEarliestRecordingSessionEndTimeMs(String inputId) { in getEarliestRecordingSessionEndTimeMs() argument
183 if (session.mTuned && TextUtils.equals(inputId, session.mInputId)) { in getEarliestRecordingSessionEndTimeMs()
194 int getTunedTvViewSessionCount(String inputId) { in getTunedTvViewSessionCount() argument
197 if (session.mTuned && Objects.equals(inputId, session.mInputId)) { in getTunedTvViewSessionCount()
214 int getTunedRecordingSessionCount(String inputId) { in getTunedRecordingSessionCount() argument
218 if (session.mTuned && Objects.equals(inputId, session.mInputId)) { in getTunedRecordingSessionCount()
268 public void onConnectionFailed(String inputId) { in TvViewSession()
272 super.onConnectionFailed(inputId); in TvViewSession()
277 public void onDisconnected(String inputId) { in TvViewSession()
281 super.onDisconnected(inputId); in TvViewSession()
292 public void tune(String inputId, Uri channelUri) { in tune() argument
294 Log.d(TAG, "warm-up tune: {input=" + inputId + ", channelUri=" + channelUri + "}"); in tune()
296 mInputId = inputId; in tune()
300 mTvView.tune(inputId, channelUri); in tune()
367 public void timeShiftPlay(String inputId, Uri recordedProgramUri) { in timeShiftPlay() argument
370 mTvView.timeShiftPlay(inputId, recordedProgramUri); in timeShiftPlay()
414 String inputId, in RecordingSession() argument
419 mInputId = inputId; in RecordingSession()
456 public void tune(String inputId, Uri channelUri) { in tune() argument
460 int tunedRecordingSessionCount = getTunedRecordingSessionCount(inputId); in tune()
461 TvInputInfo input = mInputManager.getTvInputInfo(inputId); in tune()
470 mCallback.onConnectionFailed(inputId); in tune()
476 int tunedTuneSessionCount = getTunedTvViewSessionCount(inputId); in tune()
483 && Objects.equals(session.mInputId, inputId) in tune()
491 mClient.tune(inputId, channelUri); in tune()
527 public void onConnectionFailed(String inputId) { in onConnectionFailed() argument
528 mDelegate.onConnectionFailed(inputId); in onConnectionFailed()
532 public void onDisconnected(String inputId) { in onDisconnected() argument
533 mDelegate.onDisconnected(inputId); in onDisconnected()
537 public void onChannelRetuned(String inputId, Uri channelUri) { in onChannelRetuned() argument
538 mDelegate.onChannelRetuned(inputId, channelUri); in onChannelRetuned()
542 public void onTracksChanged(String inputId, List<TvTrackInfo> tracks) { in onTracksChanged() argument
543 mDelegate.onTracksChanged(inputId, tracks); in onTracksChanged()
547 public void onTrackSelected(String inputId, int type, String trackId) { in onTrackSelected() argument
548 mDelegate.onTrackSelected(inputId, type, trackId); in onTrackSelected()
552 public void onVideoSizeChanged(String inputId, int width, int height) { in onVideoSizeChanged() argument
553 mDelegate.onVideoSizeChanged(inputId, width, height); in onVideoSizeChanged()
557 public void onVideoAvailable(String inputId) { in onVideoAvailable() argument
558 mDelegate.onVideoAvailable(inputId); in onVideoAvailable()
562 public void onVideoUnavailable(String inputId, int reason) { in onVideoUnavailable() argument
563 mDelegate.onVideoUnavailable(inputId, reason); in onVideoUnavailable()
567 public void onContentAllowed(String inputId) { in onContentAllowed() argument
568 mDelegate.onContentAllowed(inputId); in onContentAllowed()
572 public void onContentBlocked(String inputId, TvContentRating rating) { in onContentBlocked() argument
573 mDelegate.onContentBlocked(inputId, rating); in onContentBlocked()
577 public void onTimeShiftStatusChanged(String inputId, int status) { in onTimeShiftStatusChanged() argument
578 mDelegate.onTimeShiftStatusChanged(inputId, status); in onTimeShiftStatusChanged()
582 public void onSignalStrength(String inputId, int value) { in onSignalStrength() argument
583 mDelegate.onSignalStrength(inputId, value); in onSignalStrength()