/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
H A D | ResumeNotificationHelperTest.java | 45 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 D | ZenModePreferenceControllerTest.java | 52 private NotificationManager mNotificationManager; field in class:ZenModePreferenceControllerTest 64 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 67 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
|
H A D | RingVolumePreferenceControllerTest.java | 54 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 D | NotificationsPreference.java | 33 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 D | CanBusErrorNotifier.java | 39 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 D | IncomingCallNotifierTest.java | 53 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 D | NotificationControllerTest.java | 46 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 D | AutomaticStorageManagementJobServiceTest.java | 61 @Mock private NotificationManager mNotificationManager; field in class:AutomaticStorageManagementJobServiceTest 98 mApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | EmergencyCallbackModeService.java | 56 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 D | NotificationMgr.java | 107 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 D | SilentSettingsModel.java | 66 private final NotificationManager mNotificationManager; field in class:SilentSettingsModel 88 mNotificationManager = (NotificationManager) context.getSystemService(NOTIFICATION_SERVICE); 187 final int interruptionFilter = mNotificationManager.getCurrentInterruptionFilter();
|
H A D | StopwatchModel.java | 45 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 D | P2pEventManager.java | 39 final NotificationManager mNotificationManager; field in class:P2pEventManager 53 mNotificationManager = (NotificationManager) mContext.getSystemService(
|
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/wakeup/ |
H A D | WifiWakeupHelper.java | 75 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 D | ProcessingService.java | 78 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 D | MapMessageMonitor.java | 58 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 D | SimImportService.java | 263 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 D | ExportProcessor.java | 55 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 D | NotificationImportExportListener.java | 52 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 D | IngestService.java | 78 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 D | IncomingCallNotifier.java | 85 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 D | MissedCallNotifierImpl.java | 129 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 D | Player.java | 91 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 D | FileOperationService.java | 450 private final NotificationManager mNotificationManager; field in class:FileOperationService.JobMonitor 455 mNotificationManager = notificationManager; 473 mNotificationManager.notify(
|
/packages/apps/Email/src/com/android/email/ |
H A D | EmailNotificationController.java | 81 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;
|