/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/ |
D | ITestService.rs | 29 …olean(&self, _arg_input: &[bool], _arg_repeated: &mut Vec<bool>) -> binder::public_api::Result<Vec… in ReverseBoolean() 30 …erseByte(&self, _arg_input: &[u8], _arg_repeated: &mut Vec<u8>) -> binder::public_api::Result<Vec<… in ReverseByte() 31 …rseChar(&self, _arg_input: &[u16], _arg_repeated: &mut Vec<u16>) -> binder::public_api::Result<Vec… in ReverseChar() 32 …erseInt(&self, _arg_input: &[i32], _arg_repeated: &mut Vec<i32>) -> binder::public_api::Result<Vec… in ReverseInt() 33 …rseLong(&self, _arg_input: &[i64], _arg_repeated: &mut Vec<i64>) -> binder::public_api::Result<Vec… in ReverseLong() 34 …seFloat(&self, _arg_input: &[f32], _arg_repeated: &mut Vec<f32>) -> binder::public_api::Result<Vec… in ReverseFloat() 35 …eDouble(&self, _arg_input: &[f64], _arg_repeated: &mut Vec<f64>) -> binder::public_api::Result<Vec… in ReverseDouble() 36 …ng(&self, _arg_input: &[String], _arg_repeated: &mut Vec<String>) -> binder::public_api::Result<Ve… in ReverseString() 37 …yteEnum], _arg_repeated: &mut Vec<crate::mangled::_7_android_4_aidl_5_tests_8_ByteEnum>) -> binder… in ReverseByteEnum() 38 …_IntEnum], _arg_repeated: &mut Vec<crate::mangled::_7_android_4_aidl_5_tests_7_IntEnum>) -> binder… in ReverseIntEnum() [all …]
|
D | ParcelableForToString.rs | 4 pub intArray: Vec<i32>, 6 pub longArray: Vec<i64>, 8 pub doubleArray: Vec<f64>, 10 pub floatArray: Vec<f32>, 12 pub byteArray: Vec<u8>, 14 pub booleanArray: Vec<bool>, 16 pub stringArray: Vec<String>, 17 pub stringList: Vec<String>, 19 pub parcelableArray: Vec<crate::mangled::_7_android_4_aidl_5_tests_26_OtherParcelableForToString>, 21 pub enumArray: Vec<crate::mangled::_7_android_4_aidl_5_tests_7_IntEnum>, [all …]
|
D | Union.rs | 3 Ns(Vec<i32>), 8 Ss(Vec<String>), 79 let value: Vec<i32> = parcel.read()?; in deserialize_option() 99 let value: Vec<String> = parcel.read()?; in deserialize_option()
|
/system/security/keystore2/src/ |
D | ec_crypto.rs | 50 pub fn public_key(&self) -> Result<Vec<u8>> { in public_key() 86 ) -> Result<(Vec<u8>, Vec<u8>, Vec<u8>, Vec<u8>, Vec<u8>)> { in encrypt_message()
|
D | shared_secret_negotiation.rs | 112 fn list_participants() -> Result<Vec<SharedSecretParticipant>> { in list_participants() 146 .collect::<Vec<SharedSecretParticipant>>() in list_participants() 149 .collect::<Result<Vec<_>>>() in list_participants() 152 let participants_aidl: Vec<SharedSecretParticipant> = in list_participants() 166 mut participants: Vec<SharedSecretParticipant>, in connect_participants() 167 ) -> Vec<(Strong<dyn ISharedSecret>, SharedSecretParticipant)> { in connect_participants() 168 let mut connected_participants: Vec<(Strong<dyn ISharedSecret>, SharedSecretParticipant)> = in connect_participants() 246 participants: Vec<(Strong<dyn ISharedSecret>, SharedSecretParticipant)>, in negotiate_shared_secret() 250 let result: Result<Vec<SharedSecretParameters>, SharedSecretError> = participants in negotiate_shared_secret()
|
D | attestation_key_utils.rs | 43 blob: Vec<u8>, 45 issuer_subject: Vec<u8>, 89 let issuer_subject: Vec<u8> = parse_subject_from_certificate(&cert).context( in get_user_generated_attestation_key() 100 ) -> Result<(KeyIdGuard, Vec<u8>, Vec<u8>, BlobMetaData)> { in load_attest_key_blob_and_cert()
|
D | key_parameter.rs | 173 implement_associate_primitive_identity! {Vec<u8>} 186 Vec(Vec<u8>), enumerator 199 impl From<Vec<u8>> for Primitive { 200 fn from(v: Vec<u8>) -> Self { in from() 201 Self::Vec(v) in from() 236 impl TryInto<Vec<u8>> for Primitive { 239 fn try_into(self) -> Result<Vec<u8>, Self::Error> { in try_into() 241 Self::Vec(v) => Ok(v), in try_into() 760 fn make_field_matches_tag_type_test_vector() -> Vec<KmKeyParameter> { 880 ApplicationID(Vec<u8>), [all …]
|
D | legacy_blob.rs | 96 Generic(Vec<u8>), 98 Characteristics(Vec<u8>), 101 CharacteristicsCache(Vec<u8>), 106 iv: Vec<u8>, 108 tag: Vec<u8>, 110 data: Vec<u8>, 112 salt: Vec<u8>, 121 iv: Vec<u8>, 123 tag: Vec<u8>, 125 data: Vec<u8>, [all …]
|
D | metrics.rs | 41 fn pull_metrics(&self, atom_id: AtomID) -> Result<Vec<KeystoreAtom>> { in pull_metrics() 52 fn pullMetrics(&self, atom_id: AtomID) -> BinderResult<Vec<KeystoreAtom>> { in pullMetrics()
|
D | database.rs | 116 AttestationMacedPublicKey(Vec<u8>) with accessor attestation_maced_public_key, 119 AttestationRawPubKey(Vec<u8>) with accessor attestation_raw_pub_key, 121 Sec1PublicKey(Vec<u8>) with accessor sec1_public_key, 185 Salt(Vec<u8>) with accessor salt, 187 Iv(Vec<u8>) with accessor iv, 189 AeadTag(Vec<u8>) with accessor aead_tag, 193 PublicKey(Vec<u8>) with accessor public_key, 310 let blob = Vec::<u8>::column_result(value)?; in column_result() 577 cert: Option<Vec<u8>>, 578 cert_chain: Option<Vec<u8>>, [all …]
|
D | gc.rs | 85 deleted_blob_ids: Vec<i64>, 86 superseded_blobs: Vec<(i64, Vec<u8>, BlobMetaData)>,
|
D | remote_provisioning.rs | 286 ) -> Result<Vec<u8>> { in generate_csr() 289 let keys_to_sign = DB.with::<_, Result<Vec<MacedPublicKey>>>(|db| { in generate_csr() 310 let mut cose_mac_0: Vec<u8> = vec![ in generate_csr() 365 let mut maced_key = MacedPublicKey { macedKey: Vec::new() }; in generate_key_pair() 378 let mut raw_key: Vec<u8> = vec![0; 64]; in generate_key_pair() 389 pub fn get_implementation_info(&self) -> Result<Vec<ImplInfo>> { in get_implementation_info() 446 ) -> binder::public_api::Result<Vec<u8>> { in generateCsr() 486 fn getImplementationInfo(&self) -> binder::public_api::Result<Vec<ImplInfo>> { in getImplementationInfo()
|
D | operation.rs | 187 op_params: Vec<KeyParameter>, 196 op_params: Vec<KeyParameter>, in new() 386 fn update(&self, input: &[u8]) -> Result<Option<Vec<u8>>> { in update() 417 fn finish(&self, input: Option<&[u8]>, signature: Option<&[u8]>) -> Result<Option<Vec<u8>>> { in finish() 502 operations: Mutex<Vec<Weak<Operation>>>, 508 Self { operations: Mutex::new(Vec::new()) } in new() 642 let mut pruning_info: Vec<PruningInfo> = Vec::new(); in prune() 855 fn update(&self, input: &[u8]) -> binder::public_api::Result<Option<Vec<u8>>> { in update() 869 ) -> binder::public_api::Result<Option<Vec<u8>>> { in finish()
|
/system/bt/gd/rust/topshim/src/ |
D | btif.rs | 11 use std::vec::Vec; 88 val: Vec<u8>, 111 init_flags: Vec<String>, in Initialize() 195 properties: Vec<BtProperty>, in adapter_properties_callback() 202 properties: Vec<BtProperty>, in remote_device_properties_callback() 207 properties: Vec<BtProperty>, in device_found_callback() 251 pub adapter_properties_changed: Box<dyn Fn(i32, i32, Vec<ffi::BtProperty>) + Send>, 253 Box<dyn Fn(i32, ffi::RustRawAddress, i32, Vec<ffi::BtProperty>) + Send>, 254 pub device_found: Box<dyn Fn(i32, Vec<ffi::BtProperty>) + Send>, 281 init_flags: Vec<String>, in initialize() [all …]
|
/system/core/libstats/pull_rust/ |
D | stats_pull.rs | 26 pub type StatsPullResult = Vec<Box<dyn Stat>>; 71 pub fn set_additive_fields(&mut self, additive_fields: &mut Vec<i32>) { in set_additive_fields() 83 pub fn get_additive_fields(&self) -> Vec<i32> { in get_additive_fields() 130 .collect::<Result<Vec<()>, StatsError>>(); in callback_wrapper()
|
/system/linkerconfig/modules/include/linkerconfig/ |
D | namespace.h | 92 template <typename Vec> 93 void AddProvides(const Vec& list) { in AddProvides() 96 template <typename Vec> 97 void AddRequires(const Vec& list) { in AddRequires()
|
/system/bt/gd/rust/common/src/ |
D | init_flags.rs | 18 fn parse(flags: Vec<String>) -> Self { 22 let values: Vec<&str> = flag.split("=").collect(); 108 pub fn load(flags: Vec<String>) { in load()
|
/system/security/keystore2/src/crypto/ |
D | zvec.rs | 35 let v: Vec<u8> = vec![0; size]; in new() 104 impl TryFrom<Vec<u8>> for ZVec { 107 fn try_from(mut v: Vec<u8>) -> Result<Self, Self::Error> { in try_from()
|
D | lib.rs | 60 pub fn generate_salt() -> Result<Vec<u8>, Error> { in generate_salt() 65 pub fn generate_random_data(size: usize) -> Result<Vec<u8>, Error> { in generate_random_data() 124 pub fn aes_gcm_encrypt(plaintext: &[u8], key: &[u8]) -> Result<(Vec<u8>, Vec<u8>, Vec<u8>), Error> { in aes_gcm_encrypt() 136 let mut ciphertext: Vec<u8> = vec![0; plaintext.len()]; in aes_gcm_encrypt() 137 let mut tag: Vec<u8> = vec![0; TAG_LENGTH]; in aes_gcm_encrypt() 383 pub fn ec_point_point_to_oct(point: &EC_POINT) -> Result<Vec<u8>, Error> { in ec_point_point_to_oct() 413 pub fn parse_subject_from_certificate(cert_buf: &[u8]) -> Result<Vec<u8>, Error> { in parse_subject_from_certificate()
|
/system/tools/aidl/tests/rust/ |
D | test_service.rs | 92 repeated: &mut Vec<$type>, 93 ) -> binder::Result<Vec<$type>> { 113 ) -> binder::Result<Option<Vec<$type>>> { 187 repeated: &mut Vec<Option<ParcelFileDescriptor>>, in ReverseParcelFileDescriptorArray() 188 ) -> binder::Result<Vec<ParcelFileDescriptor>> { in ReverseParcelFileDescriptorArray() 230 repeated: &mut Option<Vec<Option<String>>>, in ReverseNullableUtf8CppString() 231 ) -> binder::Result<Option<Vec<Option<String>>>> { in ReverseNullableUtf8CppString() 245 repeated: &mut Option<Vec<Option<String>>>, in ReverseUtf8CppStringList() 246 ) -> binder::Result<Option<Vec<Option<String>>>> { in ReverseUtf8CppStringList()
|
/system/bt/gd/rust/linux/stack/src/ |
D | bluetooth.rs | 53 callbacks: Vec<(u32, Box<dyn IBluetoothCallback + Send>)>, 72 fn update_local_address(&mut self, raw: &Vec<u8>) { in update_local_address() 95 properties: Vec<ffi::BtProperty>, in adapter_properties_changed() 136 properties: Vec<ffi::BtProperty>, in adapter_properties_changed()
|
D | bluetooth_gatt.rs | 13 fn start_scan(&self, scanner_id: i32, settings: ScanSettings, filters: Vec<ScanFilter>); in start_scan() 79 fn start_scan(&self, _scanner_id: i32, _settings: ScanSettings, _filters: Vec<ScanFilter>) { in start_scan()
|
/system/bt/gd/rust/topshim/btif/ |
D | btif_shim.h | 40 bool Initialize(::rust::Box<RustCallbacks> callbacks, ::rust::Vec<::rust::String> initFlags); 73 void ConvertFlags(::rust::Vec<::rust::String>& flags);
|
/system/security/keystore2/legacykeystore/ |
D | lib.rs | 104 fn list(&mut self, caller_uid: u32) -> Result<Vec<String>> { in list() 112 .collect::<rusqlite::Result<Vec<String>>>() in list() 129 fn get(&mut self, caller_uid: u32, alias: &str) -> Result<Option<Vec<u8>>> { in get() 308 fn get(&self, alias: &str, uid: i32) -> Result<Vec<u8>> { in get() 380 fn list(&self, prefix: &str, uid: i32) -> Result<Vec<String>> { in list() 413 fn list_legacy(&self, uid: u32) -> Result<Vec<String>> { in list_legacy() 502 fn get(&self, alias: &str, uid: i32) -> BinderResult<Vec<u8>> { in get() 514 fn list(&self, prefix: &str, uid: i32) -> BinderResult<Vec<String>> { in list() 553 assert_eq!(Vec::<String>::new(), db.list(1).expect("Failed to list entries.")); in test_entry_db() 591 assert_eq!(Vec::<String>::new(), db.list(2).expect("Failed to list entries.")); in test_delete_uid() [all …]
|
/system/bt/gd/common/ |
D | init_flags.cc | 85 rust::Vec<rust::String> rusted_flags = rust::Vec<rust::String>(); in Load()
|