/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);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
NotificationManagerInternal.java | 25 void removeForegroundServiceFlagFromNotification(String pkg, int notificationId, int userId);
|
/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/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);
|
DismissAlarmsService.java | 70 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY, -1); 100 if (notificationId != -1) { 103 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...] |
/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...] |
/developers/build/prebuilts/gradle/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/ |
DismissListener.java | 78 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1); 79 if (notificationId == Constants.BOTH_ID) { 80 dismissWearableNotification(notificationId);
|
SynchronizedNotificationsFragment.java | 102 private void buildLocalOnlyNotification(String title, String content, int notificationId, 117 NotificationManagerCompat.from(this.getActivity()).notify(notificationId, builder.build());
|
/developers/samples/android/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/ |
DismissListener.java | 78 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1); 79 if (notificationId == Constants.BOTH_ID) { 80 dismissWearableNotification(notificationId);
|
SynchronizedNotificationsFragment.java | 102 private void buildLocalOnlyNotification(String title, String content, int notificationId, 117 NotificationManagerCompat.from(this.getActivity()).notify(notificationId, builder.build());
|
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/ |
DismissListener.java | 78 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1); 79 if (notificationId == Constants.BOTH_ID) { 80 dismissWearableNotification(notificationId);
|
SynchronizedNotificationsFragment.java | 102 private void buildLocalOnlyNotification(String title, String content, int notificationId, 117 NotificationManagerCompat.from(this.getActivity()).notify(notificationId, builder.build());
|
/frameworks/base/location/java/com/android/internal/location/ |
GpsNetInitiatedHandler.java | 124 public int notificationId; 258 + " notificationId: " + notif.notificationId 295 mNetInitiatedListener.sendNiResponse(notif.notificationId, 316 mNetInitiatedListener.sendNiResponse(notif.notificationId, 329 + " notificationId: " + notif.notificationId); 345 mNetInitiatedListener.sendNiResponse(notif.notificationId, 366 if (DEBUG) Log.d(TAG, "setNiNotification, notifyId: " + notif.notificationId + 393 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotification [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 337 final int notificationId = mUsbStorageNotification.icon; 339 notificationManager.notifyAsUser(null, notificationId, mUsbStorageNotification, 342 notificationManager.cancelAsUser(null, notificationId, UserHandle.ALL); 377 final int notificationId = mMediaStorageNotification.icon; 378 notificationManager.cancel(notificationId); 414 final int notificationId = mMediaStorageNotification.icon; 416 notificationManager.notifyAsUser(null, notificationId, 419 notificationManager.cancelAsUser(null, notificationId, UserHandle.ALL);
|
/external/chromium_org/ui/file_manager/file_manager/background/js/ |
device_handler.js | 168 var notificationId = this.makeId_(devicePath); 170 this.showInternal_(notificationId, opt_message || null, callback); 172 return notificationId; 181 var notificationId = this.makeId_(devicePath); 184 if (idList.indexOf(notificationId) !== -1) { 188 this.showInternal_(notificationId, null, callback); 202 notificationId, message, callback) { 206 notificationId,
|
/developers/build/prebuilts/gradle/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/ |
HomeListenerService.java | 166 Integer notificationId = sNotificationIdByDataItemUri.remove(dataItem.getUri()); 167 if (notificationId != null) { 168 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE)).cancel(notificationId);
|
/developers/build/prebuilts/gradle/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/ |
NotificationUpdateService.java | 72 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1); 73 if (notificationId == Constants.BOTH_ID) { 74 dismissPhoneNotification(notificationId);
|
/developers/samples/android/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/ |
HomeListenerService.java | 166 Integer notificationId = sNotificationIdByDataItemUri.remove(dataItem.getUri()); 167 if (notificationId != null) { 168 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE)).cancel(notificationId);
|
/developers/samples/android/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/ |
NotificationUpdateService.java | 72 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1); 73 if (notificationId == Constants.BOTH_ID) { 74 dismissPhoneNotification(notificationId);
|
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/ |
HomeListenerService.java | 166 Integer notificationId = sNotificationIdByDataItemUri.remove(dataItem.getUri()); 167 if (notificationId != null) { 168 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE)).cancel(notificationId);
|
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/ |
NotificationUpdateService.java | 72 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1); 73 if (notificationId == Constants.BOTH_ID) { 74 dismissPhoneNotification(notificationId);
|
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/ |
DialogSmsDisplayTests.java | 276 public void sendOnNewIntent(String message, String dest, int notificationId) { 283 di.putExtra(DialogSmsDisplay.SMS_NOTIFICATION_ID_EXTRA, notificationId);
|