/frameworks/base/media/java/android/media/tv/ |
D | TvView.java | 338 public void tune(@NonNull String inputId, Uri channelUri) { in tune() argument 339 tune(inputId, channelUri, null); in tune() 352 public void tune(String inputId, Uri channelUri, Bundle params) { in tune() argument 354 if (TextUtils.isEmpty(inputId)) { in tune() 362 if (mSessionCallback != null && TextUtils.equals(mSessionCallback.mInputId, inputId)) { in tune() 382 mSessionCallback = new MySessionCallback(inputId, channelUri, params); in tune() 385 inputId, mTvAppAttributionSource, mSessionCallback, mHandler); in tune() 567 public void timeShiftPlay(String inputId, Uri recordedProgramUri) { in timeShiftPlay() argument 569 if (TextUtils.isEmpty(inputId)) { in timeShiftPlay() 577 if (mSessionCallback != null && TextUtils.equals(mSessionCallback.mInputId, inputId)) { in timeShiftPlay() [all …]
|
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 | TvRecordingClient.java | 122 public void tune(String inputId, Uri channelUri) { in tune() argument 123 tune(inputId, channelUri, null); in tune() 147 public void tune(String inputId, Uri channelUri, Bundle params) { in tune() argument 149 if (TextUtils.isEmpty(inputId)) { in tune() 155 if (mSessionCallback != null && TextUtils.equals(mSessionCallback.mInputId, inputId)) { in tune() 169 mSessionCallback = new MySessionCallback(inputId, channelUri, params); in tune() 171 mTvInputManager.createRecordingSession(inputId, mSessionCallback, mHandler); in tune() 416 public void onConnectionFailed(String inputId) { in onConnectionFailed() argument 424 public void onDisconnected(String inputId) { in onDisconnected() argument 469 public void onEvent(String inputId, String eventType, Bundle eventArgs) { in onEvent() argument [all …]
|
D | TvInputManager.java | 1520 public void onInputStateChanged(String inputId, @InputState int state) { in onInputStateChanged() argument 1531 public void onInputAdded(String inputId) { in onInputAdded() argument 1542 public void onInputRemoved(String inputId) { in onInputRemoved() argument 1553 public void onInputUpdated(String inputId) { in onInputUpdated() argument 1593 public void postInputAdded(final String inputId) { in postInputAdded() argument 1597 mCallback.onInputAdded(inputId); in postInputAdded() 1602 public void postInputRemoved(final String inputId) { in postInputRemoved() argument 1606 mCallback.onInputRemoved(inputId); in postInputRemoved() 1611 public void postInputUpdated(final String inputId) { in postInputUpdated() argument 1615 mCallback.onInputUpdated(inputId); in postInputUpdated() [all …]
|
D | ITvInputManager.aidl | 50 TvInputInfo getTvInputInfo(in String inputId, int userId); in getTvInputInfo() argument 52 int getTvInputState(in String inputId, int userId); in getTvInputState() argument 53 List<String> getAvailableExtensionInterfaceNames(in String inputId, int userId); in getAvailableExtensionInterfaceNames() argument 54 IBinder getExtensionInterface(in String inputId, in String name, int userId); in getExtensionInterface() argument 68 …void createSession(in ITvInputClient client, in String inputId, in AttributionSource tvAppAttribut… in createSession() argument 136 List<TvStreamConfig> getAvailableTvStreamConfigList(in String inputId, int userId); in getAvailableTvStreamConfigList() argument 137 boolean captureFrame(in String inputId, in Surface surface, in TvStreamConfig config, in captureFrame() argument
|
D | TvInputService.java | 182 String inputId, String sessionId, AttributionSource tvAppAttributionSource) { in onBind() 192 args.arg3 = inputId; in onBind() 200 public void createRecordingSession(ITvInputSessionCallback cb, String inputId, in onBind() 207 args.arg2 = inputId; in onBind() 351 public abstract Session onCreateSession(@NonNull String inputId); in onCreateSession() argument 362 public RecordingSession onCreateRecordingSession(@NonNull String inputId) { in onCreateRecordingSession() argument 377 public Session onCreateSession(@NonNull String inputId, @NonNull String sessionId) { in onCreateSession() argument 378 return onCreateSession(inputId); in onCreateSession() 394 public Session onCreateSession(@NonNull String inputId, @NonNull String sessionId, in onCreateSession() argument 396 return onCreateSession(inputId, sessionId); in onCreateSession() [all …]
|
D | ITvInputService.aidl | 34 in String inputId, in String sessionId, in AttributionSource tvAppAttributionSource); in createSession() argument 35 oneway void createRecordingSession(in ITvInputSessionCallback callback, in String inputId, in createRecordingSession() argument
|
D | TvContract.java | 488 public static Uri buildChannelUriForPassthroughInput(String inputId) { in buildChannelUriForPassthroughInput() argument 490 .appendPath(PATH_PASSTHROUGH).appendPath(inputId).build(); in buildChannelUriForPassthroughInput() 520 public static Uri buildChannelsUriForInput(@Nullable String inputId) { in buildChannelsUriForInput() argument 521 return buildChannelsUriForInput(inputId, false); in buildChannelsUriForInput() 535 public static Uri buildChannelsUriForInput(@Nullable String inputId, in buildChannelsUriForInput() argument 538 if (inputId != null) { in buildChannelsUriForInput() 539 builder.appendQueryParameter(PARAM_INPUT, inputId); in buildChannelsUriForInput() 558 public static Uri buildChannelsUriForInput(@Nullable String inputId, in buildChannelsUriForInput() argument 561 return buildChannelsUriForInput(inputId, browsableOnly); in buildChannelsUriForInput() 566 return buildChannelsUriForInput(inputId, browsableOnly).buildUpon() in buildChannelsUriForInput()
|
D | TvInputInfo.java | 1058 private static boolean isHidden(Context context, String inputId, int userId) { in isHidden() argument 1059 return getHiddenTvInputIds(context, userId).contains(inputId); in isHidden() 1062 private static String getCustomLabel(Context context, String inputId, int userId) { in getCustomLabel() argument 1063 return getCustomLabels(context, userId).get(inputId); in getCustomLabel() 1125 for (String inputId : hiddenInputIds) { in putHiddenTvInputs() 1126 ensureValidField(inputId); in putHiddenTvInputs() 1132 builder.append(Uri.encode(inputId)); in putHiddenTvInputs() 1139 for (String inputId : hiddenInputIds) { in putHiddenTvInputs() 1140 TvInputInfo info = tm.getTvInputInfo(inputId); in putHiddenTvInputs() 1178 for (String inputId : customLabels.keySet()) { in putCustomLabels() [all …]
|
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()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHardwareManager.java | 237 String inputId = mHardwareInputIdMap.get(deviceId); in onStreamConfigurationChanged() local 238 if (inputId != null) { in onStreamConfigurationChanged() 242 connection.getInputStateLocked(), 0, inputId).sendToTarget(); in onStreamConfigurationChanged() 248 connection.getInputStateLocked(), 0, inputId).sendToTarget(); in onStreamConfigurationChanged() 288 String inputId = mHardwareInputIdMap.get(deviceId); in onTvMessage() local 289 if (inputId == null) { in onTvMessage() 367 String inputId = mHardwareInputIdMap.get(hardwareInfo.getDeviceId()); in addHardwareInput() local 368 if (inputId != null && inputId.equals(info.getId())) { in addHardwareInput() 376 ListenerHandler.STATE_CHANGED, state, 0, inputId).sendToTarget(); in addHardwareInput() 430 public void removeHardwareInput(String inputId) { in removeHardwareInput() argument [all …]
|
D | TvInputManagerService.java | 397 String inputId = info.getId(); in buildTvInputListLocked() local 399 Slog.d(TAG, "add " + inputId); in buildTvInputListLocked() 402 Integer count = tisInputCount.get(inputId); in buildTvInputListLocked() 404 tisInputCount.put(inputId, count); in buildTvInputListLocked() 405 TvInputState inputState = userState.inputMap.get(inputId); in buildTvInputListLocked() 411 inputMap.put(inputId, inputState); in buildTvInputListLocked() 415 for (String inputId : inputMap.keySet()) { in buildTvInputListLocked() 416 if (!userState.inputMap.containsKey(inputId)) { in buildTvInputListLocked() 417 notifyInputAddedLocked(userState, inputId); in buildTvInputListLocked() 420 ComponentName component = inputMap.get(inputId).info.getComponent(); in buildTvInputListLocked() [all …]
|
/frameworks/base/media/java/android/media/tv/interactive/ |
D | ITvInteractiveAppSession.aidl | 48 void sendCurrentTvInputId(in String inputId); in sendCurrentTvInputId() argument 57 void notifyTimeShiftStatusChanged(in String inputId, int status); in notifyTimeShiftStatusChanged() argument 58 void notifyTimeShiftStartPositionChanged(in String inputId, long timeMs); in notifyTimeShiftStartPositionChanged() argument 59 void notifyTimeShiftCurrentPositionChanged(in String inputId, long timeMs); in notifyTimeShiftCurrentPositionChanged() argument 60 void notifyRecordingConnectionFailed(in String recordingId, in String inputId); in notifyRecordingConnectionFailed() argument 61 void notifyRecordingDisconnected(in String recordingId, in String inputId); in notifyRecordingDisconnected() argument
|
D | TvInteractiveAppView.java | 610 public void sendCurrentTvInputId(@Nullable String inputId) { in sendCurrentTvInputId() argument 615 mSession.sendCurrentTvInputId(inputId); in sendCurrentTvInputId() 832 @NonNull String inputId, @TvInputManager.TimeShiftStatus int status) { in notifyTimeShiftStatusChanged() 835 "notifyTimeShiftStatusChanged inputId=" + inputId + "; status=" + status); in notifyTimeShiftStatusChanged() 838 mSession.notifyTimeShiftStatusChanged(inputId, status); in notifyTimeShiftStatusChanged() 850 public void notifyTimeShiftStartPositionChanged(@NonNull String inputId, long timeMs) { in notifyTimeShiftStartPositionChanged() argument 852 Log.d(TAG, "notifyTimeShiftStartPositionChanged inputId=" + inputId in notifyTimeShiftStartPositionChanged() 856 mSession.notifyTimeShiftStartPositionChanged(inputId, timeMs); in notifyTimeShiftStartPositionChanged() 868 public void notifyTimeShiftCurrentPositionChanged(@NonNull String inputId, long timeMs) { in notifyTimeShiftCurrentPositionChanged() argument 870 Log.d(TAG, "notifyTimeShiftCurrentPositionChanged inputId=" + inputId in notifyTimeShiftCurrentPositionChanged() [all …]
|
D | ITvInteractiveAppSessionWrapper.java | 459 public void sendCurrentTvInputId(@Nullable String inputId) { in sendCurrentTvInputId() argument 461 mCaller.obtainMessageO(DO_SEND_CURRENT_TV_INPUT_ID, inputId)); in sendCurrentTvInputId() 512 public void notifyTimeShiftStatusChanged(@NonNull String inputId, int status) { in notifyTimeShiftStatusChanged() argument 514 mCaller.obtainMessageOO(DO_NOTIFY_TIME_SHIFT_STATUS_CHANGED, inputId, status)); in notifyTimeShiftStatusChanged() 518 public void notifyTimeShiftStartPositionChanged(@NonNull String inputId, long timeMs) { in notifyTimeShiftStartPositionChanged() argument 520 DO_NOTIFY_TIME_SHIFT_START_POSITION_CHANGED, inputId, timeMs)); in notifyTimeShiftStartPositionChanged() 524 public void notifyTimeShiftCurrentPositionChanged(@NonNull String inputId, long timeMs) { in notifyTimeShiftCurrentPositionChanged() argument 526 DO_NOTIFY_TIME_SHIFT_CURRENT_POSITION_CHANGED, inputId, timeMs)); in notifyTimeShiftCurrentPositionChanged() 607 public void notifyRecordingConnectionFailed(String recordingId, String inputId) { in notifyRecordingConnectionFailed() argument 609 DO_NOTIFY_RECORDING_CONNECTION_FAILED, recordingId, inputId)); in notifyRecordingConnectionFailed() [all …]
|
D | ITvInteractiveAppManager.aidl | 56 void sendCurrentTvInputId(in IBinder sessionToken, in String inputId, int userId); in sendCurrentTvInputId() argument 70 in IBinder sessionToken, in String inputId, int status, int userId); in notifyTimeShiftStatusChanged() argument 72 in IBinder sessionToken, in String inputId, long timeMs, int userId); in notifyTimeShiftStartPositionChanged() argument 74 in IBinder sessionToken, in String inputId, long timeMs, int userId); in notifyTimeShiftCurrentPositionChanged() argument 76 in IBinder sessionToken, in String recordingId, in String inputId, int userId); in notifyRecordingConnectionFailed() argument 78 in IBinder sessionToken, in String recordingId, in String inputId, int userId); in notifyRecordingDisconnected() argument
|
D | TvInteractiveAppService.java | 585 public void onCurrentTvInputId(@Nullable String inputId) { in onCurrentTvInputId() argument 669 @NonNull String recordingId, @NonNull String inputId) { in onRecordingConnectionFailed() argument 680 public void onRecordingDisconnected(@NonNull String recordingId, @NonNull String inputId) { in onRecordingDisconnected() argument 789 @NonNull String inputId, @TvInputManager.TimeShiftStatus int status) {} in onTimeShiftStatusChanged() 798 public void onTimeShiftStartPositionChanged(@NonNull String inputId, long timeMs) { in onTimeShiftStartPositionChanged() argument 808 public void onTimeShiftCurrentPositionChanged(@NonNull String inputId, long timeMs) { in onTimeShiftCurrentPositionChanged() argument 1493 public void requestScheduleRecording(@NonNull String requestId, @NonNull String inputId, in requestScheduleRecording() argument 1502 requestId, inputId, channelUri, programUri, params); in requestScheduleRecording() 1532 public void requestScheduleRecording(@NonNull String requestId, @NonNull String inputId, in requestScheduleRecording() argument 1541 mSessionCallback.onRequestScheduleRecording2(requestId, inputId, channelUri, in requestScheduleRecording() [all …]
|
D | TvInteractiveAppManager.java | 581 public void onRequestScheduleRecording(String requestId, String inputId, Uri channelUri, in TvInteractiveAppManager() 590 requestId, inputId, channelUri, programUri, params); in TvInteractiveAppManager() 595 public void onRequestScheduleRecording2(String requestId, String inputId, in TvInteractiveAppManager() 604 record.postRequestScheduleRecording(requestId, inputId, channelUri, startTime, in TvInteractiveAppManager() 1261 void sendCurrentTvInputId(@Nullable String inputId) { in sendCurrentTvInputId() argument 1267 mService.sendCurrentTvInputId(mToken, inputId, mUserId); in sendCurrentTvInputId() 1395 @NonNull String inputId, @TvInputManager.TimeShiftStatus int status) { in notifyTimeShiftStatusChanged() 1401 mService.notifyTimeShiftStatusChanged(mToken, inputId, status, mUserId); in notifyTimeShiftStatusChanged() 1407 void notifyTimeShiftStartPositionChanged(@NonNull String inputId, long timeMs) { in notifyTimeShiftStartPositionChanged() argument 1413 mService.notifyTimeShiftStartPositionChanged(mToken, inputId, timeMs, mUserId); in notifyTimeShiftStartPositionChanged() [all …]
|
D | ITvInteractiveAppSessionCallback.aidl | 56 void onRequestScheduleRecording(in String requestId, in String inputId, in Uri channelUri, in onRequestScheduleRecording() argument 58 void onRequestScheduleRecording2(in String requestId, in String inputId, in Uri channelUri, in onRequestScheduleRecording2() argument
|
D | ITvInteractiveAppClient.aidl | 57 void onRequestScheduleRecording(in String requestId, in String inputId, in Uri channelUri, in onRequestScheduleRecording() argument 59 void onRequestScheduleRecording2(in String requestId, in String inputId, in Uri channelUri, in onRequestScheduleRecording2() argument
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecLocalDeviceAudioSystem.java | 131 public void onInputAdded(String inputId) { 132 addOrUpdateTvInput(inputId); 136 public void onInputRemoved(String inputId) { 137 removeTvInput(inputId); 141 public void onInputUpdated(String inputId) { 142 addOrUpdateTvInput(inputId); 147 private void addOrUpdateTvInput(String inputId) { in addOrUpdateTvInput() argument 150 TvInputInfo tvInfo = mService.getTvInputManager().getTvInputInfo(inputId); in addOrUpdateTvInput() 158 mPortIdToTvInputs.put(info.getPortId(), inputId); in addOrUpdateTvInput() local 159 mTvInputsToDeviceInfo.put(inputId, info); in addOrUpdateTvInput() [all …]
|
/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/ad/ |
D | ITvAdSession.aidl | 40 void sendCurrentTvInputId(in String inputId); in sendCurrentTvInputId() argument
|