Home
last modified time | relevance | path

Searched refs:NOTIFICATION_CHANNEL_ID (Results 1 – 16 of 16) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DConversationStoreTest.java47 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 DConversationInfoTest.java47 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 DDataManagerTest.java134 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 DSchedulerService.java28 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 DSimpleFgService.java34 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 DTestService.java49 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 DHeapDumpReceiver.java68 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 DBugreportProgressService.java215 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 DNotificationRankingUpdateTest.java45 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 DPluginManager.java26 String NOTIFICATION_CHANNEL_ID = "ALR"; field
/aosp14/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
H A DDynamicSystemInstallationService.java104 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 DConversationInfo.java343 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 DJobNotificationCoordinatorTest.java57 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 DUsageStatsProtoV2.java689 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 DPluginActionManager.java335 PluginManager.NOTIFICATION_CHANNEL_ID) in reportInvalidVersion()
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt6853 …ic static final String EXTRA_NOTIFICATION_CHANNEL_ID = "android.app.extra.NOTIFICATION_CHANNEL_ID";