Home
last modified time | relevance | path

Searched refs:notificationId (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java105 final int notificationId = 1; in testNotificationListener_cancelNotifications() local
107 sendNotification(notificationId, R.drawable.icon_black); in testNotificationListener_cancelNotifications()
110 StatusBarNotification sbn = findPostedNotification(notificationId); in testNotificationListener_cancelNotifications()
114 if (checkNotificationExistence(notificationId, /*shouldExist=*/ true)) { in testNotificationListener_cancelNotifications()
120 sendNotification(notificationId, R.drawable.icon_black); in testNotificationListener_cancelNotifications()
124 if (!checkNotificationExistence(notificationId, /*shouldExist=*/ false)) { in testNotificationListener_cancelNotifications()
125 fail("Failed to cancel notification id=" + notificationId); in testNotificationListener_cancelNotifications()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdCtsForegroundActivity.java137 final int notificationId = R.layout.activity_main; in doShowNotification() local
145 notificationId, in doShowNotification()
151 nm.cancel(notificationId); in doShowNotification()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyServiceClient.java96 … public void sendNotification(int notificationId, String notificationType) throws RemoteException { in sendNotification() argument
97 mService.sendNotification(notificationId, notificationType); in sendNotification()
DAbstractRestrictBackgroundNetworkTestCase.java1136 protected void sendNotification(int notificationId, String notificationType) throws Exception {
1137 Log.d(TAG, "Sending notification broadcast (id=" + notificationId
1139 mServiceClient.sendNotification(notificationId, notificationType);
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyBroadcastReceiver.java199 static void sendNotification(Context context, String channelId, int notificationId, in sendNotification() argument
201 Log.d(TAG, "sendNotification: id=" + notificationId + ", type=" + notificationType); in sendNotification()
204 notificationId); in sendNotification()
260 .notify(notificationId, notification); in sendNotification()
DMyService.java87 public void sendNotification(int notificationId, String notificationType) {
89 notificationId, notificationType);
/cts/hostsidetests/net/aidl/com/android/cts/net/hostside/
DIMyService.aidl26 void sendNotification(int notificationId, String notificationType); in sendNotification() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUtils.java83 static void showBugreportNotification(Context context, String msg, int notificationId) { in showBugreportNotification() argument
98 mNotificationManager.notify(notificationId, notification); in showBugreportNotification()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java1197 final int notificationId = 1; in testGetSuppressedVisualEffectsOff_ranking() local
1198 sendNotification(notificationId, R.drawable.black); in testGetSuppressedVisualEffectsOff_ranking()
1241 final int notificationId = 1; in testGetSuppressedVisualEffects_ranking() local
1243 sendNotification(notificationId, R.drawable.black); in testGetSuppressedVisualEffects_ranking()
1282 final int notificationId = 1; in testKeyChannelGroupOverrideImportanceExplanation_ranking() local
1283 sendNotification(notificationId, R.drawable.black); in testKeyChannelGroupOverrideImportanceExplanation_ranking()
1290 StatusBarNotification sbn = findPostedNotification(notificationId); in testKeyChannelGroupOverrideImportanceExplanation_ranking()
2336 final int notificationId = 1; in testNotificationListener_cancelNotifications() local
2338 sendNotification(notificationId, R.drawable.black); in testNotificationListener_cancelNotifications()
2341 StatusBarNotification sbn = findPostedNotification(notificationId); in testNotificationListener_cancelNotifications()
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java445 final int notificationId = 1; in testTypeNotificationStateChangedAccessibilityEvent() local
480 .notify(notificationId, notification); in testTypeNotificationStateChangedAccessibilityEvent()