Searched refs:notificationId (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
H A DNetInitiatedActivity.java51 private int notificationId = -1; field in class:NetInitiatedActivity
71 if (notificationId != -1) {
98 notificationId = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_NOTIF_ID, -1);
101 if (DEBUG) Log.d(TAG, "onCreate() : notificationId: " + notificationId + " timeout: " + timeout + " default_response:" + default_response);
134 notificationId = -1;
142 locationManager.sendNiResponse(notificationId, response);
147 notificationId = notifId;
/frameworks/base/location/java/com/android/internal/location/
H A DGpsNetInitiatedHandler.java100 public int notificationId; field in class:GpsNetInitiatedHandler.GpsNiNotification
137 if (DEBUG) Log.d(TAG, "handleNiNotification" + " notificationId: " + notif.notificationId
164 mLocationManager.sendNiResponse(notif.notificationId, GPS_NI_RESPONSE_ACCEPT);
191 if (DEBUG) Log.d(TAG, "setNiNotification, notifyId: " + notif.notificationId +
216 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotification,
225 if (DEBUG) Log.d(TAG, "openNiDialog, notifyId: " + notif.notificationId +
245 intent.putExtra(NI_INTENT_KEY_NOTIF_ID, notif.notificationId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java341 final int notificationId = mUsbStorageNotification.icon;
343 notificationManager.notifyAsUser(null, notificationId, mUsbStorageNotification,
346 notificationManager.cancelAsUser(null, notificationId, UserHandle.ALL);
381 final int notificationId = mMediaStorageNotification.icon;
382 notificationManager.cancel(notificationId);
414 final int notificationId = mMediaStorageNotification.icon;
416 notificationManager.notifyAsUser(null, notificationId,
419 notificationManager.cancelAsUser(null, notificationId, UserHandle.ALL);
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java1325 public boolean sendNiResponse(int notificationId, int userResponse)
1329 if (DEBUG) Log.d(TAG, "sendNiResponse, notifId: " + notificationId +
1331 native_send_ni_response(notificationId, userResponse);
1342 int notificationId,
1355 Log.i(TAG, "notificationId: " + notificationId +
1368 notification.notificationId = notificationId;
1640 private native void native_send_ni_response(int notificationId, int userResponse); argument
1341 reportNiNotification( int notificationId, int niType, int notifyFlags, int timeout, int defaultResponse, String requestorId, String text, int requestorIdEncoding, int textEncoding, String extras ) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java1632 int notificationId = CS_NOTIFICATION;
1636 notificationId = PS_NOTIFICATION;
1640 notificationId = PS_NOTIFICATION;
1666 notificationManager.cancel(notificationId);
1669 notificationManager.notify(notificationId, mNotification);
/frameworks/base/core/tests/coretests/src/android/accounts/
H A DAccountManagerServiceTest.java253 protected void installNotification(final int notificationId, final Notification n, UserHandle user) { argument
/frameworks/base/core/java/android/accounts/
H A DAccountManagerService.java2143 final Integer notificationId = getSigninRequiredNotificationId(accounts, account);
2144 intent.addCategory(String.valueOf(notificationId));
2155 installNotification(notificationId, n, user);
2162 protected void installNotification(final int notificationId, final Notification n, argument
2165 .notifyAsUser(null, notificationId, n, user);

Completed in 201 milliseconds