Home
last modified time | relevance | path

Searched refs:inputId (Results 1 – 21 of 21) 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 …]
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
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 …]
DTvInputManager.java750 public void onInputStateChanged(String inputId, @InputState int state) { in onInputStateChanged() argument
761 public void onInputAdded(String inputId) { in onInputAdded() argument
772 public void onInputRemoved(String inputId) { in onInputRemoved() argument
783 public void onInputUpdated(String inputId) { in onInputUpdated() argument
812 public void postInputAdded(final String inputId) { in postInputAdded() argument
816 mCallback.onInputAdded(inputId); in postInputAdded()
821 public void postInputRemoved(final String inputId) { in postInputRemoved() argument
825 mCallback.onInputRemoved(inputId); in postInputRemoved()
830 public void postInputUpdated(final String inputId) { in postInputUpdated() argument
834 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
DITvInputService.aidl33 in String inputId); in createSession() argument
34 void createRecordingSession(in ITvInputSessionCallback callback, in String inputId); in createRecordingSession() argument
DTvInputService.java127 String inputId) { in onBind() argument
137 args.arg3 = inputId; in onBind()
142 public void createRecordingSession(ITvInputSessionCallback cb, String inputId) { in onBind() argument
148 args.arg2 = inputId; in onBind()
189 public abstract Session onCreateSession(String inputId);
200 public RecordingSession onCreateRecordingSession(String inputId) {
260 private boolean isPassthroughInput(String inputId) {
264 TvInputInfo info = mTvInputManager.getTvInputInfo(inputId);
1990 private void broadcastRemoveHardwareInput(String inputId) {
1994 mCallbacks.getBroadcastItem(i).removeHardwareInput(inputId);
[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()
DTvInputInfo.java1020 private static boolean isHidden(Context context, String inputId, int userId) { in isHidden() argument
1021 return getHiddenTvInputIds(context, userId).contains(inputId); in isHidden()
1024 private static String getCustomLabel(Context context, String inputId, int userId) { in getCustomLabel() argument
1025 return getCustomLabels(context, userId).get(inputId); in getCustomLabel()
1087 for (String inputId : hiddenInputIds) { in putHiddenTvInputs()
1088 ensureValidField(inputId); in putHiddenTvInputs()
1094 builder.append(Uri.encode(inputId)); in putHiddenTvInputs()
1101 for (String inputId : hiddenInputIds) { in putHiddenTvInputs()
1102 TvInputInfo info = tm.getTvInputInfo(inputId); in putHiddenTvInputs()
1140 for (String inputId : customLabels.keySet()) { in putCustomLabels()
[all …]
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.java212 String inputId = mHardwareInputIdMap.get(deviceId); in onStreamConfigurationChanged() local
213 if (inputId != null in onStreamConfigurationChanged()
216 connection.getInputStateLocked(), 0, inputId).sendToTarget(); in onStreamConfigurationChanged()
286 String inputId = mHardwareInputIdMap.get(hardwareInfo.getDeviceId()); in addHardwareInput() local
287 if (inputId != null && inputId.equals(info.getId())) { in addHardwareInput()
295 ListenerHandler.STATE_CHANGED, state, 0, inputId).sendToTarget(); in addHardwareInput()
345 public void removeHardwareInput(String inputId) { in removeHardwareInput() argument
347 mInputMap.remove(inputId); in removeHardwareInput()
348 int hardwareIndex = indexOfEqualValue(mHardwareInputIdMap, inputId); in removeHardwareInput()
352 int deviceIndex = indexOfEqualValue(mHdmiInputIdMap, inputId); in removeHardwareInput()
[all …]
DTvInputManagerService.java321 for (String inputId : inputMap.keySet()) { in buildTvInputListLocked()
322 if (!userState.inputMap.containsKey(inputId)) { in buildTvInputListLocked()
323 notifyInputAddedLocked(userState, inputId); in buildTvInputListLocked()
326 ComponentName component = inputMap.get(inputId).info.getComponent(); in buildTvInputListLocked()
330 notifyInputUpdatedLocked(userState, inputId); in buildTvInputListLocked()
337 for (String inputId : userState.inputMap.keySet()) { in buildTvInputListLocked()
338 if (!inputMap.containsKey(inputId)) { in buildTvInputListLocked()
339 TvInputInfo info = userState.inputMap.get(inputId).info; in buildTvInputListLocked()
342 abortPendingCreateSessionRequestsLocked(serviceState, inputId, userId); in buildTvInputListLocked()
344 notifyInputRemovedLocked(userState, inputId); in buildTvInputListLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java125 public void onInputAdded(String inputId) {
126 addOrUpdateTvInput(inputId);
130 public void onInputRemoved(String inputId) {
131 removeTvInput(inputId);
135 public void onInputUpdated(String inputId) {
136 addOrUpdateTvInput(inputId);
141 private void addOrUpdateTvInput(String inputId) { in addOrUpdateTvInput() argument
144 TvInputInfo tvInfo = mService.getTvInputManager().getTvInputInfo(inputId); in addOrUpdateTvInput()
152 mPortIdToTvInputs.put(info.getPortId(), inputId); in addOrUpdateTvInput() local
153 mTvInputsToDeviceInfo.put(inputId, info); in addOrUpdateTvInput()
[all …]
DHdmiCecLocalDeviceTv.java140 public void onInputAdded(String inputId) {
141 TvInputInfo tvInfo = mService.getTvInputManager().getTvInputInfo(inputId);
145 addTvInput(inputId, info.getId());
152 public void onInputRemoved(String inputId) {
153 removeTvInput(inputId);
164 private void addTvInput(String inputId, int deviceId) { in addTvInput() argument
166 mTvInputs.put(inputId, deviceId); in addTvInput()
170 private void removeTvInput(String inputId) { in removeTvInput() argument
172 mTvInputs.remove(inputId); in removeTvInput()
/frameworks/av/include/media/
DIAudioFlinger.h269 (void)parcel->read(&inputId, sizeof(audio_io_handle_t)); in readFromParcel()
296 (void)parcel->write(&inputId, sizeof(audio_io_handle_t)); in writeToParcel()
323 audio_io_handle_t inputId; variable
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h269 (void)parcel->read(&inputId, sizeof(audio_io_handle_t)); in readFromParcel()
296 (void)parcel->write(&inputId, sizeof(audio_io_handle_t)); in writeToParcel()
323 audio_io_handle_t inputId; variable
/frameworks/native/services/inputflinger/
DEventHub.cpp1229 struct input_id inputId; in openDeviceLocked() local
1230 if(ioctl(fd, EVIOCGID, &inputId)) { in openDeviceLocked()
1235 identifier.bus = inputId.bustype; in openDeviceLocked()
1236 identifier.product = inputId.product; in openDeviceLocked()
1237 identifier.vendor = inputId.vendor; in openDeviceLocked()
1238 identifier.version = inputId.version; in openDeviceLocked()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1839 output.inputId = AUDIO_IO_HANDLE_NONE; in createRecord()
1894 if (output.inputId != AUDIO_IO_HANDLE_NONE) { in createRecord()
1897 output.inputId = AUDIO_IO_HANDLE_NONE; in createRecord()
1901 lStatus = AudioSystem::getInputForAttr(&input.attr, &output.inputId, in createRecord()
1917 RecordThread *thread = checkRecordThread_l(output.inputId); in createRecord()
1919 ALOGE("createRecord() checkRecordThread_l failed, input handle %d", output.inputId); in createRecord()
1924 ALOGV("createRecord() lSessionId: %d input %d", sessionId, output.inputId); in createRecord()
1980 if (output.inputId != AUDIO_IO_HANDLE_NONE) { in createRecord()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp817 AudioSystem::addAudioDeviceCallback(this, output.inputId, output.portId); in createRecord_l()
822 mInput = output.inputId; in createRecord_l()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...