Home
last modified time | relevance | path

Searched refs:CHANNEL_ID (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/
DDvrDataManagerImplTest.java40 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()
DScheduledRecordingTest.java51 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()
DBaseDvrDataManagerTest.java48 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/
DInputTaskSchedulerTest.java63 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 …]
DSchedulerTest.java58 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()
DSeriesRecordingSchedulerTest.java50 private static final long CHANNEL_ID = 123; field in SeriesRecordingSchedulerTest
61 .setChannelId(CHANNEL_ID)
67 .setChannelId(CHANNEL_ID)
DRecordingTaskTest.java65 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/
DCarNotificationDiffTest.java55 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 …]
DCarHeadsUpNotificationManagerTest.java79 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/
DNotificationHelper.java42 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/
DKeepAliveForegroundService.java36 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/
DNotificationUtils.java40 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/
DRecordingTestUtils.java25 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/
DNotificationHelperTest.java19 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/
DAudioSharingReceiver.java45 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/
DServiceIntentSender.java33 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/
DConsentNotificationTrigger.java57 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/
DMigrationNotificationSender.java51 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/
DSeriesRecordingTest.java38 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/
DDetailsActivity.java52 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/
DUtils.java45 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/
DCallServiceNotifier.java50 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/
DGroupNotificationViewHolderTest.java61 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/
DInteractionService.java52 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/
DBootNotificationCreator.java55 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()

12