/frameworks/base/media/java/android/media/tv/ |
D | ITvInputManagerCallback.aidl | 27 void onInputAdded(in String inputId); in onInputAdded() argument 28 void onInputRemoved(in String inputId); in onInputRemoved() argument 29 void onInputUpdated(in String inputId); in onInputUpdated() argument 30 void onInputStateChanged(in String inputId, int state); in onInputStateChanged() argument
|
D | TvView.java | 312 public void tune(@NonNull String inputId, Uri channelUri) { in tune() argument 313 tune(inputId, channelUri, null); in tune() 326 public void tune(String inputId, Uri channelUri, Bundle params) { in tune() argument 328 if (TextUtils.isEmpty(inputId)) { in tune() 336 if (mSessionCallback != null && TextUtils.equals(mSessionCallback.mInputId, inputId)) { in tune() 356 mSessionCallback = new MySessionCallback(inputId, channelUri, params); in tune() 358 mTvInputManager.createSession(inputId, mSessionCallback, mHandler); in tune() 509 public void timeShiftPlay(String inputId, Uri recordedProgramUri) { in timeShiftPlay() argument 511 if (TextUtils.isEmpty(inputId)) { in timeShiftPlay() 519 if (mSessionCallback != null && TextUtils.equals(mSessionCallback.mInputId, inputId)) { in timeShiftPlay() [all …]
|
D | TvRecordingClient.java | 89 public void tune(String inputId, Uri channelUri) { in tune() argument 90 tune(inputId, channelUri, null); in tune() 114 public void tune(String inputId, Uri channelUri, Bundle params) { in tune() argument 116 if (TextUtils.isEmpty(inputId)) { in tune() 122 if (mSessionCallback != null && TextUtils.equals(mSessionCallback.mInputId, inputId)) { in tune() 136 mSessionCallback = new MySessionCallback(inputId, channelUri, params); in tune() 138 mTvInputManager.createRecordingSession(inputId, mSessionCallback, mHandler); in tune() 377 public void onConnectionFailed(String inputId) { in onConnectionFailed() argument 385 public void onDisconnected(String inputId) { in onDisconnected() argument 430 public void onEvent(String inputId, String eventType, Bundle eventArgs) { in onEvent() argument [all …]
|
D | TvInputManager.java | 986 public void onInputStateChanged(String inputId, @InputState int state) { in onInputStateChanged() argument 997 public void onInputAdded(String inputId) { in onInputAdded() argument 1008 public void onInputRemoved(String inputId) { in onInputRemoved() argument 1019 public void onInputUpdated(String inputId) { in onInputUpdated() argument 1059 public void postInputAdded(final String inputId) { in postInputAdded() argument 1063 mCallback.onInputAdded(inputId); in postInputAdded() 1068 public void postInputRemoved(final String inputId) { in postInputRemoved() argument 1072 mCallback.onInputRemoved(inputId); in postInputRemoved() 1077 public void postInputUpdated(final String inputId) { in postInputUpdated() argument 1081 mCallback.onInputUpdated(inputId); in postInputUpdated() [all …]
|
D | ITvInputManager.aidl | 47 TvInputInfo getTvInputInfo(in String inputId, int userId); in getTvInputInfo() argument 49 int getTvInputState(in String inputId, int userId); in getTvInputState() argument 50 List<String> getAvailableExtensionInterfaceNames(in String inputId, int userId); in getAvailableExtensionInterfaceNames() argument 51 IBinder getExtensionInterface(in String inputId, in String name, int userId); in getExtensionInterface() argument 65 void createSession(in ITvInputClient client, in String inputId, boolean isRecordingSession, in createSession() argument 121 List<TvStreamConfig> getAvailableTvStreamConfigList(in String inputId, int userId); in getAvailableTvStreamConfigList() argument 122 boolean captureFrame(in String inputId, in Surface surface, in TvStreamConfig config, in captureFrame() argument
|
D | TvInputService.java | 174 String inputId, String sessionId) { in onBind() 184 args.arg3 = inputId; in onBind() 191 public void createRecordingSession(ITvInputSessionCallback cb, String inputId, in onBind() 198 args.arg2 = inputId; in onBind() 342 public abstract Session onCreateSession(@NonNull String inputId); in onCreateSession() argument 353 public RecordingSession onCreateRecordingSession(@NonNull String inputId) { in onCreateRecordingSession() argument 368 public Session onCreateSession(@NonNull String inputId, @NonNull String sessionId) { in onCreateSession() argument 369 return onCreateSession(inputId); in onCreateSession() 384 @NonNull String inputId, @NonNull String sessionId) { in onCreateRecordingSession() 385 return onCreateRecordingSession(inputId); in onCreateRecordingSession() [all …]
|
D | ITvInputService.aidl | 33 in String inputId, in String sessionId); in createSession() argument 34 oneway void createRecordingSession(in ITvInputSessionCallback callback, in String inputId, in createRecordingSession() argument
|
D | TvInputInfo.java | 1055 private static boolean isHidden(Context context, String inputId, int userId) { in isHidden() argument 1056 return getHiddenTvInputIds(context, userId).contains(inputId); in isHidden() 1059 private static String getCustomLabel(Context context, String inputId, int userId) { in getCustomLabel() argument 1060 return getCustomLabels(context, userId).get(inputId); in getCustomLabel() 1122 for (String inputId : hiddenInputIds) { in putHiddenTvInputs() 1123 ensureValidField(inputId); in putHiddenTvInputs() 1129 builder.append(Uri.encode(inputId)); in putHiddenTvInputs() 1136 for (String inputId : hiddenInputIds) { in putHiddenTvInputs() 1137 TvInputInfo info = tm.getTvInputInfo(inputId); in putHiddenTvInputs() 1175 for (String inputId : customLabels.keySet()) { in putCustomLabels() [all …]
|
D | TvContract.java | 486 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()
|
D | ITvInputServiceCallback.aidl | 29 void removeHardwareInput(in String inputId); in removeHardwareInput() argument
|
D | TunedInfo.java | 103 String inputId, @Nullable Uri channelUri, boolean isRecordingSession, in TunedInfo() argument 105 mInputId = inputId; in TunedInfo()
|
D | ITvInputClient.aidl | 35 void onSessionCreated(in String inputId, IBinder token, in InputChannel channel, int seq); in onSessionCreated() argument
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHardwareManager.java | 220 String inputId = mHardwareInputIdMap.get(deviceId); in onStreamConfigurationChanged() local 221 if (inputId != null) { in onStreamConfigurationChanged() 225 connection.getInputStateLocked(), 0, inputId).sendToTarget(); in onStreamConfigurationChanged() 231 connection.getInputStateLocked(), 0, inputId).sendToTarget(); in onStreamConfigurationChanged() 314 String inputId = mHardwareInputIdMap.get(hardwareInfo.getDeviceId()); in addHardwareInput() local 315 if (inputId != null && inputId.equals(info.getId())) { in addHardwareInput() 323 ListenerHandler.STATE_CHANGED, state, 0, inputId).sendToTarget(); in addHardwareInput() 373 public void removeHardwareInput(String inputId) { in removeHardwareInput() argument 375 mInputMap.remove(inputId); in removeHardwareInput() 376 int hardwareIndex = indexOfEqualValue(mHardwareInputIdMap, inputId); in removeHardwareInput() [all …]
|
D | TvInputManagerService.java | 366 String inputId = info.getId(); in buildTvInputListLocked() local 368 Slog.d(TAG, "add " + inputId); in buildTvInputListLocked() 371 Integer count = tisInputCount.get(inputId); in buildTvInputListLocked() 373 tisInputCount.put(inputId, count); in buildTvInputListLocked() 374 TvInputState inputState = userState.inputMap.get(inputId); in buildTvInputListLocked() 380 inputMap.put(inputId, inputState); in buildTvInputListLocked() 384 for (String inputId : inputMap.keySet()) { in buildTvInputListLocked() 385 if (!userState.inputMap.containsKey(inputId)) { in buildTvInputListLocked() 386 notifyInputAddedLocked(userState, inputId); in buildTvInputListLocked() 389 ComponentName component = inputMap.get(inputId).info.getComponent(); in buildTvInputListLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecLocalDeviceAudioSystem.java | 127 public void onInputAdded(String inputId) { 128 addOrUpdateTvInput(inputId); 132 public void onInputRemoved(String inputId) { 133 removeTvInput(inputId); 137 public void onInputUpdated(String inputId) { 138 addOrUpdateTvInput(inputId); 143 private void addOrUpdateTvInput(String inputId) { in addOrUpdateTvInput() argument 146 TvInputInfo tvInfo = mService.getTvInputManager().getTvInputInfo(inputId); in addOrUpdateTvInput() 154 mPortIdToTvInputs.put(info.getPortId(), inputId); in addOrUpdateTvInput() local 155 mTvInputsToDeviceInfo.put(inputId, info); in addOrUpdateTvInput() [all …]
|
D | HdmiCecLocalDeviceTv.java | 114 public void onInputAdded(String inputId) { 115 TvInputInfo tvInfo = mService.getTvInputManager().getTvInputInfo(inputId); 119 addTvInput(inputId, info.getId()); 126 public void onInputRemoved(String inputId) { 127 removeTvInput(inputId); 138 private void addTvInput(String inputId, int deviceId) { in addTvInput() argument 140 mTvInputs.put(inputId, deviceId); in addTvInput() 144 private void removeTvInput(String inputId) { in removeTvInput() argument 146 mTvInputs.remove(inputId); in removeTvInput()
|
/frameworks/av/media/libstagefright/tests/writer/ |
D | WriterTest.cpp | 54 enum inputId { enum 79 inputId inpId; 203 public ::testing::TestWithParam<tuple<string /* writerFormat*/, inputId /* inputId0*/, 204 inputId /* inputId1*/, float /* BufferInterval*/>> { 304 inputId inpId) { in getFileDetails() 496 inputId inpId[] = {get<1>(GetParam()), get<2>(GetParam())}; in TEST_P() 612 inputId inpId = get<1>(GetParam()); in TEST_P() 673 inputId inpId = get<1>(GetParam()); in TEST_P() 732 tuple<string /* writerFormat*/, inputId /* inputId0*/, bool /* addSourceFail*/>> { 742 inputId inpId = get<1>(GetParam()); in TEST_P() [all …]
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | CreateRecordResponse.aidl | 40 int inputId;
|
/frameworks/base/media/java/android/media/tv/interactive/ |
D | ITvInteractiveAppSession.aidl | 44 void sendCurrentTvInputId(in String inputId); in sendCurrentTvInputId() argument
|
D | TvInteractiveAppService.java | 455 public void onCurrentTvInputId(@Nullable String inputId) { in onCurrentTvInputId() argument 1014 void sendCurrentTvInputId(@Nullable String inputId) { in sendCurrentTvInputId() argument 1015 onCurrentTvInputId(inputId); in sendCurrentTvInputId() 1489 public void sendCurrentTvInputId(@Nullable String inputId) { in sendCurrentTvInputId() argument 1490 mSessionImpl.sendCurrentTvInputId(inputId); in sendCurrentTvInputId()
|
D | ITvInteractiveAppManager.aidl | 51 void sendCurrentTvInputId(in IBinder sessionToken, in String inputId, int userId); in sendCurrentTvInputId() argument
|
D | TvInteractiveAppView.java | 570 public void sendCurrentTvInputId(@Nullable String inputId) { in sendCurrentTvInputId() argument 575 mSession.sendCurrentTvInputId(inputId); in sendCurrentTvInputId()
|
/frameworks/av/media/extractors/tests/ |
D | ExtractorUnitTest.cpp | 227 void getFileProperties(inputID inputId, string &inputFile, configFormat &configParam); 286 void ConfigParamTest::getFileProperties(inputID inputId, string &inputFile, in getFileProperties() argument 291 if (inputId == kInputData[inputIdx].inpId) { in getFileProperties()
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 1982 struct input_id inputId; in openDeviceLocked() local 1983 if (ioctl(fd, EVIOCGID, &inputId)) { in openDeviceLocked() 1988 identifier.bus = inputId.bustype; in openDeviceLocked() 1989 identifier.product = inputId.product; in openDeviceLocked() 1990 identifier.vendor = inputId.vendor; in openDeviceLocked() 1991 identifier.version = inputId.version; in openDeviceLocked()
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 195 aidl.inputId = VALUE_OR_RETURN(legacy2aidl_audio_io_handle_t_int32_t(inputId)); in toAidl() 217 legacy.inputId = VALUE_OR_RETURN(aidl2legacy_int32_t_audio_io_handle_t(aidl.inputId)); in fromAidl()
|