/frameworks/base/core/tests/notificationtests/src/android/app/ |
D | NotificationStressTest.java | 62 private NotificationManager mNotificationManager; field in NotificationStressTest 71 mNotificationManager = (NotificationManager) mContext.getSystemService( in setUp() 74 mNotificationManager.cancelAll(); in setUp() 80 mNotificationManager.cancelAll(); in tearDown() 89 mNotificationManager.cancel(mNotifyId - 4); in testNotificationStress() 102 assertTrue(mNotificationManager.getActiveNotifications().length == MAX_NOTIFCATIONS); in testNotificationsWithShadeStress() 104 mNotificationManager.cancel(--mNotifyId); in testNotificationsWithShadeStress() 127 mNotificationManager.notify(id, notification); in sendNotification()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNotificationControllerTest.java | 59 @Mock private NotificationManager mNotificationManager; field in WifiNotificationControllerTest 77 .thenReturn(mNotificationManager); in setUp() 113 verify(mNotificationManager, never()) in verifyNotificationDisplayed() 128 verify(mNotificationManager) in verifyNotificationDisplayed() 131 verify(mNotificationManager, never()) in verifyNotificationDisplayed() 137 verify(mNotificationManager) in verifyNotificationDisplayed()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 65 @Mock NotificationManager mNotificationManager; field in NetworkNotificationManagerTest 86 mManager = new NetworkNotificationManager(mCtx, mTelephonyManager, mNotificationManager); in setUp() 113 verify(mNotificationManager, times(1)).notifyAsUser(eq(tag), eq(eventId), any(), any()); in testNotificationsShownAndCleared() 114 verify(mNotificationManager, times(1)).cancelAsUser(eq(tag), eq(eventId), any()); in testNotificationsShownAndCleared() 123 verify(mNotificationManager, never()).notifyAsUser(any(), anyInt(), any(), any()); in testNoInternetNotificationsNotShownForCellular() 129 verify(mNotificationManager, times(1)).notifyAsUser(eq(tag), eq(eventId), any(), any()); in testNoInternetNotificationsNotShownForCellular() 140 verify(mNotificationManager, never()).notifyAsUser(any(), anyInt(), any(), any()); in testNotificationsNotShownIfNoInternetCapability()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperationService.java | 95 private NotificationManager mNotificationManager; field in FileOperationService 115 mNotificationManager = getSystemService(NotificationManager.class); in onCreate() 218 mNotificationManager.cancel(jobId, NOTIFICATION_ID_PROGRESS); in handleCancel() 300 mNotificationManager.notify(job.id, NOTIFICATION_ID_PROGRESS, job.getSetupNotification()); in onStart() 308 mNotificationManager.cancel(job.id, NOTIFICATION_ID_PROGRESS); in onFinished() 312 mNotificationManager.notify( in onFinished() 318 mNotificationManager.notify( in onFinished() 330 mNotificationManager.notify( in onProgress()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | MediaNotificationManager.java | 65 private NotificationManagerCompat mNotificationManager; field in MediaNotificationManager 83 mNotificationManager = NotificationManagerCompat.from(mService); in MediaNotificationManager() 97 mNotificationManager.cancelAll(); in MediaNotificationManager() 136 mNotificationManager.cancel(NOTIFICATION_ID); in stopNotification() 209 mNotificationManager.notify(NOTIFICATION_ID, notification); 220 mNotificationManager.notify(NOTIFICATION_ID, notification); 345 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in fetchBitmapFromURLAsync()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpDocumentsService.java | 41 NotificationManager mNotificationManager; field in MtpDocumentsService 52 mNotificationManager = getSystemService(NotificationManager.class); in onCreate() 85 mNotificationManager.notify(record.deviceId, notification); in updateForegroundState()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | StatusBarTest.java | 35 NotificationManager mNotificationManager; field in StatusBarTest 55 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in tests() 174 mNotificationManager.notify(id, not); 267 mNotificationManager.notify(1, 281 mNotificationManager.cancel(1);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 57 private NotificationManager mNotificationManager; field in StorageNotification 90 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, 119 mNotificationManager.cancelAsUser(null, SystemMessage.NOTE_STORAGE_MOVE, 156 mNotificationManager = mContext.getSystemService(NotificationManager.class); in start() 191 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, in updateMissingPrivateVolumes() 213 mNotificationManager.notifyAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, in updateMissingPrivateVolumes() 239 mNotificationManager.notifyAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, in onDiskScannedInternal() 244 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, in onDiskScannedInternal() 255 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, in onDiskDestroyedInternal() 312 mNotificationManager.notifyAsUser(vol.getId(), SystemMessage.NOTE_STORAGE_PUBLIC, in onPublicVolumeStateChangedInternal() [all …]
|
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/ |
D | FixVibrateSetting.java | 33 NotificationManager mNotificationManager; field in FixVibrateSetting 46 mNotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); in onCreate() 126 mNotificationManager.notify(1, n); in test()
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | NotificationManagerCompat.java | 96 private final NotificationManager mNotificationManager; field in NotificationManagerCompat 149 mNotificationManager = (NotificationManager) mContext.getSystemService( in NotificationManagerCompat() 254 IMPL.cancelNotification(mNotificationManager, tag, id); in cancel() 262 mNotificationManager.cancelAll(); in cancelAll() 288 IMPL.cancelNotification(mNotificationManager, tag, id); in notify() 290 IMPL.postNotification(mNotificationManager, tag, id, notification); in notify() 298 return IMPL.areNotificationsEnabled(mContext, mNotificationManager); in areNotificationsEnabled() 307 return IMPL.getImportance(mNotificationManager); in getImportance()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 69 private final NotificationManager mNotificationManager; field in NotificationController 78 mNotificationManager = (NotificationManager) in NotificationController() 111 mNotificationManager.cancel(PRINT_JOB_NOTIFICATION_SUMMARY, 0); in updateNotifications() 130 mNotificationManager.cancel(removedPrintJob.flattenToString(), 0); in updateNotifications() 218 mNotificationManager.notify(printJob.getId().flattenToString(), 0, builder.build()); in createNotification() 275 mNotificationManager.notify(PRINT_JOB_NOTIFICATION_SUMMARY, 0, builder.build()); in createStackedNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeUI.java | 60 private NotificationManager mNotificationManager; field in VolumeUI 71 mNotificationManager = in start() 220 mNotificationManager.cancel(R.id.notification_volumeui); in hide() 246 mNotificationManager.notify(R.id.notification_volumeui, in show()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 70 private final NotificationManager mNotificationManager; field in NetworkNotificationManager 77 mNotificationManager = n; in NetworkNotificationManager() 217 mNotificationManager.notifyAsUser(tag, eventId, notification, UserHandle.ALL); in showNotification() 234 mNotificationManager.cancelAsUser(tag, eventId, UserHandle.ALL); in clearNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | GlobalScreenshot.java | 106 private final NotificationManager mNotificationManager; field in SaveImageInBackgroundTask 172 mNotificationManager = nManager; in SaveImageInBackgroundTask() 205 mNotificationManager.notify(SystemMessage.NOTE_GLOBAL_SCREENSHOT, in SaveImageInBackgroundTask() 318 GlobalScreenshot.notifyScreenshotError(mParams.context, mNotificationManager, in onPostExecute() 352 mNotificationManager.notify(SystemMessage.NOTE_GLOBAL_SCREENSHOT, in onPostExecute() 369 mNotificationManager.cancel(SystemMessage.NOTE_GLOBAL_SCREENSHOT); in onCancelled() 417 private NotificationManager mNotificationManager; field in GlobalScreenshot 479 mNotificationManager = in GlobalScreenshot() 525 mSaveInBgTask = new SaveImageInBackgroundTask(mContext, data, mNotificationManager) in saveScreenshotInWorkerThread() 567 notifyScreenshotError(mContext, mNotificationManager, in takeScreenshot()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 96 private NotificationManager mNotificationManager; field in UiModeManagerService 648 if (mNotificationManager == null) { in adjustStatusBarCarModeLocked() 649 mNotificationManager = (NotificationManager) in adjustStatusBarCarModeLocked() 653 if (mNotificationManager != null) { in adjustStatusBarCarModeLocked() 671 mNotificationManager.notifyAsUser(null, in adjustStatusBarCarModeLocked() 674 mNotificationManager.cancelAsUser(null, in adjustStatusBarCarModeLocked()
|
/frameworks/base/core/java/android/preference/ |
D | SeekBarVolumizer.java | 61 private final NotificationManager mNotificationManager; field in SeekBarVolumizer 93 mNotificationManager = context.getSystemService(NotificationManager.class); in SeekBarVolumizer() 100 mZenMode = mNotificationManager.getZenMode(); in SeekBarVolumizer() 427 mZenMode = mNotificationManager.getZenMode();
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 142 private NotificationManager mNotificationManager; field in UsbDeviceManager 242 mNotificationManager = (NotificationManager) in systemReady() 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/base/docs/html/training/notify-user/ |
D | navigation.jd | 110 NotificationManager mNotificationManager = 112 mNotificationManager.notify(id, builder.build()); 220 NotificationManager mNotificationManager = 224 mNotificationManager.notify(id, builder.build());
|
D | managing.jd | 62 mNotificationManager = 77 mNotificationManager.notify(
|
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/notifiers/ |
D | notifications.jd | 219 NotificationManager mNotificationManager = 222 mNotificationManager.notify(mId, mBuilder.build()); 347 mNotificationManager = 362 mNotificationManager.notify( 565 NotificationManager mNotificationManager = 567 mNotificationManager.notify(id, builder.build()); 678 NotificationManager mNotificationManager = 682 mNotificationManager.notify(id, builder.build());
|
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/notifiers/ |
D | notifications.jd | 219 NotificationManager mNotificationManager = 222 mNotificationManager.notify(mId, mBuilder.build()); 347 mNotificationManager = 362 mNotificationManager.notify( 565 NotificationManager mNotificationManager = 567 mNotificationManager.notify(id, builder.build()); 678 NotificationManager mNotificationManager = 682 mNotificationManager.notify(id, builder.build());
|
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/notifiers/ |
D | notifications.jd | 219 NotificationManager mNotificationManager = 222 mNotificationManager.notify(mId, mBuilder.build()); 347 mNotificationManager = 362 mNotificationManager.notify( 565 NotificationManager mNotificationManager = 567 mNotificationManager.notify(id, builder.build()); 678 NotificationManager mNotificationManager = 682 mNotificationManager.notify(id, builder.build());
|
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/ui/notifiers/ |
D | notifications.jd | 219 NotificationManager mNotificationManager = 222 mNotificationManager.notify(mId, mBuilder.build()); 347 mNotificationManager = 362 mNotificationManager.notify( 565 NotificationManager mNotificationManager = 567 mNotificationManager.notify(id, builder.build()); 678 NotificationManager mNotificationManager = 682 mNotificationManager.notify(id, builder.build());
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/ui/notifiers/ |
D | notifications.jd | 219 NotificationManager mNotificationManager = 222 mNotificationManager.notify(mId, mBuilder.build()); 347 mNotificationManager = 362 mNotificationManager.notify( 565 NotificationManager mNotificationManager = 567 mNotificationManager.notify(id, builder.build()); 678 NotificationManager mNotificationManager = 682 mNotificationManager.notify(id, builder.build());
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | BordeauxService.java | 64 NotificationManager mNotificationManager; field in BordeauxService
|