Home
last modified time | relevance | path

Searched refs:channelId (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java156 private static ContentValues createDummyProgramValues(long channelId) { in createDummyProgramValues() argument
158 values.put(Programs.COLUMN_CHANNEL_ID, channelId); in createDummyProgramValues()
175 private static ContentValues createDummyPreviewProgramValues(long channelId) { in createDummyPreviewProgramValues() argument
177 values.put(PreviewPrograms.COLUMN_CHANNEL_ID, channelId); in createDummyPreviewProgramValues()
235 private static ContentValues createDummyRecordedProgramValues(String inputId, long channelId) { in createDummyRecordedProgramValues() argument
238 values.put(RecordedPrograms.COLUMN_CHANNEL_ID, channelId); in createDummyRecordedProgramValues()
311 private void verifyChannel(Uri channelUri, ContentValues expectedValues, long channelId) { in verifyChannel() argument
312 verifyChannel(channelUri, expectedValues, channelId, true); in verifyChannel()
315 private void verifyChannel(Uri channelUri, ContentValues expectedValues, long channelId, in verifyChannel() argument
322 assertEquals(channelId, cursor.getLong(cursor.getColumnIndex(Channels._ID))); in verifyChannel()
[all …]
DTvViewTest.java233 long channelId = cursor.getLong(0); in tryTuneAllChannels() local
234 Uri channelUri = TvContract.buildChannelUri(channelId); in tryTuneAllChannels()
413 long channelId = cursor.getLong(0); in testOnUnhandledInputEventListener() local
414 Uri channelUri = TvContract.buildChannelUri(channelId); in testOnUnhandledInputEventListener()
DTvInputManagerTest.java161 long channelId = cursor.getLong(0); in tryTuneAllChannels() local
162 Uri channelUri = TvContract.buildChannelUri(channelId); in tryTuneAllChannels()
/cts/tests/app/NotificationProvider/src/com/android/test/notificationprovider/
DRichNotificationActivity.kt38 enum class NotificationPreset(val id: Int, val channelId: String) { constant in com.android.test.notificationprovider.RichNotificationActivity.NotificationPreset
70 notificationManager.createNotificationChannel(NotificationChannel(preset.channelId, in sendNotification()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DLockTaskUiTestActivity.java334 String channelId = getTestId(); in issueTestNotification() local
335 if (mNotifyMgr.getNotificationChannel(channelId) == null) { in issueTestNotification()
337 channelId, getTestId(), NotificationManager.IMPORTANCE_HIGH); in issueTestNotification()
341 Notification note = new Notification.Builder(this, channelId) in issueTestNotification()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DAttentionManagementVerifierActivity.java996 final String channelId = noisy ? NOTIFICATION_CHANNEL_ID_NOISY : NOTIFICATION_CHANNEL_ID; in sendNotifications() local
999 Notification.Builder bob = new Notification.Builder(mContext, channelId) in sendNotifications()
1011 new Notification.Builder(mContext, channelId) in sendNotifications()
1022 Notification.Builder alice = new Notification.Builder(mContext, channelId) in sendNotifications()
1036 final String channelId = NOTIFICATION_CHANNEL_ID; in sendEventAlarmReminderNotifications() local
1040 Notification.Builder alice = new Notification.Builder(mContext, channelId) in sendEventAlarmReminderNotifications()
1051 Notification.Builder bob = new Notification.Builder(mContext, channelId) in sendEventAlarmReminderNotifications()
1063 new Notification.Builder(mContext, channelId) in sendEventAlarmReminderNotifications()
1075 final String channelId = NOTIFICATION_CHANNEL_ID; in sendAlarmOtherMediaNotifications() local
1079 Notification.Builder alice = new Notification.Builder(mContext, channelId) in sendAlarmOtherMediaNotifications()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DFocusLossPreventionService.java27 String channelId = "default"; in onStartCommand() local
/cts/tests/app/src/android/app/cts/
DServiceTest.java1216 final String channelId = LocalForegroundService.getNotificationChannelId(); in testForegroundService_deferredExistingNotification() local
1217 nm.createNotificationChannel(new NotificationChannel(channelId, channelId, in testForegroundService_deferredExistingNotification()
1220 new Notification.Builder(mContext, channelId) in testForegroundService_deferredExistingNotification()
1248 final String channelId = LocalForegroundService.getNotificationChannelId(); in testForegroundService_deferThenImmediateNotify() local
1249 nm.createNotificationChannel(new NotificationChannel(channelId, channelId, in testForegroundService_deferThenImmediateNotify()
1252 new Notification.Builder(mContext, channelId) in testForegroundService_deferThenImmediateNotify()
1276 final String channelId = LocalForegroundService.getNotificationChannelId(); in testForegroundService_deferThenDeferrableNotify() local
1277 nm.createNotificationChannel(new NotificationChannel(channelId, channelId, in testForegroundService_deferThenDeferrableNotify()
1280 new Notification.Builder(mContext, channelId) in testForegroundService_deferThenDeferrableNotify()
/cts/tests/tvprovider/src/android/tvprovider/cts/
DTvProviderPerfTest.java238 long channelId = ContentUris.parseId(channelUri); in testPrograms()
241 values.put(Programs.COLUMN_CHANNEL_ID, channelId); in testPrograms()