Home
last modified time | relevance | path

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

/frameworks/native/services/powermanager/tests/
DPowerHalLoaderTest.cpp104 std::vector<std::future<TypeParam>> futures; in TYPED_TEST() local
106 futures.push_back( in TYPED_TEST()
110 futures[0].wait(); in TYPED_TEST()
111 TypeParam firstHal = futures[0].get(); in TYPED_TEST()
118 futures[i].wait(); in TYPED_TEST()
119 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/base/services/core/java/com/android/server/pm/
DAppsFilterUtils.java223 final List<Pair<PackageState, Future<ArraySet<Integer>>>> futures = in execute() local
235 futures.add(new Pair(setting, in execute()
238 for (int i = 0; i < futures.size(); i++) { in execute()
239 final int appId = futures.get(i).first.getAppId(); in execute()
240 final Future<ArraySet<Integer>> future = futures.get(i).second; in execute()
DPackageInstallerSession.java3054 List<CompletableFuture<InstallResult>> futures = installNonStaged(); in install() local
3055 CompletableFuture<InstallResult>[] arr = new CompletableFuture[futures.size()]; in install()
3056 return CompletableFuture.allOf(futures.toArray(arr)).whenComplete((r, t) -> { in install()
3062 for (CompletableFuture<InstallResult> f : futures) { in install()
3073 for (CompletableFuture<InstallResult> f : futures) { in install()
3104 List<CompletableFuture<InstallResult>> futures = new ArrayList<>();
3106 futures.add(future);
3115 futures.add(future);
3129 return futures;
3131 List<CompletableFuture<InstallResult>> futures = new ArrayList<>();
[all …]
/frameworks/native/libs/ftl/
Dfuture_test.cpp45 ftl::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/shared/
DAndroid.bp63 "androidx.concurrent_concurrent-futures",
99 "androidx.concurrent_concurrent-futures",
/frameworks/base/media/tests/mediatestutils/
DAndroid.bp32 "androidx.concurrent_concurrent-futures",
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/session/
DMediaSessionManagerExt.kt23 import androidx.concurrent.futures.DirectExecutor
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DImageLoader.java25 import androidx.concurrent.futures.CallbackToFutureAdapter;
DScrollCaptureController.java27 import androidx.concurrent.futures.CallbackToFutureAdapter;
28 import androidx.concurrent.futures.CallbackToFutureAdapter.Completer;
DScrollCaptureClient.java44 import androidx.concurrent.futures.CallbackToFutureAdapter;
45 import androidx.concurrent.futures.CallbackToFutureAdapter.Completer;
/frameworks/base/media/tests/mediatestutils/java/com/android/media/mediatestutils/
DTestUtils.java24 import androidx.concurrent.futures.CallbackToFutureAdapter;
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesDialogManager.java21 import androidx.concurrent.futures.CallbackToFutureAdapter;
/frameworks/base/packages/SystemUI/customization/
DAndroid.bp45 "androidx.concurrent_concurrent-futures",
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DUserTrackerImplReceiveTest.kt10 import androidx.concurrent.futures.DirectExecutor in <lambda>()
/frameworks/base/core/proto/android/
Dprivacy.proto47 // Currently use 0, 100, 200 and 255, values in between are reserved for futures.
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/navigationbar/
DRegionSamplingHelperTest.kt25 import androidx.concurrent.futures.DirectExecutor
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/flags/
DFlagManager.kt28 import androidx.concurrent.futures.CallbackToFutureAdapter in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/touch/
DTouchInsetManager.java26 import androidx.concurrent.futures.CallbackToFutureAdapter;
/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()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/complication/
DHideComplicationTouchHandlerTest.java33 import androidx.concurrent.futures.CallbackToFutureAdapter;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/
DAudioRepository.kt26 import androidx.concurrent.futures.DirectExecutor in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DTouchMonitor.java35 import androidx.concurrent.futures.CallbackToFutureAdapter;
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DImageExporter.java40 import androidx.concurrent.futures.CallbackToFutureAdapter;
/frameworks/base/packages/SystemUI/
DAndroid.bp484 "androidx.concurrent_concurrent-futures",
637 "androidx.concurrent_concurrent-futures",