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()
264 public void onConnectionFailed(String inputId) { in onConnectionFailed() argument
272 public void onDisconnected(String inputId) { in onDisconnected() argument
317 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.java855 public void onInputStateChanged(String inputId, @InputState int state) { in onInputStateChanged() argument
866 public void onInputAdded(String inputId) { in onInputAdded() argument
877 public void onInputRemoved(String inputId) { in onInputRemoved() argument
888 public void onInputUpdated(String inputId) { in onInputUpdated() argument
917 public void postInputAdded(final String inputId) { in postInputAdded() argument
921 mCallback.onInputAdded(inputId); in postInputAdded()
926 public void postInputRemoved(final String inputId) { in postInputRemoved() argument
930 mCallback.onInputRemoved(inputId); in postInputRemoved()
935 public void postInputUpdated(final String inputId) { in postInputUpdated() argument
939 mCallback.onInputUpdated(inputId); in postInputUpdated()
[all …]
DTvInputService.java172 String inputId, String sessionId) { in onBind() argument
182 args.arg3 = inputId; in onBind()
188 public void createRecordingSession(ITvInputSessionCallback cb, String inputId, in onBind() argument
195 args.arg2 = inputId; in onBind()
243 public abstract Session onCreateSession(@NonNull String inputId);
254 public RecordingSession onCreateRecordingSession(@NonNull String inputId) {
269 public Session onCreateSession(@NonNull String inputId, @NonNull String sessionId) {
270 return onCreateSession(inputId);
285 @NonNull String inputId, @NonNull String sessionId) {
286 return onCreateRecordingSession(inputId);
[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
102 List<TvStreamConfig> getAvailableTvStreamConfigList(in String inputId, int userId); in getAvailableTvStreamConfigList() argument
103 boolean captureFrame(in String inputId, in Surface surface, in TvStreamConfig config, in captureFrame() argument
DITvInputService.aidl33 in String inputId, in String sessionId); in createSession() argument
34 void createRecordingSession(in ITvInputSessionCallback callback, in String inputId, in createRecordingSession() argument
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.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.java324 for (String inputId : inputMap.keySet()) { in buildTvInputListLocked()
325 if (!userState.inputMap.containsKey(inputId)) { in buildTvInputListLocked()
326 notifyInputAddedLocked(userState, inputId); in buildTvInputListLocked()
329 ComponentName component = inputMap.get(inputId).info.getComponent(); in buildTvInputListLocked()
333 notifyInputUpdatedLocked(userState, inputId); in buildTvInputListLocked()
340 for (String inputId : userState.inputMap.keySet()) { in buildTvInputListLocked()
341 if (!inputMap.containsKey(inputId)) { in buildTvInputListLocked()
342 TvInputInfo info = userState.inputMap.get(inputId).info; in buildTvInputListLocked()
345 abortPendingCreateSessionRequestsLocked(serviceState, inputId, userId); in buildTvInputListLocked()
347 notifyInputRemovedLocked(userState, inputId); in buildTvInputListLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java134 public void onInputAdded(String inputId) {
135 addOrUpdateTvInput(inputId);
139 public void onInputRemoved(String inputId) {
140 removeTvInput(inputId);
144 public void onInputUpdated(String inputId) {
145 addOrUpdateTvInput(inputId);
150 private void addOrUpdateTvInput(String inputId) { in addOrUpdateTvInput() argument
153 TvInputInfo tvInfo = mService.getTvInputManager().getTvInputInfo(inputId); in addOrUpdateTvInput()
161 mPortIdToTvInputs.put(info.getPortId(), inputId); in addOrUpdateTvInput() local
162 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/media/libaudioclient/include/media/
DIAudioFlinger.h279 (void)parcel->read(&inputId, sizeof(audio_io_handle_t)); in readFromParcel()
314 (void)parcel->write(&inputId, sizeof(audio_io_handle_t)); in writeToParcel()
341 audio_io_handle_t inputId; variable
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp1258 struct input_id inputId; in openDeviceLocked() local
1259 if (ioctl(fd, EVIOCGID, &inputId)) { in openDeviceLocked()
1264 identifier.bus = inputId.bustype; in openDeviceLocked()
1265 identifier.product = inputId.product; in openDeviceLocked()
1266 identifier.vendor = inputId.vendor; in openDeviceLocked()
1267 identifier.version = inputId.version; in openDeviceLocked()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp900 AudioSystem::addAudioDeviceCallback(this, output.inputId, output.portId); in createRecord_l()
905 mInput = output.inputId; in createRecord_l()
933 .set(AMEDIAMETRICS_PROP_THREADID, (int32_t)output.inputId) in createRecord_l()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1991 output.inputId = AUDIO_IO_HANDLE_NONE; in createRecord()
2046 if (output.inputId != AUDIO_IO_HANDLE_NONE) { in createRecord()
2049 output.inputId = AUDIO_IO_HANDLE_NONE; in createRecord()
2053 lStatus = AudioSystem::getInputForAttr(&input.attr, &output.inputId, in createRecord()
2069 RecordThread *thread = checkRecordThread_l(output.inputId); in createRecord()
2071 ALOGE("createRecord() checkRecordThread_l failed, input handle %d", output.inputId); in createRecord()
2076 ALOGV("createRecord() lSessionId: %d input %d", sessionId, output.inputId); in createRecord()
2133 if (output.inputId != AUDIO_IO_HANDLE_NONE) { in createRecord()
/frameworks/base/non-updatable-api/
Dsystem-lint-baseline.txt23 Missing nullability on parameter `inputId` in method `onEvent`
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...