Home
last modified time | relevance | path

Searched refs:futures (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/services/powermanager/tests/
DPowerHalLoaderTest.cpp92 std::vector<std::future<sp<TypeParam>>> futures; in TYPED_TEST() local
94 futures.push_back( in TYPED_TEST()
98 futures[0].wait(); in TYPED_TEST()
99 sp<TypeParam> firstHal = futures[0].get(); in TYPED_TEST()
106 futures[i].wait(); in TYPED_TEST()
107 sp<TypeParam> currentHal = futures[i].get(); in TYPED_TEST()
/frameworks/base/libs/hwui/tests/unit/
DCommonPoolTests.cpp43 std::array<std::future<pid_t>, 64> futures; in TEST() local
44 for (int i = 0; i < futures.size(); i++) { in TEST()
45 futures[i] = CommonPool::async([] { in TEST()
50 for (auto& f : futures) { in TEST()
108 std::array<std::future<void>, QUEUE_COUNT> futures; in TEST() local
112 futures[i] = CommonPool::async([&] { in TEST()
141 for (auto& f : futures) { in TEST()
/frameworks/native/libs/ftl/
Dfuture_test.cpp45 std::future<char> futures[] = {ftl::yield('a'), ftl::yield('b')}; in TEST() local
49 .then([&futures](size_t i) { return std::move(futures[i]); }); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScrollCaptureController.java27 import androidx.concurrent.futures.CallbackToFutureAdapter;
28 import androidx.concurrent.futures.CallbackToFutureAdapter.Completer;
DImageLoader.java25 import androidx.concurrent.futures.CallbackToFutureAdapter;
DScrollCaptureClient.java44 import androidx.concurrent.futures.CallbackToFutureAdapter;
45 import androidx.concurrent.futures.CallbackToFutureAdapter.Completer;
DImageExporter.java35 import androidx.concurrent.futures.CallbackToFutureAdapter;
/frameworks/base/packages/SystemUI/
DAndroid.bp77 "androidx.concurrent_concurrent-futures",
157 "androidx.concurrent_concurrent-futures",
/frameworks/base/core/proto/android/
Dprivacy.proto47 // Currently use 0, 100, 200 and 255, values in between are reserved for futures.
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmAnalyzer.java195 List<ForkJoinTask<?>> futures = new ArrayList<>(); in parseZip() local
197 futures.add(ForkJoinPool.commonPool().submit(() -> { in parseZip()
227 futures.forEach(ForkJoinTask::join); in parseZip()