Home
last modified time | relevance | path

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

123456

/frameworks/wilhelm/src/
Dsles_allinclusive.h116 typedef SLresult (*AsyncHook)(void *self, SLboolean async);
337 extern SLresult CAudioPlayer_Realize(void *self, SLboolean async);
338 extern SLresult CAudioPlayer_Resume(void *self, SLboolean async);
342 extern SLresult CAudioRecorder_Realize(void *self, SLboolean async);
343 extern SLresult CAudioRecorder_Resume(void *self, SLboolean async);
347 extern SLresult CEngine_Realize(void *self, SLboolean async);
348 extern SLresult CEngine_Resume(void *self, SLboolean async);
353 extern SLresult COutputMix_Realize(void *self, SLboolean async);
354 extern SLresult COutputMix_Resume(void *self, SLboolean async);
358 extern SLresult CMediaPlayer_Realize(void *self, SLboolean async);
[all …]
/frameworks/wilhelm/src/objects/
DCAudioRecorder.cpp24 SLresult CAudioRecorder_Realize(void *self, SLboolean async) in CAudioRecorder_Realize() argument
30 result = android_audioRecorder_realize(thiz, async); in CAudioRecorder_Realize()
39 SLresult CAudioRecorder_Resume(void *self, SLboolean async) in CAudioRecorder_Resume() argument
DCMediaPlayer.cpp27 XAresult CMediaPlayer_Realize(void *self, XAboolean async) in CMediaPlayer_Realize() argument
35 result = android_Player_realize(thiz, async); in CMediaPlayer_Realize()
41 XAresult CMediaPlayer_Resume(void *self, XAboolean async) in CMediaPlayer_Resume() argument
DCOutputMix.cpp24 SLresult COutputMix_Realize(void *self, SLboolean async) in COutputMix_Realize() argument
30 result = android_outputMix_realize(thiz, async); in COutputMix_Realize()
39 SLresult COutputMix_Resume(void *self, SLboolean async) in COutputMix_Resume() argument
DCAudioPlayer.cpp24 SLresult CAudioPlayer_Realize(void *self, SLboolean async) in CAudioPlayer_Realize() argument
30 result = android_audioPlayer_realize(thiz, async); in CAudioPlayer_Realize()
47 SLresult CAudioPlayer_Resume(void *self, SLboolean async) in CAudioPlayer_Resume() argument
/frameworks/base/libs/hwui/tests/unit/
DCommonPoolTests.cpp45 futures[i] = CommonPool::async([] { in TEST()
65 auto f1 = CommonPool::async([&] { in TEST()
84 auto f2 = CommonPool::async([] { in TEST()
112 futures[i] = CommonPool::async([&] { in TEST()
173 EXPECT_LT(1, CommonPool::async([obj] { return ObjectTracker::count(); }).get()); in TEST()
DThreadBaseTests.cpp76 TEST(ThreadBase, async) { in TEST() argument
80 auto otherTid = queue().async([]() -> auto { return gettid(); }); in TEST()
81 auto otherPid = queue().async([]() -> auto { return getpid(); }); in TEST()
82 auto result = queue().async([]() -> auto { return 42; }); in TEST()
/frameworks/libs/net/common/device/com/android/net/module/util/wear/
DStreamingPacketFile.java19 import com.android.net.module.util.async.BufferedFile;
20 import com.android.net.module.util.async.EventManager;
21 import com.android.net.module.util.async.FileHandle;
22 import com.android.net.module.util.async.Assertions;
23 import com.android.net.module.util.async.ReadableByteBuffer;
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DAppListRepository.kt27 import kotlinx.coroutines.async in <lambda>()
77 val hiddenSystemModulesDeferred = async { in getSystemPackageNames()
83 val hideWhenDisabledPackagesDeferred = async { in getSystemPackageNames()
112 async { in getSystemPackageNames()
147 val loadAppsDeferred = async { loadApps(userId) } in getSystemPackageNames()
175 val launcherActivities = async { in getSystemPackageNames()
/frameworks/native/libs/binder/rust/tests/
Dintegration.rs185 async: IATest,
243 |reply| async move { reply?.read() }, in test()
253 |reply| async move { reply?.read() }, in get_dump_args()
267 |reply| async move { reply?.read() }, in get_selinux_context()
281 |reply| async move { reply?.read() }, in get_is_handling_transaction()
307 Box::pin(async move { res }) in test()
312 Box::pin(async move { res }) in get_dump_args()
317 Box::pin(async move { res }) in get_selinux_context()
322 Box::pin(async move { res }) in get_is_handling_transaction()
448 async fn check_services_async() { in check_services_async()
[all …]
/frameworks/base/libs/hwui/hwui/
DAnimatedImageThread.cpp39 return queue().async([drawable]() { return drawable->decodeNextFrame(); }); in decodeNextFrame()
44 return queue().async([drawable]() { return drawable->reset(); }); in reset()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DCollections.kt19 import kotlinx.coroutines.async in <lambda>()
42 async { transform(item) } in asyncMap()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/
DSuspendUtilTests.kt24 import kotlinx.coroutines.async
36 val result = async { in <lambda>()
/frameworks/base/core/java/android/os/
DHandler.java193 public Handler(boolean async) { in Handler() argument
194 this(null, async); in Handler()
214 public Handler(@Nullable Callback callback, boolean async) { in Handler() argument
232 mAsynchronous = async; in Handler()
256 public Handler(@NonNull Looper looper, @Nullable Callback callback, boolean async) { in Handler() argument
257 this(looper, callback, async, /* shared= */ false); in Handler()
261 public Handler(@NonNull Looper looper, @Nullable Callback callback, boolean async, in Handler() argument
266 mAsynchronous = async; in Handler()
/frameworks/av/media/utils/fuzzers/
DSchedulingPolicyServiceFuzz.cpp58 bool async = data_provider.ConsumeBool(); in LLVMFuzzerTestOneInput() local
60 async); in LLVMFuzzerTestOneInput()
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/worker/
DRetryRequestWorker.kt24 import kotlinx.coroutines.async in <lambda>()
50 async { in <lambda>()
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/wear/
DStreamingPacketFileTest.java38 import com.android.net.module.util.async.AsyncFile;
39 import com.android.net.module.util.async.BufferedFile;
40 import com.android.net.module.util.async.EventManager;
41 import com.android.net.module.util.async.FileHandle;
42 import com.android.net.module.util.async.ReadableByteBuffer;
43 import com.android.testutils.async.ReadableDataAnswer;
/frameworks/native/libs/binder/rust/binder_tokio/
Dlib.rs37 pub async fn get_interface<T: FromIBinder + ?Sized + 'static>( in get_interface()
61 pub async fn wait_for_interface<T: FromIBinder + ?Sized + 'static>( in wait_for_interface()
110 Box::pin(async move { in spawn()
/frameworks/base/packages/StatementService/src/com/android/statementservice/network/retriever/
DUrlFetcher.kt24 import kotlinx.coroutines.async
66 val content = async { in fetch()
DStatementRetriever.kt27 import kotlinx.coroutines.async
114 .map { async { retrieve(it, maxIncludeLevel - 1, source).statements } } in retrieve()
/frameworks/wilhelm/src/itf/
DIObject.cpp84 static SLresult IObject_Realize(SLObjectItf self, SLboolean async) in IObject_Realize() argument
114 if (async && (SL_OBJECTID_ENGINE != clazz->mSLObjectID)) { in IObject_Realize()
124 assert(async); in IObject_Realize()
138 result = (NULL != realize) ? (*realize)(thiz, async) : SL_RESULT_SUCCESS; in IObject_Realize()
148 if (async && (NULL != callback)) { in IObject_Realize()
227 static SLresult IObject_Resume(SLObjectItf self, SLboolean async) in IObject_Resume() argument
242 if (async) { in IObject_Resume()
252 assert(async); in IObject_Resume()
/frameworks/native/services/powermanager/tests/
DPowerHalLoaderTest.cpp107 std::async(std::launch::async, &PowerHalLoaderTest<TypeParam>::load, this)); in TYPED_TEST()
/frameworks/wilhelm/src/android/
DOutputMix_to_android.h20 extern SLresult android_outputMix_realize(COutputMix *om, SLboolean async);
Dandroid_GenericPlayer.cpp285 void GenericPlayer::notify(const char* event, int data, bool async) { in notify() argument
287 async ? "true" : "false"); in notify()
290 if (async) { in notify()
298 void GenericPlayer::notify(const char* event, int data1, int data2, bool async) { in notify() argument
300 async ? "true" : "false"); in notify()
303 if (async) { in notify()
/frameworks/native/libs/binder/rust/src/
Dbinder.rs763 $(async: $async_interface:ident,)?
770 $(async: $async_interface,)?
780 $(async: $async_interface:ident,)?
788 $(async: $async_interface,)?
800 $(async: $async_interface:ident,)?
809 $(async: $async_interface,)?
821 $(async: $async_interface:ident,)?
833 $(async: $async_interface,)?
849 $( async: $async_interface:ident, )?

123456