Home
last modified time | relevance | path

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

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DRemoteBugreportManager.java69 private static final int NOTIFICATION_ID = SystemMessage.NOTE_REMOTE_BUGREPORT; field in RemoteBugreportManager
108 mInjector.getNotificationManager().cancel(LOG_TAG, NOTIFICATION_ID);
166 NOTIFICATION_ID, new Intent(ACTION_BUGREPORT_SHARING_ACCEPTED), in buildNotification()
170 NOTIFICATION_ID, new Intent(ACTION_BUGREPORT_SHARING_DECLINED), in buildNotification()
205 mInjector.getNotificationManager().notifyAsUser(LOG_TAG, NOTIFICATION_ID, in requestBugreport()
245 NOTIFICATION_ID); in onBugreportFinished()
248 mInjector.getNotificationManager().notifyAsUser(LOG_TAG, NOTIFICATION_ID, in onBugreportFinished()
260 mInjector.getNotificationManager().cancel(LOG_TAG, NOTIFICATION_ID); in onBugreportFailed()
275 mInjector.getNotificationManager().notifyAsUser(LOG_TAG, NOTIFICATION_ID, in onBugreportSharingAccepted()
326 mInjector.getNotificationManager().notifyAsUser(LOG_TAG, NOTIFICATION_ID, in checkForPendingBugreportAfterBoot()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricNotificationUtils.java40 private static final int NOTIFICATION_ID = 1; field in BiometricNotificationUtils
128 notificationManager.notifyAsUser(notificationTag, NOTIFICATION_ID, notification, in showNotificationHelper()
138 notificationManager.cancelAsUser(RE_ENROLL_NOTIFICATION_TAG, NOTIFICATION_ID, in cancelReEnrollNotification()
148 notificationManager.cancelAsUser(BAD_CALIBRATION_NOTIFICATION_TAG, NOTIFICATION_ID, in cancelBadCalibrationNotification()
/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/
DSimpleFgService.java35 private static final int NOTIFICATION_ID = 1; field in SimpleFgService
52 startForeground(NOTIFICATION_ID, mNotification);
83 startForeground(NOTIFICATION_ID, mNotification); in onStartCommand()
/frameworks/base/services/core/java/com/android/server/wm/
DAlertWindowNotification.java47 private static final int NOTIFICATION_ID = 0; field in AlertWindowNotification
87 mNotificationManager.cancel(mNotificationTag, NOTIFICATION_ID); in onCancelNotification()
134 mNotificationManager.notify(mNotificationTag, NOTIFICATION_ID, builder.build()); in onPostNotification()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java33 private static final int NOTIFICATION_ID = 433; // John Cage, 1952 field in NotificationHelper
151 mNoMan.cancel(NOTIFICATION_ID); in updateNotification()
155 mNoMan.cancel(NOTIFICATION_ID); in updateNotification()
232 mService.startForeground(NOTIFICATION_ID, notification); in updateNotification()
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
DNotificationTests.java58 public static final int NOTIFICATION_ID = 31338; field in NotificationTests
390 noMa.notify(NOTIFICATION_ID + i, n); in testCreate()
404 noMa.cancel(NOTIFICATION_ID + i); in testCreate()
439 noMa.notify(NOTIFICATION_ID + i, n2); in testCreate()
450 noMa.cancel(NOTIFICATION_ID + i); in testCreate()
474 noMa.cancel(NOTIFICATION_ID + id); in onCreate()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java104 private static final int NOTIFICATION_ID = 1; field in DynamicSystemInstallationService
289 startForeground(NOTIFICATION_ID, in executeInstallCommand()
392 startForeground(NOTIFICATION_ID, in executeNotifyIfInUseCommand()
396 startForeground(NOTIFICATION_ID, in executeNotifyIfInUseCommand()
580 mNM.notify(NOTIFICATION_ID, buildNotification(status, cause, detail)); in postStatus()
/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DTestService.java50 private static final int NOTIFICATION_ID = 42; field in TestService
99 startForeground(NOTIFICATION_ID, in startForeground()
/frameworks/base/packages/Shell/src/com/android/shell/
DHeapDumpReceiver.java69 private static final int NOTIFICATION_ID = 2019; field in HeapDumpReceiver
186 NotificationManager.from(context).notify(NOTIFICATION_ID, builder.build()); in showDumpNotification()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java109 public static final int NOTIFICATION_ID = 2020; field in NotificationShellCmd
662 NOTIFICATION_ID, n, UserHandle.getUserId(callingUid)); in doNotify()
666 callingPackage, tag, NOTIFICATION_ID, UserHandle.getUserId(callingUid)); in doNotify()
675 callingPackage, tag, NOTIFICATION_ID, UserHandle.getUserId(callingUid)); in doNotify()
/frameworks/base/core/tests/coretests/src/android/service/notification/
DStatusBarNotificationTest.java86 assertEquals(ID, logMaker.getTaggedData(MetricsEvent.NOTIFICATION_ID)); in testLogMaker()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationShellCmdTest.java123 eq(NotificationShellCmd.NOTIFICATION_ID), in captureNotification()
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java459 .addTaggedData(MetricsEvent.NOTIFICATION_ID, getId()) in getLogMaker()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto3642 NOTIFICATION_ID = 796; enumerator
/frameworks/base/core/api/
Dcurrent.txt5698 field public static final String EXTRA_NOTIFICATION_ID = "android.intent.extra.NOTIFICATION_ID";