Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DConversationStoreTest.java47 private static final String NOTIFICATION_CHANNEL_ID = "test : abc"; field in ConversationStoreTest
99 SHORTCUT_ID, newLocusId, CONTACT_URI, PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testUpdateConversation()
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()
181 mConversationStore.getConversationByNotificationChannelId(NOTIFICATION_CHANNEL_ID)); in testGetConversationByNotificationChannelId()
188 PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testDataPersistenceAndRestoration()
[all …]
DConversationInfoTest.java45 private static final String NOTIFICATION_CHANNEL_ID = "test : abc"; field in ConversationInfoTest
58 .setNotificationChannelId(NOTIFICATION_CHANNEL_ID) in testBuild()
78 assertEquals(NOTIFICATION_CHANNEL_ID, conversationInfo.getNotificationChannelId()); in testBuild()
131 .setNotificationChannelId(NOTIFICATION_CHANNEL_ID) in testBuildFromAnotherConversationInfo()
154 assertEquals(NOTIFICATION_CHANNEL_ID, destination.getNotificationChannelId()); in testBuildFromAnotherConversationInfo()
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()
819 assertEquals(NOTIFICATION_CHANNEL_ID, conversationInfo.getNotificationChannelId()); in testNotificationChannelCreated()
844 assertEquals(NOTIFICATION_CHANNEL_ID, conversationInfo.getNotificationChannelId()); in testNotificationChannelModified()
866 assertEquals(NOTIFICATION_CHANNEL_ID, conversationInfo.getNotificationChannelId()); in testNotificationChannelDeleted()
1623 when(mNotification.getChannelId()).thenReturn(NOTIFICATION_CHANNEL_ID); in sendConvoNotification()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
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()
/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/
DSimpleFgService.java34 private static final String NOTIFICATION_CHANNEL_ID = TAG; field in SimpleFgService
72 nm.createNotificationChannel(new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate()
73 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_LOW)); in onCreate()
74 mNotification = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onCreate()
/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
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()
/frameworks/base/packages/Shell/src/com/android/shell/
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()
DBugreportProgressService.java201 private static final String NOTIFICATION_CHANNEL_ID = "bugreports"; field in BugreportProgressService
287 new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate()
1303 return new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in newBaseNotification()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginManager.java28 String NOTIFICATION_CHANNEL_ID = "ALR"; field
DPluginInstanceManager.java363 PluginManager.NOTIFICATION_CHANNEL_ID) in handleLoadPlugin()
DPluginManagerImpl.java253 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in onReceive()
/frameworks/base/services/people/java/com/android/server/people/data/
DConversationInfo.java324 protoOutputStream.write(ConversationInfoProto.NOTIFICATION_CHANNEL_ID, in writeToProto()
390 case (int) ConversationInfoProto.NOTIFICATION_CHANNEL_ID: in readFromProto()
392 ConversationInfoProto.NOTIFICATION_CHANNEL_ID)); in readFromProto()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java103 private static final String NOTIFICATION_CHANNEL_ID = "com.android.dynsystem"; field in DynamicSystemInstallationService
418 NotificationChannel chan = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in prepareNotification()
440 Notification.Builder builder = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in buildNotification()
/frameworks/base/services/usage/java/com/android/server/usage/
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()
/frameworks/base/core/api/
Dcurrent.txt6279 …ic static final String EXTRA_NOTIFICATION_CHANNEL_ID = "android.app.extra.NOTIFICATION_CHANNEL_ID";