OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mNotificationManager
(Results
1 - 25
of
153
) sorted by null
1
2
3
4
5
6
7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WrongPasswordNotifier.java
46
private final NotificationManager
mNotificationManager
;
52
mNotificationManager
=
97
mNotificationManager
.notify(NOTIFICATION_ID, builder.build());
108
mNotificationManager
.cancel(null, NOTIFICATION_ID);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
NotificationsPreference.java
33
private final INotificationManager
mNotificationManager
;
40
mNotificationManager
= NotificationManager.getService();
59
mNotificationManager
.areNotificationsEnabledForPackage(mEntry.info.packageName,
78
mNotificationManager
.setNotificationsEnabledForPackage(
/packages/services/Car/service/src/com/android/car/
CanBusErrorNotifier.java
39
private final NotificationManager
mNotificationManager
;
47
mNotificationManager
= (NotificationManager) context.getSystemService(
96
mNotificationManager
.notify(TAG, NOTIFICATION_ID, notification);
104
mNotificationManager
.cancel(TAG, NOTIFICATION_ID);
/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/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/Alarm/src/com/example/android/newalarm/
AlarmService.java
68
NotificationManager
mNotificationManager
;
133
mNotificationManager
= (NotificationManager)getSystemService(NOTIFICATION_SERVICE);
158
mNotificationManager
.cancel(R.string.alarm_service_started);
205
mNotificationManager
.notify(
/development/samples/browseable/RecipeAssistant/Application/src/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/training/notify-user/src/com/example/android/pingme/
PingService.java
31
private NotificationManager
mNotificationManager
;
70
mNotificationManager
= (NotificationManager)
128
mNotificationManager
= (NotificationManager)
131
mNotificationManager
.notify(CommonConstants.NOTIFICATION_ID, builder.build());
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
MtpDocumentsService.java
43
private NotificationManager
mNotificationManager
;
54
mNotificationManager
= getSystemService(NotificationManager.class);
93
mNotificationManager
.notify(ids[i], notifications[i]);
99
mNotificationManager
.getActiveNotifications();
102
mNotificationManager
.cancel(notification.getId());
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
ResumeNotificationHelperTest.java
45
private NotificationManager
mNotificationManager
;
52
mNotificationManager
= mContext.getSystemService(NotificationManager.class);
63
MatcherAssert.assertThat(
mNotificationManager
.getActiveNotifications().length,
70
StatusBarNotification[] notifications =
mNotificationManager
.getActiveNotifications();
82
&&
mNotificationManager
.getActiveNotifications().length == 0) {
88
mNotificationManager
.cancelAll();
/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);
/cts/tests/tests/notificationlegacy/src/android/app/notification/legacy/cts/
LegacyNotificationManagerTest.java
65
private NotificationManager
mNotificationManager
;
75
mNotificationManager
= (NotificationManager) mContext.getSystemService(
77
mNotificationManager
.createNotificationChannel(new NotificationChannel(
91
NotificationManager.Policy origPolicy =
mNotificationManager
.getNotificationPolicy();
100
mNotificationManager
.setNotificationPolicy(new NotificationManager.Policy(0, 0, 0));
101
NotificationManager.Policy policy =
mNotificationManager
.getNotificationPolicy();
110
mNotificationManager
.setNotificationPolicy(new NotificationManager.Policy(
113
policy =
mNotificationManager
.getNotificationPolicy();
133
NotificationManager.Policy userPolicy =
mNotificationManager
.getNotificationPolicy();
137
mNotificationManager
.setNotificationPolicy(appPolicy)
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
MockLockSettingsContext.java
32
private NotificationManager
mNotificationManager
;
44
mNotificationManager
= notificationManager;
56
return
mNotificationManager
;
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
RingerMutedCondition.java
31
private final NotificationManager
mNotificationManager
;
35
mNotificationManager
=
42
if (
mNotificationManager
!= null) {
43
zen =
mNotificationManager
.getZenMode();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
Utils.java
82
NotificationManager
mNotificationManager
=
87
mNotificationManager
.createNotificationChannel(channel);
96
mNotificationManager
.notify(notificationId, notification);
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
RecommendationBuilder.java
41
private NotificationManager
mNotificationManager
;
104
if (
mNotificationManager
== null) {
105
mNotificationManager
= (NotificationManager) mContext
135
mNotificationManager
.notify(mId, notification);
136
mNotificationManager
= null;
/developers/build/prebuilts/gradle/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
/developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/
VisibilityMetadataFragment.java
38
private NotificationManager
mNotificationManager
;
75
mNotificationManager
= (NotificationManager) getActivity().getSystemService(Context
151
mNotificationManager
.notify(mIncrementalNotificationId, createNotification(visibility));
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/notifications/
MediaNotificationManager.java
65
private final NotificationManager
mNotificationManager
;
70
mNotificationManager
=
104
mNotificationManager
.cancelAll();
112
return
mNotificationManager
;
180
if (
mNotificationManager
.getNotificationChannel(CHANNEL_ID) == null) {
196
mNotificationManager
.createNotificationChannel(mChannel);
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/notifications/
MediaNotificationManager.java
65
private final NotificationManager
mNotificationManager
;
70
mNotificationManager
=
104
mNotificationManager
.cancelAll();
112
return
mNotificationManager
;
180
if (
mNotificationManager
.getNotificationChannel(CHANNEL_ID) == null) {
196
mNotificationManager
.createNotificationChannel(mChannel);
/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
/developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/
VisibilityMetadataFragment.java
38
private NotificationManager
mNotificationManager
;
75
mNotificationManager
= (NotificationManager) getActivity().getSystemService(Context
151
mNotificationManager
.notify(mIncrementalNotificationId, createNotification(visibility));
/development/samples/ApiDemos/src/com/example/android/apis/app/
StatusBarNotifications.java
37
private NotificationManager
mNotificationManager
;
51
mNotificationManager
= (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
143
mNotificationManager
.cancel(R.layout.status_bar_notifications);
215
mNotificationManager
.notify(MOOD_NOTIFICATIONS, notifBuidler.build());
243
mNotificationManager
.notify(MOOD_NOTIFICATIONS, notif);
268
mNotificationManager
.notify(
/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
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
VisibilityMetadataFragment.java
38
private NotificationManager
mNotificationManager
;
75
mNotificationManager
= (NotificationManager) getActivity().getSystemService(Context
151
mNotificationManager
.notify(mIncrementalNotificationId, createNotification(visibility));
Completed in 562 milliseconds
1
2
3
4
5
6
7