OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:notificationId
(Results
1 - 25
of
32
) sorted by null
1
2
/cts/hostsidetests/net/aidl/com/android/cts/net/hostside/
IMyService.aidl
26
void sendNotification(int
notificationId
, String notificationType);
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
ServiceUtils.java
44
* @param
notificationId
49
public static void setForeground(Service service, Integer
notificationId
,
57
startForeground.invoke(service, new Object[] {
notificationId
, notification });
75
manager.notify(
notificationId
, notification);
/developers/samples/android/experimental/markgoldstein/
snippets1.java
11
int
notificationId
= 001;
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
LegacyNotificationManager20Test.java
105
final int
notificationId
= 1;
107
sendNotification(
notificationId
, R.drawable.icon_black);
110
StatusBarNotification sbn = findPostedNotification(
notificationId
);
114
if (checkNotificationExistence(
notificationId
, /*shouldExist=*/ true)) {
120
sendNotification(
notificationId
, R.drawable.icon_black);
124
if (!checkNotificationExistence(
notificationId
, /*shouldExist=*/ false)) {
125
fail("Failed to cancel notification id=" +
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
);
SynchronizedNotificationsFragment.java
97
private void buildLocalOnlyNotification(String title, String content, int
notificationId
,
116
NotificationManagerCompat.from(this.getActivity()).notify(
notificationId
, builder.build());
/developers/samples/android/deprecated/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
);
SynchronizedNotificationsFragment.java
97
private void buildLocalOnlyNotification(String title, String content, int
notificationId
,
116
NotificationManagerCompat.from(this.getActivity()).notify(
notificationId
, builder.build());
/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
);
SynchronizedNotificationsFragment.java
97
private void buildLocalOnlyNotification(String title, String content, int
notificationId
,
116
NotificationManagerCompat.from(this.getActivity()).notify(
notificationId
, builder.build());
/developers/build/prebuilts/gradle/ActiveNotifications/Application/src/main/java/com/example/android/activenotifications/
ActiveNotificationsFragment.java
167
int
notificationId
= sNotificationId++;
172
if (
notificationId
== NOTIFICATION_GROUP_SUMMARY_ID) {
173
notificationId
= sNotificationId++;
175
return
notificationId
;
/developers/samples/android/notification/ActiveNotifications/Application/src/main/java/com/example/android/activenotifications/
ActiveNotificationsFragment.java
167
int
notificationId
= sNotificationId++;
172
if (
notificationId
== NOTIFICATION_GROUP_SUMMARY_ID) {
173
notificationId
= sNotificationId++;
175
return
notificationId
;
/development/samples/browseable/ActiveNotifications/src/com.example.android.activenotifications/
ActiveNotificationsFragment.java
167
int
notificationId
= sNotificationId++;
172
if (
notificationId
== NOTIFICATION_GROUP_SUMMARY_ID) {
173
notificationId
= sNotificationId++;
175
return
notificationId
;
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
MyServiceClient.java
96
public void sendNotification(int
notificationId
, String notificationType) throws RemoteException {
97
mService.sendNotification(
notificationId
, notificationType);
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
StatsdCtsForegroundActivity.java
137
final int
notificationId
= R.layout.activity_main;
145
notificationId
,
151
nm.cancel(
notificationId
);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
Utils.java
83
static void showBugreportNotification(Context context, String msg, int
notificationId
) {
98
mNotificationManager.notify(
notificationId
, notification);
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
MyService.java
87
public void sendNotification(int
notificationId
, String notificationType) {
89
notificationId
, notificationType);
MyBroadcastReceiver.java
199
static void sendNotification(Context context, String channelId, int
notificationId
,
201
Log.d(TAG, "sendNotification: id=" +
notificationId
+ ", type=" + notificationType);
204
notificationId
);
260
.notify(
notificationId
, notification);
/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/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/deprecated/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/deprecated/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/Wearable/src/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/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
MovieDetailsFragment.java
110
private void removeNotification(int
notificationId
) {
111
if (
notificationId
!= NO_NOTIFICATION) {
114
notificationManager.cancel(
notificationId
);
Completed in 476 milliseconds
1
2