Searched defs:mNotificationManager (Results 1 - 25 of 33) sorted by relevance

12

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
H A DResumeNotificationHelperTest.java45 private NotificationManager mNotificationManager; field in class:ResumeNotificationHelperTest
52 mNotificationManager = mContext.getSystemService(NotificationManager.class);
63 MatcherAssert.assertThat(mNotificationManager.getActiveNotifications().length,
70 StatusBarNotification[] notifications = mNotificationManager.getActiveNotifications();
82 && mNotificationManager.getActiveNotifications().length == 0) {
88 mNotificationManager.cancelAll();
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
H A DZenModePreferenceControllerTest.java52 private NotificationManager mNotificationManager; field in class:ZenModePreferenceControllerTest
64 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
67 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
H A DRingVolumePreferenceControllerTest.java54 private NotificationManager mNotificationManager; field in class:RingVolumePreferenceControllerTest
68 shadowContext.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
70 when(mNotificationManager.getEffectsSuppressor()).thenReturn(mSuppressor);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
H A DNotificationsPreference.java33 private final INotificationManager mNotificationManager; field in class:NotificationsPreference
40 mNotificationManager = NotificationManager.getService();
59 mNotificationManager.areNotificationsEnabledForPackage(mEntry.info.packageName,
78 mNotificationManager.setNotificationsEnabledForPackage(
/packages/services/Car/service/src/com/android/car/
H A DCanBusErrorNotifier.java39 private final NotificationManager mNotificationManager; field in class:CanBusErrorNotifier
47 mNotificationManager = (NotificationManager) context.getSystemService(
96 mNotificationManager.notify(TAG, NOTIFICATION_ID, notification);
104 mNotificationManager.cancel(TAG, NOTIFICATION_ID);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DIncomingCallNotifierTest.java53 private NotificationManager mNotificationManager; field in class:IncomingCallNotifierTest
62 mNotificationManager = (NotificationManager) mContext.getSystemService(
84 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG),
95 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG),
110 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG),
125 verify(mNotificationManager).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG),
128 verify(mNotificationManager).cancel(eq(IncomingCallNotifier.NOTIFICATION_TAG),
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
H A DNotificationControllerTest.java46 private NotificationManager mNotificationManager; field in class:NotificationControllerTest
55 application.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
67 verify(mNotificationManager).notify(anyInt(), any(Notification.class));
70 verify(mNotificationManager).cancel(1);
79 verify(mNotificationManager, times(i)).notify(anyInt(), any(Notification.class));
82 verify(mNotificationManager, times(i)).cancel(1);
89 verifyZeroInteractions(mNotificationManager);
98 verify(mNotificationManager, times(i + 1)).notify(anyInt(), any(Notification.class));
101 verify(mNotificationManager, times(i + 1)).cancel(1);
108 verifyZeroInteractions(mNotificationManager);
[all...]
H A DAutomaticStorageManagementJobServiceTest.java61 @Mock private NotificationManager mNotificationManager; field in class:AutomaticStorageManagementJobServiceTest
98 mApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
/packages/services/Telephony/src/com/android/phone/
H A DEmergencyCallbackModeService.java56 private NotificationManager mNotificationManager = null; field in class:EmergencyCallbackModeService
91 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
109 mNotificationManager.cancel(R.string.phone_in_ecm_notification_title);
217 mNotificationManager.notify(R.string.phone_in_ecm_notification_title, builder.build());
H A DNotificationMgr.java107 private NotificationManager mNotificationManager; field in class:NotificationMgr
128 mNotificationManager =
371 mNotificationManager.notifyAsUser(
389 mNotificationManager.cancelAsUser(
527 mNotificationManager.notifyAsUser(
534 mNotificationManager.cancelAsUser(
572 mNotificationManager.notifyAsUser(
582 mNotificationManager.cancel(DATA_DISCONNECTED_ROAMING_NOTIFICATION);
621 mNotificationManager.notifyAsUser(
634 mNotificationManager
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/data/
H A DSilentSettingsModel.java66 private final NotificationManager mNotificationManager; field in class:SilentSettingsModel
88 mNotificationManager = (NotificationManager) context.getSystemService(NOTIFICATION_SERVICE);
187 final int interruptionFilter = mNotificationManager.getCurrentInterruptionFilter();
H A DStopwatchModel.java45 private final NotificationManagerCompat mNotificationManager; field in class:StopwatchModel
68 mNotificationManager = NotificationManagerCompat.from(context);
228 mNotificationManager.cancel(mNotificationModel.getStopwatchNotificationId());
235 mNotificationManager.notify(mNotificationModel.getStopwatchNotificationId(), notification);
/packages/apps/Nfc/src/com/android/nfc/
H A DP2pEventManager.java39 final NotificationManager mNotificationManager; field in class:P2pEventManager
53 mNotificationManager = (NotificationManager) mContext.getSystemService(
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/wakeup/
H A DWifiWakeupHelper.java75 private final NotificationManager mNotificationManager; field in class:WifiWakeupHelper
118 mNotificationManager = notificationManager;
195 mNotificationManager.notify(TAG, NOTIFICATION_ID, notificationBuilder.build());
228 mNotificationManager.cancel(TAG, NOTIFICATION_ID);
/packages/apps/Camera2/src/com/android/camera/processing/
H A DProcessingService.java78 private NotificationManager mNotificationManager; field in class:ProcessingService
117 mNotificationManager = AndroidServices.instance().provideNotificationManager();
255 mNotificationManager.notify(CAMERA_NOTIFICATION_ID, mNotificationBuilder.build());
/packages/apps/Car/Messenger/src/com/android/car/messenger/
H A DMapMessageMonitor.java58 private final NotificationManager mNotificationManager; field in class:MapMessageMonitor
66 mNotificationManager =
139 mNotificationManager.notify(notificationInfo.mNotificationId, builder.build());
236 mNotificationManager.cancel(entry.getValue().mNotificationId);
/packages/apps/Contacts/src/com/android/contacts/
H A DSimImportService.java263 private final NotificationManager mNotificationManager; field in class:SimImportService.ImportTask
273 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
341 mNotificationManager.notify(NOTIFICATION_ID, notification);
/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DExportProcessor.java55 private final NotificationManager mNotificationManager; field in class:ExportProcessor
79 mNotificationManager =
281 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG,
292 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG,
312 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG,
H A DNotificationImportExportListener.java52 private final NotificationManager mNotificationManager; field in class:NotificationImportExportListener
58 mNotificationManager = (NotificationManager) activity.getSystemService(
137 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG,
155 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG,
183 mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, request.jobId, notification);
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
H A DIngestService.java78 private NotificationManager mNotificationManager; field in class:IngestService
87 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
159 mNotificationManager.notify(R.id.ingest_notification_scanning,
164 mNotificationManager.cancel(R.id.ingest_notification_importing);
165 mNotificationManager.cancel(R.id.ingest_notification_scanning);
214 mNotificationManager.cancel(R.id.ingest_notification_scanning);
215 mNotificationManager.cancel(R.id.ingest_notification_importing);
234 mNotificationManager.notify(R.id.ingest_notification_importing,
251 mNotificationManager.notify(R.id.ingest_notification_importing,
268 mNotificationManager
[all...]
/packages/services/Telecomm/src/com/android/server/telecom/ui/
H A DIncomingCallNotifier.java85 private final NotificationManager mNotificationManager; field in class:IncomingCallNotifier
94 mNotificationManager =
170 mNotificationManager.notify(NOTIFICATION_TAG, NOTIFICATION_INCOMING_CALL, builder.build());
175 mNotificationManager.cancel(NOTIFICATION_TAG, NOTIFICATION_INCOMING_CALL);
H A DMissedCallNotifierImpl.java129 private final NotificationManager mNotificationManager; field in class:MissedCallNotifierImpl
151 mNotificationManager =
379 mNotificationManager.notifyAsUser(
400 mNotificationManager.cancelAsUser(NOTIFICATION_TAG, MISSED_CALL_NOTIFICATION_ID,
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
H A DPlayer.java91 private NotificationManager mNotificationManager; field in class:Player
116 mNotificationManager =
189 mNotificationManager.cancelAll();
359 mNotificationManager.notify(NOTIFICATION_ID, notification);
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
H A DFileOperationService.java450 private final NotificationManager mNotificationManager; field in class:FileOperationService.JobMonitor
455 mNotificationManager = notificationManager;
473 mNotificationManager.notify(
/packages/apps/Email/src/com/android/email/
H A DEmailNotificationController.java81 private final NotificationManager mNotificationManager; field in class:EmailNotificationController
92 mNotificationManager = (NotificationManager) context.getSystemService(
175 mNotificationManager.notify(notificationId, builder.build());
444 mNotificationManager.cancel(getLoginFailedNotificationId(accountId));
493 mNotificationManager.cancel(NOTIFICATION_ID_PASSWORD_EXPIRING);
494 mNotificationManager.cancel(NOTIFICATION_ID_PASSWORD_EXPIRED);
559 mNotificationManager.cancel(
586 final NotificationManager notificationManager = getInstance(context).mNotificationManager;

Completed in 1438 milliseconds

12