OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mNotifManager
(Results
1 - 6
of
6
) sorted by null
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadNotifier.java
70
private final NotificationManager
mNotifManager
;
97
mNotifManager
= context.getSystemService(NotificationManager.class);
100
mNotifManager
.createNotificationChannel(new NotificationChannel(CHANNEL_ACTIVE,
103
mNotifManager
.createNotificationChannel(new NotificationChannel(CHANNEL_WAITING,
106
mNotifManager
.createNotificationChannel(new NotificationChannel(CHANNEL_COMPLETE,
114
final StatusBarNotification[] notifs =
mNotifManager
.getActiveNotifications();
383
mNotifManager
.notify(tag, 0, notif);
392
mNotifManager
.cancel(tag, 0);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractDownloadProviderFunctionalTest.java
104
private final NotificationManager
mNotifManager
;
111
mNotifManager
= mock(NotificationManager.class);
130
return
mNotifManager
;
PublicApiFunctionalTest.java
74
private NotificationManager
mNotifManager
;
85
mNotifManager
= getContext().getSystemService(NotificationManager.class);
572
verify(
mNotifManager
, times(1)).cancel("tag", 0);
645
verify(
mNotifManager
, never()).notify(anyString(), anyInt(), isA(Notification.class));
657
verify(
mNotifManager
, atLeastOnce()).notify(anyString(), anyInt(), isA(Notification.class));
669
verify(
mNotifManager
, atLeastOnce()).notify(anyString(), anyInt(), isA(Notification.class));
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkPolicyManagerServiceTest.java
230
private @Mock NotificationManager
mNotifManager
;
342
return
mNotifManager
;
[
all
...]
/frameworks/base/services/core/java/com/android/server/storage/
DeviceStorageMonitorService.java
92
private NotificationManager
mNotifManager
;
277
mNotifManager
= context.getSystemService(NotificationManager.class);
287
mNotifManager
.createNotificationChannel(new NotificationChannel(
500
mNotifManager
.notifyAsUser(uuid.toString(), SystemMessage.NOTE_LOW_STORAGE,
503
mNotifManager
.cancelAsUser(uuid.toString(), SystemMessage.NOTE_LOW_STORAGE,
/prebuilts/misc/common/robolectric/android-all/
android-all-7.0.0_r1-robolectric-0.jar
Completed in 93 milliseconds