Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWrongPasswordNotifier.java48 public static final int NOTIFICATION_ID = SystemMessage.NOTE_WIFI_WRONG_PASSWORD; field in WrongPasswordNotifier
122 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in showNotification()
133 mNotificationManager.cancel(null, NOTIFICATION_ID); in dismissNotification()
DEapFailureNotifier.java50 public static final int NOTIFICATION_ID = SystemMessage.NOTE_WIFI_EAP_FAILURE; field in EapFailureNotifier
70 if ((activeNotification.getId() == NOTIFICATION_ID) in onEapFailure()
116 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in showNotification()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DRemoteBugreportUtils.java45 static final int NOTIFICATION_ID = SystemMessage.NOTE_REMOTE_BUGREPORT; field in RemoteBugreportUtils
99 PendingIntent pendingIntentAccept = PendingIntent.getBroadcast(context, NOTIFICATION_ID, in buildNotification()
103 NOTIFICATION_ID, new Intent( in buildNotification()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java104 private static final int NOTIFICATION_ID = 1; field in DynamicSystemInstallationService
180 mNM.cancel(NOTIFICATION_ID); in onDestroy()
295 startForeground(NOTIFICATION_ID, in executeInstallCommand()
357 mNM.cancel(NOTIFICATION_ID); in executeRebootToDynSystemCommand()
386 startForeground(NOTIFICATION_ID, in executeNotifyIfInUseCommand()
389 startForeground(NOTIFICATION_ID, in executeNotifyIfInUseCommand()
567 mNM.notify(NOTIFICATION_ID, buildNotification(status, cause, detail)); in postStatus()
/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/services/core/java/com/android/server/wm/
DAlertWindowNotification.java47 private static final int NOTIFICATION_ID = 0; field in AlertWindowNotification
89 mNotificationManager.cancel(mNotificationTag, NOTIFICATION_ID); in onCancelNotification()
135 mNotificationManager.notify(mNotificationTag, NOTIFICATION_ID, builder.build()); in onPostNotification()
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWrongPasswordNotifierTest.java115 verify(mNotificationManager).notify(eq(WrongPasswordNotifier.NOTIFICATION_ID), any()); in onWrongPasswordError()
136 verify(mNotificationManager).cancel(any(), eq(WrongPasswordNotifier.NOTIFICATION_ID)); in onNewConnectionAttemptWithPreviousWrongPasswordError()
DEapFailureNotifierTest.java119 verify(mNotificationManager).notify(eq(EapFailureNotifier.NOTIFICATION_ID), any()); in onEapFailureWithDefinedErroCodeWithoutNotificationShown()
145 verify(mNotificationManager).notify(eq(EapFailureNotifier.NOTIFICATION_ID), any()); in onEapFailureWithDefinedErroCodeWithNotificationShownWithoutSameSsid()
/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.java111 public static final int NOTIFICATION_ID = 2020; field in NotificationShellCmd
681 NOTIFICATION_ID, n, UserHandle.getUserId(callingUid)); in doNotify()
685 callingPackage, tag, NOTIFICATION_ID, UserHandle.getUserId(callingUid)); in doNotify()
694 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/core/java/com/android/server/biometrics/face/
DFaceService.java105 private static final int NOTIFICATION_ID = 1; field in FaceService
336 mNotificationManager.notifyAsUser(NOTIFICATION_TAG, NOTIFICATION_ID, notification, in onAcquired()
386 mNotificationManager.cancelAsUser(NOTIFICATION_TAG, NOTIFICATION_ID, in enroll()
/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.java461 .addTaggedData(MetricsEvent.NOTIFICATION_ID, getId()) in getLogMaker()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto3642 NOTIFICATION_ID = 796; enumerator
/frameworks/base/api/
Dcurrent.txt5506 field public static final String EXTRA_NOTIFICATION_ID = "android.intent.extra.NOTIFICATION_ID";