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

/frameworks/base/core/tests/notificationtests/src/android/app/
H A DNotificationStressTest.java53 private NotificationManager mNotificationManager; field in class:NotificationStressTest
60 mNotificationManager = (NotificationManager) mContext.getSystemService(
67 mNotificationManager.cancelAll();
74 mNotificationManager.cancel(notifyId - 4);
94 mNotificationManager.notify(id, notification);
/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/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/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/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DNotificationController.java61 private final NotificationManager mNotificationManager; field in class:NotificationController
65 mNotificationManager = (NotificationManager)
130 mNotificationManager.notify(0, builder.build());
148 mNotificationManager.notify(0, builder.build());
164 mNotificationManager.notify(0, builder.build());
178 mNotificationManager.notify(0, builder.build());
212 mNotificationManager.notify(0, builder.build());
247 mNotificationManager.cancel(0);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DCopyService.java71 private NotificationManager mNotificationManager; field in class:CopyService
164 mNotificationManager.cancel(mJobId, 0);
183 mNotificationManager.notify(mJobId, 0, errorBuilder.build());
192 mNotificationManager = getSystemService(NotificationManager.class);
231 mNotificationManager.notify(mJobId, 0, mProgressBuilder.build());
325 mNotificationManager.cancel(cancelledId, 0);
354 mNotificationManager.notify(mJobId, 0, mProgressBuilder.build());
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java60 private NotificationManager mNotificationManager; field in class:StorageNotification
93 mNotificationManager.cancelAsUser(fsUuid, PRIVATE_ID, UserHandle.ALL);
116 mNotificationManager.cancelAsUser(null, MOVE_ID, UserHandle.ALL);
152 mNotificationManager = mContext.getSystemService(NotificationManager.class);
187 mNotificationManager.cancelAsUser(fsUuid, PRIVATE_ID, UserHandle.ALL);
208 mNotificationManager.notifyAsUser(fsUuid, PRIVATE_ID, notif, UserHandle.ALL);
233 mNotificationManager.notifyAsUser(disk.getId(), DISK_ID, notif, UserHandle.ALL);
237 mNotificationManager.cancelAsUser(disk.getId(), DISK_ID, UserHandle.ALL);
294 mNotificationManager.notifyAsUser(vol.getId(), PUBLIC_ID, notif, UserHandle.ALL);
296 mNotificationManager
[all...]
/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);
231 mNotificationManager.notify(R.id.notification_volumeui,
/frameworks/base/services/core/java/com/android/server/
H A DUiModeManagerService.java89 private NotificationManager mNotificationManager; field in class:UiModeManagerService
595 if (mNotificationManager == null) {
596 mNotificationManager = (NotificationManager)
600 if (mNotificationManager != null) {
618 mNotificationManager.notifyAsUser(null,
621 mNotificationManager.cancelAsUser(null,
H A DInputMethodManagerService.java218 private NotificationManager mNotificationManager; field in class:InputMethodManagerService
1088 mNotificationManager = (NotificationManager)
1807 if ((mNotificationManager != null)
1812 mNotificationManager.notifyAsUser(null,
1818 if (mNotificationShown && mNotificationManager != null) {
1822 mNotificationManager.cancelAsUser(null,
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationManagerCompat.java95 private final NotificationManager mNotificationManager; field in class:NotificationManagerCompat
108 mNotificationManager = (NotificationManager) mContext.getSystemService(
189 IMPL.cancelNotification(mNotificationManager, tag, id);
197 mNotificationManager.cancelAll();
223 IMPL.cancelNotification(mNotificationManager, tag, id);
225 IMPL.postNotification(mNotificationManager, tag, id, notification);
/frameworks/base/core/java/android/preference/
H A DSeekBarVolumizer.java59 private final NotificationManager mNotificationManager; field in class:SeekBarVolumizer
87 mNotificationManager = context.getSystemService(NotificationManager.class);
94 mZenMode = mNotificationManager.getZenMode();
412 mZenMode = mNotificationManager.getZenMode();
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DGlobalScreenshot.java104 private final NotificationManager mNotificationManager; field in class:SaveImageInBackgroundTask
170 mNotificationManager = nManager;
201 mNotificationManager.notify(nId, n);
317 GlobalScreenshot.notifyScreenshotError(params.context, mNotificationManager);
352 mNotificationManager.notify(mNotificationId, n);
412 private NotificationManager mNotificationManager; field in class:GlobalScreenshot
469 mNotificationManager =
515 mSaveInBgTask = new SaveImageInBackgroundTask(mContext, data, mNotificationManager,
556 notifyScreenshotError(mContext, mNotificationManager);
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDeviceManager.java139 private NotificationManager mNotificationManager; field in class:UsbDeviceManager
227 mNotificationManager = (NotificationManager)
734 if (mNotificationManager == null || !mUseUsbNotification) return;
759 mNotificationManager.cancelAsUser(null, mUsbNotificationId,
788 mNotificationManager.notifyAsUser(null, id, notification,
796 if (mNotificationManager == null) return;
828 mNotificationManager.notifyAsUser(null, id, notification,
833 mNotificationManager.cancelAsUser(null, id, UserHandle.ALL);
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java129 private NotificationManager mNotificationManager; field in class:InputManagerService
326 mNotificationManager = (NotificationManager)mContext.getSystemService(
711 if (mNotificationManager != null) {
879 mNotificationManager.notifyAsUser(null,
890 mNotificationManager.cancelAsUser(null,
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java279 NotificationManager mNotificationManager; field in class:DevicePolicyManagerService
1196 if (mNotificationManager == null) {
1197 mNotificationManager =
1200 return mNotificationManager;

Completed in 803 milliseconds