/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/ |
D | LegacyNotificationManager20Test.java | 105 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/ |
D | StatsdCtsForegroundActivity.java | 137 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/ |
D | MyServiceClient.java | 96 … public void sendNotification(int notificationId, String notificationType) throws RemoteException { in sendNotification() argument 97 mService.sendNotification(notificationId, notificationType); in sendNotification()
|
D | AbstractRestrictBackgroundNetworkTestCase.java | 1136 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/ |
D | MyBroadcastReceiver.java | 199 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()
|
D | MyService.java | 87 public void sendNotification(int notificationId, String notificationType) { 89 notificationId, notificationType);
|
/cts/hostsidetests/net/aidl/com/android/cts/net/hostside/ |
D | IMyService.aidl | 26 void sendNotification(int notificationId, String notificationType); in sendNotification() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | Utils.java | 83 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/ |
D | NotificationManagerTest.java | 1197 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/ |
D | AccessibilityEndToEndTest.java | 445 final int notificationId = 1; in testTypeNotificationStateChangedAccessibilityEvent() local 480 .notify(notificationId, notification); in testTypeNotificationStateChangedAccessibilityEvent()
|