HomeSort by relevance Sort by last modified time
    Searched refs:mNotificationManager (Results 101 - 125 of 153) sorted by null

1 2 3 45 6 7

  /packages/apps/DeskClock/src/com/android/deskclock/data/
TimerModel.java 82 private final NotificationManagerCompat mNotificationManager;
138 mNotificationManager = NotificationManagerCompat.from(context);
730 mNotificationManager.cancel(mNotificationModel.getUnexpiredTimerNotificationId());
744 mNotificationManager.cancel(mNotificationModel.getUnexpiredTimerNotificationId());
755 mNotificationManager.notify(notificationId, notification);
766 mNotificationManager.cancel(mNotificationModel.getMissedTimerNotificationId());
773 mNotificationManager.cancel(mNotificationModel.getMissedTimerNotificationId());
780 mNotificationManager.notify(notificationId, notification);
  /packages/apps/Nfc/src/com/android/nfc/
P2pEventManager.java 39 final NotificationManager mNotificationManager;
53 mNotificationManager = (NotificationManager) mContext.getSystemService(
  /frameworks/base/services/core/java/com/android/server/connectivity/
NetworkNotificationManager.java 74 private final NotificationManager mNotificationManager;
81 mNotificationManager = n;
236 mNotificationManager.notifyAsUser(tag, eventId, notification, UserHandle.ALL);
253 mNotificationManager.cancelAsUser(tag, eventId, UserHandle.ALL);
  /packages/services/Telecomm/src/com/android/server/telecom/ui/
IncomingCallNotifier.java 84 private final NotificationManager mNotificationManager;
93 mNotificationManager =
170 mNotificationManager.notify(NOTIFICATION_TAG, NOTIFICATION_INCOMING_CALL, builder.build());
175 mNotificationManager.cancel(NOTIFICATION_TAG, NOTIFICATION_INCOMING_CALL);
  /developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessagingService.java 48 private NotificationManagerCompat mNotificationManager;
55 mNotificationManager = NotificationManagerCompat.from(getApplicationContext());
150 mNotificationManager.notify(conversation.getConversationId(), builder.build());
  /developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessagingService.java 48 private NotificationManagerCompat mNotificationManager;
55 mNotificationManager = NotificationManagerCompat.from(getApplicationContext());
150 mNotificationManager.notify(conversation.getConversationId(), builder.build());
  /development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
MessagingService.java 48 private NotificationManagerCompat mNotificationManager;
55 mNotificationManager = NotificationManagerCompat.from(getApplicationContext());
150 mNotificationManager.notify(conversation.getConversationId(), builder.build());
  /packages/apps/Camera2/src/com/android/camera/processing/
ProcessingService.java 78 private NotificationManager mNotificationManager;
117 mNotificationManager = AndroidServices.instance().provideNotificationManager();
255 mNotificationManager.notify(CAMERA_NOTIFICATION_ID, mNotificationBuilder.build());
  /packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
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);
ZenModeMessagesPreferenceControllerTest.java 55 private NotificationManager mNotificationManager;
78 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
83 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
ZenModeVisEffectPreferenceControllerTest.java 67 @Mock NotificationManager mNotificationManager;
80 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
81 when(mNotificationManager.getNotificationPolicy()).thenReturn(
ZenModeBehaviorFooterPreferenceControllerTest.java 67 private NotificationManager mNotificationManager;
87 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
91 when(mNotificationManager.getZenModeConfig()).thenReturn(mZenModeConfig);
ZenModeSettingsFooterPreferenceControllerTest.java 69 private NotificationManager mNotificationManager;
86 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
90 when(mNotificationManager.getZenModeConfig()).thenReturn(mZenModeConfig);
  /packages/apps/TV/src/com/android/tv/recommendation/
NotificationService.java 100 private NotificationManager mNotificationManager;
149 mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
296 mNotificationManager.cancel(NOTIFY_TAG, notificationId);
328 mNotificationManager.cancel(NOTIFY_TAG, notificationId);
344 mNotificationManager.cancel(NOTIFY_TAG, i);
467 mNotificationManager.notify(NOTIFY_TAG, notificationId, notification);
  /developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/
OtherMetadataFragment.java 65 private NotificationManager mNotificationManager;
108 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context
208 mNotificationManager.notify(mIncrementalNotificationId, createNotification(priority,
  /developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/
OtherMetadataFragment.java 65 private NotificationManager mNotificationManager;
108 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context
208 mNotificationManager.notify(mIncrementalNotificationId, createNotification(priority,
  /development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
OtherMetadataFragment.java 65 private NotificationManager mNotificationManager;
108 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context
208 mNotificationManager.notify(mIncrementalNotificationId, createNotification(priority,
  /frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
BaseLockSettingsServiceTests.java 79 NotificationManager mNotificationManager;
94 mNotificationManager = mock(NotificationManager.class);
105 mContext = new MockLockSettingsContext(getContext(), mUserManager, mNotificationManager,
  /packages/apps/Contacts/src/com/android/contacts/
SimImportService.java 263 private final NotificationManager mNotificationManager;
273 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
341 mNotificationManager.notify(NOTIFICATION_ID, notification);
  /frameworks/base/tests/net/java/com/android/server/connectivity/
VpnTest.java 147 @Mock private NotificationManager mNotificationManager;
162 .thenReturn(mNotificationManager);
409 final InOrder order = inOrder(mNotificationManager);
413 order.verify(mNotificationManager, atLeastOnce())
418 order.verify(mNotificationManager)
423 order.verify(mNotificationManager).cancelAsUser(anyString(), anyInt(), eq(userHandle));
427 order.verify(mNotificationManager)
432 order.verify(mNotificationManager).cancelAsUser(anyString(), anyInt(), eq(userHandle));
  /packages/apps/Email/src/com/android/email/
EmailNotificationController.java 81 private final NotificationManager mNotificationManager;
92 mNotificationManager = (NotificationManager) context.getSystemService(
175 mNotificationManager.notify(notificationId, builder.build());
444 mNotificationManager.cancel(getLoginFailedNotificationId(accountId));
493 mNotificationManager.cancel(NOTIFICATION_ID_PASSWORD_EXPIRING);
494 mNotificationManager.cancel(NOTIFICATION_ID_PASSWORD_EXPIRED);
559 mNotificationManager.cancel(
586 final NotificationManager notificationManager = getInstance(context).mNotificationManager;
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
ByodHelperActivity.java 161 private NotificationManager mNotificationManager;
184 mNotificationManager.notify(NOTIFICATION_ID, notification);
209 mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
213 mNotificationManager.createNotificationChannel(new NotificationChannel(
358 mNotificationManager.cancel(NOTIFICATION_ID);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
GlobalScreenshot.java 122 private final NotificationManager mNotificationManager;
172 mNotificationManager = nManager;
203 mNotificationManager.notify(SystemMessage.NOTE_GLOBAL_SCREENSHOT,
349 GlobalScreenshot.notifyScreenshotError(mParams.context, mNotificationManager,
384 mNotificationManager.notify(SystemMessage.NOTE_GLOBAL_SCREENSHOT,
401 mNotificationManager.cancel(SystemMessage.NOTE_GLOBAL_SCREENSHOT);
448 private NotificationManager mNotificationManager;
510 mNotificationManager =
556 mSaveInBgTask = new SaveImageInBackgroundTask(mContext, data, mNotificationManager)
587 notifyScreenshotError(mContext, mNotificationManager,
    [all...]
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
MissedCallNotifierImplTest.java 148 private NotificationManager mNotificationManager;
166 mNotificationManager = (NotificationManager) mContext.getSystemService(
222 verify(mNotificationManager, times(2)).notifyAsUser(nullable(String.class),
224 verify(mNotificationManager).cancelAsUser(nullable(String.class),
261 verify(mNotificationManager, times(2)).notifyAsUser(nullable(String.class), eq(1),
353 verify(mNotificationManager).notifyAsUser(nullable(String.class), eq(1),
558 verify(mNotificationManager, times(2)).notifyAsUser(nullable(String.class), eq(1),

Completed in 467 milliseconds

1 2 3 45 6 7