Home
last modified time | relevance | path

Searched refs:NOTIFICATION_ID (Results 1 – 15 of 15) 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.java618 RemoteBugreportUtils.NOTIFICATION_ID);
774 RemoteBugreportUtils.NOTIFICATION_ID,
7393 RemoteBugreportUtils.NOTIFICATION_ID, in requestBugreport()
7494 RemoteBugreportUtils.NOTIFICATION_ID); in onBugreportFinished()
7497 … mInjector.getNotificationManager().notifyAsUser(LOG_TAG, RemoteBugreportUtils.NOTIFICATION_ID, in onBugreportFinished()
7511 mInjector.getNotificationManager().cancel(LOG_TAG, RemoteBugreportUtils.NOTIFICATION_ID); in onBugreportFailed()
7531 … mInjector.getNotificationManager().notifyAsUser(LOG_TAG, RemoteBugreportUtils.NOTIFICATION_ID, in onBugreportSharingAccepted()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java93 private static final int NOTIFICATION_ID = 1; field in DynamicSystemInstallationService
147 mNM.cancel(NOTIFICATION_ID); in onDestroy()
247 startForeground(NOTIFICATION_ID, in executeInstallCommand()
308 mNM.cancel(NOTIFICATION_ID); in executeRebootToDynSystemCommand()
337 startForeground(NOTIFICATION_ID, in executeNotifyIfInUseCommand()
340 startForeground(NOTIFICATION_ID, in executeNotifyIfInUseCommand()
451 mNM.notify(NOTIFICATION_ID, buildNotification(status, cause)); in postStatus()
/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/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/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java60 private static final int NOTIFICATION_ID = 1; field in RecordingService
174 notificationManager.notify(NOTIFICATION_ID, notification); in onStartCommand()
205 notificationManager.cancel(NOTIFICATION_ID); in onStartCommand()
222 notificationManager.cancel(NOTIFICATION_ID); in onStartCommand()
323 startForeground(NOTIFICATION_ID, notification); in createRecordingNotification()
352 notificationManager.notify(NOTIFICATION_ID, mRecordingNotificationBuilder.build()); in setNotificationActions()
/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.java92 public static final int NOTIFICATION_ID = 1138; field in NotificationShellCmd
495 tag, NOTIFICATION_ID, in doNotify()
503 NOTIFICATION_PACKAGE, tag, NOTIFICATION_ID, userId); in doNotify()
512 NOTIFICATION_PACKAGE, tag, NOTIFICATION_ID, userId); in doNotify()
/frameworks/base/core/tests/coretests/src/android/service/notification/
DStatusBarNotificationTest.java84 assertEquals(ID, logMaker.getTaggedData(MetricsEvent.NOTIFICATION_ID)); in testLogMaker()
/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