Home | History | Annotate | Download | only in tv

Lines Matching defs:inputId

462          * @param inputId The id of the TV input.
470 public void onInputStateChanged(String inputId, int state) {
476 * @param inputId The id of the TV input.
478 public void onInputAdded(String inputId) {
484 * @param inputId The id of the TV input.
486 public void onInputRemoved(String inputId) {
494 * @param inputId The id of the TV input.
498 public void onInputUpdated(String inputId) {
515 public void postInputStateChanged(final String inputId, final int state) {
519 mCallback.onInputStateChanged(inputId, state);
524 public void postInputAdded(final String inputId) {
528 mCallback.onInputAdded(inputId);
533 public void postInputRemoved(final String inputId) {
537 mCallback.onInputRemoved(inputId);
542 public void postInputUpdated(final String inputId) {
546 mCallback.onInputUpdated(inputId);
570 public void onSessionCreated(String inputId, IBinder token, InputChannel channel,
724 public void onInputStateChanged(String inputId, int state) {
726 mStateMap.put(inputId, state);
728 record.postInputStateChanged(inputId, state);
734 public void onInputAdded(String inputId) {
736 mStateMap.put(inputId, INPUT_STATE_CONNECTED);
738 record.postInputAdded(inputId);
744 public void onInputRemoved(String inputId) {
746 mStateMap.remove(inputId);
748 record.postInputRemoved(inputId);
754 public void onInputUpdated(String inputId) {
757 record.postInputUpdated(inputId);
768 String inputId = info.getId();
769 int state = mService.getTvInputState(inputId, mUserId);
771 mStateMap.put(inputId, state);
797 * @param inputId The ID of the TV input.
800 public TvInputInfo getTvInputInfo(String inputId) {
801 if (inputId == null) {
802 throw new IllegalArgumentException("inputId cannot be null");
805 return mService.getTvInputInfo(inputId, mUserId);
819 * @param inputId The id of the TV input.
821 * {@link TvInputInfo} corresponding to {@code inputId}.
823 public int getInputState(String inputId) {
824 if (inputId == null) {
825 throw new IllegalArgumentException("inputId cannot be null");
828 Integer state = mStateMap.get(inputId);
830 throw new IllegalArgumentException("Unrecognized input ID: " + inputId);
1003 * @param inputId The id of the TV input.
1010 public void createSession(String inputId, final SessionCallback callback,
1012 if (inputId == null) {
1026 mService.createSession(mClient, inputId, seq, mUserId);
1042 * @param inputId the id of the TV input.
1048 public List<TvStreamConfig> getAvailableTvStreamConfigList(String inputId) {
1050 return mService.getAvailableTvStreamConfigList(inputId, mUserId);
1059 * @param inputId the id of the TV input.
1066 public boolean captureFrame(String inputId, Surface surface, TvStreamConfig config) {
1068 return mService.captureFrame(inputId, surface, config, mUserId);