Searched refs:networkFuture (Results 1 – 5 of 5) sorted by relevance
123 val networkFuture = CompletableFuture<Network>() constant133 networkFuture.complete(network) in onAvailable()145 networkFuture.get(setupTimeoutMs, TimeUnit.MILLISECONDS)
121 CompletableFuture<Network> networkFuture = getNetworkForCallComposer(); in uploadPicture() local122 CompletableFuture<WWWAuthenticate> authorizationHeaderFuture = networkFuture in uploadPicture()142 networkFuture.thenCombineAsync(authorizationFuture, in uploadPicture()154 CompletableFuture<Network> networkFuture = getNetworkForCallComposer(); in downloadPicture() local156 networkFuture.thenApplyAsync((network) -> in downloadPicture()199 return networkFuture.thenCombineAsync(authorizationFuture, in downloadPicture()
393 CompletableFuture<Network> networkFuture = new CompletableFuture<>(); in getThreadNetwork() local409 networkFuture.complete(network); in getThreadNetwork()413 return networkFuture.get(timeout.toSeconds(), SECONDS); in getThreadNetwork()
793 CompletableFuture<Network> networkFuture = new CompletableFuture<>();807 networkFuture.complete(network);817 assertThat(networkFuture.get(NETWORK_CALLBACK_TIMEOUT_MILLIS, MILLISECONDS)).isNotNull();820 ACCESS_NETWORK_STATE, () -> cm.getNetworkCapabilities(networkFuture.get()));
1263 final CompletableFuture<Network> networkFuture = new CompletableFuture<>(); in runIdenticalPendingIntentsRequestTest() local1271 networkFuture.complete(intent.getParcelableExtra(EXTRA_NETWORK)); in runIdenticalPendingIntentsRequestTest()1279 assertEquals(wifiNetwork, networkFuture.get( in runIdenticalPendingIntentsRequestTest()1451 final CompletableFuture<Network> networkFuture = new CompletableFuture<>(); in waitForActiveNetworkMetered() local