Home
last modified time | relevance | path

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

1234

/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/
DListOfInterfaces.rs60 …der<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong<dyn IEmptyInterface> in new_async_binder()
87 pub type IEmptyInterfaceDefaultRef = Option<std::sync::Arc<dyn IEmptyInterfaceDefault>>;
100 …fn on_transact(_aidl_service: &dyn IEmptyInterface, _aidl_code: binder::binder_impl::TransactionCo… in on_transact()
121dyn crate::mangled::_7_android_4_aidl_5_tests_16_ListOfInterfaces_15_IEmptyInterface>, _arg_nullab…
131dyn crate::mangled::_7_android_4_aidl_5_tests_16_ListOfInterfaces_15_IEmptyInterface>, _arg_nullab…
136dyn crate::mangled::_7_android_4_aidl_5_tests_16_ListOfInterfaces_15_IEmptyInterface>, _arg_nullab…
140 …binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong<dyn IMyInterface> in new_async_binder()
158dyn crate::mangled::_7_android_4_aidl_5_tests_16_ListOfInterfaces_15_IEmptyInterface>, _arg_nullab… in new_async_binder()
167dyn crate::mangled::_7_android_4_aidl_5_tests_16_ListOfInterfaces_15_IEmptyInterface>, _arg_nullab…
174 pub type IMyInterfaceDefaultRef = Option<std::sync::Arc<dyn IMyInterfaceDefault>>;
[all …]
DArrayOfInterfaces.rs60 …der<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong<dyn IEmptyInterface> in new_async_binder()
87 pub type IEmptyInterfaceDefaultRef = Option<std::sync::Arc<dyn IEmptyInterfaceDefault>>;
100 …fn on_transact(_aidl_service: &dyn IEmptyInterface, _aidl_code: binder::binder_impl::TransactionCo… in on_transact()
121dyn crate::mangled::_7_android_4_aidl_5_tests_17_ArrayOfInterfaces_15_IEmptyInterface>, _arg_nulla…
131dyn crate::mangled::_7_android_4_aidl_5_tests_17_ArrayOfInterfaces_15_IEmptyInterface>, _arg_nulla…
136dyn crate::mangled::_7_android_4_aidl_5_tests_17_ArrayOfInterfaces_15_IEmptyInterface>, _arg_nulla…
140 …binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong<dyn IMyInterface> in new_async_binder()
158dyn crate::mangled::_7_android_4_aidl_5_tests_17_ArrayOfInterfaces_15_IEmptyInterface>, _arg_nulla… in new_async_binder()
167dyn crate::mangled::_7_android_4_aidl_5_tests_17_ArrayOfInterfaces_15_IEmptyInterface>, _arg_nulla…
174 pub type IMyInterfaceDefaultRef = Option<std::sync::Arc<dyn IMyInterfaceDefault>>;
[all …]
DICircular.rs17 …fn r#GetTestService(&self) -> binder::Result<Option<binder::Strong<dyn crate::mangled::_7_android_…
27 …a>(&'a self) -> binder::BoxFuture<'a, binder::Result<Option<binder::Strong<dyn crate::mangled::_7_…
32 …async fn r#GetTestService(&self) -> binder::Result<Option<binder::Strong<dyn crate::mangled::_7_an…
36 …nc_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong<dyn ICircular> in new_async_binder()
54 …fn r#GetTestService(&self) -> binder::Result<Option<binder::Strong<dyn crate::mangled::_7_android_… in new_async_binder()
63 …fn r#GetTestService(&self) -> binder::Result<Option<binder::Strong<dyn crate::mangled::_7_android_…
70 pub type ICircularDefaultRef = Option<std::sync::Arc<dyn ICircularDefault>>;
80 …impl::Parcel, binder::StatusCode>) -> binder::Result<Option<binder::Strong<dyn crate::mangled::_7_… in read_response_GetTestService()
89 …let _aidl_return: Option<binder::Strong<dyn crate::mangled::_7_android_4_aidl_5_tests_12_ITestServ… in read_response_GetTestService()
94 …fn r#GetTestService(&self) -> binder::Result<Option<binder::Strong<dyn crate::mangled::_7_android_…
[all …]
DIDeprecated.rs36 …_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong<dyn IDeprecated> in new_async_binder()
63 pub type IDeprecatedDefaultRef = Option<std::sync::Arc<dyn IDeprecatedDefault>>;
76 fn on_transact(_aidl_service: &dyn IDeprecated, _aidl_code: binder::binder_impl::TransactionCode, _… in on_transact()
DITestService.rs43 …fn r#GetOtherTestService(&self, _arg_name: &str) -> binder::Result<binder::Strong<dyn crate::mangl…
44 …fn r#SetOtherTestService(&self, _arg_name: &str, _arg_service: &binder::Strong<dyn crate::mangled:…
45 …fn r#VerifyName(&self, _arg_service: &binder::Strong<dyn crate::mangled::_7_android_4_aidl_5_tests…
46 …fn r#GetInterfaceArray(&self, _arg_names: &[String]) -> binder::Result<Vec<binder::Strong<dyn crat…
47 …fn r#VerifyNamesWithInterfaceArray(&self, _arg_services: &[binder::Strong<dyn crate::mangled::_7_a…
48 …ion<&[Option<String>]>) -> binder::Result<Option<Vec<Option<binder::Strong<dyn crate::mangled::_7_…
49 …ullableInterfaceArray(&self, _arg_services: Option<&[Option<binder::Strong<dyn crate::mangled::_7_…
50 …ion<&[Option<String>]>) -> binder::Result<Option<Vec<Option<binder::Strong<dyn crate::mangled::_7_…
51 …fn r#VerifyNamesWithInterfaceList(&self, _arg_services: Option<&[Option<binder::Strong<dyn crate::…
74 …fn r#GetCallback(&self, _arg_return_null: bool) -> binder::Result<Option<binder::Strong<dyn crate:…
[all …]
/system/keymint/common/src/crypto/
Dtraits.rs12 pub rng: &'a mut dyn Rng,
16 pub clock: Option<&'a dyn MonotonicClock>,
19 pub compare: &'a dyn ConstTimeEq,
22 pub aes: &'a dyn Aes,
25 pub des: &'a dyn Des,
28 pub hmac: &'a dyn Hmac,
31 pub rsa: &'a dyn Rsa,
34 pub ec: &'a dyn Ec,
37 pub ckdf: &'a dyn Ckdf,
40 pub hkdf: &'a dyn Hkdf,
[all …]
/system/keymint/ta/src/
Ddevice.rs24 pub keys: &'a dyn RetrieveKeyMaterial,
27 pub sign_info: &'a dyn RetrieveCertSigningInfo,
30 pub attest_ids: Option<&'a mut dyn RetrieveAttestationIds>,
34 pub sdd_mgr: Option<&'a mut dyn keyblob::SecureDeletionSecretManager>,
37 pub bootloader: &'a dyn BootloaderStatus,
41 pub sk_wrapper: Option<&'a dyn StorageKeyWrapper>,
44 pub tup: &'a dyn TrustedUserPresence,
47 pub legacy_key: Option<&'a mut dyn keyblob::LegacyKeyHandler>,
51 pub rpc: &'a dyn RetrieveRpcArtifacts,
72 fn hmac_key_agreed(&self, _key: &crypto::hmac::Key) -> Option<Box<dyn DeviceHmac>> { in hmac_key_agreed()
[all …]
/system/chre/platform/arm/
Dnanoapp_loader.cc21 bool NanoappLoader::relocateTable(DynamicHeader *dyn, int tag) { in relocateTable() argument
23 if (dyn == nullptr) { in relocateTable()
29 if (getDynEntry(dyn, tag) == 0) { in relocateTable()
35 reinterpret_cast<ElfRel *>(mBinary + getDynEntry(dyn, DT_REL)); in relocateTable()
36 size_t relocSize = getDynEntry(dyn, DT_RELSZ); in relocateTable()
103 if (getDynEntry(dyn, tag) != 0) { in relocateTable()
/system/keymint/common/src/
Dkeyblob.rs187 rng: &mut dyn crypto::Rng, in get_or_create_factory_reset_secret()
200 rng: &mut dyn crypto::Rng, in new_secret()
216 mgr: &'a mut dyn SecureDeletionSecretManager,
233 mgr: &'a mut dyn SecureDeletionSecretManager, in new()
234 rng: &mut dyn crypto::Rng, in new()
267 kdf: &dyn crypto::Hkdf, in derive_kek()
317 sdd_mgr: Option<&mut dyn SecureDeletionSecretManager>, in encrypt()
318 aes: &dyn crypto::Aes, in encrypt()
319 kdf: &dyn crypto::Hkdf, in encrypt()
320 rng: &mut dyn crypto::Rng, in encrypt()
[all …]
/system/security/keystore2/src/
Dglobals.rs143 static ref KEY_MINT_DEVICES: Mutex<DevicesMap<dyn IKeyMintDevice>> = Default::default();
145 static ref TIME_STAMP_DEVICE: Mutex<Option<Strong<dyn ISecureClock>>> = Default::default();
214 ) -> Result<(Strong<dyn IKeyMintDevice>, KeyMintHardwareInfo)> { in connect_keymint()
221 let km: Strong<dyn IKeyMintDevice> = in connect_keymint()
235 let keystore_compat_service: Strong<dyn IKeystoreCompatService> = in connect_keymint()
329 ) -> Result<(Strong<dyn IKeyMintDevice>, KeyMintHardwareInfo, Uuid)> { in get_keymint_device()
348 ) -> Result<(Strong<dyn IKeyMintDevice>, KeyMintHardwareInfo)> { in get_keymint_dev_by_uuid()
358 pub fn get_keymint_devices() -> Vec<Strong<dyn IKeyMintDevice>> { in get_keymint_devices()
367 fn connect_secureclock() -> Result<Strong<dyn ISecureClock>> { in connect_secureclock()
383 let keystore_compat_service: Strong<dyn IKeystoreCompatService> = in connect_secureclock()
[all …]
Drkpd_client.rs70 registration_tx: SafeSender<Result<binder::Strong<dyn IRegistration>>>,
75 registration_tx: oneshot::Sender<Result<binder::Strong<dyn IRegistration>>>, in new_native_binder()
76 ) -> Strong<dyn IGetRegistrationCallback> { in new_native_binder()
86 fn onSuccess(&self, registration: &Strong<dyn IRegistration>) -> binder::Result<()> { in onSuccess()
114 ) -> Result<binder::Strong<dyn IRegistration>> { in get_rkpd_registration()
115 let remote_provisioning: Strong<dyn IRemoteProvisioning> = in get_rkpd_registration()
144 ) -> Strong<dyn IGetKeyCallback> { in new_native_binder()
197 registration: &Strong<dyn IRegistration>, in get_rkpd_attestation_key_from_registration_async()
237 ) -> Strong<dyn IStoreUpgradedKeyCallback> { in new_native_binder()
264 registration: &Strong<dyn IRegistration>, in store_rkpd_attestation_key_with_registration_async()
[all …]
Dapc.rs210 ) -> Result<Strong<dyn IProtectedConfirmation>> { in new_native_binder()
261 if let Ok(listener) = callback.into_interface::<dyn IConfirmationCallback>() { in result()
272 listener: &binder::Strong<dyn IConfirmationCallback>, in present_prompt()
329 fn cancel_prompt(&self, listener: &binder::Strong<dyn IConfirmationCallback>) -> Result<()> { in cancel_prompt()
359 listener: &binder::Strong<dyn IConfirmationCallback>, in presentPrompt()
374 listener: &binder::Strong<dyn IConfirmationCallback>, in cancelPrompt()
Dasync_task.rs39 pub struct Shelf(HashMap<TypeId, Box<dyn Any + Send>>);
61 .insert(TypeId::of::<T>(), Box::new(v) as Box<dyn Any + Send>) in put()
70 .or_insert_with(|| Box::<T>::default() as Box<dyn Any + Send>) in get_mut()
83 .or_insert_with(|| Box::new(init()) as Box<dyn Any + Send>) in get_or_put_with()
93 hi_prio_req: VecDeque<Box<dyn FnOnce(&mut Shelf) + Send>>,
94 lo_prio_req: VecDeque<Box<dyn FnOnce(&mut Shelf) + Send>>,
95 idle_fns: Vec<Arc<dyn Fn(&mut Shelf) + Send + Sync>>,
199 QueuedFn(Box<dyn FnOnce(&mut Shelf) + Send>), in spawn_thread()
200 IdleFns(Vec<Arc<dyn Fn(&mut Shelf) + Send + Sync>>), in spawn_thread()
Dmaintenance.rs58 delete_listener: Box<dyn DeleteListener + Send + Sync + 'static>,
64 delete_listener: Box<dyn DeleteListener + Send + Sync + 'static>, in new_native_binder()
65 ) -> Result<Strong<dyn IKeystoreMaintenance>> { in new_native_binder()
164 F: Fn(Strong<dyn IKeyMintDevice>) -> binder::Result<()>, in call_with_watchdog()
178 F: Fn(Strong<dyn IKeyMintDevice>) -> binder::Result<()>, in call_on_all_security_levels()
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/nested/
DINestedService.rs18 …_tests_6_nested_20_ParcelableWithNested_6_Status, _arg_cb: &binder::Strong<dyn crate::mangled::_7_…
29 …sts_6_nested_20_ParcelableWithNested_6_Status, _arg_cb: &'a binder::Strong<dyn crate::mangled::_7_…
35 …_tests_6_nested_20_ParcelableWithNested_6_Status, _arg_cb: &binder::Strong<dyn crate::mangled::_7_…
39 …nder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong<dyn INestedService> in new_async_binder()
60 …_tests_6_nested_20_ParcelableWithNested_6_Status, _arg_cb: &binder::Strong<dyn crate::mangled::_7_… in new_async_binder()
72 …_tests_6_nested_20_ParcelableWithNested_6_Status, _arg_cb: &binder::Strong<dyn crate::mangled::_7_…
80 pub type INestedServiceDefaultRef = Option<std::sync::Arc<dyn INestedServiceDefault>>;
103 …_tests_6_nested_20_ParcelableWithNested_6_Status, _arg_cb: &binder::Strong<dyn crate::mangled::_7_… in build_parcel_flipStatusWithCallback()
109 …_tests_6_nested_20_ParcelableWithNested_6_Status, _arg_cb: &binder::Strong<dyn crate::mangled::_7_… in read_response_flipStatusWithCallback()
127 …_tests_6_nested_20_ParcelableWithNested_6_Status, _arg_cb: &binder::Strong<dyn crate::mangled::_7_…
[all …]
/system/tools/aidl/tests/rust/
Dtest_service_async.rs91 ) -> binder::Result<Option<binder::Strong<dyn ITestService::ITestService>>> { in GetTestService()
98 service_map: Mutex<HashMap<String, binder::Strong<dyn INamedCallback::INamedCallback>>>,
106 type BoxFuture<'a, T> = std::pin::Pin<Box<dyn std::future::Future<Output = T> + Send + 'a>>;
207 ) -> binder::Result<binder::Strong<dyn INamedCallback::INamedCallback>> { in GetOtherTestService()
223 service: &binder::Strong<dyn INamedCallback::INamedCallback>, in SetOtherTestService()
237 service: &binder::Strong<dyn INamedCallback::INamedCallback>, in VerifyName()
246 ) -> binder::Result<Vec<binder::Strong<dyn INamedCallback::INamedCallback>>> { in GetInterfaceArray()
256 services: &[binder::Strong<dyn INamedCallback::INamedCallback>], in VerifyNamesWithInterfaceArray()
274 ) -> binder::Result<Option<Vec<Option<binder::Strong<dyn INamedCallback::INamedCallback>>>>> in GetNullableInterfaceArray()
293 services: Option<&[Option<binder::Strong<dyn INamedCallback::INamedCallback>>]>, in VerifyNamesWithNullableInterfaceArray()
[all …]
Dtest_service.rs88 ) -> binder::Result<Option<binder::Strong<dyn ITestService::ITestService>>> { in GetTestService()
95 service_map: Mutex<HashMap<String, binder::Strong<dyn INamedCallback::INamedCallback>>>,
181 ) -> binder::Result<binder::Strong<dyn INamedCallback::INamedCallback>> { in GetOtherTestService()
193 service: &binder::Strong<dyn INamedCallback::INamedCallback>, in SetOtherTestService()
207 service: &binder::Strong<dyn INamedCallback::INamedCallback>, in VerifyName()
216 ) -> binder::Result<Vec<binder::Strong<dyn INamedCallback::INamedCallback>>> { in GetInterfaceArray()
222 services: &[binder::Strong<dyn INamedCallback::INamedCallback>], in VerifyNamesWithInterfaceArray()
240 ) -> binder::Result<Option<Vec<Option<binder::Strong<dyn INamedCallback::INamedCallback>>>>> in GetNullableInterfaceArray()
259 services: Option<&[Option<binder::Strong<dyn INamedCallback::INamedCallback>>]>, in VerifyNamesWithNullableInterfaceArray()
281 ) -> binder::Result<Option<Vec<Option<binder::Strong<dyn INamedCallback::INamedCallback>>>>> in GetInterfaceList()
[all …]
/system/security/keystore2/test_utils/
Dkey_generations.rs334 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in generate_ec_p256_signing_key()
378 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in generate_ec_key()
417 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in generate_rsa_key()
478 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in generate_sym_key()
522 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in generate_hmac_key()
566 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in generate_attestation_key()
608 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in generate_ec_attestation_key()
645 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in generate_ec_256_attested_key()
690 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in import_rsa_2048_key()
750 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in import_ec_p_256_key()
[all …]
/system/security/keystore2/tests/
Dkeystore2_client_test_utils.rs72 let pm = wait_for_interface::<dyn IPackageManagerNative>(PACKAGE_MANAGER_NATIVE_SERVICE) in app_attest_key_feature_exists()
96 keystore2: &binder::Strong<dyn IKeystoreService>, in generate_ec_key_and_grant_to_users()
97 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in generate_ec_key_and_grant_to_users()
142 op: &binder::Strong<dyn IKeystoreOperation>, in perform_sample_sign_operation()
152 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in perform_sample_hmac_sign_verify_op()
215 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in perform_sample_asym_sign_verify_op()
310 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in perform_sample_sym_key_encrypt_op()
340 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in perform_sample_sym_key_decrypt_op()
368 keystore2: &binder::Strong<dyn IKeystoreService>, in delete_app_key()
381 sec_level: &binder::Strong<dyn IKeystoreSecurityLevel>, in encrypt_secure_key()
/system/chre/platform/riscv/
Dnanoapp_loader.cc21 bool NanoappLoader::relocateTable(DynamicHeader *dyn, int tag) { in relocateTable() argument
23 if (dyn == nullptr) { in relocateTable()
29 if (getDynEntry(dyn, tag) == 0) { in relocateTable()
/system/unwinding/libunwindstack/
DElfInterface.cpp380 DynType dyn; in GetSoname() local
384 if (!memory_->ReadFully(offset, &dyn, sizeof(dyn))) { in GetSoname()
390 if (dyn.d_tag == DT_STRTAB) { in GetSoname()
391 strtab_addr = dyn.d_un.d_ptr; in GetSoname()
392 } else if (dyn.d_tag == DT_STRSZ) { in GetSoname()
393 strtab_size = dyn.d_un.d_val; in GetSoname()
394 } else if (dyn.d_tag == DT_SONAME) { in GetSoname()
395 soname_offset = dyn.d_un.d_val; in GetSoname()
396 } else if (dyn.d_tag == DT_NULL) { in GetSoname()
/system/chre/platform/shared/
Dnanoapp_loader.cc793 DynamicHeader *dyn = nullptr; in getDynamicHeader() local
797 dyn = reinterpret_cast<DynamicHeader *>(programHeaders[i].p_offset + in getDynamicHeader()
802 return dyn; in getDynamicHeader()
818 NanoappLoader::ElfWord NanoappLoader::getDynEntry(DynamicHeader *dyn, in getDynEntry() argument
822 while (dyn->d_tag != DT_NULL) { in getDynEntry()
823 if (dyn->d_tag == field) { in getDynEntry()
824 rv = dyn->d_un.d_val; in getDynEntry()
827 ++dyn; in getDynEntry()
834 DynamicHeader *dyn = getDynamicHeader(); in fixRelocations() local
838 if ((dyn == nullptr) || (roSeg == nullptr)) { in fixRelocations()
[all …]
/system/security/keystore2/src/km_compat/
Dlib.rs43 fn get_device() -> Option<Strong<dyn IKeyMintDevice>> { in get_device()
45 let compat_service: Strong<dyn IKeystoreCompatService> = in get_device()
74 fn generate_key(legacy: &dyn IKeyMintDevice, kps: Vec<KeyParameter>) -> KeyCreationResult { in generate_key()
85 fn generate_rsa_key(legacy: &dyn IKeyMintDevice, encrypt: bool, attest: bool) -> Vec<u8> { in generate_rsa_key()
214 fn generate_aes_key(legacy: &dyn IKeyMintDevice) -> Vec<u8> { in generate_aes_key()
245 legacy: &dyn IKeyMintDevice, in begin()
339 let compat_service: binder::Strong<dyn IKeystoreCompatService> = in test_secure_clock()
360 let compat_service: binder::Strong<dyn IKeystoreCompatService> = in test_shared_secret()
/system/extras/profcollectd/libprofcollectd/
Dscheduler.rs37 trace_provider: Arc<Mutex<dyn TraceProvider + Send>>,
38 provider_ready_callbacks: Arc<Mutex<Vec<Box<dyn FnOnce() + Send>>>>,
128 pub fn register_provider_ready_callback(&self, cb: Box<dyn FnOnce() + Send>) { in register_provider_ready_callback()
/system/keymint/common/src/keyblob/
Dsdd_mem.rs26 rng: &mut dyn crypto::Rng, in get_or_create_factory_reset_secret()
49 rng: &mut dyn crypto::Rng, in new_secret()

1234