Home
last modified time | relevance | path

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

/aosp12/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.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()
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()
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()
/aosp12/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
H A DStatsdCtsForegroundService.java38 private static final String NOTIFICATION_CHANNEL_ID = "Foreground Service"; field in StatsdCtsForegroundService
89 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate()
90 NOTIFICATION_CHANNEL_ID, in onCreate()
98 Notification notification = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
122 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in onDestroy()
/aosp12/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()
/aosp12/packages/modules/Connectivity/tests/cts/hostside/app2/src/com/android/cts/net/hostside/app2/
H A DMyForegroundService.java40 private static final String NOTIFICATION_CHANNEL_ID = "cts/MyForegroundService"; field in MyForegroundService
54 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in onStartCommand()
59 startForeground(42, new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
H A DMyService.java48 private static final String NOTIFICATION_CHANNEL_ID = "MyService"; field in MyService
92 MyBroadcastReceiver .sendNotification(getApplicationContext(), NOTIFICATION_CHANNEL_ID,
179 .createNotificationChannel(new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate()
180 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_DEFAULT)); in onCreate()
189 .deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in onDestroy()
/aosp12/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
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()
/aosp12/packages/apps/Car/Media/src/com/android/car/media/service/
H A DMediaConnectorService.java47 private static final String NOTIFICATION_CHANNEL_ID = "com.android.car.media.service"; field in MediaConnectorService
54 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate()
101 Notification notification = new NotificationCompat.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
/aosp12/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()
/aosp12/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/
H A DHeadsUpNotificationFragment.java33 private static final String NOTIFICATION_CHANNEL_ID = "rotary_notification"; field in HeadsUpNotificationFragment
43 new NotificationChannel(NOTIFICATION_CHANNEL_ID, "Rotary Playground", in onCreateView()
67 return new Notification.Builder(getContext(), NOTIFICATION_CHANNEL_ID) in createNotification()
/aosp12/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.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()
/aosp12/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
H A DUpdateLayoutFragment.java61 private static final String NOTIFICATION_CHANNEL_ID = "update"; field in UpdateLayoutFragment
108 NOTIFICATION_CHANNEL_ID, in onCreate()
284 return new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in createNotification()
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
H A DPluginManager.java28 String NOTIFICATION_CHANNEL_ID = "ALR"; field
H A DPluginActionManager.java333 PluginManager.NOTIFICATION_CHANNEL_ID) in reportInvalidVersion()
/aosp12/frameworks/base/services/people/java/com/android/server/people/data/
H A 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()
/aosp12/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
H A 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()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/services/
H A DFileOperationService.java99 static final String NOTIFICATION_CHANNEL_ID = "channel_id"; field in FileOperationService
178 NOTIFICATION_CHANNEL_ID, in setUpNotificationChannel()
H A DJob.java354 ? new Notification.Builder(service, FileOperationService.NOTIFICATION_CHANNEL_ID) in createNotificationBuilder()
/aosp12/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()
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt6284 …ic static final String EXTRA_NOTIFICATION_CHANNEL_ID = "android.app.extra.NOTIFICATION_CHANNEL_ID";