/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
ZenModeDurationPreferenceControllerTest.java | 52 private NotificationManager mNotificationManager; 66 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 72 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
|
ZenModeEventsPreferenceControllerTest.java | 56 private NotificationManager mNotificationManager; 70 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 74 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
|
ZenModeMediaPreferenceControllerTest.java | 56 private NotificationManager mNotificationManager; 69 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 73 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
|
ZenModeRemindersPreferenceControllerTest.java | 56 private NotificationManager mNotificationManager; 71 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 75 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
|
ZenModeRepeatCallersPreferenceControllerTest.java | 56 private NotificationManager mNotificationManager; 70 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 74 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
|
ZenModeStarredContactsPreferenceControllerTest.java | 55 private NotificationManager mNotificationManager; 72 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 75 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
|
ZenModeSystemPreferenceControllerTest.java | 57 private NotificationManager mNotificationManager; 72 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 76 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
|
ZenModeVisEffectsAllPreferenceControllerTest.java | 72 @Mock NotificationManager mNotificationManager; 82 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 83 when(mNotificationManager.getNotificationPolicy()).thenReturn(
|
ZenModeVisEffectsCustomPreferenceControllerTest.java | 70 @Mock NotificationManager mNotificationManager; 80 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 81 when(mNotificationManager.getNotificationPolicy()).thenReturn(
|
ZenModeVisEffectsNonePreferenceControllerTest.java | 71 @Mock NotificationManager mNotificationManager; 82 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 83 when(mNotificationManager.getNotificationPolicy()).thenReturn(
|
ZenModeScheduleRuleSettingsTest.java | 56 private NotificationManager mNotificationManager; 66 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
NotificationInteractionTests.java | 69 private NotificationManager mNotificationManager; 82 mNotificationManager = (NotificationManager) mContext 84 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); 86 mNotificationManager.cancelAll(); 96 mNotificationManager.cancelAll(); 118 StatusBarNotification[] sbns = mNotificationManager.getActiveNotifications(); 128 sbns = mNotificationManager.getActiveNotifications(); 140 sbns = mNotificationManager.getActiveNotifications(); 307 mNotificationManager.cancelAll(); 323 NotificationManager mNotificationManager [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/ |
PipNotification.java | 56 private final NotificationManager mNotificationManager; 149 mNotificationManager = (NotificationManager) context.getSystemService( 197 mNotificationManager.notify(NOTIFICATION_TAG, SystemMessage.NOTE_TV_PIP, 203 mNotificationManager.cancel(NOTIFICATION_TAG, SystemMessage.NOTE_TV_PIP);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
AbstractZenModePreferenceController.java | 53 final private NotificationManager mNotificationManager; 67 mNotificationManager = (NotificationManager) context.getSystemService( 106 return mNotificationManager.getNotificationPolicy(); 110 return mNotificationManager.getZenModeConfig();
|
/packages/services/Telephony/src/com/android/phone/ |
EmergencyCallbackModeService.java | 56 private NotificationManager mNotificationManager = null; 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());
|
NotificationMgr.java | 98 private NotificationManager mNotificationManager; 119 mNotificationManager = 345 mNotificationManager.notifyAsUser( 363 mNotificationManager.cancelAsUser( 507 mNotificationManager.notifyAsUser( 519 mNotificationManager.cancelAsUser( 552 mNotificationManager.notifyAsUser( 561 mNotificationManager.cancel(DATA_DISCONNECTED_ROAMING_NOTIFICATION); 591 mNotificationManager.notifyAsUser( 603 mNotificationManager.cancelAsUser [all...] |
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
UpdateLayoutFragment.java | 69 private NotificationManager mNotificationManager; 102 mNotificationManager = 104 mNotificationManager.createNotificationChannel( 163 mNotificationManager.notify(NOTIFICATION_ID, createNotification(getContext(), status)); 165 mNotificationManager.cancel(NOTIFICATION_ID);
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
ExportProcessor.java | 55 private final NotificationManager mNotificationManager; 79 mNotificationManager = 281 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, 292 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG, 312 mNotificationManager.notify(NotificationImportExportListener.DEFAULT_NOTIFICATION_TAG,
|
NotificationImportExportListener.java | 52 private final NotificationManager mNotificationManager; 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);
|
/cts/tests/admin/src/android/admin/cts/ |
DevicePolicyManagerTest.java | 67 private NotificationManager mNotificationManager; 94 mNotificationManager = [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 60 private NotificationManager mNotificationManager; 93 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, 122 mNotificationManager.cancelAsUser(null, SystemMessage.NOTE_STORAGE_MOVE, 159 mNotificationManager = mContext.getSystemService(NotificationManager.class); 199 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, 224 mNotificationManager.notifyAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, 252 mNotificationManager.notifyAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, 257 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, 268 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, 325 mNotificationManager.notifyAsUser(vol.getId(), SystemMessage.NOTE_STORAGE_PUBLIC [all...] |
/frameworks/base/core/java/android/preference/ |
SeekBarVolumizer.java | 62 private final NotificationManager mNotificationManager; 99 mNotificationManager = context.getSystemService(NotificationManager.class); 100 mNotificationPolicy = mNotificationManager.getNotificationPolicy(); 113 mZenMode = mNotificationManager.getZenMode(); 451 mZenMode = mNotificationManager.getZenMode(); 454 mNotificationPolicy = mNotificationManager.getNotificationPolicy();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
NotificationController.java | 68 private final NotificationManager mNotificationManager; 77 mNotificationManager = (NotificationManager) 81 mNotificationManager.createNotificationChannel( 85 mNotificationManager.createNotificationChannel( 131 mNotificationManager.cancel(removedPrintJob.flattenToString(), 0); 219 mNotificationManager.notify(printJob.getId().flattenToString(), 0, builder.build());
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
NotificationManagerCompat.java | 104 private final NotificationManager mNotificationManager; 158 mNotificationManager = (NotificationManager) mContext.getSystemService( 176 mNotificationManager.cancel(tag, id); 184 mNotificationManager.cancelAll(); 210 mNotificationManager.cancel(tag, id); 212 mNotificationManager.notify(tag, id, notification); 221 return mNotificationManager.areNotificationsEnabled(); 252 return mNotificationManager.getImportance();
|
/frameworks/support/media/src/main/java/androidx/media/ |
MediaSessionService2.java | 135 private NotificationManager mNotificationManager; 172 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
|