/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvContractTest.java | 171 private static ContentValues createDummyProgramValues(long channelId) { in createDummyProgramValues() argument 173 values.put(Programs.COLUMN_CHANNEL_ID, channelId); in createDummyProgramValues() 190 private static ContentValues createDummyPreviewProgramValues(long channelId) { in createDummyPreviewProgramValues() argument 192 values.put(PreviewPrograms.COLUMN_CHANNEL_ID, channelId); in createDummyPreviewProgramValues() 250 private static ContentValues createDummyRecordedProgramValues(String inputId, long channelId) { in createDummyRecordedProgramValues() argument 253 values.put(RecordedPrograms.COLUMN_CHANNEL_ID, channelId); in createDummyRecordedProgramValues() 326 private void verifyChannel(Uri channelUri, ContentValues expectedValues, long channelId) { in verifyChannel() argument 327 verifyChannel(channelUri, expectedValues, channelId, true); in verifyChannel() 330 private void verifyChannel(Uri channelUri, ContentValues expectedValues, long channelId, in verifyChannel() argument 337 assertEquals(channelId, cursor.getLong(cursor.getColumnIndex(Channels._ID))); in verifyChannel() [all …]
|
D | TvViewTest.java | 249 long channelId = cursor.getLong(0); in tryTuneAllChannels() local 250 Uri channelUri = TvContract.buildChannelUri(channelId); in tryTuneAllChannels() 429 long channelId = cursor.getLong(0); in testOnUnhandledInputEventListener() local 430 Uri channelUri = TvContract.buildChannelUri(channelId); in testOnUnhandledInputEventListener()
|
D | TvInputManagerTest.java | 178 long channelId = cursor.getLong(0); in tryTuneAllChannels() local 179 Uri channelUri = TvContract.buildChannelUri(channelId); in tryTuneAllChannels()
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/notifications/ |
D | NotificationsTest.java | 104 String channelId = "notifications"; in createNotification() local 105 sNotificationManager.createNotificationChannel(new NotificationChannel(channelId, in createNotification() 110 new Notification.Builder(TestApis.context().instrumentedContext(), channelId) in createNotification()
|
/cts/tests/app/NotificationProvider/src/com/android/test/notificationprovider/ |
D | RichNotificationActivity.kt | 38 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/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/ |
D | NotificationQueryHelperTest.java | 63 notificationQueryHelper.channelId().isEqualTo(STRING_VALUE); in matches_channelId_meetsRestriction_returnsTrue() 75 notificationQueryHelper.channelId().isEqualTo(DIFFERENT_STRING_VALUE); in matches_channelId_doesNotMeetRestriction_returnsFalse()
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/ |
D | NotificationQuery.java | 36 StringQuery<E> channelId(); in channelId() method
|
D | NotificationQueryHelper.java | 49 public StringQuery<E> channelId() { in channelId() method in NotificationQueryHelper
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | LockTaskUiTestActivity.java | 334 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/bluetooth/ |
D | FocusLossPreventionService.java | 27 String channelId = "default"; in onStartCommand() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | AttentionManagementVerifierActivity.java | 996 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/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 1216 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() 1278 final String channelId = LocalForegroundService.getNotificationChannelId(); in testForegroundService_deferThenDeferrableNotify() local 1279 nm.createNotificationChannel(new NotificationChannel(channelId, channelId, in testForegroundService_deferThenDeferrableNotify() 1282 new Notification.Builder(mContext, channelId) in testForegroundService_deferThenDeferrableNotify()
|
/cts/tests/tvprovider/src/android/tvprovider/cts/ |
D | TvProviderPerfTest.java | 238 long channelId = ContentUris.parseId(channelUri); in testPrograms() 241 values.put(Programs.COLUMN_CHANNEL_ID, channelId); in testPrograms()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | PermissionGrantTest.java | 645 .whereNotification().channelId().isEqualTo( in grantLocationPermission_userNotified()
|