Home
last modified time | relevance | path

Searched refs:callbackReturn (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20004/test-app/src/android/security/cts/CVE_2022_20004_test/
DDeviceTest.java53 CompletableFuture<PocStatus> callbackReturn = new CompletableFuture<>(); in testCVE_2022_20004() local
58 callbackReturn.complete(pocStatus); in testCVE_2022_20004()
70 status = callbackReturn.get(TIMEOUT_SEC, TimeUnit.SECONDS); in testCVE_2022_20004()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0953/src/android/security/cts/CVE_2021_0953/
DDeviceTest.java49 CompletableFuture<PocStatus> callbackReturn = new CompletableFuture<>(); in testMutablePendingIntent() local
56 callbackReturn.complete(pocStatus); in testMutablePendingIntent()
61 status = callbackReturn.get(TIMEOUT_SEC, TimeUnit.SECONDS); in testMutablePendingIntent()
/cts/tests/tests/security/src/android/security/cts/CVE_2022_20358/
DCVE_2022_20358.java64 CompletableFuture<String> callbackReturn = new CompletableFuture<>(); in testPocCVE_2022_20358() local
66 callbackReturn.complete(result.getString("fail")); in testPocCVE_2022_20358()
77 callbackReturn.get(TIMEOUT_SEC, TimeUnit.SECONDS); in testPocCVE_2022_20358()
/cts/tests/tests/security/src/android/security/cts/BUG_293602970/
DBUG_293602970.java69 CompletableFuture<String> callbackReturn = new CompletableFuture<String>(); in testPocBUG_293602970() local
76 callbackReturn.complete(intent.getStringExtra("activityName")); in testPocBUG_293602970()
91 callbackReturn.get(10_000L /* timeout */, TimeUnit.MILLISECONDS /* unit */); in testPocBUG_293602970()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2021_0339.java70 CompletableFuture<Integer> callbackReturn = new CompletableFuture<>(); in testPocCVE_2021_0339() local
72 callbackReturn.complete(result.getInt(RESULT_KEY))); in testPocCVE_2021_0339()
77 int duration = callbackReturn.get(15, TimeUnit.SECONDS); in testPocCVE_2021_0339()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0963/src/android/security/cts/CVE_2021_0963/
DDeviceTest.java126 CompletableFuture<PocStatus> callbackReturn = new CompletableFuture<>(); in testOverlayButtonPresence() local
135 callbackReturn.complete(pocStatus); in testOverlayButtonPresence()
140 callbackReturn.get( in testOverlayButtonPresence()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DPinnedStackTests.java1753 final CompletableFuture<Boolean> callbackReturn = new CompletableFuture<>(); in testStashUnstashUiStateChangeCallback() local
1755 callbackReturn.complete(result.getBoolean(UI_STATE_STASHED_RESULT))); in testStashUnstashUiStateChangeCallback()
1757 Truth.assertThat(callbackReturn.get(5000, TimeUnit.MILLISECONDS)).isEqualTo(true); in testStashUnstashUiStateChangeCallback()
1771 final CompletableFuture<Boolean> callbackReturn = new CompletableFuture<>(); in testEnteringPipUiStateChangeCallback() local
1773 callbackReturn.complete(result.getBoolean(UI_STATE_ENTERING_PIP_RESULT))); in testEnteringPipUiStateChangeCallback()
1777 Truth.assertThat(callbackReturn.get(5000, TimeUnit.MILLISECONDS)).isEqualTo(true); in testEnteringPipUiStateChangeCallback()