Searched refs:callbackReturn (Results 1 – 7 of 7) sorted by relevance
53 CompletableFuture<PocStatus> callbackReturn = new CompletableFuture<>(); in testCVE_2022_20004() local58 callbackReturn.complete(pocStatus); in testCVE_2022_20004()70 status = callbackReturn.get(TIMEOUT_SEC, TimeUnit.SECONDS); in testCVE_2022_20004()
49 CompletableFuture<PocStatus> callbackReturn = new CompletableFuture<>(); in testMutablePendingIntent() local56 callbackReturn.complete(pocStatus); in testMutablePendingIntent()61 status = callbackReturn.get(TIMEOUT_SEC, TimeUnit.SECONDS); in testMutablePendingIntent()
64 CompletableFuture<String> callbackReturn = new CompletableFuture<>(); in testPocCVE_2022_20358() local66 callbackReturn.complete(result.getString("fail")); in testPocCVE_2022_20358()77 callbackReturn.get(TIMEOUT_SEC, TimeUnit.SECONDS); in testPocCVE_2022_20358()
69 CompletableFuture<String> callbackReturn = new CompletableFuture<String>(); in testPocBUG_293602970() local76 callbackReturn.complete(intent.getStringExtra("activityName")); in testPocBUG_293602970()91 callbackReturn.get(10_000L /* timeout */, TimeUnit.MILLISECONDS /* unit */); in testPocBUG_293602970()
70 CompletableFuture<Integer> callbackReturn = new CompletableFuture<>(); in testPocCVE_2021_0339() local72 callbackReturn.complete(result.getInt(RESULT_KEY))); in testPocCVE_2021_0339()77 int duration = callbackReturn.get(15, TimeUnit.SECONDS); in testPocCVE_2021_0339()
126 CompletableFuture<PocStatus> callbackReturn = new CompletableFuture<>(); in testOverlayButtonPresence() local135 callbackReturn.complete(pocStatus); in testOverlayButtonPresence()140 callbackReturn.get( in testOverlayButtonPresence()
1753 final CompletableFuture<Boolean> callbackReturn = new CompletableFuture<>(); in testStashUnstashUiStateChangeCallback() local1755 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() local1773 callbackReturn.complete(result.getBoolean(UI_STATE_ENTERING_PIP_RESULT))); in testEnteringPipUiStateChangeCallback()1777 Truth.assertThat(callbackReturn.get(5000, TimeUnit.MILLISECONDS)).isEqualTo(true); in testEnteringPipUiStateChangeCallback()