/cts/tests/tests/app/src/android/app/cts/ |
NotificationManagerTest.java | 32 private NotificationManager mNotificationManager; 37 mNotificationManager = (NotificationManager) mContext.getSystemService( 44 mNotificationManager.cancelAll(); 55 mNotificationManager.cancel(id); 62 mNotificationManager.cancelAll(); 78 mNotificationManager.notify(id, notification);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
SmsStorageMonitor.java | 30 private static NotificationManager mNotificationManager; 35 if (mNotificationManager == null) { 36 mNotificationManager = 53 mNotificationManager.notify(NOTIFICATION_STORAGE_LIMITED_ID, mBuilder.build()); 57 mNotificationManager.cancel(NOTIFICATION_STORAGE_LIMITED_ID);
|
/frameworks/base/core/tests/notificationtests/src/android/app/ |
NotificationStressTest.java | 53 private NotificationManager mNotificationManager; 60 mNotificationManager = (NotificationManager) mContext.getSystemService( 67 mNotificationManager.cancelAll(); 74 mNotificationManager.cancel(notifyId - 4); 89 mNotificationManager.notify(id, notification);
|
/development/samples/Alarm/src/com/example/android/newalarm/ |
AlarmService.java | 68 NotificationManager mNotificationManager; 133 mNotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); 158 mNotificationManager.cancel(R.string.alarm_service_started); 211 mNotificationManager.notify(
|
/development/samples/Alarm/tests/src/com/example/android/newalarm/ |
AlarmServiceTest.java | 77 assertNotNull(mService.mNotificationManager);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
IngestService.java | 71 private NotificationManager mNotificationManager; 80 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); 148 mNotificationManager.notify(NotificationIds.INGEST_NOTIFICATION_SCANNING, 153 mNotificationManager.cancel(NotificationIds.INGEST_NOTIFICATION_IMPORTING); 154 mNotificationManager.cancel(NotificationIds.INGEST_NOTIFICATION_SCANNING); 207 mNotificationManager.cancel(NotificationIds.INGEST_NOTIFICATION_SCANNING); 223 mNotificationManager.notify(NotificationIds.INGEST_NOTIFICATION_IMPORTING, 240 mNotificationManager.notify(NotificationIds.INGEST_NOTIFICATION_IMPORTING, 259 mNotificationManager.notify(NotificationIds.INGEST_NOTIFICATION_SCANNING, 278 mNotificationManager.notify(NotificationIds.INGEST_NOTIFICATION_SCANNING [all...] |
/developers/samples/android/background/alarms/Scheduler/src/com/example/android/scheduler/ |
SampleSchedulingService.java | 40 private NotificationManager mNotificationManager; 74 mNotificationManager = (NotificationManager) 89 mNotificationManager.notify(NOTIFICATION_ID, mBuilder.build());
|
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/ |
FixVibrateSetting.java | 33 NotificationManager mNotificationManager; 46 mNotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); 120 mNotificationManager.notify(1, n);
|
/development/samples/training/notify-user/src/com/example/android/pingme/ |
PingService.java | 31 private NotificationManager mNotificationManager; 70 mNotificationManager = (NotificationManager) 128 mNotificationManager = (NotificationManager) 131 mNotificationManager.notify(CommonConstants.NOTIFICATION_ID, builder.build());
|
/packages/services/Telephony/src/com/android/phone/ |
EmergencyCallbackModeService.java | 56 private NotificationManager mNotificationManager = null; 89 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); 106 mNotificationManager.cancel(R.string.phone_in_ecm_notification_title); 193 mNotificationManager.notify(R.string.phone_in_ecm_notification_title, notification);
|
NotificationMgr.java | 104 private NotificationManager mNotificationManager; 135 mNotificationManager = 571 mNotificationManager.notify(MISSED_CALL_NOTIFICATION, notification); 589 mNotificationManager.cancel(MISSED_CALL_NOTIFICATION); [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
NotificationImportExportListener.java | 47 private final NotificationManager mNotificationManager; 53 mNotificationManager = (NotificationManager) activity.getSystemService( 89 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, jobId, notification); 111 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, jobId, notification); 131 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, 149 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, 163 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, jobId, notification); 178 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, request.jobId, notification);
|
ExportProcessor.java | 51 private final NotificationManager mNotificationManager; 64 mNotificationManager = 244 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, 254 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, 265 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG,
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
StatusBarNotifications.java | 37 private NotificationManager mNotificationManager; 51 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); 143 mNotificationManager.cancel(R.layout.status_bar_notifications); 210 mNotificationManager.notify(MOOD_NOTIFICATIONS, notification); 238 mNotificationManager.notify(MOOD_NOTIFICATIONS, notif); 265 mNotificationManager.notify(
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
StatusBarTest.java | 35 NotificationManager mNotificationManager; 55 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); 175 mNotificationManager.notify(id, not); 268 mNotificationManager.notify(1, 282 mNotificationManager.cancel(1);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
NotificationController.java | 61 private final NotificationManager mNotificationManager; 65 mNotificationManager = (NotificationManager) 128 mNotificationManager.notify(0, builder.build()); 144 mNotificationManager.notify(0, builder.build()); 158 mNotificationManager.notify(0, builder.build()); 170 mNotificationManager.notify(0, builder.build()); 202 mNotificationManager.notify(0, builder.build()); 237 mNotificationManager.cancel(0);
|
/packages/apps/Nfc/src/com/android/nfc/ |
P2pEventManager.java | 37 final NotificationManager mNotificationManager; 51 mNotificationManager = (NotificationManager) mContext.getSystemService(
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
DefaultVoicemailNotifier.java | 57 private final NotificationManager mNotificationManager; 80 mNotificationManager = notificationManager; 194 mNotificationManager.notify(NOTIFICATION_TAG, NOTIFICATION_ID, notificationBuilder.build()); 206 mNotificationManager.cancel(NOTIFICATION_TAG, NOTIFICATION_ID);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
StatusBarNotifier.java | 91 private final NotificationManager mNotificationManager; 104 mNotificationManager = 176 mNotificationManager.cancel(IN_CALL_NOTIFICATION); 354 mNotificationManager.notify(IN_CALL_NOTIFICATION, notification); 551 mNotificationManager.cancel(IN_CALL_NOTIFICATION);
|
/frameworks/base/services/java/com/android/server/ |
UiModeManagerService.java | 86 private NotificationManager mNotificationManager; 537 if (mNotificationManager == null) { 538 mNotificationManager = (NotificationManager) 542 if (mNotificationManager != null) { 557 mNotificationManager.notifyAsUser(null, 560 mNotificationManager.cancelAsUser(null,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
GlobalScreenshot.java | 99 private final NotificationManager mNotificationManager; 153 mNotificationManager = nManager; 168 mNotificationManager.notify(nId, n); 273 GlobalScreenshot.notifyScreenshotError(params.context, mNotificationManager); 292 mNotificationManager.notify(mNotificationId, n); 325 private NotificationManager mNotificationManager; 382 mNotificationManager = 413 mSaveInBgTask = new SaveImageInBackgroundTask(mContext, data, mNotificationManager, 454 notifyScreenshotError(mContext, mNotificationManager);
|
/frameworks/base/services/java/com/android/server/usb/ |
UsbDeviceManager.java | 119 private NotificationManager mNotificationManager; 197 mNotificationManager = (NotificationManager) 675 if (mNotificationManager == null || !mUseUsbNotification) return; 698 mNotificationManager.cancelAsUser(null, mUsbNotificationId, 723 mNotificationManager.notifyAsUser(null, id, notification, 731 if (mNotificationManager == null) return; [all...] |
/packages/apps/Email/src/com/android/email/ |
NotificationController.java | 84 private final NotificationManager mNotificationManager; 95 mNotificationManager = (NotificationManager) context.getSystemService( 180 mNotificationManager.notify(notificationId, builder.build()); 440 mNotificationManager.cancel(getLoginFailedNotificationId(accountId)); 486 mNotificationManager.cancel(NOTIFICATION_ID_PASSWORD_EXPIRING); 487 mNotificationManager.cancel(NOTIFICATION_ID_PASSWORD_EXPIRED); 544 mNotificationManager.cancel( 570 final NotificationManager notificationManager = getInstance(context).mNotificationManager; [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
StopwatchService.java | 30 private NotificationManager mNotificationManager; 48 mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); 120 mNotificationManager.cancel(NOTIFICATION_ID); 130 mNotificationManager.cancel(NOTIFICATION_ID); 250 mNotificationManager.notify(NOTIFICATION_ID, notification);
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MusicService.java | 151 NotificationManager mNotificationManager; 188 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); 520 mNotificationManager.notify(NOTIFICATION_ID, mNotification);
|