Home
last modified time | relevance | path

Searched refs:NOTIFICATION_ID (Results 1 – 12 of 12) 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/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/
DMediaNotificationManager.java50 private static final int NOTIFICATION_ID = 412; field in MediaNotificationManager
122 mService.startForeground(NOTIFICATION_ID, notification); in startNotification()
137 mNotificationManager.cancel(NOTIFICATION_ID); in stopNotification()
210 mNotificationManager.notify(NOTIFICATION_ID, notification);
221 mNotificationManager.notify(NOTIFICATION_ID, notification);
346 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in fetchBitmapFromURLAsync()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DRemoteBugreportUtils.java42 static final int NOTIFICATION_ID = SystemMessage.NOTE_REMOTE_BUGREPORT; field in RemoteBugreportUtils
85 PendingIntent pendingIntentAccept = PendingIntent.getBroadcast(context, NOTIFICATION_ID, in buildNotification()
89 NOTIFICATION_ID, new Intent( in buildNotification()
DDevicePolicyManagerService.java555 RemoteBugreportUtils.NOTIFICATION_ID);
711 RemoteBugreportUtils.NOTIFICATION_ID,
6798 RemoteBugreportUtils.NOTIFICATION_ID, in requestBugreport()
6887 RemoteBugreportUtils.NOTIFICATION_ID); in onBugreportFinished()
6890 … mInjector.getNotificationManager().notifyAsUser(LOG_TAG, RemoteBugreportUtils.NOTIFICATION_ID, in onBugreportFinished()
6904 mInjector.getNotificationManager().cancel(LOG_TAG, RemoteBugreportUtils.NOTIFICATION_ID); in onBugreportFailed()
6924 … mInjector.getNotificationManager().notifyAsUser(LOG_TAG, RemoteBugreportUtils.NOTIFICATION_ID, in onBugreportSharingAccepted()
/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.java75 verify(mNotificationManager).notify(eq(WrongPasswordNotifier.NOTIFICATION_ID), any()); in onWrongPasswordError()
95 verify(mNotificationManager).cancel(any(), eq(WrongPasswordNotifier.NOTIFICATION_ID)); in onNewConnectionAttemptWithPreviousWrongPasswordError()
/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/
DNotificationRecord.java1103 .addTaggedData(MetricsEvent.NOTIFICATION_ID, sbn.getId()) in getLogMaker()
/frameworks/base/proto/src/
Dmetrics_constants.proto3568 NOTIFICATION_ID = 796; enumerator
/frameworks/base/api/
Dcurrent.txt5233 …ublic static final java.lang.String EXTRA_NOTIFICATION_ID = "android.intent.extra.NOTIFICATION_ID";