Home
last modified time | relevance | path

Searched refs:channelUri (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java333 private void verifyChannel(Uri channelUri, ContentValues expectedValues, long channelId) { in verifyChannel() argument
334 verifyChannel(channelUri, expectedValues, channelId, true); in verifyChannel()
337 private void verifyChannel(Uri channelUri, ContentValues expectedValues, long channelId, in verifyChannel() argument
340 channelUri, CHANNELS_PROJECTION, null, null, null)) { in verifyChannel()
370 private void verifyNonExistingColumn(Uri channelUri, long channelId) { in verifyNonExistingColumn() argument
376 try (Cursor cursor = mContentResolver.query(channelUri, projection, null, null, null)) { in verifyNonExistingColumn()
399 Uri channelUri = TvContract.buildChannelUri(channelId); in testChannelsTable() local
400 verifyChannel(channelUri, values, channelId); in testChannelsTable()
407 mContentResolver.update(channelUri, values, null, null); in testChannelsTable()
408 verifyChannel(channelUri, values, channelId); in testChannelsTable()
[all …]
DTvViewTest.java252 Uri channelUri = TvContract.buildChannelUri(channelId); in tryTuneAllChannels() local
254 mTvView.tune(mStubInfo.getId(), channelUri, params); in tryTuneAllChannels() local
256 mTvView.tune(mStubInfo.getId(), channelUri); in tryTuneAllChannels() local
432 Uri channelUri = TvContract.buildChannelUri(channelId); in testOnUnhandledInputEventListener() local
433 mTvView.tune(mStubInfo.getId(), channelUri); in testOnUnhandledInputEventListener() local
527 Uri channelUri = TvContract.buildChannelUri(channelId); in testGetAudioPresentations() local
528 mTvView.tune(mStubInfo.getId(), channelUri); in testGetAudioPresentations() local
DStubTvInputService.java60 public boolean onTune(Uri channelUri) { in onTune() argument
DFaultyTvInputService.java70 public void onTune(Uri channelUri) { in onTune() argument
DStubTunerTvInputService.java129 public boolean onTune(Uri channelUri) { in onTune() argument
134 channelUri, projection, null, null, null); in onTune()
DTvInputServiceTest.java167 public void onChannelRetuned(String inputId, Uri channelUri) { in onChannelRetuned() argument
169 mChannelRetunedUri = channelUri; in onChannelRetuned()
1603 public boolean onTune(Uri channelUri) {
1605 mTunedChannelUri = channelUri;
1610 public boolean onTune(Uri channelUri, Bundle data) {
1615 onTune(channelUri);
1883 public void onTune(Uri channelUri) {
1885 mTunedChannelUri = channelUri;
1889 public void onTune(Uri channelUri, Bundle data) {
1894 onTune(channelUri);
[all …]
DHardwareSessionTest.java150 public boolean onTune(Uri channelUri) { in onTune() argument
DTvInputManagerTest.java280 Uri channelUri = TvContract.buildChannelUri(channelId); in tryTuneAllChannels() local
282 mTvView.tune(mStubTunerTvInputInfo.getId(), channelUri); in tryTuneAllChannels() local
302 channelUri, in tryTuneAllChannels()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputSetupActivity.java93 Uri channelUri = getContentResolver().insert(uri, values); in onCreate() local
95 if (ContentUris.parseId(channelUri) == 0) { in onCreate()
96 getContentResolver().delete(channelUri, null, null); in onCreate()
97 channelUri = getContentResolver().insert(uri, values); in onCreate()
102 values.put(Programs.COLUMN_CHANNEL_ID, ContentUris.parseId(channelUri)); in onCreate()
DMockTvInputService.java356 public boolean onTune(Uri channelUri) { in onTune() argument
/cts/tests/tvprovider/src/android/tvprovider/cts/
DTvProviderPerfTest.java130 Uri channelUri = TvContract.buildChannelUri(cursor.getLong(0)); in testChannels()
133 ContentProviderOperation.newUpdate(channelUri) in testChannels()
237 Uri channelUri = channelUris.get(i); in testPrograms()
238 long channelId = ContentUris.parseId(channelUri); in testPrograms()
265 Uri channelUri = channelUris.get(i); in testPrograms()
268 TvContract.buildProgramsUriForChannel(channelUri), in testPrograms()
314 Uri channelUri = channelUris.get(i); in testPrograms()
317 channelUri, 0, in testPrograms()
354 Uri channelUri = channelUris.get(i); in testPrograms()
357 channelUri, in testPrograms()
[all …]
/cts/hostsidetests/tv/app/src/com/android/cts/tv/hostside/
DStubTvInputService.java52 public boolean onTune(Uri channelUri) { in onTune() argument
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DStubTvInputService2.java95 public boolean onTune(Uri channelUri) { in onTune() argument
186 public void onTune(Uri channelUri) { in onTune() argument
DStubTvInteractiveAppService.java283 public void requestScheduleRecording(String requestId, String inputId, Uri channelUri, in requestScheduleRecording() argument
285 super.requestScheduleRecording(requestId, inputId, channelUri, programUri, params); in requestScheduleRecording()
289 public void requestScheduleRecording(String requestId, String inputId, Uri channelUri, in requestScheduleRecording() argument
292 requestId, inputId, channelUri, startTime, duration, repeatedDays, params); in requestScheduleRecording()
645 public void onRecordingTuned(String recordingId, Uri channelUri) { in onRecordingTuned() argument
648 mTunedUri = channelUri; in onRecordingTuned()
DTvInteractiveAppServiceTest.java145 public void onTuned(Uri channelUri) {
146 super.onTuned(channelUri);
370 String inputId, Uri channelUri, Uri programUri, Bundle params) { in onRequestScheduleRecording() argument
372 id, requestId, inputId, channelUri, programUri, params); in onRequestScheduleRecording()
376 mChannelUri = channelUri; in onRequestScheduleRecording()
383 String inputId, Uri channelUri, long startTime, long duration, int repeated, in onRequestScheduleRecording() argument
386 id, requestId, inputId, channelUri, startTime, duration, repeated, params); in onRequestScheduleRecording()
390 mChannelUri = channelUri; in onRequestScheduleRecording()
/cts/tests/tests/tv/src/android/media/tv/ad/cts/
DStubTvAdService.java188 public void onCurrentChannelUri(Uri channelUri) { in onCurrentChannelUri() argument
189 super.onCurrentChannelUri(channelUri); in onCurrentChannelUri()
191 mCurrentChannelUri = channelUri; in onCurrentChannelUri()
DStubTvInputService2.java81 public boolean onTune(Uri channelUri) { in onTune() argument