Searched refs:mNotificationManager (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/core/tests/notificationtests/src/android/app/
H A DNotificationStressTest.java62 private NotificationManager mNotificationManager; field in class:NotificationStressTest
71 mNotificationManager = (NotificationManager) mContext.getSystemService(
74 mNotificationManager.cancelAll();
80 mNotificationManager.cancelAll();
89 mNotificationManager.cancel(mNotifyId - 4);
102 assertTrue(mNotificationManager.getActiveNotifications().length == MAX_NOTIFCATIONS);
104 mNotificationManager.cancel(--mNotifyId);
127 mNotificationManager.notify(id, notification);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiNotificationControllerTest.java59 @Mock private NotificationManager mNotificationManager; field in class:WifiNotificationControllerTest
77 .thenReturn(mNotificationManager);
113 verify(mNotificationManager, never())
128 verify(mNotificationManager)
131 verify(mNotificationManager, never())
137 verify(mNotificationManager)
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpDocumentsService.java41 NotificationManager mNotificationManager; field in class:MtpDocumentsService
52 mNotificationManager = getSystemService(NotificationManager.class);
85 mNotificationManager.notify(record.deviceId, notification);
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
H A DFixVibrateSetting.java33 NotificationManager mNotificationManager; field in class:FixVibrateSetting
46 mNotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE);
126 mNotificationManager.notify(1, n);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
H A DFileOperationService.java95 private NotificationManager mNotificationManager; field in class:FileOperationService
115 mNotificationManager = getSystemService(NotificationManager.class);
218 mNotificationManager.cancel(jobId, NOTIFICATION_ID_PROGRESS);
300 mNotificationManager.notify(job.id, NOTIFICATION_ID_PROGRESS, job.getSetupNotification());
308 mNotificationManager.cancel(job.id, NOTIFICATION_ID_PROGRESS);
312 mNotificationManager.notify(
318 mNotificationManager.notify(
330 mNotificationManager.notify(
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DStatusBarTest.java35 NotificationManager mNotificationManager; field in class:StatusBarTest
55 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
174 mNotificationManager.notify(id, not);
267 mNotificationManager.notify(1,
281 mNotificationManager.cancel(1);
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java61 private NotificationManager mNotificationManager; field in class:StorageNotification
94 mNotificationManager.cancelAsUser(fsUuid, PRIVATE_ID, UserHandle.ALL);
122 mNotificationManager.cancelAsUser(null, MOVE_ID, UserHandle.ALL);
158 mNotificationManager = mContext.getSystemService(NotificationManager.class);
193 mNotificationManager.cancelAsUser(fsUuid, PRIVATE_ID, UserHandle.ALL);
214 mNotificationManager.notifyAsUser(fsUuid, PRIVATE_ID, builder
240 mNotificationManager.notifyAsUser(disk.getId(), DISK_ID, builder.build(),
245 mNotificationManager.cancelAsUser(disk.getId(), DISK_ID, UserHandle.ALL);
255 mNotificationManager.cancelAsUser(disk.getId(), DISK_ID, UserHandle.ALL);
311 mNotificationManager
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DNotificationController.java69 private final NotificationManager mNotificationManager; field in class:NotificationController
78 mNotificationManager = (NotificationManager)
111 mNotificationManager.cancel(PRINT_JOB_NOTIFICATION_SUMMARY, 0);
130 mNotificationManager.cancel(removedPrintJob.flattenToString(), 0);
218 mNotificationManager.notify(printJob.getId().flattenToString(), 0, builder.build());
275 mNotificationManager.notify(PRINT_JOB_NOTIFICATION_SUMMARY, 0, builder.build());
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationManagerCompat.java96 private final NotificationManager mNotificationManager; field in class:NotificationManagerCompat
149 mNotificationManager = (NotificationManager) mContext.getSystemService(
271 IMPL.cancelNotification(mNotificationManager, tag, id);
279 mNotificationManager.cancelAll();
305 IMPL.cancelNotification(mNotificationManager, tag, id);
307 IMPL.postNotification(mNotificationManager, tag, id, notification);
315 return IMPL.areNotificationsEnabled(mContext, mNotificationManager);
324 return IMPL.getImportance(mNotificationManager);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeUI.java60 private NotificationManager mNotificationManager; field in class:VolumeUI
71 mNotificationManager =
220 mNotificationManager.cancel(R.id.notification_volumeui);
246 mNotificationManager.notify(R.id.notification_volumeui,
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DGlobalScreenshot.java105 private final NotificationManager mNotificationManager; field in class:SaveImageInBackgroundTask
171 mNotificationManager = nManager;
204 mNotificationManager.notify(R.id.notification_screenshot, mNotificationBuilder.build());
316 GlobalScreenshot.notifyScreenshotError(mParams.context, mNotificationManager,
350 mNotificationManager.notify(R.id.notification_screenshot, mNotificationBuilder.build());
366 mNotificationManager.cancel(R.id.notification_screenshot);
414 private NotificationManager mNotificationManager; field in class:GlobalScreenshot
476 mNotificationManager =
522 mSaveInBgTask = new SaveImageInBackgroundTask(mContext, data, mNotificationManager)
564 notifyScreenshotError(mContext, mNotificationManager,
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DUiModeManagerService.java95 private NotificationManager mNotificationManager; field in class:UiModeManagerService
639 if (mNotificationManager == null) {
640 mNotificationManager = (NotificationManager)
644 if (mNotificationManager != null) {
662 mNotificationManager.notifyAsUser(null,
665 mNotificationManager.cancelAsUser(null,
H A DLockSettingsService.java130 private NotificationManager mNotificationManager; field in class:LockSettingsService
286 mNotificationManager = (NotificationManager)
378 mNotificationManager.notifyAsUser(null, FBE_ENCRYPTED_NOTIFICATION, notification, user);
383 mNotificationManager.cancelAsUser(null, FBE_ENCRYPTED_NOTIFICATION, userHandle);
H A DInputMethodManagerService.java227 private NotificationManager mNotificationManager; field in class:InputMethodManagerService
1083 mNotificationManager = mContext.getSystemService(NotificationManager.class);
1840 if ((mNotificationManager != null)
1845 mNotificationManager.notifyAsUser(null,
1853 if (mNotificationShown && mNotificationManager != null) {
1857 mNotificationManager.cancelAsUser(null,
/frameworks/base/core/java/android/preference/
H A DSeekBarVolumizer.java61 private final NotificationManager mNotificationManager; field in class:SeekBarVolumizer
93 mNotificationManager = context.getSystemService(NotificationManager.class);
100 mZenMode = mNotificationManager.getZenMode();
427 mZenMode = mNotificationManager.getZenMode();
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDeviceManager.java140 private NotificationManager mNotificationManager; field in class:UsbDeviceManager
229 mNotificationManager = (NotificationManager)
782 if (mNotificationManager == null || !mUseUsbNotification
816 mNotificationManager.cancelAsUser(null, mUsbNotificationId,
845 mNotificationManager.notifyAsUser(null, id, notification,
853 if (mNotificationManager == null) return;
885 mNotificationManager.notifyAsUser(null, id, notification,
890 mNotificationManager.cancelAsUser(null, id, UserHandle.ALL);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxService.java64 NotificationManager mNotificationManager; field in class:BordeauxService
75 //mNotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE);
98 //mNotificationManager.cancel(R.string.remote_service_started);
194 mNotificationManager.notify(R.string.remote_service_started, notification); */
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DContextFixture.java214 return mNotificationManager;
452 private final NotificationManager mNotificationManager = mock(NotificationManager.class); field in class:ContextFixture
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DInboundSmsHandler.java891 NotificationManager mNotificationManager =
893 mNotificationManager.notify(
898 NotificationManager mNotificationManager =
900 mNotificationManager.cancel(InboundSmsHandler.NOTIFICATION_TAG,
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java142 private NotificationManager mNotificationManager; field in class:InputManagerService
345 mNotificationManager = (NotificationManager)mContext.getSystemService(
750 if (mNotificationManager != null) {
973 mNotificationManager.notifyAsUser(null,
984 mNotificationManager.cancelAsUser(null,

Completed in 1714 milliseconds