/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;
|
DialogSmsDisplay.java | 62 int notificationId = extras.getInt(SMS_NOTIFICATION_ID_EXTRA); 64 Log.i(LOG_TAG, "notificationId: " + notificationId); 69 notificationManager.cancel(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));
|
/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);
|
/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/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);
|
/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/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);
|
/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/Calendar/src/com/android/calendar/alerts/ |
DismissAlarmsService.java | 70 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY, -1); 100 if (notificationId != -1) { 103 nm.cancel(notificationId);
|
SnoozeAlarmsService.java | 57 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY, 64 if (notificationId != AlertUtils.EXPIRED_GROUP_NOTIFICATION_ID) { 67 nm.cancel(notificationId);
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityEndToEndTest.java | 315 final int notificationId = 1; 344 notificationManager.notify(notificationId, notification);
|
/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/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/ |
QuizListenerService.java | 158 int notificationId = Integer.parseInt(uri.getLastPathSegment()); 160 .cancel(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/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/ |
QuizListenerService.java | 158 int notificationId = Integer.parseInt(uri.getLastPathSegment()); 160 .cancel(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/Quiz/Wearable/src/com.example.android.wearable.quiz/ |
QuizListenerService.java | 158 int notificationId = Integer.parseInt(uri.getLastPathSegment()); 160 .cancel(notificationId);
|
/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;
|
/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);
|
/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...] |
/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...] |
NotificationUtils.java | 382 final int notificationId = 399 NotificationActionUtils.sUndoNotifications.get(notificationId); 457 final int notificationId = 461 nm.cancel(notificationId); 463 NotificationActionUtils.sUndoNotifications.remove(notificationId); 464 NotificationActionUtils.sNotificationTimestamps.delete(notificationId); 503 final int notificationId = getNotificationId(account.getAccountManagerAccount(), folder); 514 nm.cancel(notificationId); 537 if (NotificationActionUtils.sUndoNotifications.get(notificationId) == null) { 606 final int notificationId [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmServiceStateTracker.java | [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountManagerService.java | [all...] |