Home
last modified time | relevance | path

Searched refs:inputId (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/media/java/android/media/tv/
DTvRecordingClient.java86 public void tune(String inputId, Uri channelUri) { in tune() argument
87 tune(inputId, channelUri, null); in tune()
111 public void tune(String inputId, Uri channelUri, Bundle params) { in tune() argument
113 if (TextUtils.isEmpty(inputId)) { in tune()
119 if (mSessionCallback != null && TextUtils.equals(mSessionCallback.mInputId, inputId)) { in tune()
128 mSessionCallback = new MySessionCallback(inputId, channelUri, params); in tune()
130 mTvInputManager.createRecordingSession(inputId, mSessionCallback, mHandler); in tune()
236 public void onConnectionFailed(String inputId) { in onConnectionFailed() argument
244 public void onDisconnected(String inputId) { in onDisconnected() argument
289 public void onEvent(String inputId, String eventType, Bundle eventArgs) { in onEvent() argument
[all …]
DTvView.java294 public void tune(@NonNull String inputId, Uri channelUri) { in tune() argument
295 tune(inputId, channelUri, null); in tune()
308 public void tune(String inputId, Uri channelUri, Bundle params) { in tune() argument
310 if (TextUtils.isEmpty(inputId)) { in tune()
318 if (mSessionCallback != null && TextUtils.equals(mSessionCallback.mInputId, inputId)) { in tune()
338 mSessionCallback = new MySessionCallback(inputId, channelUri, params); in tune()
340 mTvInputManager.createSession(inputId, mSessionCallback, mHandler); in tune()
471 public void timeShiftPlay(String inputId, Uri recordedProgramUri) { in timeShiftPlay() argument
473 if (TextUtils.isEmpty(inputId)) { in timeShiftPlay()
481 if (mSessionCallback != null && TextUtils.equals(mSessionCallback.mInputId, inputId)) { in timeShiftPlay()
[all …]
DITvInputManagerCallback.aidl26 void onInputAdded(in String inputId); in onInputAdded() argument
27 void onInputRemoved(in String inputId); in onInputRemoved() argument
28 void onInputUpdated(in String inputId); in onInputUpdated() argument
29 void onInputStateChanged(in String inputId, int state); in onInputStateChanged() argument
DTvInputManager.java743 public void onInputStateChanged(String inputId, @InputState int state) { in onInputStateChanged() argument
754 public void onInputAdded(String inputId) { in onInputAdded() argument
765 public void onInputRemoved(String inputId) { in onInputRemoved() argument
776 public void onInputUpdated(String inputId) { in onInputUpdated() argument
805 public void postInputAdded(final String inputId) { in postInputAdded() argument
809 mCallback.onInputAdded(inputId); in postInputAdded()
814 public void postInputRemoved(final String inputId) { in postInputRemoved() argument
818 mCallback.onInputRemoved(inputId); in postInputRemoved()
823 public void postInputUpdated(final String inputId) { in postInputUpdated() argument
827 mCallback.onInputUpdated(inputId); in postInputUpdated()
[all …]
DITvInputManager.aidl44 TvInputInfo getTvInputInfo(in String inputId, int userId); in getTvInputInfo() argument
46 int getTvInputState(in String inputId, int userId); in getTvInputState() argument
60 void createSession(in ITvInputClient client, in String inputId, boolean isRecordingSession, in createSession() argument
101 List<TvStreamConfig> getAvailableTvStreamConfigList(in String inputId, int userId); in getAvailableTvStreamConfigList() argument
102 boolean captureFrame(in String inputId, in Surface surface, in TvStreamConfig config, in captureFrame() argument
DTvInputService.java128 String inputId) { in onBind() argument
138 args.arg3 = inputId; in onBind()
143 public void createRecordingSession(ITvInputSessionCallback cb, String inputId) { in onBind() argument
149 args.arg2 = inputId; in onBind()
190 public abstract Session onCreateSession(String inputId);
201 public RecordingSession onCreateRecordingSession(String inputId) {
261 private boolean isPassthroughInput(String inputId) {
265 TvInputInfo info = mTvInputManager.getTvInputInfo(inputId);
1990 private void broadcastRemoveHardwareInput(String inputId) {
1994 mCallbacks.getBroadcastItem(i).removeHardwareInput(inputId);
[all …]
DITvInputService.aidl33 in String inputId); in createSession() argument
34 void createRecordingSession(in ITvInputSessionCallback callback, in String inputId); in createRecordingSession() argument
DTvInputInfo.java981 private static boolean isHidden(Context context, String inputId, int userId) { in isHidden() argument
982 return getHiddenTvInputIds(context, userId).contains(inputId); in isHidden()
985 private static String getCustomLabel(Context context, String inputId, int userId) { in getCustomLabel() argument
986 return getCustomLabels(context, userId).get(inputId); in getCustomLabel()
1048 for (String inputId : hiddenInputIds) { in putHiddenTvInputs()
1049 ensureValidField(inputId); in putHiddenTvInputs()
1055 builder.append(Uri.encode(inputId)); in putHiddenTvInputs()
1062 for (String inputId : hiddenInputIds) { in putHiddenTvInputs()
1063 TvInputInfo info = tm.getTvInputInfo(inputId); in putHiddenTvInputs()
1101 for (String inputId : customLabels.keySet()) { in putCustomLabels()
[all …]
DTvContract.java486 public static Uri buildChannelUriForPassthroughInput(String inputId) { in buildChannelUriForPassthroughInput() argument
488 .appendPath(PATH_PASSTHROUGH).appendPath(inputId).build(); in buildChannelUriForPassthroughInput()
518 public static Uri buildChannelsUriForInput(@Nullable String inputId) { in buildChannelsUriForInput() argument
519 return buildChannelsUriForInput(inputId, false); in buildChannelsUriForInput()
533 public static Uri buildChannelsUriForInput(@Nullable String inputId, in buildChannelsUriForInput() argument
536 if (inputId != null) { in buildChannelsUriForInput()
537 builder.appendQueryParameter(PARAM_INPUT, inputId); in buildChannelsUriForInput()
556 public static Uri buildChannelsUriForInput(@Nullable String inputId, in buildChannelsUriForInput() argument
559 return buildChannelsUriForInput(inputId, browsableOnly); in buildChannelsUriForInput()
564 return buildChannelsUriForInput(inputId, browsableOnly).buildUpon() in buildChannelsUriForInput()
DITvInputServiceCallback.aidl29 void removeHardwareInput(in String inputId); in removeHardwareInput() argument
DITvInputClient.aidl32 void onSessionCreated(in String inputId, IBinder token, in InputChannel channel, int seq); in onSessionCreated() argument
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java215 String inputId = mHardwareInputIdMap.get(deviceId); in onStreamConfigurationChanged() local
216 if (inputId != null in onStreamConfigurationChanged()
219 connection.getInputStateLocked(), 0, inputId).sendToTarget(); in onStreamConfigurationChanged()
289 String inputId = mHardwareInputIdMap.get(hardwareInfo.getDeviceId()); in addHardwareInput() local
290 if (inputId != null && inputId.equals(info.getId())) { in addHardwareInput()
298 ListenerHandler.STATE_CHANGED, state, 0, inputId).sendToTarget(); in addHardwareInput()
348 public void removeHardwareInput(String inputId) { in removeHardwareInput() argument
350 mInputMap.remove(inputId); in removeHardwareInput()
351 int hardwareIndex = indexOfEqualValue(mHardwareInputIdMap, inputId); in removeHardwareInput()
355 int deviceIndex = indexOfEqualValue(mHdmiInputIdMap, inputId); in removeHardwareInput()
[all …]
DTvInputManagerService.java319 for (String inputId : inputMap.keySet()) { in buildTvInputListLocked()
320 if (!userState.inputMap.containsKey(inputId)) { in buildTvInputListLocked()
321 notifyInputAddedLocked(userState, inputId); in buildTvInputListLocked()
324 ComponentName component = inputMap.get(inputId).info.getComponent(); in buildTvInputListLocked()
328 notifyInputUpdatedLocked(userState, inputId); in buildTvInputListLocked()
335 for (String inputId : userState.inputMap.keySet()) { in buildTvInputListLocked()
336 if (!inputMap.containsKey(inputId)) { in buildTvInputListLocked()
337 TvInputInfo info = userState.inputMap.get(inputId).info; in buildTvInputListLocked()
340 abortPendingCreateSessionRequestsLocked(serviceState, inputId, userId); in buildTvInputListLocked()
342 notifyInputRemovedLocked(userState, inputId); in buildTvInputListLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceTv.java144 public void onInputAdded(String inputId) {
145 TvInputInfo tvInfo = mService.getTvInputManager().getTvInputInfo(inputId);
149 addTvInput(inputId, info.getId());
156 public void onInputRemoved(String inputId) {
157 removeTvInput(inputId);
168 private void addTvInput(String inputId, int deviceId) { in addTvInput() argument
170 mTvInputs.put(inputId, deviceId); in addTvInput()
174 private void removeTvInput(String inputId) { in removeTvInput() argument
176 mTvInputs.remove(inputId); in removeTvInput()
/frameworks/support/tv-provider/src/android/support/media/tv/
DTvContractCompat.java362 public static Uri buildChannelUriForPassthroughInput(String inputId) { in buildChannelUriForPassthroughInput() argument
363 return TvContract.buildChannelUriForPassthroughInput(inputId); in buildChannelUriForPassthroughInput()
390 public static Uri buildChannelsUriForInput(@Nullable String inputId) { in buildChannelsUriForInput() argument
391 return TvContract.buildChannelsUriForInput(inputId); in buildChannelsUriForInput()
DChannel.java611 public Builder setInputId(String inputId) { in setInputId() argument
612 mValues.put(Channels.COLUMN_INPUT_ID, inputId); in setInputId()
/frameworks/native/services/inputflinger/
DEventHub.cpp1153 struct input_id inputId; in openDeviceLocked() local
1154 if(ioctl(fd, EVIOCGID, &inputId)) { in openDeviceLocked()
1159 identifier.bus = inputId.bustype; in openDeviceLocked()
1160 identifier.product = inputId.product; in openDeviceLocked()
1161 identifier.vendor = inputId.vendor; in openDeviceLocked()
1162 identifier.version = inputId.version; in openDeviceLocked()