/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ |
D | DvrDataManagerImplTest.java | 40 private static final int CHANNEL_ID = 273; field in DvrDataManagerImplTest 49 id++, INPUT_ID, CHANNEL_ID, 10L, 20L)); in testGetNextScheduledStartTimeAfter() 54 id++, INPUT_ID, CHANNEL_ID, 20L, 30L)); in testGetNextScheduledStartTimeAfter() 60 id++, INPUT_ID, CHANNEL_ID, 30L, 40L)); in testGetNextScheduledStartTimeAfter() 68 id++, INPUT_ID, CHANNEL_ID, 10L, 20L)); in testGetNextScheduledStartTimeAfter() 71 id++, INPUT_ID, CHANNEL_ID, 10L, 20L)); in testGetNextScheduledStartTimeAfter() 74 id++, INPUT_ID, CHANNEL_ID, 10L, 20L)); in testGetNextScheduledStartTimeAfter()
|
D | ScheduledRecordingTest.java | 51 private static final int CHANNEL_ID = 273; field in ScheduledRecordingTest 56 createTestRecordingWithIdAndPeriod(1, INPUT_ID, CHANNEL_ID, 10L, 20L); in testIsOverLapping() 82 createTestRecordingWithIdAndPeriod(1, INPUT_ID, CHANNEL_ID, 10L, 20L); in testBuildTime() 89 createTestRecordingWithIdAndPeriod(1, INPUT_ID, CHANNEL_ID, 10L, 20L); in testBuildFrom() 98 createTestRecordingWithIdAndPeriod(1, INPUT_ID, CHANNEL_ID, 10L, 20L)); in testBuild_priority() 101 createTestRecordingWithIdAndPeriod(2, INPUT_ID, CHANNEL_ID, 10L, 20L)); in testBuild_priority() 104 createTestRecordingWithIdAndPeriod(3, INPUT_ID, CHANNEL_ID, 10L, 20L)); in testBuild_priority()
|
D | BaseDvrDataManagerTest.java | 48 private static final int CHANNEL_ID = 273; field in BaseDvrDataManagerTest 90 CHANNEL_ID, in createNewScheduledRecordingStartingNow()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/ |
D | InputTaskSchedulerTest.java | 63 private static final int CHANNEL_ID = 1; field in InputTaskSchedulerTest 121 RecordingTestUtils.createTestRecordingWithPeriod(INPUT_ID, CHANNEL_ID, 0L, 1L); in testAddSchedule_past() 139 CHANNEL_ID, in testAddSchedule_start() 153 ++id, CHANNEL_ID, LOW_PRIORITY, startTimeMs, endTimeMs)); in testAddSchedule_consecutiveNoStop() 159 ++id, CHANNEL_ID, HIGH_PRIORITY, startTimeMs, endTimeMs)); in testAddSchedule_consecutiveNoStop() 174 .thenReturn(ScheduledRecording.builder(INPUT_ID, CHANNEL_ID, 0L, 0L).build()); in testAddSchedule_consecutiveNoFail() 177 ++id, CHANNEL_ID, HIGH_PRIORITY, startTimeMs, endTimeMs)); in testAddSchedule_consecutiveNoFail() 183 ++id, CHANNEL_ID, LOW_PRIORITY, startTimeMs, endTimeMs)); in testAddSchedule_consecutiveNoFail() 205 ++id, CHANNEL_ID, LOW_PRIORITY, startTimeMs, endTimeMs)); in testAddSchedule_consecutiveUseLessSession() 211 ++id, CHANNEL_ID, HIGH_PRIORITY, startTimeMs, endTimeMs)); in testAddSchedule_consecutiveUseLessSession() [all …]
|
D | SchedulerTest.java | 58 private static final int CHANNEL_ID = 273; field in SchedulerTest 107 INPUT_ID, CHANNEL_ID, startTime, startTime + TimeUnit.HOURS.toMillis(1)); in testUpdate_nextIn12Hours() 129 INPUT_ID, CHANNEL_ID, startTime, startTime + 100); in testStartsWithin()
|
D | SeriesRecordingSchedulerTest.java | 50 private static final long CHANNEL_ID = 123; field in SeriesRecordingSchedulerTest 61 .setChannelId(CHANNEL_ID) 67 .setChannelId(CHANNEL_ID)
|
D | RecordingTaskTest.java | 65 private static final int CHANNEL_ID = 273; field in RecordingTaskTest 113 .setId(CHANNEL_ID) in createTestChannel() 114 .setDisplayName("Test Ch " + CHANNEL_ID) in createTestChannel()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | CarNotificationDiffTest.java | 55 private static final String CHANNEL_ID = "CHANNEL_ID"; field in CarNotificationDiffTest 83 CHANNEL_ID) in setupBaseActivityAndLayout() 87 CHANNEL_ID) in setupBaseActivityAndLayout() 304 CHANNEL_ID) in areBundleEqual_sameSize_shouldReturnTrue() 309 CHANNEL_ID) in areBundleEqual_sameSize_shouldReturnTrue() 347 CHANNEL_ID) in areBundleEqual_diffSize_shouldReturnFalse() 355 CHANNEL_ID) in areBundleEqual_diffSize_shouldReturnFalse() 391 CHANNEL_ID) in areBundleEqual_sameKeySetWithSameValue_shouldReturnTrue() 398 CHANNEL_ID) in areBundleEqual_sameKeySetWithSameValue_shouldReturnTrue() 434 CHANNEL_ID) in areBundleEqual_sameKeySetWithDiffValue_shouldReturnFalse() [all …]
|
D | CarHeadsUpNotificationManagerTest.java | 79 private static final String CHANNEL_ID = "CHANNEL_ID"; field in CarHeadsUpNotificationManagerTest 87 private static final NotificationChannel CHANNEL = new NotificationChannel(CHANNEL_ID, 158 CHANNEL_ID, android.R.drawable.sym_def_app_icon) in setup() 166 CHANNEL_ID, android.R.drawable.sym_def_app_icon) in setup() 171 CHANNEL_ID, android.R.drawable.sym_def_app_icon) in setup() 176 CHANNEL_ID, android.R.drawable.sym_def_app_icon) in setup() 181 CHANNEL_ID, android.R.drawable.sym_def_app_icon) in setup() 186 mContext, CHANNEL_ID, android.R.drawable.sym_def_app_icon) in setup() 195 mContext, CHANNEL_ID, android.R.drawable.sym_def_app_icon) in setup() 439 Notification.Builder notificationBuilder = new Notification.Builder(mContext, CHANNEL_ID) in isHeadsUpDismissible_ongoingCallNotificationWithFullScreenIntent_returnsFalse()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | NotificationHelper.java | 42 static final String CHANNEL_ID = "ManagedProvisioning"; field in NotificationHelper 62 final NotificationChannel channel = new NotificationChannel(CHANNEL_ID, in showResumeNotification() 69 .setChannelId(CHANNEL_ID) in showResumeNotification() 87 CHANNEL_ID, mContext.getString(R.string.app_label), importance); in showPrivacyReminderNotification() 91 final Notification.Builder notify = new Notification.Builder(mContext, CHANNEL_ID) in showPrivacyReminderNotification()
|
/packages/modules/Permission/tests/cts/permission/AppThatRequestOneTimePermission/src/android/permission/cts/appthatrequestpermission/ |
D | KeepAliveForegroundService.java | 36 private static final String CHANNEL_ID = "channelId"; field in KeepAliveForegroundService 59 new NotificationChannel(CHANNEL_ID, CHANNEL_NAME, in onStartCommand() 61 Notification notification = new Notification.Builder(this, CHANNEL_ID) in onStartCommand()
|
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/ |
D | NotificationUtils.java | 40 private static final String CHANNEL_ID = "Channel ID"; field in NotificationUtils 59 final NotificationChannel channel = new NotificationChannel(CHANNEL_ID, in createNotificationBuilder() 67 return new Notification.Builder(context, CHANNEL_ID); in createNotificationBuilder() 107 new Notification.Builder(context, CHANNEL_ID); in onReceiveDirectReply()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/ |
D | RecordingTestUtils.java | 25 private static final int CHANNEL_ID = 273; field in RecordingTestUtils 43 return ScheduledRecording.builder(INPUT_ID, CHANNEL_ID, startTime, endTime) in createTestRecordingWithPriorityAndPeriod() 51 return ScheduledRecording.builder(INPUT_ID, CHANNEL_ID, startTime, endTime) in createTestRecordingWithIdAndPriorityAndPeriod()
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/common/ |
D | NotificationHelperTest.java | 19 import static com.android.managedprovisioning.common.NotificationHelper.CHANNEL_ID; 58 assertThat(notification.getNotification().getChannelId()).isEqualTo(CHANNEL_ID); in showResumeNotification_showsExpectedNotification() 72 assertThat(notification.getNotification().getChannelId()).isEqualTo(CHANNEL_ID); in showPrivacyReminderNotification_showsExpectedNotification()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingReceiver.java | 45 private static final String CHANNEL_ID = "bluetooth_notification_channel"; field in AudioSharingReceiver 94 if (nm.getNotificationChannel(CHANNEL_ID) == null) { in showSharingNotification() 98 CHANNEL_ID, in showSharingNotification() 140 new NotificationCompat.Builder(context, CHANNEL_ID) in showSharingNotification()
|
/packages/services/Mtp/src/com/android/mtp/ |
D | ServiceIntentSender.java | 33 private final static String CHANNEL_ID = "device_notification_channel"; field in ServiceIntentSender 41 CHANNEL_ID, in ServiceIntentSender() 82 return new Notification.Builder(context, CHANNEL_ID) in createNotification()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/ |
D | ConsentNotificationTrigger.java | 57 private static final String CHANNEL_ID = "PRIVACY_SANDBOX_CHANNEL"; field in ConsentNotificationTrigger 282 new NotificationCompat.Builder(context, CHANNEL_ID) in getGaV2ConsentNotification() 314 return new NotificationCompat.Builder(context, CHANNEL_ID) in getConsentNotification() 350 return new NotificationCompat.Builder(context, CHANNEL_ID) in getU18ConsentNotification() 394 new NotificationCompat.Builder(context, CHANNEL_ID) in getPasConsentNotification() 415 CHANNEL_ID, in createNotificationChannel()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/ |
D | MigrationNotificationSender.java | 51 private static final String CHANNEL_ID = "healthconnect-channel"; field in MigrationNotificationSender 73 mNotificationFactory.createNotification(notificationType, CHANNEL_ID); in sendNotification() 139 new NotificationChannel(CHANNEL_ID, channelName, importance); in createNotificationChannel()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/data/ |
D | SeriesRecordingTest.java | 38 private static final long CHANNEL_ID = 123; field in SeriesRecordingTest 46 .setChannelId(CHANNEL_ID) 56 .setChannelId(CHANNEL_ID)
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | DetailsActivity.java | 52 public static final String CHANNEL_ID = "channel_id"; field in DetailsActivity 96 long channelId = getIntent().getLongExtra(CHANNEL_ID, -1); in onCreate() 116 args.putLong(CHANNEL_ID, channelId); in onCreate()
|
/packages/services/Telecomm/testapps/transactionalVoipApp/src/com/android/server/telecom/transactionalVoipApp/ |
D | Utils.java | 45 public static final String CHANNEL_ID = "TelecomVoipAppChannelId"; field in Utils 71 CHANNEL_ID) in createCallStyleNotification() 96 CHANNEL_ID) in updateCallStyleNotification_toOngoingCall()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | CallServiceNotifier.java | 50 private static final String CHANNEL_ID = "channel1"; field in CallServiceNotifier 92 NotificationChannel channel = new NotificationChannel(CHANNEL_ID, "Test Channel", in updateNotification() 228 final Notification.Builder builder = new Notification.Builder(context, CHANNEL_ID); in getPhoneAccountNotification() 253 final Notification.Builder builder = new Notification.Builder(context, CHANNEL_ID); in getMainNotification()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/ |
D | GroupNotificationViewHolderTest.java | 61 private static final String CHANNEL_ID = "CHANNEL_ID"; field in GroupNotificationViewHolderTest 189 mContext, CHANNEL_ID, android.R.drawable.sym_def_app_icon) in getNotificationGroup() 200 mContext, CHANNEL_ID, android.R.drawable.sym_def_app_icon) in getNotificationGroup()
|
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/ |
D | InteractionService.java | 52 private static final String CHANNEL_ID = "Mica"; field in InteractionService 218 NotificationChannel channel = new NotificationChannel(CHANNEL_ID, in updateNotification() 233 Notification notification = new NotificationCompat.Builder(this, CHANNEL_ID) in updateNotification()
|
/packages/modules/ConfigInfrastructure/service/java/com/android/server/deviceconfig/ |
D | BootNotificationCreator.java | 55 private static final String CHANNEL_ID = "trunk-stable-flags"; field in BootNotificationCreator 179 Notification notification = new Notification.Builder(context, CHANNEL_ID) in onReceive() 228 new NotificationChannel(CHANNEL_ID, CHANNEL_NAME, IMPORTANCE_HIGH)); in tryInitializeDependenciesIfNeeded()
|