Home
last modified time | relevance | path

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

12345

/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/native/libs/binder/rust/tests/
Dintegration.rs189 async: IATest,
246 |reply| async move { reply?.read() } in test()
254 |reply| async move { reply?.read() } in get_dump_args()
262 |reply| async move { reply?.read() } in get_selinux_context()
270 |reply| async move { reply?.read() } in get_is_handling_transaction()
296 Box::pin(async move { res }) in test()
301 Box::pin(async move { res }) in get_dump_args()
306 Box::pin(async move { res }) in get_selinux_context()
311 Box::pin(async move { res }) in get_is_handling_transaction()
442 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/SystemUI/tests/src/com/android/systemui/util/kotlin/
DSuspendUtilTests.kt24 import kotlinx.coroutines.async
36 val result = async { in <lambda>()
/frameworks/av/media/utils/fuzzers/
DSchedulingPolicyServiceFuzz.cpp52 bool async = data_provider.ConsumeBool(); in LLVMFuzzerTestOneInput() local
53 requestPriority(getpid(), gettid(), priority, is_for_app, 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/native/libs/binder/rust/binder_tokio/
Dlib.rs37 pub async fn get_interface<T: FromIBinder + ?Sized + 'static>(name: &str) -> Result<Strong<T>, Stat… in get_interface()
61 pub async fn wait_for_interface<T: FromIBinder + ?Sized + 'static>(name: &str) -> Result<Strong<T>,… 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/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()
255 public Handler(@NonNull Looper looper, @Nullable Callback callback, boolean async) { in Handler() argument
259 mAsynchronous = async; in Handler()
/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()
DIDynamicInterfaceManagement.cpp106 const SLInterfaceID iid, SLboolean async) in IDynamicInterfaceManagement_AddInterface() argument
132 if (async) { in IDynamicInterfaceManagement_AddInterface()
354 const SLInterfaceID iid, SLboolean async) in IDynamicInterfaceManagement_ResumeInterface() argument
380 if (async) { in IDynamicInterfaceManagement_ResumeInterface()
/frameworks/native/services/powermanager/tests/
DPowerHalLoaderTest.cpp95 std::async(std::launch::async, &PowerHalLoaderTest<TypeParam>::load, this)); in TYPED_TEST()
/frameworks/native/libs/binder/rust/src/
Dbinder.rs767 $(async: $async_interface:ident,)?
774 $(async: $async_interface,)?
784 $(async: $async_interface:ident,)?
792 $(async: $async_interface,)?
804 $(async: $async_interface:ident,)?
813 $(async: $async_interface,)?
825 $(async: $async_interface:ident,)?
837 $(async: $async_interface,)?
853 $( async: $async_interface:ident, )?
/frameworks/wilhelm/src/android/
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()
DOutputMix_to_android.h20 extern SLresult android_outputMix_realize(COutputMix *om, SLboolean async);
Dandroid_GenericPlayer.h127 virtual void notify(const char* event, int data1, bool async);
128 virtual void notify(const char* event, int data1, int data2, bool async);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/async/
DAsyncResultCallback.java17 package com.android.internal.telephony.uicc.euicc.async;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
DApduSenderResultCallback.java20 import com.android.internal.telephony.uicc.euicc.async.AsyncResultCallback;

12345