/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
H A D | ConversationStoreTest.java | 47 private static final String NOTIFICATION_CHANNEL_ID = "test : abc"; field in ConversationStoreTest 103 assertEquals(NOTIFICATION_CHANNEL_ID, updated.getNotificationChannelId()); in testUpdateConversation() 133 PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testGetConversationByLocusId() 146 PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testGetConversationByContactUri() 159 PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testGetConversationByPhoneNumber() 172 PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testGetConversationByNotificationChannelId() 175 NOTIFICATION_CHANNEL_ID); in testGetConversationByNotificationChannelId() 188 PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testDataPersistenceAndRestoration() 222 PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testDelayedDiskWrites() 265 PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testMimicDevicePowerOff() [all …]
|
H A D | ConversationInfoTest.java | 47 private static final String NOTIFICATION_CHANNEL_ID = "test : abc"; field in ConversationInfoTest 60 .setNotificationChannelId(NOTIFICATION_CHANNEL_ID) in testBuild() 81 assertEquals(NOTIFICATION_CHANNEL_ID, conversationInfo.getNotificationChannelId()); in testBuild() 136 .setNotificationChannelId(NOTIFICATION_CHANNEL_ID) in testBuildFromAnotherConversationInfo() 160 assertEquals(NOTIFICATION_CHANNEL_ID, destination.getNotificationChannelId()); in testBuildFromAnotherConversationInfo() 185 .setNotificationChannelId(NOTIFICATION_CHANNEL_ID) in testBuildFromAnotherConversation_identicalConversation() 206 assertEquals(NOTIFICATION_CHANNEL_ID, destination.getNotificationChannelId()); in testBuildFromAnotherConversation_identicalConversation() 234 .setNotificationChannelId(NOTIFICATION_CHANNEL_ID) in testBuildFromBackupPayload() 259 NOTIFICATION_CHANNEL_ID, conversationInfoFromBackup.getNotificationChannelId()); in testBuildFromBackupPayload() 286 .setNotificationChannelId(NOTIFICATION_CHANNEL_ID) in testBuildFromProtoPayload() [all …]
|
H A D | DataManagerTest.java | 134 private static final String NOTIFICATION_CHANNEL_ID = "test : sc"; field in DataManagerTest 254 NOTIFICATION_CHANNEL_ID, "test channel", NotificationManager.IMPORTANCE_DEFAULT); in setUp() 881 assertEquals(NOTIFICATION_CHANNEL_ID, conversationInfo.getNotificationChannelId()); in testNotificationChannelCreated() 906 assertEquals(NOTIFICATION_CHANNEL_ID, conversationInfo.getNotificationChannelId()); in testNotificationChannelModified() 928 assertEquals(NOTIFICATION_CHANNEL_ID, conversationInfo.getNotificationChannelId()); in testNotificationChannelDeleted() 1779 when(mNotification.getChannelId()).thenReturn(NOTIFICATION_CHANNEL_ID); in sendConvoNotification()
|
/aosp14/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | SchedulerService.java | 28 private static final String NOTIFICATION_CHANNEL_ID = SchedulerService.class.getSimpleName(); field in SchedulerService 33 new NotificationChannel(NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in onStartCommand() 35 Notification status = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
|
/aosp14/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/ |
H A D | SimpleFgService.java | 34 private static final String NOTIFICATION_CHANNEL_ID = TAG; field in SimpleFgService 78 nm.createNotificationChannel(new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate() 79 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_LOW)); in onCreate() 80 mNotification = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onCreate()
|
/aosp14/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/ |
H A D | TestService.java | 49 private static final String NOTIFICATION_CHANNEL_ID = TAG; field in TestService 96 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in startForeground() 100 new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in startForeground()
|
/aosp14/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | HeapDumpReceiver.java | 68 private static final String NOTIFICATION_CHANNEL_ID = "heapdumps"; field in HeapDumpReceiver 148 new NotificationChannel(NOTIFICATION_CHANNEL_ID, in showDumpNotification() 170 NOTIFICATION_CHANNEL_ID) in showDumpNotification()
|
H A D | BugreportProgressService.java | 215 private static final String NOTIFICATION_CHANNEL_ID = "bugreports"; field in BugreportProgressService 301 new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate() 1378 return new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in newBaseNotification()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/service/notification/ |
H A D | NotificationRankingUpdateTest.java | 45 private static final String NOTIFICATION_CHANNEL_ID = "test_channel_id"; field in NotificationRankingUpdateTest 61 mNotificationChannel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, "test channel", in setUp()
|
/aosp14/frameworks/base/packages/SystemUI/plugin_core/src/com/android/systemui/plugins/ |
H A D | PluginManager.java | 26 String NOTIFICATION_CHANNEL_ID = "ALR"; field
|
/aosp14/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
H A D | DynamicSystemInstallationService.java | 104 private static final String NOTIFICATION_CHANNEL_ID = "com.android.dynsystem"; field in DynamicSystemInstallationService 504 NotificationChannel chan = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in prepareNotification() 526 Notification.Builder builder = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in buildNotification()
|
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/ |
H A D | ConversationInfo.java | 343 protoOutputStream.write(ConversationInfoProto.NOTIFICATION_CHANNEL_ID, in writeToProto() 412 case (int) ConversationInfoProto.NOTIFICATION_CHANNEL_ID: in readFromProto() 414 ConversationInfoProto.NOTIFICATION_CHANNEL_ID)); in readFromProto()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
H A D | JobNotificationCoordinatorTest.java | 57 private static final String NOTIFICATION_CHANNEL_ID = "validNotificationChannelId"; field in JobNotificationCoordinatorTest 80 .getNotificationChannel(anyString(), anyInt(), eq(NOTIFICATION_CHANNEL_ID)); in setUp() 557 doReturn(NOTIFICATION_CHANNEL_ID).when(notification).getChannelId(); in createValidNotification()
|
/aosp14/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsProtoV2.java | 689 case (int) PendingEventProto.NOTIFICATION_CHANNEL_ID: in parsePendingEvent() 691 PendingEventProto.NOTIFICATION_CHANNEL_ID); in parsePendingEvent() 789 proto.write(PendingEventProto.NOTIFICATION_CHANNEL_ID, in writePendingEvent()
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/ |
H A D | PluginActionManager.java | 335 PluginManager.NOTIFICATION_CHANNEL_ID) in reportInvalidVersion()
|
/aosp14/frameworks/base/core/api/ |
H A D | current.txt | 6853 …ic static final String EXTRA_NOTIFICATION_CHANNEL_ID = "android.app.extra.NOTIFICATION_CHANNEL_ID";
|