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

/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/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/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/base/services/tests/servicestests/src/com/android/server/connectivity/
H A DNetworkNotificationManagerTest.java65 @Mock NotificationManager mNotificationManager; field in class:NetworkNotificationManagerTest
86 mManager = new NetworkNotificationManager(mCtx, mTelephonyManager, mNotificationManager);
113 verify(mNotificationManager, times(1)).notifyAsUser(eq(tag), eq(eventId), any(), any());
114 verify(mNotificationManager, times(1)).cancelAsUser(eq(tag), eq(eventId), any());
123 verify(mNotificationManager, never()).notifyAsUser(any(), anyInt(), any(), any());
129 verify(mNotificationManager, times(1)).notifyAsUser(eq(tag), eq(eventId), any(), any());
140 verify(mNotificationManager, never()).notifyAsUser(any(), anyInt(), any(), any());
/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/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/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/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java57 private NotificationManager mNotificationManager; field in class:StorageNotification
90 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE,
119 mNotificationManager.cancelAsUser(null, SystemMessage.NOTE_STORAGE_MOVE,
156 mNotificationManager = mContext.getSystemService(NotificationManager.class);
191 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE,
213 mNotificationManager.notifyAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE,
239 mNotificationManager.notifyAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK,
244 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK,
255 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK,
312 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);
246 mNotificationManager.notify(R.id.notification_volumeui,
/frameworks/base/services/core/java/com/android/server/
H A DUiModeManagerService.java96 private NotificationManager mNotificationManager; field in class:UiModeManagerService
648 if (mNotificationManager == null) {
649 mNotificationManager = (NotificationManager)
653 if (mNotificationManager != null) {
671 mNotificationManager.notifyAsUser(null,
674 mNotificationManager.cancelAsUser(null,
H A DLockSettingsService.java131 private NotificationManager mNotificationManager; field in class:LockSettingsService
298 mNotificationManager = (NotificationManager)
378 mNotificationManager.notifyAsUser(null, FBE_ENCRYPTED_NOTIFICATION, notification, user);
383 mNotificationManager.cancelAsUser(null, FBE_ENCRYPTED_NOTIFICATION, userHandle);
H A DInputMethodManagerService.java231 private NotificationManager mNotificationManager; field in class:InputMethodManagerService
1087 mNotificationManager = mContext.getSystemService(NotificationManager.class);
1844 if ((mNotificationManager != null)
1849 mNotificationManager.notifyAsUser(null,
1857 if (mNotificationShown && mNotificationManager != null) {
1861 mNotificationManager.cancelAsUser(null,
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkNotificationManager.java70 private final NotificationManager mNotificationManager; field in class:NetworkNotificationManager
77 mNotificationManager = n;
217 mNotificationManager.notifyAsUser(tag, eventId, notification, UserHandle.ALL);
234 mNotificationManager.cancelAsUser(tag, eventId, UserHandle.ALL);
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaNotificationManager.java65 private NotificationManagerCompat mNotificationManager; field in class:MediaNotificationManager
83 mNotificationManager = NotificationManagerCompat.from(mService);
97 mNotificationManager.cancelAll();
136 mNotificationManager.cancel(NOTIFICATION_ID);
209 mNotificationManager.notify(NOTIFICATION_ID, notification);
220 mNotificationManager.notify(NOTIFICATION_ID, notification);
345 mNotificationManager.notify(NOTIFICATION_ID, builder.build());
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaNotificationManager.java65 private NotificationManagerCompat mNotificationManager; field in class:MediaNotificationManager
83 mNotificationManager = NotificationManagerCompat.from(mService);
97 mNotificationManager.cancelAll();
136 mNotificationManager.cancel(NOTIFICATION_ID);
209 mNotificationManager.notify(NOTIFICATION_ID, notification);
220 mNotificationManager.notify(NOTIFICATION_ID, notification);
345 mNotificationManager.notify(NOTIFICATION_ID, builder.build());
/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/packages/SystemUI/src/com/android/systemui/screenshot/
H A DGlobalScreenshot.java106 private final NotificationManager mNotificationManager; field in class:SaveImageInBackgroundTask
172 mNotificationManager = nManager;
205 mNotificationManager.notify(SystemMessage.NOTE_GLOBAL_SCREENSHOT,
318 GlobalScreenshot.notifyScreenshotError(mParams.context, mNotificationManager,
352 mNotificationManager.notify(SystemMessage.NOTE_GLOBAL_SCREENSHOT,
369 mNotificationManager.cancel(SystemMessage.NOTE_GLOBAL_SCREENSHOT);
417 private NotificationManager mNotificationManager; field in class:GlobalScreenshot
479 mNotificationManager =
525 mSaveInBgTask = new SaveImageInBackgroundTask(mContext, data, mNotificationManager)
567 notifyScreenshotError(mContext, mNotificationManager,
[all...]
/frameworks/support/compat/java/android/support/v4/app/
H A DNotificationManagerCompat.java96 private final NotificationManager mNotificationManager; field in class:NotificationManagerCompat
149 mNotificationManager = (NotificationManager) mContext.getSystemService(
254 IMPL.cancelNotification(mNotificationManager, tag, id);
262 mNotificationManager.cancelAll();
288 IMPL.cancelNotification(mNotificationManager, tag, id);
290 IMPL.postNotification(mNotificationManager, tag, id, notification);
298 return IMPL.areNotificationsEnabled(mContext, mNotificationManager);
307 return IMPL.getImportance(mNotificationManager);
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDeviceManager.java142 private NotificationManager mNotificationManager; field in class:UsbDeviceManager
242 mNotificationManager = (NotificationManager)
827 if (mNotificationManager == null || !mUseUsbNotification
863 mNotificationManager.cancelAsUser(null, mUsbNotificationId,
892 mNotificationManager.notifyAsUser(null, id, notification,
900 if (mNotificationManager == null) return;
932 mNotificationManager.notifyAsUser(null, id, notification,
937 mNotificationManager.cancelAsUser(null, id, UserHandle.ALL);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DContextFixture.java214 return mNotificationManager;
474 private final NotificationManager mNotificationManager = mock(NotificationManager.class); field in class:ContextFixture
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java151 private NotificationManager mNotificationManager; field in class:InputManagerService
359 mNotificationManager = (NotificationManager)mContext.getSystemService(
764 if (mNotificationManager != null) {
987 mNotificationManager.notifyAsUser(null,
998 mNotificationManager.cancelAsUser(null,

Completed in 1074 milliseconds