HomeSort by relevance Sort by last modified time
    Searched full:notificationid (Results 1 - 25 of 68) sorted by null

1 2 3

  /packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
BasicSmsReceiverApp.java 47 int notificationId = prefs.getInt(PREF_KEY_NOTIFICATION_ID, 0);
48 ++notificationId;
49 if (notificationId > 32765) {
50 notificationId = 1; // wrap around before it gets dangerous
53 // Save the updated notificationId in SharedPreferences
55 editor.putInt(PREF_KEY_NOTIFICATION_ID, notificationId);
58 Log.d(LOG_TAG, "getNextNotificationId: " + notificationId);
60 return notificationId;
SmsMessageReceiver.java 54 int notificationId = BasicSmsReceiverApp.getBasicSmsReceiverApp().getNextNotificationId();
63 notificationId));
65 Log.i(LOG_TAG, "addNotification notificationId: " + notificationId);
70 notificationManager.notify(notificationId, notification.getNotification());
74 String message, int notificationId) {
82 di.putExtra(DialogSmsDisplay.SMS_NOTIFICATION_ID_EXTRA, notificationId);
87 di.setType(Integer.toString(notificationId));
DialogSmsDisplay.java 62 int notificationId = extras.getInt(SMS_NOTIFICATION_ID_EXTRA);
64 Log.i(LOG_TAG, "notificationId: " + notificationId);
69 notificationManager.cancel(notificationId);
  /packages/apps/TV/src/com/android/tv/recommendation/
NotificationService.java 207 private void handleUpdateRecommendation(int notificationId, Channel channel) {
208 if (mNotificationChannels[notificationId] == Channel.INVALID_ID || !sendNotification(
209 channel.getId(), notificationId)) {
210 changeRecommendation(notificationId);
299 int notificationId = notificationChannels.keyAt(i);
300 mNotificationManager.cancel(NOTIFY_TAG, notificationId);
301 mNotificationChannels[notificationId] = Channel.INVALID_ID;
318 private void changeRecommendation(int notificationId) {
321 if (mNotificationChannels[notificationId] != Channel.INVALID_ID) {
322 mNotificationChannels[notificationId] = Channel.INVALID_ID
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
ServiceUtils.java 45 * @param notificationId
50 public static void setForeground(Service service, Integer notificationId,
58 startForeground.invoke(service, new Object[] { notificationId, notification });
76 manager.notify(notificationId, notification);
  /frameworks/base/core/java/com/android/internal/app/
NetInitiatedActivity.java 51 private int notificationId = -1;
71 if (notificationId != -1) {
97 notificationId = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_NOTIF_ID, -1);
100 if (DEBUG) Log.d(TAG, "onCreate() : notificationId: " + notificationId + " timeout: " + timeout + " default_response:" + default_response);
133 notificationId = -1;
141 locationManager.sendNiResponse(notificationId, response);
146 notificationId = notifId;
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
NotificationActionUtils.java 202 final Folder folder, final int notificationId, final long when,
210 folder, notificationIntent, notificationAction, notificationId, when);
223 folder, notificationIntent, notificationAction, notificationId, when);
352 final NotificationActionType action, final int notificationId, final long when) {
357 NotificationAction.SOURCE_LOCAL, notificationId);
373 notificationId, PendingIntent.FLAG_UPDATE_CURRENT);
387 notificationId, PendingIntent.FLAG_UPDATE_CURRENT);
398 context, notificationId, intent, PendingIntent.FLAG_UPDATE_CURRENT);
408 context, notificationId, intent, PendingIntent.FLAG_UPDATE_CURRENT);
421 final NotificationActionType action, final int notificationId, final long when)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/alerts/
SnoozeAlarmsService.java 57 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY,
64 if (notificationId != AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID) {
67 nm.cancel(notificationId);
AlertReceiver.java 202 long startMillis, long endMillis, int notificationId) {
203 return createDismissAlarmsIntent(context, eventId, startMillis, endMillis, notificationId,
208 long startMillis, long endMillis, int notificationId) {
209 return createDismissAlarmsIntent(context, eventId, startMillis, endMillis, notificationId,
214 long startMillis, long endMillis, int notificationId, String action) {
221 intent.putExtra(AlertUtils.NOTIFICATION_ID_KEY, notificationId);
236 long startMillis, long endMillis, int notificationId) {
242 intent.putExtra(AlertUtils.NOTIFICATION_ID_KEY, notificationId);
261 int notificationId, boolean doPopup, int priority) {
263 context, title, summaryText, startMillis, endMillis, eventId, notificationId,
    [all...]
  /frameworks/base/services/core/java/com/android/server/notification/
NotificationManagerInternal.java 25 void removeForegroundServiceFlagFromNotification(String pkg, int notificationId, int userId);
  /frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
MtpDocumentsService.java 70 int notificationId = 0;
77 notificationId = record.deviceId;
89 startForeground(notificationId, notification);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
Utils.java 68 static void showBugreportNotification(Context context, String msg, int notificationId) {
78 mNotificationManager.notify(notificationId, notification);
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/
NotificationBroadcastReceiver.java 76 int notificationId = intent.getIntExtra(EXTRA_NOTIFICATION_ID, -1);
78 .pullExternalCall(notificationId);
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
MovieDetailsActivity.java 29 public static final String NOTIFICATION_ID = "NotificationId";
  /developers/build/prebuilts/gradle/ActiveNotifications/Application/src/main/java/com/example/android/activenotifications/
ActiveNotificationsFragment.java 183 int notificationId = sNotificationId++;
188 if (notificationId == NOTIFICATION_GROUP_SUMMARY_ID) {
189 notificationId = sNotificationId++;
191 return notificationId;
  /developers/samples/android/notification/ActiveNotifications/Application/src/main/java/com/example/android/activenotifications/
ActiveNotificationsFragment.java 183 int notificationId = sNotificationId++;
188 if (notificationId == NOTIFICATION_GROUP_SUMMARY_ID) {
189 notificationId = sNotificationId++;
191 return notificationId;
  /development/samples/browseable/ActiveNotifications/src/com.example.android.activenotifications/
ActiveNotificationsFragment.java 183 int notificationId = sNotificationId++;
188 if (notificationId == NOTIFICATION_GROUP_SUMMARY_ID) {
189 notificationId = sNotificationId++;
191 return notificationId;
  /developers/build/prebuilts/gradle/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/
HomeListenerService.java 95 Integer notificationId = sNotificationIdByDataItemUri.remove(dataItem.getUri());
96 if (notificationId != null) {
97 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE)).cancel(notificationId);
  /developers/build/prebuilts/gradle/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
DismissListener.java 77 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1);
78 if (notificationId == Constants.BOTH_ID) {
79 dismissWearableNotification(notificationId);
  /developers/build/prebuilts/gradle/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/
NotificationUpdateService.java 71 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1);
72 if (notificationId == Constants.BOTH_ID) {
73 dismissPhoneNotification(notificationId);
  /developers/samples/android/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/
HomeListenerService.java 95 Integer notificationId = sNotificationIdByDataItemUri.remove(dataItem.getUri());
96 if (notificationId != null) {
97 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE)).cancel(notificationId);
  /developers/samples/android/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
DismissListener.java 77 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1);
78 if (notificationId == Constants.BOTH_ID) {
79 dismissWearableNotification(notificationId);
  /developers/samples/android/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/
NotificationUpdateService.java 71 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1);
72 if (notificationId == Constants.BOTH_ID) {
73 dismissPhoneNotification(notificationId);
  /development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/
HomeListenerService.java 95 Integer notificationId = sNotificationIdByDataItemUri.remove(dataItem.getUri());
96 if (notificationId != null) {
97 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE)).cancel(notificationId);
  /development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DismissListener.java 77 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1);
78 if (notificationId == Constants.BOTH_ID) {
79 dismissWearableNotification(notificationId);

Completed in 1016 milliseconds

1 2 3