Home
last modified time | relevance | path

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

123

/system/tools/aidl/tests/rust/
Dtest_service_async.rs66 async fn GetName(&self) -> binder::Result<String> { in GetName()
77 async fn RealName(&self) -> binder::Result<String> { in RealName()
89 async fn RealName(&self) -> binder::Result<String> { in RealName()
101 async fn GetTestService( in GetTestService()
127 Box::pin(async move { Ok(token) })
145 Box::pin(async move {
172 Box::pin(async move { Ok(input.map(<[$type]>::to_vec)) })
182 async fn UnimplementedMethod(&self, _: i32) -> binder::Result<i32> { in UnimplementedMethod()
187 async fn TestOneway(&self) -> binder::Result<()> { in TestOneway()
191 async fn Deprecated(&self) -> binder::Result<()> { in Deprecated()
[all …]
/system/security/mls/mls-rs-crypto-boringssl/src/
Dlib.rs191 async fn hash(&self, data: &[u8]) -> Result<Vec<u8>, Self::Error> { in hash()
195 async fn mac(&self, key: &[u8], data: &[u8]) -> Result<Vec<u8>, Self::Error> { in mac()
199 async fn kem_generate(&self) -> Result<(HpkeSecretKey, HpkePublicKey), Self::Error> { in kem_generate()
203 async fn kem_derive(&self, ikm: &[u8]) -> Result<(HpkeSecretKey, HpkePublicKey), Self::Error> { in kem_derive()
213 async fn kdf_extract( in kdf_extract()
225 async fn kdf_expand( in kdf_expand()
242 async fn aead_seal( in aead_seal()
255 async fn aead_open( in aead_open()
277 async fn hpke_setup_s( in hpke_setup_s()
285 async fn hpke_seal( in hpke_seal()
[all …]
Dhpke.rs62 pub async fn labeled_extract( in labeled_extract()
73 pub async fn labeled_expand( in labeled_expand()
119 async fn generate(&self) -> Result<(HpkeSecretKey, HpkePublicKey), Self::Error> { in generate()
130 async fn derive(&self, ikm: &[u8]) -> Result<(HpkeSecretKey, HpkePublicKey), Self::Error> { in derive()
155 async fn encap(&self, _remote_pk: &HpkePublicKey) -> Result<KemResult, Self::Error> { in encap()
160 async fn decap( in decap()
180 async fn seal(&mut self, aad: Option<&[u8]>, data: &[u8]) -> Result<Vec<u8>, Self::Error> { in seal()
185 async fn export(&self, exporter_context: &[u8], len: usize) -> Result<Vec<u8>, Self::Error> { in export()
200 async fn open( in open()
213 async fn export(&self, exporter_context: &[u8], len: usize) -> Result<Vec<u8>, Self::Error> { in export()
[all …]
Decdh.rs78 async fn dh( in dh()
106 async fn to_public(&self, secret_key: &HpkeSecretKey) -> Result<HpkePublicKey, Self::Error> { in to_public()
121 async fn generate(&self) -> Result<(HpkeSecretKey, HpkePublicKey), Self::Error> { in generate()
/system/security/mls/mls-rs-crypto-boringssl/
DCargo.toml13 maybe-async = "0.2.10"
16 async-trait = "0.1.74"
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
Dsnapuserd_core.cpp306 std::async(std::launch::async, &ReadAhead::RunThread, read_ahead_thread_.get()); in Start()
317 std::async(std::launch::async, &ReadWorker::Run, worker_threads_[i].get())); in Start()
321 std::async(std::launch::async, &MergeWorker::Run, merge_thread_.get()); in Start()
Dextractor.cpp60 handler_thread_ = std::async(std::launch::async, &SnapshotHandler::Start, handler_.get()); in Init()
/system/security/prng_seeder/src/
Dmain.rs93 async fn listen_loop(cb: ConditionerBuilder, listener: UnixListener) -> Result<Infallible> { in listen_loop()
102 tokio::spawn(async move { in listen_loop()
134 .block_on(async { listen_loop(cb, listener).await }) in run()
/system/security/keystore2/rkpd_client/src/
Dlib.rs143 async fn get_rkpd_registration(rpc_name: &str) -> Result<binder::Strong<dyn IRegistration>> { in get_rkpd_registration()
203 async fn get_rkpd_attestation_key_from_registration_async( in get_rkpd_attestation_key_from_registration_async()
227 async fn get_rkpd_attestation_key_async( in get_rkpd_attestation_key_async()
268 async fn store_rkpd_attestation_key_with_registration_async( in store_rkpd_attestation_key_with_registration_async()
287 async fn store_rkpd_attestation_key_async( in store_rkpd_attestation_key_async()
/system/tools/aidl/tests/golden_output/frozen/aidl-test-versioned-interface-V3-rust-source/gen/android/aidl/versioned/tests/
DIFooInterface.rs26 async: IFooInterfaceAsync(try_into_local_async),
60 Box::pin(async move { Ok(VERSION) })
63 Box::pin(async move { Ok(HASH.into()) })
69 async fn r#originalApi<'a, >(&'a self) -> binder::Result<()>;
70async fn r#acceptUnionAndReturnString<'a, 'l1, >(&'a self, _arg_u: &'l1 crate::mangled::_7_android…
71async fn r#ignoreParcelablesAndRepeatInt<'a, 'l1, 'l2, 'l3, >(&'a self, _arg_inFoo: &'l1 crate::ma…
72async fn r#returnsLengthOfFooArray<'a, 'l1, >(&'a self, _arg_foos: &'l1 [crate::mangled::_7_androi…
73 async fn r#newApi<'a, >(&'a self) -> binder::Result<()>;
341 move |_aidl_reply| async move {
354 move |_aidl_reply| async move {
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V3-rust-source/gen/android/aidl/versioned/tests/
DIFooInterface.rs26 async: IFooInterfaceAsync(try_into_local_async),
60 Box::pin(async move { Ok(VERSION) })
63 Box::pin(async move { Ok(HASH.into()) })
69 async fn r#originalApi<'a, >(&'a self) -> binder::Result<()>;
70async fn r#acceptUnionAndReturnString<'a, 'l1, >(&'a self, _arg_u: &'l1 crate::mangled::_7_android…
71async fn r#ignoreParcelablesAndRepeatInt<'a, 'l1, 'l2, 'l3, >(&'a self, _arg_inFoo: &'l1 crate::ma…
72async fn r#returnsLengthOfFooArray<'a, 'l1, >(&'a self, _arg_foos: &'l1 [crate::mangled::_7_androi…
73 async fn r#newApi<'a, >(&'a self) -> binder::Result<()>;
341 move |_aidl_reply| async move {
354 move |_aidl_reply| async move {
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V2-rust-source/gen/android/aidl/versioned/tests/
DIFooInterface.rs26 async: IFooInterfaceAsync(try_into_local_async),
60 Box::pin(async move { Ok(VERSION) })
63 Box::pin(async move { Ok(HASH.into()) })
69 async fn r#originalApi<'a, >(&'a self) -> binder::Result<()>;
70async fn r#acceptUnionAndReturnString<'a, 'l1, >(&'a self, _arg_u: &'l1 crate::mangled::_7_android…
71async fn r#ignoreParcelablesAndRepeatInt<'a, 'l1, 'l2, 'l3, >(&'a self, _arg_inFoo: &'l1 crate::ma…
72async fn r#returnsLengthOfFooArray<'a, 'l1, >(&'a self, _arg_foos: &'l1 [crate::mangled::_7_androi…
73 async fn r#newApi<'a, >(&'a self) -> binder::Result<()>;
341 move |_aidl_reply| async move {
354 move |_aidl_reply| async move {
[all …]
/system/tools/aidl/tests/golden_output/frozen/aidl-test-versioned-interface-V2-rust-source/gen/android/aidl/versioned/tests/
DIFooInterface.rs26 async: IFooInterfaceAsync(try_into_local_async),
60 Box::pin(async move { Ok(VERSION) })
63 Box::pin(async move { Ok(HASH.into()) })
69 async fn r#originalApi<'a, >(&'a self) -> binder::Result<()>;
70async fn r#acceptUnionAndReturnString<'a, 'l1, >(&'a self, _arg_u: &'l1 crate::mangled::_7_android…
71async fn r#ignoreParcelablesAndRepeatInt<'a, 'l1, 'l2, 'l3, >(&'a self, _arg_inFoo: &'l1 crate::ma…
72async fn r#returnsLengthOfFooArray<'a, 'l1, >(&'a self, _arg_foos: &'l1 [crate::mangled::_7_androi…
73 async fn r#newApi<'a, >(&'a self) -> binder::Result<()>;
341 move |_aidl_reply| async move {
354 move |_aidl_reply| async move {
[all …]
/system/tools/aidl/tests/golden_output/tests/trunk_stable_test/android.aidl.test.trunk-V2-rust-source/gen/android/aidl/test/trunk/
DITrunkStableTest.rs26 async: ITrunkStableTestAsync(try_into_local_async),
60 Box::pin(async move { Ok(VERSION) })
63 Box::pin(async move { Ok(HASH.into()) })
69async fn r#repeatParcelable<'a, 'l1, >(&'a self, _arg_input: &'l1 crate::mangled::_7_android_4_aid…
70async fn r#repeatEnum<'a, >(&'a self, _arg_input: crate::mangled::_7_android_4_aidl_4_test_5_trunk…
71async fn r#repeatUnion<'a, 'l1, >(&'a self, _arg_input: &'l1 crate::mangled::_7_android_4_aidl_4_t…
72async fn r#callMyCallback<'a, 'l1, >(&'a self, _arg_cb: &'l1 binder::Strong<dyn crate::mangled::_7…
73async fn r#repeatOtherParcelable<'a, 'l1, >(&'a self, _arg_input: &'l1 crate::mangled::_7_android_…
340 move |_aidl_reply| async move {
353 move |_aidl_reply| async move {
[all …]
/system/tools/aidl/tests/golden_output/frozen/tests/trunk_stable_test/android.aidl.test.trunk-V2-rust-source/gen/android/aidl/test/trunk/
DITrunkStableTest.rs26 async: ITrunkStableTestAsync(try_into_local_async),
60 Box::pin(async move { Ok(VERSION) })
63 Box::pin(async move { Ok(HASH.into()) })
69async fn r#repeatParcelable<'a, 'l1, >(&'a self, _arg_input: &'l1 crate::mangled::_7_android_4_aid…
70async fn r#repeatEnum<'a, >(&'a self, _arg_input: crate::mangled::_7_android_4_aidl_4_test_5_trunk…
71async fn r#repeatUnion<'a, 'l1, >(&'a self, _arg_input: &'l1 crate::mangled::_7_android_4_aidl_4_t…
72async fn r#callMyCallback<'a, 'l1, >(&'a self, _arg_cb: &'l1 binder::Strong<dyn crate::mangled::_7…
73async fn r#repeatOtherParcelable<'a, 'l1, >(&'a self, _arg_input: &'l1 crate::mangled::_7_android_…
347 move |_aidl_reply| async move {
360 move |_aidl_reply| async move {
[all …]
/system/tools/aidl/tests/golden_output/frozen/tests/trunk_stable_test/android.aidl.test.trunk-V1-rust-source/gen/android/aidl/test/trunk/
DITrunkStableTest.rs26 async: ITrunkStableTestAsync(try_into_local_async),
58 Box::pin(async move { Ok(VERSION) })
61 Box::pin(async move { Ok(HASH.into()) })
67async fn r#repeatParcelable<'a, 'l1, >(&'a self, _arg_input: &'l1 crate::mangled::_7_android_4_aid…
68async fn r#repeatEnum<'a, >(&'a self, _arg_input: crate::mangled::_7_android_4_aidl_4_test_5_trunk…
69async fn r#repeatUnion<'a, 'l1, >(&'a self, _arg_input: &'l1 crate::mangled::_7_android_4_aidl_4_t…
70async fn r#callMyCallback<'a, 'l1, >(&'a self, _arg_cb: &'l1 binder::Strong<dyn crate::mangled::_7…
305 move |_aidl_reply| async move {
318 move |_aidl_reply| async move {
331 move |_aidl_reply| async move {
[all …]
/system/tools/aidl/tests/golden_output/tests/trunk_stable_test/android.aidl.test.trunk-V1-rust-source/gen/android/aidl/test/trunk/
DITrunkStableTest.rs26 async: ITrunkStableTestAsync(try_into_local_async),
58 Box::pin(async move { Ok(VERSION) })
61 Box::pin(async move { Ok(HASH.into()) })
67async fn r#repeatParcelable<'a, 'l1, >(&'a self, _arg_input: &'l1 crate::mangled::_7_android_4_aid…
68async fn r#repeatEnum<'a, >(&'a self, _arg_input: crate::mangled::_7_android_4_aidl_4_test_5_trunk…
69async fn r#repeatUnion<'a, 'l1, >(&'a self, _arg_input: &'l1 crate::mangled::_7_android_4_aidl_4_t…
70async fn r#callMyCallback<'a, 'l1, >(&'a self, _arg_cb: &'l1 binder::Strong<dyn crate::mangled::_7…
305 move |_aidl_reply| async move {
318 move |_aidl_reply| async move {
331 move |_aidl_reply| async move {
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V1-rust-source/gen/android/aidl/versioned/tests/
DIFooInterface.rs26 async: IFooInterfaceAsync(try_into_local_async),
58 Box::pin(async move { Ok(VERSION) })
61 Box::pin(async move { Ok(HASH.into()) })
67 async fn r#originalApi<'a, >(&'a self) -> binder::Result<()>;
68async fn r#acceptUnionAndReturnString<'a, 'l1, >(&'a self, _arg_u: &'l1 crate::mangled::_7_android…
69async fn r#ignoreParcelablesAndRepeatInt<'a, 'l1, 'l2, 'l3, >(&'a self, _arg_inFoo: &'l1 crate::ma…
70async fn r#returnsLengthOfFooArray<'a, 'l1, >(&'a self, _arg_foos: &'l1 [crate::mangled::_7_androi…
308 move |_aidl_reply| async move {
321 move |_aidl_reply| async move {
334 move |_aidl_reply| async move {
[all …]
/system/tools/aidl/tests/golden_output/frozen/aidl-test-versioned-interface-V1-rust-source/gen/android/aidl/versioned/tests/
DIFooInterface.rs26 async: IFooInterfaceAsync(try_into_local_async),
58 Box::pin(async move { Ok(VERSION) })
61 Box::pin(async move { Ok(HASH.into()) })
67 async fn r#originalApi<'a, >(&'a self) -> binder::Result<()>;
68async fn r#acceptUnionAndReturnString<'a, 'l1, >(&'a self, _arg_u: &'l1 crate::mangled::_7_android…
69async fn r#ignoreParcelablesAndRepeatInt<'a, 'l1, 'l2, 'l3, >(&'a self, _arg_inFoo: &'l1 crate::ma…
70async fn r#returnsLengthOfFooArray<'a, 'l1, >(&'a self, _arg_foos: &'l1 [crate::mangled::_7_androi…
308 move |_aidl_reply| async move {
321 move |_aidl_reply| async move {
334 move |_aidl_reply| async move {
[all …]
/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-rust-source/gen/android/aidl/tests/
DITestService.rs24 async: ITestServiceAsync(try_into_local_async),
189 async fn r#UnimplementedMethod<'a, >(&'a self, _arg_arg: i32) -> binder::Result<i32>;
191 async fn r#Deprecated<'a, >(&'a self) -> binder::Result<()>;
192 async fn r#TestOneway<'a, >(&'a self) -> binder::Result<()>;
193 async fn r#RepeatBoolean<'a, >(&'a self, _arg_token: bool) -> binder::Result<bool>;
194 async fn r#RepeatByte<'a, >(&'a self, _arg_token: i8) -> binder::Result<i8>;
195 async fn r#RepeatChar<'a, >(&'a self, _arg_token: u16) -> binder::Result<u16>;
196 async fn r#RepeatInt<'a, >(&'a self, _arg_token: i32) -> binder::Result<i32>;
197 async fn r#RepeatLong<'a, >(&'a self, _arg_token: i64) -> binder::Result<i64>;
198 async fn r#RepeatFloat<'a, >(&'a self, _arg_token: f32) -> binder::Result<f32>;
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/
DITestService.rs24 async: ITestServiceAsync(try_into_local_async),
189 async fn r#UnimplementedMethod<'a, >(&'a self, _arg_arg: i32) -> binder::Result<i32>;
191 async fn r#Deprecated<'a, >(&'a self) -> binder::Result<()>;
192 async fn r#TestOneway<'a, >(&'a self) -> binder::Result<()>;
193 async fn r#RepeatBoolean<'a, >(&'a self, _arg_token: bool) -> binder::Result<bool>;
194 async fn r#RepeatByte<'a, >(&'a self, _arg_token: i8) -> binder::Result<i8>;
195 async fn r#RepeatChar<'a, >(&'a self, _arg_token: u16) -> binder::Result<u16>;
196 async fn r#RepeatInt<'a, >(&'a self, _arg_token: i32) -> binder::Result<i32>;
197 async fn r#RepeatLong<'a, >(&'a self, _arg_token: i64) -> binder::Result<i64>;
198 async fn r#RepeatFloat<'a, >(&'a self, _arg_token: f32) -> binder::Result<f32>;
[all …]
/system/media/audio_utils/include/audio_utils/
DFdToString.h100 std::async(std::launch::async,
/system/extras/libfec/
Dfec_process.cpp92 handles.push_back(std::async(std::launch::async, __process, &info[i])); in process()
/system/sepolicy/prebuilts/api/30.0/private/
Dkeystore.te11 # This is used for the ConfirmationUI async callback.
/system/sepolicy/prebuilts/api/29.0/private/
Dkeystore.te11 # This is used for the ConfirmationUI async callback.

123