| /packages/apps/Contacts/src/com/android/contacts/vcard/ |
| 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);
|
| /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
| NotificationAccess.java | 52 private NotificationManager mNotificationManager; 66 mNotificationManager = context.getSystemService(NotificationManager.class); 131 pref.setChecked(mNotificationManager.isNotificationListenerAccessGranted(cn)); 134 mNotificationManager.setNotificationListenerAccessGranted(cn, enable);
|
| /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...] |
| /platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
| NotificationHelper.java | 137 * @param mNotificationManager NotificationManager 141 NotificationManager mNotificationManager) throws Exception { 150 mNotificationManager.notify(lists.get(1), 160 mNotificationManager.notify(lists.get(2), 170 mNotificationManager.notify(lists.get(0), 179 * @param mNotificationManager NotificationManager 183 NotificationManager mNotificationManager) { 197 mNotificationManager.notify(notificationId, n.build()); 202 * @param mNotificationManager NotificationManager 204 public void dismissNotifications(NotificationManager mNotificationManager){ [all...] |
| /platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
| HeadsUpNotificationTests.java | 42 private NotificationManager mNotificationManager; 52 mNotificationManager = (NotificationManager) mContext 54 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); 58 mNotificationManager.cancelAll(); 63 mNotificationManager.cancelAll();
|
| NotificationBundlingTests.java | 40 private NotificationManager mNotificationManager; 50 mNotificationManager = (NotificationManager) mContext 52 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); 54 mNotificationManager.cancelAll(); 64 mNotificationManager.cancelAll();
|
| NotificationDNDTests.java | 48 private NotificationManager mNotificationManager; 61 mNotificationManager = (NotificationManager) mContext 63 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); 79 mNotificationManager.cancelAll(); 80 isGranted = mNotificationManager.isNotificationPolicyAccessGranted(); 85 mNotificationManager.cancelAll(); 96 int setting = mNotificationManager.getCurrentInterruptionFilter(); 98 mNotificationManager 106 assertTrue(zF.shouldIntercept(mNotificationManager.getZenMode(), mConfig, nr)); 108 mNotificationManager.setInterruptionFilter(setting) [all...] |
| NotificationInlineReplyTests.java | 41 private NotificationManager mNotificationManager; 51 mNotificationManager = (NotificationManager) mContext 53 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); 60 mNotificationManager.cancelAll(); 65 mNotificationManager.cancelAll();
|
| /cts/tests/app/src/android/app/cts/ |
| NotificationManagerTest.java | 76 private NotificationManager mNotificationManager; 86 mNotificationManager = (NotificationManager) mContext.getSystemService( 89 mNotificationManager.cancelAll(); 90 mNotificationManager.createNotificationChannel(new NotificationChannel( 103 mNotificationManager.cancelAll(); 104 List<NotificationChannel> channels = mNotificationManager.getNotificationChannels(); 110 mNotificationManager.deleteNotificationChannel(nc.getId()); 116 List<NotificationChannelGroup> groups = mNotificationManager.getNotificationChannelGroups(); 119 mNotificationManager.deleteNotificationChannelGroup(ncg.getId()); 134 mNotificationManager.setNotificationPolicy(new NotificationManager.Policy [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...] |
| /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/services/Telecomm/src/com/android/server/telecom/ui/ |
| MissedCallNotifierImpl.java | 130 private final NotificationManager mNotificationManager; 152 mNotificationManager = 382 mNotificationManager.notifyAsUser( 403 mNotificationManager.cancelAsUser(NOTIFICATION_TAG, MISSED_CALL_NOTIFICATION_ID,
|
| /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/recommendation/ |
| UpdateRecommendationsService.java | 53 private NotificationManager mNotificationManager; 67 if (mNotificationManager == null) { 68 mNotificationManager = (NotificationManager) getApplicationContext() 105 mNotificationManager.notify(i + 1, notification);
|
| /frameworks/av/packages/MediaComponents/src/com/android/media/ |
| MediaSessionService2Impl.java | 48 private NotificationManager mNotificationManager; 81 mNotificationManager = (NotificationManager) mInstance.getSystemService( 134 mNotificationManager.notify(mediaNotification.getNotificationId(),
|
| /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/ |
| EnableZenModeDialogTest.java | 60 private NotificationManager mNotificationManager; 84 doReturn(alarmsEnabledPolicy).when(mNotificationManager).getNotificationPolicy(); 85 mController.mNotificationManager = mNotificationManager; 169 when(mNotificationManager.getNotificationPolicy()).thenReturn( 185 when(mNotificationManager.getNotificationPolicy()).thenReturn(
|
| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
| LeakReporterTest.java | 50 private NotificationManager mNotificationManager; 58 mNotificationManager = mock(NotificationManager.class); 59 mContext.addMockSystemService(NotificationManager.class, mNotificationManager); 81 verify(mNotificationManager).notify(any(), anyInt(), any());
|
| /frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/ |
| FixVibrateSetting.java | 33 NotificationManager mNotificationManager; 46 mNotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); 126 mNotificationManager.notify(1, n);
|
| /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
| WrongPasswordNotifierTest.java | 46 @Mock NotificationManager mNotificationManager; 58 .thenReturn(mNotificationManager); 75 verify(mNotificationManager).notify(eq(WrongPasswordNotifier.NOTIFICATION_ID), any()); 92 reset(mNotificationManager); 95 verify(mNotificationManager).cancel(any(), eq(WrongPasswordNotifier.NOTIFICATION_ID)); 107 verify(mNotificationManager, never()).cancel(any(), anyInt());
|
| /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);
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
| ZenModeAlarmsPreferenceControllerTest.java | 56 private NotificationManager mNotificationManager; 71 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 75 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
|
| ZenModeButtonPreferenceControllerTest.java | 58 private NotificationManager mNotificationManager; 76 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 82 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
|
| ZenModeCallsPreferenceControllerTest.java | 56 private NotificationManager mNotificationManager; 79 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 84 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
|
| ZenModeEventsPreferenceControllerTest.java | 56 private NotificationManager mNotificationManager; 70 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); 74 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
|