Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWrongPasswordNotifier.java40 public static final int NOTIFICATION_ID = SystemMessage.NOTE_WIFI_WRONG_PASSWORD; field in WrongPasswordNotifier
97 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in showNotification()
108 mNotificationManager.cancel(null, NOTIFICATION_ID); in dismissNotification()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DRemoteBugreportUtils.java41 static final int NOTIFICATION_ID = SystemMessage.NOTE_REMOTE_BUGREPORT; field in RemoteBugreportUtils
84 PendingIntent pendingIntentAccept = PendingIntent.getBroadcast(context, NOTIFICATION_ID, in buildNotification()
88 NOTIFICATION_ID, new Intent( in buildNotification()
DDevicePolicyManagerService.java622 RemoteBugreportUtils.NOTIFICATION_ID);
778 RemoteBugreportUtils.NOTIFICATION_ID,
7409 RemoteBugreportUtils.NOTIFICATION_ID, in requestBugreport()
7510 RemoteBugreportUtils.NOTIFICATION_ID); in onBugreportFinished()
7513 … mInjector.getNotificationManager().notifyAsUser(LOG_TAG, RemoteBugreportUtils.NOTIFICATION_ID, in onBugreportFinished()
7527 mInjector.getNotificationManager().cancel(LOG_TAG, RemoteBugreportUtils.NOTIFICATION_ID); in onBugreportFailed()
7547 … mInjector.getNotificationManager().notifyAsUser(LOG_TAG, RemoteBugreportUtils.NOTIFICATION_ID, in onBugreportSharingAccepted()
/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.java48 private static final int NOTIFICATION_ID = 0; field in AlertWindowNotification
90 mNotificationManager.cancel(mNotificationTag, NOTIFICATION_ID); in onCancelNotification()
136 mNotificationManager.notify(mNotificationTag, NOTIFICATION_ID, builder.build()); in onPostNotification()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWrongPasswordNotifierTest.java78 verify(mNotificationManager).notify(eq(WrongPasswordNotifier.NOTIFICATION_ID), any()); in onWrongPasswordError()
98 verify(mNotificationManager).cancel(any(), eq(WrongPasswordNotifier.NOTIFICATION_ID)); in onNewConnectionAttemptWithPreviousWrongPasswordError()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java60 private static final int NOTIFICATION_ID = 1; field in RecordingService
183 notificationManager.cancel(NOTIFICATION_ID); in onStartCommand()
202 notificationManager.cancel(NOTIFICATION_ID); in onStartCommand()
300 startForeground(NOTIFICATION_ID, notification); in createRecordingNotification()
329 notificationManager.notify(NOTIFICATION_ID, mRecordingNotificationBuilder.build()); in setNotificationActions()
423 notificationManager.notify(NOTIFICATION_ID, notification); in saveRecording()
/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/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DTestService.java45 private static final int NOTIFICATION_ID = 42; field in TestService
88 startForeground(NOTIFICATION_ID, in startForeground()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java99 public static final int NOTIFICATION_ID = 2020; field in NotificationShellCmd
522 NOTIFICATION_ID, n, UserHandle.getUserId(callingUid)); in doNotify()
526 callingPackage, tag, NOTIFICATION_ID, UserHandle.getUserId(callingUid)); in doNotify()
535 callingPackage, tag, NOTIFICATION_ID, UserHandle.getUserId(callingUid)); in doNotify()
/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/core/tests/coretests/src/android/service/notification/
DStatusBarNotificationTest.java84 assertEquals(ID, logMaker.getTaggedData(MetricsEvent.NOTIFICATION_ID)); in testLogMaker()
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java104 private static final int NOTIFICATION_ID = 1; field in FaceService
322 mNotificationManager.notifyAsUser(NOTIFICATION_TAG, NOTIFICATION_ID, notification, in onAcquired()
371 mNotificationManager.cancelAsUser(NOTIFICATION_TAG, NOTIFICATION_ID, in enroll()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationShellCmdTest.java122 eq(NotificationShellCmd.NOTIFICATION_ID), in captureNotification()
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java416 .addTaggedData(MetricsEvent.NOTIFICATION_ID, getId()) in getLogMaker()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto3642 NOTIFICATION_ID = 796; enumerator
/frameworks/base/non-updatable-api/
Dcurrent.txt5334 field public static final String EXTRA_NOTIFICATION_ID = "android.intent.extra.NOTIFICATION_ID";
/frameworks/base/api/
Dcurrent.txt5334 field public static final String EXTRA_NOTIFICATION_ID = "android.intent.extra.NOTIFICATION_ID";