/frameworks/base/media/java/android/media/tv/ |
ITvInputManagerCallback.aidl | 24 void onInputStateChanged(in String inputId, int state); 25 void onInputAdded(in String inputId); 26 void onInputRemoved(in String inputId); 27 void onInputUpdated(in String inputId);
|
ITvInputManager.aidl | 40 TvInputInfo getTvInputInfo(in String inputId, int userId); 41 int getTvInputState(in String inputId, int userId); 55 void createSession(in ITvInputClient client, in String inputId, int seq, int userId); 84 List<TvStreamConfig> getAvailableTvStreamConfigList(in String inputId, int userId); 85 boolean captureFrame(in String inputId, in Surface surface, in TvStreamConfig config,
|
TvView.java | 273 * @param inputId The ID of TV input which will play the given channel. 276 public void tune(String inputId, Uri channelUri) { 277 tune(inputId, channelUri, null); 283 * @param inputId The ID of TV input which will play the given channel. 289 public void tune(String inputId, Uri channelUri, Bundle params) { 291 if (TextUtils.isEmpty(inputId)) { 292 throw new IllegalArgumentException("inputId cannot be null or an empty string"); 299 if (mSessionCallback != null && mSessionCallback.mInputId.equals(inputId)) { 315 mSessionCallback = new MySessionCallback(inputId, channelUri, params); 317 mTvInputManager.createSession(inputId, mSessionCallback, mHandler) [all...] |
ITvInputServiceCallback.aidl | 29 void removeTvInput(in String inputId);
|
TvInputManager.java | 462 * @param inputId The id of the TV input. 470 public void onInputStateChanged(String inputId, int state) { 476 * @param inputId The id of the TV input. 478 public void onInputAdded(String inputId) { 484 * @param inputId The id of the TV input. 486 public void onInputRemoved(String inputId) { 494 * @param inputId The id of the TV input. 498 public void onInputUpdated(String inputId) { 515 public void postInputStateChanged(final String inputId, final int state) { 519 mCallback.onInputStateChanged(inputId, state) [all...] |
ITvInputService.aidl | 33 in String inputId);
|
ITvInputClient.aidl | 32 void onSessionCreated(in String inputId, IBinder token, in InputChannel channel, int seq);
|
TvInputService.java | 121 String inputId) { 131 args.arg3 = inputId; 168 * @param inputId The ID of the TV input associated with the session. 170 public abstract Session onCreateSession(String inputId); 224 private boolean isPassthroughInput(String inputId) { 228 TvInputInfo info = mTvInputManager.getTvInputInfo(inputId); [all...] |
TvContract.java | 124 * @param inputId The ID of the pass-through input to build a channels URI for. 127 public static final Uri buildChannelUriForPassthroughInput(String inputId) { 129 .appendPath(PATH_PASSTHROUGH).appendPath(inputId).build(); 156 * @param inputId The ID of the TV input to build a channels URI for. If {@code null}, builds a 159 public static final Uri buildChannelsUriForInput(String inputId) { 160 return buildChannelsUriForInput(inputId, false); 166 * @param inputId The ID of the TV input to build a channels URI for. If {@code null}, builds a 174 public static final Uri buildChannelsUriForInput(String inputId, boolean browsableOnly) { 176 if (inputId != null) { 177 builder.appendQueryParameter(PARAM_INPUT, inputId); [all...] |
TvInputInfo.java | 593 private static boolean isHidden(Context context, String inputId, int userId) { 594 return getHiddenTvInputIds(context, userId).contains(inputId); 597 private static String getCustomLabel(Context context, String inputId, int userId) { 598 return getCustomLabels(context, userId).get(inputId); 660 for (String inputId : hiddenInputIds) { 661 ensureValidField(inputId); 667 builder.append(Uri.encode(inputId));
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
TvInputInfoTest.java | 59 String inputId = intent.getStringExtra(TvInputInfo.EXTRA_INPUT_ID); 60 assertEquals(mStubInfo.getId(), inputId); 71 String inputId = intent.getStringExtra(TvInputInfo.EXTRA_INPUT_ID); 72 assertEquals(mStubInfo.getId(), inputId);
|
TvViewTest.java | 65 public boolean isVideoAvailable(String inputId) { 67 Boolean available = mVideoAvailableMap.get(inputId); 72 public int getSelectedTrackGeneration(String inputId, int type) { 75 mSelectedTrackGenerationMap.get(inputId); 84 public void onVideoAvailable(String inputId) { 86 mVideoAvailableMap.put(inputId, true); 91 public void onVideoUnavailable(String inputId, int reason) { 93 mVideoAvailableMap.put(inputId, false); 98 public void onTrackSelected(String inputId, int type, String trackId) { 101 mSelectedTrackGenerationMap.get(inputId); [all...] |
TvInputServiceTest.java | 69 public void onChannelRetuned(String inputId, Uri channelUri) { 74 public void onVideoAvailable(String inputId) { 79 public void onVideoUnavailable(String inputId, int reason) { 84 public void onTrackSelected(String inputId, int type, String trackId) { 89 public void onTracksChanged(String inputId, List<TvTrackInfo> trackList) { 94 public void onContentAllowed(String inputId) { 99 public void onContentBlocked(String inputId, TvContentRating rating) { 311 public Session onCreateSession(String inputId) {
|
BundledTvInputServiceTest.java | 57 public Integer getVideoUnavailableReason(String inputId) { 58 return mVideoUnavailableReasonMap.get(inputId); 62 public void onVideoAvailable(String inputId) { 64 mVideoUnavailableReasonMap.put(inputId, VIDEO_AVAILABLE); 69 public void onVideoUnavailable(String inputId, int reason) { 71 mVideoUnavailableReasonMap.put(inputId, reason);
|
StubTvInputService.java | 29 public Session onCreateSession(String inputId) {
|
HardwareSessionTest.java | 114 public Session onCreateSession(String inputId) {
|
StubTunerTvInputService.java | 79 public Session onCreateSession(String inputId) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
MockTvInputSetupActivity.java | 49 final String inputId = getIntent().getStringExtra(TvInputInfo.EXTRA_INPUT_ID); 50 final Uri uri = TvContract.buildChannelsUriForInput(inputId); 59 values.put(TvContract.Channels.COLUMN_INPUT_ID, inputId);
|
/frameworks/base/services/core/java/com/android/server/tv/ |
TvInputManagerService.java | 322 for (String inputId : inputMap.keySet()) { 323 if (!userState.inputMap.containsKey(inputId)) { 324 notifyInputAddedLocked(userState, inputId); 327 ComponentName component = inputMap.get(inputId).info.getComponent(); 331 notifyInputUpdatedLocked(userState, inputId); 338 for (String inputId : userState.inputMap.keySet()) { 339 if (!inputMap.containsKey(inputId)) { 340 TvInputInfo info = userState.inputMap.get(inputId).info; 343 abortPendingCreateSessionRequestsLocked(serviceState, inputId, userId); 345 notifyInputRemovedLocked(userState, inputId); [all...] |
TvInputHardwareManager.java | 214 String inputId = mHardwareInputIdMap.get(deviceId); 215 if (inputId != null) { 217 convertConnectedToState(configs.length > 0), 0, inputId).sendToTarget(); 300 String inputId = mHardwareInputIdMap.get(hardwareInfo.getDeviceId()); 301 if (inputId != null && inputId.equals(info.getId())) { 304 inputId).sendToTarget(); 356 public void removeTvInput(String inputId) { 358 mInputMap.remove(inputId); 359 int hardwareIndex = indexOfEqualValue(mHardwareInputIdMap, inputId); [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
InputsActivity.java | 373 private void handleHide(String inputId, boolean hide) { 374 if (DEBUG) Log.d(TAG, "Hide " + inputId + ": " + hide); 378 if (!mHiddenIds.contains(inputId)) { 379 mHiddenIds.add(inputId); 383 if (mHiddenIds.contains(inputId)) { 384 mHiddenIds.remove(inputId); 399 private void saveCustomLabel(String inputId, String label) { 400 if (DEBUG) Log.d(TAG, "Setting " + inputId + " => " + label); 403 mCustomLabels.put(inputId, label); 405 mCustomLabels.remove(inputId); [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ |
externs.js | 35 * inputID: string}} 41 * @typedef {{inputID: string,
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
regiontst.cpp | 397 const char *inputID; 431 r = Region::getInstance(data.inputID,status); 442 dataerrln("Unexpected region ID for Region::getInstance(\"%s\"); Expected: %s Got: %s",data.inputID,data.expectedID,id); 445 dataerrln("Unexpected region type for Region::getInstance(\"%s\"); Expected: %d Got: %d",data.inputID,data.expectedType,type); 452 int32_t inputID; 475 const Region *r = Region::getInstance(data.inputID,status); 486 dataerrln("Unexpected region ID for Region.getInstance(%d)); Expected: %s Got: %s",data.inputID,data.expectedID,id); 489 dataerrln("Unexpected region type for Region.getInstance(%d)); Expected: %d Got: %d",data.inputID,data.expectedType,type);
|
/external/icu/icu4c/source/test/intltest/ |
regiontst.cpp | 397 const char *inputID; 431 r = Region::getInstance(data.inputID,status); 442 dataerrln("Unexpected region ID for Region::getInstance(\"%s\"); Expected: %s Got: %s",data.inputID,data.expectedID,id); 445 dataerrln("Unexpected region type for Region::getInstance(\"%s\"); Expected: %d Got: %d",data.inputID,data.expectedType,type); 452 int32_t inputID; 475 const Region *r = Region::getInstance(data.inputID,status); 486 dataerrln("Unexpected region ID for Region.getInstance(%d)); Expected: %s Got: %s",data.inputID,data.expectedID,id); 489 dataerrln("Unexpected region type for Region.getInstance(%d)); Expected: %d Got: %d",data.inputID,data.expectedType,type);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiCecLocalDeviceTv.java | 145 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) { 170 mTvInputs.put(inputId, deviceId); 174 private void removeTvInput(String inputId) { 176 mTvInputs.remove(inputId); [all...] |