HomeSort by relevance Sort by last modified time
    Searched defs:mNotificationManager (Results 26 - 50 of 153) sorted by null

12 3 4 5 6 7

  /platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
NotificationSecurityLargeTests.java 37 private NotificationManager mNotificationManager = null;
48 mNotificationManager = (NotificationManager) mContext
51 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager);
62 mNotificationManager.cancelAll();
NotificationSecurityTests.java 32 private NotificationManager mNotificationManager = null;
42 mNotificationManager = (NotificationManager) mContext
45 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager);
52 mNotificationManager.cancelAll();
66 StatusBarNotification[] sbns = mNotificationManager.getActiveNotifications();
  /frameworks/base/tests/StatusBar/src/com/android/statusbartest/
StatusBarTest.java 35 NotificationManager mNotificationManager;
55 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
174 mNotificationManager.notify(id, not);
267 mNotificationManager.notify(1,
281 mNotificationManager.cancel(1);
  /frameworks/base/core/tests/notificationtests/src/android/app/
NotificationStressTest.java 62 private NotificationManager mNotificationManager;
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/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);
  /frameworks/base/services/core/java/com/android/server/wm/
AlertWindowNotification.java 55 private final NotificationManager mNotificationManager;
63 mNotificationManager =
90 mNotificationManager.cancel(mNotificationTag, NOTIFICATION_ID);
92 mNotificationManager.deleteNotificationChannel(mNotificationTag);
136 mNotificationManager.notify(mNotificationTag, NOTIFICATION_ID, builder.build());
152 mNotificationManager.createNotificationChannelGroup(sChannelGroup);
158 NotificationChannel channel = mNotificationManager.getNotificationChannel(mNotificationTag);
168 mNotificationManager.createNotificationChannel(channel);
  /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);
  /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);
  /cts/tests/tests/media/src/android/media/cts/
MockMediaSessionService2.java 44 private NotificationManager mNotificationManager;
50 mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
83 mNotificationManager.createNotificationChannel(mDefaultNotificationChannel);
  /developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/
HeadsUpNotificationFragment.java 43 private NotificationManager mNotificationManager;
75 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context
93 mNotificationManager.notify(NOTIFICATION_ID, createNotification(
  /developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/
HeadsUpNotificationFragment.java 43 private NotificationManager mNotificationManager;
75 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context
93 mNotificationManager.notify(NOTIFICATION_ID, createNotification(
  /development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
HeadsUpNotificationFragment.java 43 private NotificationManager mNotificationManager;
75 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context
93 mNotificationManager.notify(NOTIFICATION_ID, createNotification(
  /external/sl4a/Utils/src/com/googlecode/android_scripting/
ForegroundService.java 32 private NotificationManager mNotificationManager;
48 if (mNotificationManager == null) {
49 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
51 return mNotificationManager;
  /frameworks/support/media/src/androidTest/java/androidx/media/
MockMediaSessionService2.java 41 private NotificationManager mNotificationManager;
47 mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
85 mNotificationManager.createNotificationChannel(mDefaultNotificationChannel);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
RingVolumePreferenceControllerTest.java 51 private NotificationManager mNotificationManager;
65 shadowContext.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
67 when(mNotificationManager.getEffectsSuppressor()).thenReturn(mSuppressor);
ZenFooterPreferenceControllerTest.java 63 @Mock NotificationManager mNotificationManager;
72 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
73 when(mNotificationManager.getNotificationPolicy()).thenReturn(
ZenModeBehaviorCallsPreferenceControllerTest.java 46 private NotificationManager mNotificationManager;
58 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
61 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
ZenModeBehaviorMsgEventReminderPreferenceControllerTest.java 46 private NotificationManager mNotificationManager;
58 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
61 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
ZenModeBehaviorSoundPreferenceControllerTest.java 46 private NotificationManager mNotificationManager;
58 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
61 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
ZenModeBlockedEffectsPreferenceControllerTest.java 44 private NotificationManager mNotificationManager;
56 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
59 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
ZenModeDurationPreferenceControllerTest.java 52 private NotificationManager mNotificationManager;
66 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
72 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
ZenModePreferenceControllerTest.java 49 private NotificationManager mNotificationManager;
62 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
65 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
ZenModeScheduleRuleSettingsTest.java 56 private NotificationManager mNotificationManager;
66 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
ZenModeVisEffectsCustomPreferenceControllerTest.java 70 @Mock NotificationManager mNotificationManager;
80 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
81 when(mNotificationManager.getNotificationPolicy()).thenReturn(
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
IncomingCallNotifierTest.java 56 private NotificationManager mNotificationManager;
67 mNotificationManager = (NotificationManager) mContext.getSystemService(
91 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG),
103 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG),
119 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG),
135 verify(mNotificationManager).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG),
138 verify(mNotificationManager).cancel(eq(IncomingCallNotifier.NOTIFICATION_TAG),
157 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG),
176 verify(mNotificationManager, never()).notify(eq(IncomingCallNotifier.NOTIFICATION_TAG),

Completed in 1524 milliseconds

12 3 4 5 6 7