Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/tv/
DITvInputManagerCallback.aidl24 void onInputStateChanged(in String inputId, int state); in onInputStateChanged() argument
25 void onInputAdded(in String inputId); in onInputAdded() argument
26 void onInputRemoved(in String inputId); in onInputRemoved() argument
27 void onInputUpdated(in String inputId); in onInputUpdated() argument
DTvInputManager.java470 public void onInputStateChanged(String inputId, int state) { in onInputStateChanged() argument
478 public void onInputAdded(String inputId) { in onInputAdded() argument
486 public void onInputRemoved(String inputId) { in onInputRemoved() argument
498 public void onInputUpdated(String inputId) { in onInputUpdated() argument
515 public void postInputStateChanged(final String inputId, final int state) { in postInputStateChanged() argument
519 mCallback.onInputStateChanged(inputId, state); in postInputStateChanged()
524 public void postInputAdded(final String inputId) { in postInputAdded() argument
528 mCallback.onInputAdded(inputId); in postInputAdded()
533 public void postInputRemoved(final String inputId) { in postInputRemoved() argument
537 mCallback.onInputRemoved(inputId); in postInputRemoved()
[all …]
DTvView.java276 public void tune(String inputId, Uri channelUri) { in tune() argument
277 tune(inputId, channelUri, null); in tune()
289 public void tune(String inputId, Uri channelUri, Bundle params) { in tune() argument
291 if (TextUtils.isEmpty(inputId)) { in tune()
299 if (mSessionCallback != null && mSessionCallback.mInputId.equals(inputId)) { in tune()
315 mSessionCallback = new MySessionCallback(inputId, channelUri, params); in tune()
317 mTvInputManager.createSession(inputId, mSessionCallback, mHandler); in tune()
742 public void onConnectionFailed(String inputId) { in onConnectionFailed() argument
750 public void onDisconnected(String inputId) { in onDisconnected() argument
760 public void onChannelRetuned(String inputId, Uri channelUri) { in onChannelRetuned() argument
[all …]
DTvContract.java127 public static final Uri buildChannelUriForPassthroughInput(String inputId) { in buildChannelUriForPassthroughInput() argument
129 .appendPath(PATH_PASSTHROUGH).appendPath(inputId).build(); in buildChannelUriForPassthroughInput()
159 public static final Uri buildChannelsUriForInput(String inputId) { in buildChannelsUriForInput() argument
160 return buildChannelsUriForInput(inputId, false); in buildChannelsUriForInput()
174 public static final Uri buildChannelsUriForInput(String inputId, boolean browsableOnly) { in buildChannelsUriForInput() argument
176 if (inputId != null) { in buildChannelsUriForInput()
177 builder.appendQueryParameter(PARAM_INPUT, inputId); in buildChannelsUriForInput()
196 public static final Uri buildChannelsUriForInput(String inputId, String genre, in buildChannelsUriForInput() argument
199 return buildChannelsUriForInput(inputId, browsableOnly); in buildChannelsUriForInput()
204 return buildChannelsUriForInput(inputId, browsableOnly).buildUpon() in buildChannelsUriForInput()
DITvInputManager.aidl40 TvInputInfo getTvInputInfo(in String inputId, int userId); in getTvInputInfo() argument
41 int getTvInputState(in String inputId, int userId); in getTvInputState() argument
55 void createSession(in ITvInputClient client, in String inputId, int seq, int userId); in createSession() argument
84 List<TvStreamConfig> getAvailableTvStreamConfigList(in String inputId, int userId); in getAvailableTvStreamConfigList() argument
85 boolean captureFrame(in String inputId, in Surface surface, in TvStreamConfig config, in captureFrame() argument
DTvInputService.java121 String inputId) { in onBind() argument
131 args.arg3 = inputId; in onBind()
170 public abstract Session onCreateSession(String inputId);
224 private boolean isPassthroughInput(String inputId) {
228 TvInputInfo info = mTvInputManager.getTvInputInfo(inputId);
1334 private void broadcastRemoveTvInput(String inputId) {
1338 mCallbacks.getBroadcastItem(i).removeTvInput(inputId);
1353 String inputId = (String) args.arg3;
1355 Session sessionImpl = onCreateSession(inputId);
1431 String inputId = onHardwareRemoved(hardwareInfo);
[all …]
DTvInputInfo.java593 private static boolean isHidden(Context context, String inputId, int userId) { in isHidden() argument
594 return getHiddenTvInputIds(context, userId).contains(inputId); in isHidden()
597 private static String getCustomLabel(Context context, String inputId, int userId) { in getCustomLabel() argument
598 return getCustomLabels(context, userId).get(inputId); in getCustomLabel()
660 for (String inputId : hiddenInputIds) { in putHiddenTvInputs()
661 ensureValidField(inputId); in putHiddenTvInputs()
667 builder.append(Uri.encode(inputId)); in putHiddenTvInputs()
DITvInputServiceCallback.aidl29 void removeTvInput(in String inputId); in removeTvInput() argument
DITvInputService.aidl33 in String inputId); in createSession() 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.java214 String inputId = mHardwareInputIdMap.get(deviceId); in onStreamConfigurationChanged() local
215 if (inputId != null) { in onStreamConfigurationChanged()
217 convertConnectedToState(configs.length > 0), 0, inputId).sendToTarget(); in onStreamConfigurationChanged()
300 String inputId = mHardwareInputIdMap.get(hardwareInfo.getDeviceId()); in addHardwareTvInput() local
301 if (inputId != null && inputId.equals(info.getId())) { in addHardwareTvInput()
304 inputId).sendToTarget(); in addHardwareTvInput()
356 public void removeTvInput(String inputId) { in removeTvInput() argument
358 mInputMap.remove(inputId); in removeTvInput()
359 int hardwareIndex = indexOfEqualValue(mHardwareInputIdMap, inputId); in removeTvInput()
363 int deviceIndex = indexOfEqualValue(mHdmiInputIdMap, inputId); in removeTvInput()
[all …]
DTvInputManagerService.java322 for (String inputId : inputMap.keySet()) { in buildTvInputListLocked()
323 if (!userState.inputMap.containsKey(inputId)) { in buildTvInputListLocked()
324 notifyInputAddedLocked(userState, inputId); in buildTvInputListLocked()
327 ComponentName component = inputMap.get(inputId).info.getComponent(); in buildTvInputListLocked()
331 notifyInputUpdatedLocked(userState, inputId); in buildTvInputListLocked()
338 for (String inputId : userState.inputMap.keySet()) { in buildTvInputListLocked()
339 if (!inputMap.containsKey(inputId)) { in buildTvInputListLocked()
340 TvInputInfo info = userState.inputMap.get(inputId).info; in buildTvInputListLocked()
343 abortPendingCreateSessionRequestsLocked(serviceState, inputId, userId); in buildTvInputListLocked()
345 notifyInputRemovedLocked(userState, inputId); in buildTvInputListLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceTv.java145 public void onInputAdded(String inputId) {
146 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/native/services/inputflinger/
DEventHub.cpp1091 struct input_id inputId; in openDeviceLocked() local
1092 if(ioctl(fd, EVIOCGID, &inputId)) { in openDeviceLocked()
1097 identifier.bus = inputId.bustype; in openDeviceLocked()
1098 identifier.product = inputId.product; in openDeviceLocked()
1099 identifier.vendor = inputId.vendor; in openDeviceLocked()
1100 identifier.version = inputId.version; in openDeviceLocked()