Home
last modified time | relevance | path

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

/cts/tests/tests/permission/src/android/permission/cts/
DActivityPermissionRationaleTest.java73 CompletableFuture<Boolean> callbackReturn = new CompletableFuture<>(); in assertAppShowRationaleIs() local
75 callbackReturn.complete(result.getBoolean(RESULT_KEY))); in assertAppShowRationaleIs()
82 assertThat(callbackReturn.get(TIMEOUT, TimeUnit.MILLISECONDS)).isEqualTo(expected); in assertAppShowRationaleIs()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2021_0339.java67 CompletableFuture<Integer> callbackReturn = new CompletableFuture<>(); in testPocCVE_2021_0339() local
69 callbackReturn.complete(result.getInt(RESULT_KEY))); in testPocCVE_2021_0339()
74 int duration = callbackReturn.get(15, TimeUnit.SECONDS); in testPocCVE_2021_0339()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DPinnedStackTests.java1371 final CompletableFuture<Boolean> callbackReturn = new CompletableFuture<>(); in testPictureInPictureStateChangeCallback() local
1373 callbackReturn.complete(result.getBoolean(PIP_CALLBACK_RESULT_KEY))); in testPictureInPictureStateChangeCallback()
1375 Truth.assertThat(callbackReturn.get(5000, TimeUnit.MILLISECONDS)).isEqualTo(true); in testPictureInPictureStateChangeCallback()