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

12 3 4 5 6 7

  /developers/samples/android/notification/ActiveNotifications/Application/src/main/java/com/example/android/activenotifications/
ActiveNotificationsFragment.java 52 private NotificationManager mNotificationManager;
77 mNotificationManager = (NotificationManager) getActivity().getSystemService(
120 mNotificationManager.notify(getNewNotificationId(), notification);
145 mNotificationManager.notify(NOTIFICATION_GROUP_SUMMARY_ID, notification);
148 mNotificationManager.cancel(NOTIFICATION_GROUP_SUMMARY_ID);
181 final StatusBarNotification[] activeNotifications = mNotificationManager
  /development/samples/browseable/ActiveNotifications/src/com.example.android.activenotifications/
ActiveNotificationsFragment.java 52 private NotificationManager mNotificationManager;
77 mNotificationManager = (NotificationManager) getActivity().getSystemService(
120 mNotificationManager.notify(getNewNotificationId(), notification);
145 mNotificationManager.notify(NOTIFICATION_GROUP_SUMMARY_ID, notification);
148 mNotificationManager.cancel(NOTIFICATION_GROUP_SUMMARY_ID);
181 final StatusBarNotification[] activeNotifications = mNotificationManager
  /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);
  /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/
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);
ZenModeAutomaticRulesPreferenceControllerTest.java 61 private NotificationManager mNotificationManager;
75 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager);
78 when(mNotificationManager.getNotificationPolicy()).thenReturn(mPolicy);
93 when(mNotificationManager.getAutomaticZenRules()).thenReturn(
108 when(mNotificationManager.getAutomaticZenRules()).thenReturn(
129 when(mNotificationManager.getAutomaticZenRules()).thenReturn(ruleMap);
158 when(mNotificationManager.getAutomaticZenRules()).thenReturn(rMap);
  /development/samples/Alarm/tests/src/com/example/android/newalarm/
AlarmServiceTest.java 77 assertNotNull(mService.mNotificationManager);
  /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());
  /packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/conditional/
RingerMutedConditionTest.java 51 private ShadowNotificationManager mNotificationManager;
60 mNotificationManager = Shadow.extract(
79 mNotificationManager.setZenMode(Settings.Global.ZEN_MODE_NO_INTERRUPTIONS, null, TAG);
89 mNotificationManager.setZenMode(Settings.Global.ZEN_MODE_OFF, null, TAG);
  /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),
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/
IngestService.java 78 private NotificationManager mNotificationManager;
87 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
159 mNotificationManager.notify(R.id.ingest_notification_scanning,
164 mNotificationManager.cancel(R.id.ingest_notification_importing);
165 mNotificationManager.cancel(R.id.ingest_notification_scanning);
214 mNotificationManager.cancel(R.id.ingest_notification_scanning);
215 mNotificationManager.cancel(R.id.ingest_notification_importing);
234 mNotificationManager.notify(R.id.ingest_notification_importing,
251 mNotificationManager.notify(R.id.ingest_notification_importing,
268 mNotificationManager.notify(R.id.ingest_notification_scanning
    [all...]
  /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);
  /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/
NotificationBundlingTests.java 40 private NotificationManager mNotificationManager;
50 mNotificationManager = (NotificationManager) mContext
52 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager);
54 mNotificationManager.cancelAll();
64 mNotificationManager.cancelAll();
NotificationInlineReplyTests.java 41 private NotificationManager mNotificationManager;
51 mNotificationManager = (NotificationManager) mContext
53 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager);
60 mNotificationManager.cancelAll();
65 mNotificationManager.cancelAll();
NotificationHelper.java 76 private NotificationManager mNotificationManager = null;
82 mNotificationManager = nm;
148 mNotificationManager.notify(id, notification.build());
161 mNotificationManager.notify(l.getKey(), notification.build());
175 mNotificationManager.notify(lists.get(1),
182 mNotificationManager.notify(lists.get(2),
191 mNotificationManager.notify(lists.get(0),
205 StatusBarNotification[] sbns = mNotificationManager.getActiveNotifications();
222 StatusBarNotification[] sbns = mNotificationManager.getActiveNotifications();
280 mNotificationManager.notify(notificationId, n.build())
    [all...]
  /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(
VisibilityMetadataFragment.java 38 private NotificationManager mNotificationManager;
75 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context
151 mNotificationManager.notify(mIncrementalNotificationId, createNotification(visibility));
  /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
RecipeService.java 31 private NotificationManagerCompat mNotificationManager;
43 mNotificationManager = NotificationManagerCompat.from(this);
94 mNotificationManager.notify(Constants.NOTIFICATION_ID, notification);
  /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(
VisibilityMetadataFragment.java 38 private NotificationManager mNotificationManager;
75 mNotificationManager = (NotificationManager) getActivity().getSystemService(Context
151 mNotificationManager.notify(mIncrementalNotificationId, createNotification(visibility));
  /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
RecipeService.java 31 private NotificationManagerCompat mNotificationManager;
43 mNotificationManager = NotificationManagerCompat.from(this);
94 mNotificationManager.notify(Constants.NOTIFICATION_ID, notification);
  /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(

Completed in 1221 milliseconds

12 3 4 5 6 7