Home
last modified time | relevance | path

Searched refs:notificationTitle (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/security/src/android/security/cts/
DCVE_2023_21139.java84 String notificationTitle = "CVE_2023_21139_notif_title"; in testPocCVE_2023_21139() local
90 .setContentTitle(notificationTitle) in testPocCVE_2023_21139()
108 "UI object with text = %s not found!", notificationTitle)) in testPocCVE_2023_21139()
109 .that(device.wait(Until.hasObject(By.text(notificationTitle)), TIMEOUT_MS)) in testPocCVE_2023_21139()
111 device.findObject(By.text(notificationTitle)).click(); in testPocCVE_2023_21139()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0704/test-app/src/android/security/cts/CVE_2021_0704_test/
DListenerService.java58 String notificationTitle = notificationExtras.getString(Notification.EXTRA_TITLE); in broadcastIfVulnerableNotificationFound() local
72 && !notificationTitle.contains(getString(R.string.accountAppLabel))) { in broadcastIfVulnerableNotificationFound()
76 && notificationTitle.contains(getString(R.string.accountAppLabel))) { in broadcastIfVulnerableNotificationFound()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DWipeDataNotificationTest.java73 private CountDownLatch initWipeNotificationLatch(@NonNull String notificationTitle, in initWipeNotificationLatch() argument
79 assertEquals("Wipe notification title not found", notificationTitle, in initWipeNotificationLatch()
/cts/tests/app/src/android/app/cts/
DServiceTest.java1314 final String notificationTitle = "deferThenImmediateNotify"; in testForegroundService_deferThenImmediateNotify() local
1328 .setContentTitle(notificationTitle) in testForegroundService_deferThenImmediateNotify()
1334 assertNotification(1, notificationTitle, true); in testForegroundService_deferThenImmediateNotify()
1342 final String notificationTitle = "deferThenDeferrableNotify"; in testForegroundService_deferThenDeferrableNotify() local
1358 .setContentTitle(notificationTitle) in testForegroundService_deferThenDeferrableNotify()
1369 assertNotification(1, notificationTitle, true); in testForegroundService_deferThenDeferrableNotify()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DKeyboardVisibilityControlTest.java1788 final String notificationTitle = "notification-" + marker; in testIMEVisibleWhenNotificationComes() local
1792 .setContentTitle(notificationTitle) in testIMEVisibleWhenNotificationComes()
1799 uiDevice.wait(Until.hasObject(By.text(notificationTitle)), TIMEOUT); in testIMEVisibleWhenNotificationComes()
1804 uiDevice.wait(Until.gone(By.text(notificationTitle)), TIMEOUT); in testIMEVisibleWhenNotificationComes()