/frameworks/base/media/java/android/media/tv/ |
D | TvRecordingClient.java | 86 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 112 if (DEBUG) Log.d(TAG, "tune(" + channelUri + ")"); in tune() 121 mSession.tune(channelUri, params); in tune() 123 mSessionCallback.mChannelUri = channelUri; in tune() 128 mSessionCallback = new MySessionCallback(inputId, channelUri, params); in tune() 253 public void onTuned(Uri channelUri) { in onTuned() argument 298 MySessionCallback(String inputId, Uri channelUri, Bundle connectionParams) { in MySessionCallback() argument 300 mChannelUri = channelUri; in MySessionCallback() [all …]
|
D | TvContract.java | 505 public static Uri buildChannelLogoUri(Uri channelUri) { in buildChannelLogoUri() argument 506 if (!isChannelUriForTunerInput(channelUri)) { in buildChannelLogoUri() 507 throw new IllegalArgumentException("Not a channel: " + channelUri); in buildChannelLogoUri() 509 return Uri.withAppendedPath(channelUri, Channels.Logo.CONTENT_DIRECTORY); in buildChannelLogoUri() 592 public static Uri buildProgramsUriForChannel(Uri channelUri) { in buildProgramsUriForChannel() argument 593 if (!isChannelUriForTunerInput(channelUri)) { in buildProgramsUriForChannel() 594 throw new IllegalArgumentException("Not a channel: " + channelUri); in buildProgramsUriForChannel() 596 return buildProgramsUriForChannel(ContentUris.parseId(channelUri)); in buildProgramsUriForChannel() 628 public static Uri buildProgramsUriForChannel(Uri channelUri, long startTime, in buildProgramsUriForChannel() argument 630 if (!isChannelUriForTunerInput(channelUri)) { in buildProgramsUriForChannel() [all …]
|
D | TvView.java | 294 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 309 if (DEBUG) Log.d(TAG, "tune(" + channelUri + ")"); in tune() 320 mSession.tune(channelUri, params); in tune() 326 mSessionCallback.mChannelUri = channelUri; in tune() 338 mSessionCallback = new MySessionCallback(inputId, channelUri, params); in tune() 927 public void onChannelRetuned(String inputId, Uri channelUri) { in onChannelRetuned() argument 1058 MySessionCallback(String inputId, Uri channelUri, Bundle tuneParams) { in MySessionCallback() argument 1060 mChannelUri = channelUri; in MySessionCallback() [all …]
|
D | ITvInputSessionCallback.aidl | 32 void onChannelRetuned(in Uri channelUri); in onChannelRetuned() argument 45 void onTuned(in Uri channelUri); in onTuned() argument
|
D | ITvInputClient.aidl | 35 void onChannelRetuned(in Uri channelUri, int seq); in onChannelRetuned() argument 48 void onTuned(int seq, in Uri channelUri); in onTuned() argument
|
D | TvInputService.java | 376 public void notifyChannelRetuned(final Uri channelUri) { 384 mSessionCallback.onChannelRetuned(channelUri); 804 public abstract boolean onTune(Uri channelUri); 818 public boolean onTune(Uri channelUri, Bundle params) { 819 return onTune(channelUri); 1187 void tune(Uri channelUri, Bundle params) { 1189 onTune(channelUri, params); 1548 public void notifyTuned(Uri channelUri) { 1556 mSessionCallback.onTuned(channelUri); 1671 public abstract void onTune(Uri channelUri); [all …]
|
D | TvInputManager.java | 382 public void onChannelRetuned(Session session, Uri channelUri) { in onChannelRetuned() argument 524 void onTuned(Session session, Uri channelUri) { in onTuned() argument 579 void postChannelRetuned(final Uri channelUri) { in postChannelRetuned() argument 583 mSessionCallback.onChannelRetuned(mSession, channelUri); in postChannelRetuned() 698 void postTuned(final Uri channelUri) { in postTuned() argument 702 mSessionCallback.onTuned(mSession, channelUri); in postTuned() 911 public void onChannelRetuned(Uri channelUri, int seq) { in TvInputManager() 918 record.postChannelRetuned(channelUri); in TvInputManager() 1068 public void onTuned(int seq, Uri channelUri) { in TvInputManager() 1075 record.postTuned(channelUri); in TvInputManager() [all …]
|
D | ITvInputManager.aidl | 69 void tune(in IBinder sessionToken, in Uri channelUri, in Bundle params, int userId); in tune() argument 112 void requestChannelBrowsable(in Uri channelUri, int userId); in requestChannelBrowsable() argument
|
D | ITvInputSession.aidl | 39 void tune(in Uri channelUri, in Bundle params); in tune() argument
|
D | ITvInputSessionWrapper.java | 277 public void tune(Uri channelUri, Bundle params) { in tune() argument 280 mCaller.executeOrSendMessage(mCaller.obtainMessageOO(DO_TUNE, channelUri, params)); in tune()
|
/frameworks/support/tv-provider/tests/src/android/support/media/tv/ |
D | ChannelTest.java | 101 Uri channelUri = resolver.insert(Channels.CONTENT_URI, contentValues); in testChannelWithSystemContentProvider() local 102 assertNotNull(channelUri); in testChannelWithSystemContentProvider() 104 Channel channelFromSystemDb = loadChannelFromContentProvider(resolver, channelUri); in testChannelWithSystemContentProvider() 117 Uri channelUri = resolver.insert(Channels.CONTENT_URI, contentValues); in testChannelUpdateWithContentProvider() local 118 assertNotNull(channelUri); in testChannelUpdateWithContentProvider() 120 Channel channelFromSystemDb = loadChannelFromContentProvider(resolver, channelUri); in testChannelUpdateWithContentProvider() 126 assertEquals(1, resolver.update(channelUri, updatedChannel.toContentValues(), null, null)); in testChannelUpdateWithContentProvider() 127 channelFromSystemDb = loadChannelFromContentProvider(resolver, channelUri); in testChannelUpdateWithContentProvider() 134 channelUri, updatedChannel.toContentValues(), null, null)); in testChannelUpdateWithContentProvider() 135 channelFromSystemDb = loadChannelFromContentProvider(resolver, channelUri); in testChannelUpdateWithContentProvider() [all …]
|
D | ProgramTest.java | 107 Uri channelUri = resolver.insert(Channels.CONTENT_URI, channel.toContentValues()); in testChannelWithSystemContentProvider() local 108 assertNotNull(channelUri); in testChannelWithSystemContentProvider() 111 createFullyPopulatedProgram(ContentUris.parseId(channelUri)); in testChannelWithSystemContentProvider() 129 Uri channelUri = resolver.insert(Channels.CONTENT_URI, channel.toContentValues()); in testProgramUpdateWithContentProvider() local 130 assertNotNull(channelUri); in testProgramUpdateWithContentProvider() 133 createFullyPopulatedProgram(ContentUris.parseId(channelUri)); in testProgramUpdateWithContentProvider()
|
D | PreviewProgramTest.java | 112 Uri channelUri = resolver.insert(Channels.CONTENT_URI, channel.toContentValues()); in testPreviewProgramWithSystemContentProvider() local 113 assertNotNull(channelUri); in testPreviewProgramWithSystemContentProvider() 116 ContentUris.parseId(channelUri)); in testPreviewProgramWithSystemContentProvider() 135 Uri channelUri = resolver.insert(Channels.CONTENT_URI, channel.toContentValues()); in testPreviewProgramUpdateWithContentProvider() local 136 assertNotNull(channelUri); in testPreviewProgramUpdateWithContentProvider() 139 ContentUris.parseId(channelUri)); in testPreviewProgramUpdateWithContentProvider()
|
/frameworks/support/tv-provider/src/android/support/media/tv/ |
D | TvContractCompat.java | 380 public static Uri buildChannelLogoUri(Uri channelUri) { in buildChannelLogoUri() argument 381 return TvContract.buildChannelLogoUri(channelUri); in buildChannelLogoUri() 417 public static Uri buildProgramsUriForChannel(Uri channelUri) { in buildProgramsUriForChannel() argument 418 return TvContract.buildProgramsUriForChannel(channelUri); in buildProgramsUriForChannel() 446 public static Uri buildProgramsUriForChannel(Uri channelUri, long startTime, in buildProgramsUriForChannel() argument 448 return TvContract.buildProgramsUriForChannel(channelUri, startTime, endTime); in buildProgramsUriForChannel() 488 public static Uri buildPreviewProgramsUriForChannel(Uri channelUri) { in buildPreviewProgramsUriForChannel() argument 489 if (!isChannelUriForTunerInput(channelUri)) { in buildPreviewProgramsUriForChannel() 490 throw new IllegalArgumentException("Not a channel: " + channelUri); in buildPreviewProgramsUriForChannel() 492 return buildPreviewProgramsUriForChannel(ContentUris.parseId(channelUri)); in buildPreviewProgramsUriForChannel()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 1348 public void tune(IBinder sessionToken, final Uri channelUri, Bundle params, int userId) { in tune() argument 1357 channelUri, params); in tune() 1358 if (TvContract.isChannelUriForPassthroughInput(channelUri)) { in tune() 1373 args.arg3 = ContentUris.parseId(channelUri); in tune() 1963 public void requestChannelBrowsable(Uri channelUri, int userId) in requestChannelBrowsable() argument 1978 channelUri)); in requestChannelBrowsable() 2452 public void onChannelRetuned(Uri channelUri) { in onChannelRetuned() argument 2455 Slog.d(TAG, "onChannelRetuned(" + channelUri + ")"); in onChannelRetuned() 2465 mSessionState.client.onChannelRetuned(channelUri, mSessionState.seq); in onChannelRetuned() 2665 public void onTuned(Uri channelUri) { in onTuned() argument [all …]
|