OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:notificationId
(Results
1 - 12
of
12
) sorted by null
/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
));
/packages/apps/Calendar/src/com/android/calendar/alerts/
DismissAlarmsService.java
63
int
notificationId
= intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY, -1);
93
if (
notificationId
!= -1) {
96
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
317
final int
notificationId
= 1;
346
notificationManager.notify(
notificationId
, notification);
/frameworks/base/core/java/com/android/internal/app/
NetInitiatedActivity.java
51
private int
notificationId
= -1;
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/packages/SystemUI/src/com/android/systemui/usb/
StorageNotification.java
341
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/location/java/com/android/internal/location/
GpsNetInitiatedHandler.java
100
public int
notificationId
;
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
);
/packages/apps/Email/src/com/android/email/
NotificationController.java
148
* @param
notificationId
the notification id to check
151
private boolean needsOngoingNotification(int
notificationId
) {
154
return
notificationId
== NOTIFICATION_ID_SECURITY_NEEDED;
211
* @param
notificationId
The ID of the notification to register with the service.
214
String contentText, Intent intent, int
notificationId
) {
216
contentText, intent, null, null, true, needsOngoingNotification(
notificationId
));
217
mNotificationManager.notify(
notificationId
, builder.getNotification());
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
GsmServiceStateTracker.java
[
all
...]
/frameworks/base/services/java/com/android/server/accounts/
AccountManagerService.java
[
all
...]
Completed in 412 milliseconds