Searched refs:callbackReturn (Results 1 – 3 of 3) sorted by relevance
73 CompletableFuture<Boolean> callbackReturn = new CompletableFuture<>(); in assertAppShowRationaleIs() local75 callbackReturn.complete(result.getBoolean(RESULT_KEY))); in assertAppShowRationaleIs()82 assertThat(callbackReturn.get(TIMEOUT, TimeUnit.MILLISECONDS)).isEqualTo(expected); in assertAppShowRationaleIs()
67 CompletableFuture<Integer> callbackReturn = new CompletableFuture<>(); in testPocCVE_2021_0339() local69 callbackReturn.complete(result.getInt(RESULT_KEY))); in testPocCVE_2021_0339()74 int duration = callbackReturn.get(15, TimeUnit.SECONDS); in testPocCVE_2021_0339()
1371 final CompletableFuture<Boolean> callbackReturn = new CompletableFuture<>(); in testPictureInPictureStateChangeCallback() local1373 callbackReturn.complete(result.getBoolean(PIP_CALLBACK_RESULT_KEY))); in testPictureInPictureStateChangeCallback()1375 Truth.assertThat(callbackReturn.get(5000, TimeUnit.MILLISECONDS)).isEqualTo(true); in testPictureInPictureStateChangeCallback()