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

12 3 4 5

  /development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/handlers/
MessagingMainActivity.java 19 import android.app.NotificationManager;
40 NotificationManager notificationManager =
41 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
43 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID);
  /packages/apps/Messaging/src/com/android/messaging/sms/
SmsStorageStatusManager.java 82 final NotificationManagerCompat notificationManager =
85 notificationManager.notify(getNotificationTag(),
93 final NotificationManagerCompat notificationManager =
95 notificationManager.cancel(getNotificationTag(),
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
SelfManagedCallNotificationReceiver.java 19 import android.app.NotificationManager;
39 NotificationManager notificationManager = context.getSystemService(
40 NotificationManager.class);
49 notificationManager.cancel(SelfManagedConnection.CALL_NOTIFICATION, callId);
58 notificationManager.cancel(SelfManagedConnection.CALL_NOTIFICATION, callId);
  /cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
SimpleForegroundService.java 21 import android.app.NotificationManager;
83 NotificationManager notificationManager =
84 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
87 NotificationManager.IMPORTANCE_HIGH);
88 notificationManager.createNotificationChannel(channel);
116 NotificationManager notificationManager =
117 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
118 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID)
    [all...]
  /cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
MyForegroundService.java 24 import android.app.NotificationManager;
51 NotificationManager notificationManager = getSystemService(NotificationManager.class);
52 notificationManager.createNotificationChannel(new NotificationChannel(
54 NotificationManager.IMPORTANCE_DEFAULT));
  /developers/build/prebuilts/gradle/BasicNotifications/Application/src/main/java/com/example/android/basicnotifications/
MainActivity.java 4 import android.app.NotificationManager;
96 NotificationManager notificationManager = (NotificationManager) getSystemService(
98 notificationManager.notify(NOTIFICATION_ID, builder.build());
  /developers/build/prebuilts/gradle/WearNotifications/Shared/src/main/java/com/example/android/wearable/wear/common/util/
NotificationUtil.java 20 import android.app.NotificationManager;
60 NotificationManager notificationManager =
61 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
62 notificationManager.createNotificationChannel(notificationChannel);
  /developers/samples/android/notification/BasicNotifications/Application/src/main/java/com/example/android/basicnotifications/
MainActivity.java 4 import android.app.NotificationManager;
96 NotificationManager notificationManager = (NotificationManager) getSystemService(
98 notificationManager.notify(NOTIFICATION_ID, builder.build());
  /developers/samples/android/wearable/wear/WearNotifications/Shared/src/main/java/com/example/android/wearable/wear/common/util/
NotificationUtil.java 20 import android.app.NotificationManager;
60 NotificationManager notificationManager =
61 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
62 notificationManager.createNotificationChannel(notificationChannel);
  /development/samples/browseable/BasicNotifications/src/com.example.android.basicnotifications/
MainActivity.java 4 import android.app.NotificationManager;
96 NotificationManager notificationManager = (NotificationManager) getSystemService(
98 notificationManager.notify(NOTIFICATION_ID, builder.build());
  /frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
MockLockSettingsContext.java 19 import android.app.NotificationManager;
31 private NotificationManager mNotificationManager;
37 NotificationManager notificationManager, DevicePolicyManager devicePolicyManager,
41 mNotificationManager = notificationManager;
  /packages/apps/Settings/src/com/android/settings/dashboard/conditional/
DndCondition.java 19 import android.app.NotificationManager;
44 new IntentFilter(NotificationManager.ACTION_INTERRUPTION_FILTER_CHANGED_INTERNAL);
59 NotificationManager notificationManager =
60 mManager.getContext().getSystemService(NotificationManager.class);
61 mZen = notificationManager.getZenMode();
64 mConfig = notificationManager.getZenModeConfig();
130 NotificationManager notificationManager = mManager.getContext().getSystemService(
131 NotificationManager.class)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/calllog/
VisualVoicemailNotifier.java 20 import android.app.NotificationManager;
85 NotificationManager notificationManager = context.getSystemService(NotificationManager.class);
86 notificationManager.notify(
90 notificationManager.notify(
99 NotificationManager notificationManager = context.getSystemService(NotificationManager.class);
100 for (StatusBarNotification notification : notificationManager.getActiveNotifications())
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/services/
FileOperationService.java 24 import android.app.NotificationManager;
121 @VisibleForTesting NotificationManager notificationManager;
157 if (notificationManager == null) {
158 notificationManager = getSystemService(NotificationManager.class);
173 NotificationManager.IMPORTANCE_LOW);
174 notificationManager.createNotificationChannel(channel);
280 notificationManager.cancel(jobId, NOTIFICATION_ID_PROGRESS);
353 notificationManager.notify
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/dialer/
DialerShowsHunOnIncomingCallActivity.java 21 import android.app.NotificationManager;
62 NotificationManager notificationManager =
63 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
67 new NotificationChannel(id, "incoming_call", NotificationManager.IMPORTANCE_MAX);
71 notificationManager.createNotificationChannel(channel);
82 notificationManager.notify(notifyID, notification);
  /cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
ReflectorVpnService.java 22 import android.app.NotificationManager;
56 NotificationManager notificationManager = getSystemService(NotificationManager.class);
57 notificationManager.createNotificationChannel(new NotificationChannel(
59 NotificationManager.IMPORTANCE_DEFAULT));
70 NotificationManager notificationManager = getSystemService(NotificationManager.class);
71 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID)
    [all...]
  /packages/apps/Settings/src/com/android/settings/sim/
SimSelectNotification.java 19 import android.app.NotificationManager;
131 NotificationManager notificationManager =
132 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
133 notificationManager.notify(NOTIFICATION_ID, builder.build());
137 NotificationManager notificationManager =
138 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
139 notificationManager.cancel(NOTIFICATION_ID);
  /cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/
FgService.java 20 import android.app.NotificationManager;
47 NotificationManager notificationManager = getSystemService(NotificationManager.class);
48 notificationManager.createNotificationChannel(new NotificationChannel(
50 NotificationManager.IMPORTANCE_DEFAULT));
  /developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
AlarmIntentService.java 23 import android.app.NotificationManager;
58 NotificationManager notificationManager = context
59 .getSystemService(NotificationManager.class);
67 notificationManager.notify(alarm.id, builder.build());
  /developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessageReplyReceiver.java 50 NotificationManagerCompat notificationManager =
58 notificationManager.notify(conversationId, repliedNotification);
  /developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessageReplyReceiver.java 50 NotificationManagerCompat notificationManager =
58 notificationManager.notify(conversationId, repliedNotification);
  /developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
AlarmIntentService.java 23 import android.app.NotificationManager;
58 NotificationManager notificationManager = context
59 .getSystemService(NotificationManager.class);
67 notificationManager.notify(alarm.id, builder.build());
  /development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
AlarmIntentService.java 23 import android.app.NotificationManager;
58 NotificationManager notificationManager = context
59 .getSystemService(NotificationManager.class);
67 notificationManager.notify(alarm.id, builder.build());
  /development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
MessageReplyReceiver.java 50 NotificationManagerCompat notificationManager =
58 notificationManager.notify(conversationId, repliedNotification);
  /packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
DialogSmsDisplay.java 22 import android.app.NotificationManager;
67 NotificationManager notificationManager =
68 (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);
69 notificationManager.cancel(notificationId);

Completed in 905 milliseconds

12 3 4 5