/system/libfmq/tests/aidl/default/ |
D | TestAidlMsgQ.rs | 25 queue_sync: std::sync::Mutex<Option<fmq::MessageQueue<i32>>>, 47 mq_desc: &MQDescriptor<i32, SynchronizedReadWrite>, in configureFmqSyncReadWrite() argument 67 fn requestReadFmqSync(&self, count: i32) -> BinderResult<bool> { in requestReadFmqSync() 95 fn requestWriteFmqSync(&self, count: i32) -> BinderResult<bool> { in requestWriteFmqSync() 120 _: &mut MQDescriptor<i32, UnsynchronizedWrite>, in getFmqUnsyncWrite() argument 132 fn requestBlockingRead(&self, _: i32) -> BinderResult<()> { in requestBlockingRead() 135 fn requestBlockingReadDefaultEventFlagBits(&self, _: i32) -> BinderResult<()> { in requestBlockingReadDefaultEventFlagBits() 138 fn requestBlockingReadRepeat(&self, _: i32, _: i32) -> BinderResult<()> { in requestBlockingReadRepeat() argument 141 fn requestReadFmqUnsync(&self, _: i32) -> BinderResult<bool> { in requestReadFmqUnsync() 145 fn requestWriteFmqUnsync(&self, _: i32) -> BinderResult<bool> { in requestWriteFmqUnsync()
|
/system/keymint/wire/src/ |
D | keymint.rs | 73 impl TryFrom<i32> for VerifiedBootState { 75 fn try_from(v: i32) -> Result<Self, Self::Error> { in try_from() 130 #[repr(i32)] 148 #[repr(i32)] 163 #[repr(i32)] 176 #[repr(i32)] 188 #[repr(i32)] 294 #[repr(i32)] 317 #[repr(i32)] 327 pub version_number: i32, [all …]
|
D | rpc.rs | 28 pub const IRPC_V2: i32 = 2; 29 pub const IRPC_V3: i32 = 3; 31 pub const AUTH_REQ_SCHEMA_V1: i32 = 1; 40 #[repr(i32)] 52 pub const MINIMUM_SUPPORTED_KEYS_IN_CSR: i32 = 20; 56 pub version_number: i32, 60 pub supported_num_keys_in_csr: i32, 64 #[repr(i32)]
|
/system/security/keystore2/src/ |
D | metrics_store.rs | 72 metrics_store: Mutex<HashMap<AtomID, HashMap<KeystoreAtomPayload, i32>>>, 251 f32::log10(t as f32) as i32; in process_key_creation_event_stats() 425 fn compute_padding_mode_bitmap(padding_mode_bitmap: &mut i32, padding_mode: PaddingMode) { in compute_padding_mode_bitmap() argument 428 *padding_mode_bitmap |= 1 << PaddingModeBitPosition::NONE_BIT_POSITION as i32; in compute_padding_mode_bitmap() 431 *padding_mode_bitmap |= 1 << PaddingModeBitPosition::RSA_OAEP_BIT_POS as i32; in compute_padding_mode_bitmap() 434 *padding_mode_bitmap |= 1 << PaddingModeBitPosition::RSA_PSS_BIT_POS as i32; in compute_padding_mode_bitmap() 438 1 << PaddingModeBitPosition::RSA_PKCS1_1_5_ENCRYPT_BIT_POS as i32; in compute_padding_mode_bitmap() 441 *padding_mode_bitmap |= 1 << PaddingModeBitPosition::RSA_PKCS1_1_5_SIGN_BIT_POS as i32; in compute_padding_mode_bitmap() 444 *padding_mode_bitmap |= 1 << PaddingModeBitPosition::PKCS7_BIT_POS as i32; in compute_padding_mode_bitmap() 450 fn compute_digest_bitmap(digest_bitmap: &mut i32, digest: Digest) { in compute_digest_bitmap() argument [all …]
|
D | audit_log.rs | 33 fn key_owner(domain: Domain, nspace: i64, uid: i32) -> i32 { in key_owner() argument 36 Domain::SELINUX => (nspace | FLAG_NAMESPACE) as i32, in key_owner() 61 let owner = key_owner(key.domain, key.nspace, key.nspace as i32); in log_key_integrity_violation() 70 let owner = key_owner(key.domain, key.nspace, calling_app as i32); in log_key_event() 74 structured_log!(log_id: LOG_ID_SECURITY, tag, i32::from(success), alias, owner); in log_key_event()
|
/system/apex/libs/libapexsupport/src/ |
D | lib.rs | 25 const AAPEXINFO_OK: i32 = 0; 26 const AAPEXINFO_NO_APEX: i32 = 1; 27 const AAPEXINFO_ERROR_GET_EXECUTABLE_PATH: i32 = 2; 28 const AAPEXINFO_INALID_APEX: i32 = 3; 30 fn as_error_code(err: &AApexInfoError) -> i32 { in as_error_code() argument 44 pub unsafe extern "C" fn AApexInfo_create(out: *mut *mut AApexInfo) -> i32 { in AApexInfo_create() argument
|
/system/core/debuggerd/rust/tombstoned_client/src/ |
D | lib.rs | 69 pub fn connect(pid: i32, dump_type: DebuggerdDumpType) -> Result<Self, Error> { in connect() argument 125 pid: i32, in tombstoned_connect_files() argument 126 tombstoned_socket: &mut i32, in tombstoned_connect_files() argument 127 text_output_fd: &mut i32, in tombstoned_connect_files() argument 128 proto_output_fd: &mut i32, in tombstoned_connect_files() argument 132 fn tombstoned_notify_completion(tombstoned_socket: i32) -> bool; in tombstoned_notify_completion() 146 TombstonedConnection::connect(process::id() as i32, DebuggerdDumpType::Tombstone) in test()
|
/system/core/libstats/pull_rust/ |
D | stats_pull.rs | 71 pub fn set_additive_fields(&mut self, additive_fields: &mut [i32]) { in set_additive_fields() argument 83 pub fn get_additive_fields(&self) -> Vec<i32> { in get_additive_fields() argument 110 static COOKIES: Lazy<Mutex<HashMap<i32, fn() -> StatsPullResult>>> = 117 atom_tag: i32, in callback_wrapper() argument 151 COOKIES.lock().unwrap().insert(atom as i32, callback); in set_pull_atom_callback() 159 atom as i32, in set_pull_atom_callback() 169 COOKIES.lock().unwrap().remove(&(atom as i32)); in clear_pull_atom_callback() 171 unsafe { AStatsManager_clearPullAtomCallback(atom as i32) } in clear_pull_atom_callback()
|
/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-rust-source/gen/android/aidl/tests/ |
D | Union.rs | 9 Ns(Vec<i32>), 10 N(i32), 11 M(i32), 57 let tag: i32 = parcel.read()?; in read_from_parcel() 60 let value: Vec<i32> = parcel.read()?; in read_from_parcel() 65 let value: i32 = parcel.read()?; in read_from_parcel() 70 let value: i32 = parcel.read()?; in read_from_parcel() 110 r#Tag : [i32; 7] {
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/ |
D | Union.rs | 9 Ns(Vec<i32>), 10 N(i32), 11 M(i32), 57 let tag: i32 = parcel.read()?; in read_from_parcel() 60 let value: Vec<i32> = parcel.read()?; in read_from_parcel() 65 let value: i32 = parcel.read()?; in read_from_parcel() 70 let value: i32 = parcel.read()?; in read_from_parcel() 110 r#Tag : [i32; 7] {
|
/system/tools/aidl/tests/golden_output/frozen/aidl-test-versioned-interface-V1-rust-source/gen/android/aidl/versioned/tests/ |
D | IFooInterface.rs | 25 …ate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32>; 26 … _arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32>; 27 fn r#getInterfaceVersion(&self) -> binder::Result<i32> { 44 …droid_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::BoxFuture<'a, binder::Result<i… 45 …ngled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::BoxFuture<'a, binder::Result<i32>>; 46 fn r#getInterfaceVersion<'a>(&'a self) -> binder::BoxFuture<'a, binder::Result<i32>> { 58 …ate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32>; 59 … _arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32>; 87 …te::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32> { in new_async_binder() 90 …_arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32> { in new_async_binder() [all …]
|
D | BazUnion.rs | 9 IntNum(i32), 26 let tag: i32 = parcel.read()?; in read_from_parcel() 29 let value: i32 = parcel.read()?; in read_from_parcel() 49 r#Tag : [i32; 1] {
|
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V1-rust-source/gen/android/aidl/versioned/tests/ |
D | IFooInterface.rs | 25 …ate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32>; 26 … _arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32>; 27 fn r#getInterfaceVersion(&self) -> binder::Result<i32> { 44 …droid_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::BoxFuture<'a, binder::Result<i… 45 …ngled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::BoxFuture<'a, binder::Result<i32>>; 46 fn r#getInterfaceVersion<'a>(&'a self) -> binder::BoxFuture<'a, binder::Result<i32>> { 58 …ate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32>; 59 … _arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32>; 87 …te::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32> { in new_async_binder() 90 …_arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32> { in new_async_binder() [all …]
|
D | BazUnion.rs | 9 IntNum(i32), 26 let tag: i32 = parcel.read()?; in read_from_parcel() 29 let value: i32 = parcel.read()?; in read_from_parcel() 49 r#Tag : [i32; 1] {
|
/system/libfmq/tests/ |
D | msgq_rust_test_client.rs | 28 fn setup_test_service() -> (MessageQueue<i32>, Strong<dyn ITestAidlMsgQ>) { in setup_test_service() 33 let num_elements_in_sync_queue: usize = (page_size - 16) / std::mem::size_of::<i32>(); in setup_test_service() 36 let mut mq = MessageQueue::<i32>::new( in setup_test_service() 60 let data: [i32; DATA_LEN] = init_data(); in small_input_writer_test() 71 fn init_data<const N: usize>() -> [i32; N] { in init_data()
|
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V3-rust-source/gen/android/aidl/versioned/tests/ |
D | IFooInterface.rs | 25 …ate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32>; 26 … _arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32>; 28 fn r#getInterfaceVersion(&self) -> binder::Result<i32> { 45 …droid_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::BoxFuture<'a, binder::Result<i… 46 …ngled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::BoxFuture<'a, binder::Result<i32>>; 48 fn r#getInterfaceVersion<'a>(&'a self) -> binder::BoxFuture<'a, binder::Result<i32>> { 60 …ate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32>; 61 … _arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32>; 90 …te::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32> { in new_async_binder() 93 …_arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32> { in new_async_binder() [all …]
|
/system/tools/aidl/tests/golden_output/frozen/aidl-test-versioned-interface-V3-rust-source/gen/android/aidl/versioned/tests/ |
D | IFooInterface.rs | 25 …ate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32>; 26 … _arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32>; 28 fn r#getInterfaceVersion(&self) -> binder::Result<i32> { 45 …droid_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::BoxFuture<'a, binder::Result<i… 46 …ngled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::BoxFuture<'a, binder::Result<i32>>; 48 fn r#getInterfaceVersion<'a>(&'a self) -> binder::BoxFuture<'a, binder::Result<i32>> { 60 …ate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32>; 61 … _arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32>; 90 …te::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32> { in new_async_binder() 93 …_arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32> { in new_async_binder() [all …]
|
D | BazUnion.rs | 9 IntNum(i32), 31 let tag: i32 = parcel.read()?; in read_from_parcel() 34 let value: i32 = parcel.read()?; in read_from_parcel() 59 r#Tag : [i32; 2] {
|
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V2-rust-source/gen/android/aidl/versioned/tests/ |
D | IFooInterface.rs | 25 …ate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32>; 26 … _arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32>; 28 fn r#getInterfaceVersion(&self) -> binder::Result<i32> { 45 …droid_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::BoxFuture<'a, binder::Result<i… 46 …ngled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::BoxFuture<'a, binder::Result<i32>>; 48 fn r#getInterfaceVersion<'a>(&'a self) -> binder::BoxFuture<'a, binder::Result<i32>> { 60 …ate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32>; 61 … _arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32>; 90 …te::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32> { in new_async_binder() 93 …_arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32> { in new_async_binder() [all …]
|
/system/tools/aidl/tests/golden_output/frozen/aidl-test-versioned-interface-V2-rust-source/gen/android/aidl/versioned/tests/ |
D | IFooInterface.rs | 25 …ate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32>; 26 … _arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32>; 28 fn r#getInterfaceVersion(&self) -> binder::Result<i32> { 45 …droid_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::BoxFuture<'a, binder::Result<i… 46 …ngled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::BoxFuture<'a, binder::Result<i32>>; 48 fn r#getInterfaceVersion<'a>(&'a self) -> binder::BoxFuture<'a, binder::Result<i32>> { 60 …ate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32>; 61 … _arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32>; 90 …te::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo, _arg_value: i32) -> binder::Result<i32> { in new_async_binder() 93 …_arg_foos: &[crate::mangled::_7_android_4_aidl_9_versioned_5_tests_3_Foo]) -> binder::Result<i32> { in new_async_binder() [all …]
|
/system/keymint/common/src/ |
D | crypto.rs | 88 #[repr(i32)] 241 let algo: i32 = match a.remove(0) { in from_cbor_value() 247 x if x == Algorithm::Aes as i32 => { in from_cbor_value() 258 x if x == Algorithm::TripleDes as i32 => { in from_cbor_value() 273 x if x == Algorithm::Hmac as i32 => { in from_cbor_value() 281 x if x == Algorithm::Rsa as i32 => { in from_cbor_value() 289 x if x == Algorithm::Ec as i32 => { in from_cbor_value() 336 cbor::value::Value::Integer((Algorithm::Aes as i32).into()), in to_cbor_value() 342 cbor::value::Value::Integer((Algorithm::TripleDes as i32).into()), in to_cbor_value() 348 cbor::value::Value::Integer((Algorithm::Hmac as i32).into()), in to_cbor_value() [all …]
|
/system/keymint/boringssl/src/ |
D | err.rs | 54 fn translate_evp_error(reason: i32) -> ErrorCode { in translate_evp_error() 72 fn translate_asn1_error(reason: i32) -> ErrorCode { in translate_asn1_error() 79 fn translate_cipher_error(reason: i32) -> ErrorCode { in translate_cipher_error() 94 fn translate_pkcs8_error(reason: i32) -> ErrorCode { in translate_pkcs8_error() 109 fn translate_x509v3_error(reason: i32) -> ErrorCode { in translate_x509v3_error() 116 fn translate_rsa_error(reason: i32) -> ErrorCode { in translate_rsa_error()
|
/system/tools/aidl/tests/golden_output/frozen/aidl-test-fixedsizearray-rust-source/gen/android/aidl/fixedsizearray/ |
D | FixedSizeArrayExample.rs | 9 pub r#int2x3: [[i32; 3]; 2], 13 pub r#intArray: [i32; 2], 25 pub r#intMatrix: [[i32; 2]; 2], 37 pub r#intNullableArray: Option<[i32; 2]>, 52 pub r#intNullableMatrix: Option<[[i32; 2]; 2]>, 379 …fn r#RepeatInts(&self, _arg_input: &[i32; 3], _arg_repeated: &mut [i32; 3]) -> binder::Result<[i32… 383 …fn r#Repeat2dInts(&self, _arg_input: &[[i32; 3]; 2], _arg_repeated: &mut [[i32; 3]; 2]) -> binder:… 396 …s<'a>(&'a self, _arg_input: &'a [i32; 3], _arg_repeated: &'a mut [i32; 3]) -> binder::BoxFuture<'a… 400 …&'a self, _arg_input: &'a [[i32; 3]; 2], _arg_repeated: &'a mut [[i32; 3]; 2]) -> binder::BoxFutur… 408 …async fn r#RepeatInts(&self, _arg_input: &[i32; 3], _arg_repeated: &mut [i32; 3]) -> binder::Resul… [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-fixedsizearray-rust-source/gen/android/aidl/fixedsizearray/ |
D | FixedSizeArrayExample.rs | 9 pub r#int2x3: [[i32; 3]; 2], 13 pub r#intArray: [i32; 2], 25 pub r#intMatrix: [[i32; 2]; 2], 37 pub r#intNullableArray: Option<[i32; 2]>, 52 pub r#intNullableMatrix: Option<[[i32; 2]; 2]>, 379 …fn r#RepeatInts(&self, _arg_input: &[i32; 3], _arg_repeated: &mut [i32; 3]) -> binder::Result<[i32… 383 …fn r#Repeat2dInts(&self, _arg_input: &[[i32; 3]; 2], _arg_repeated: &mut [[i32; 3]; 2]) -> binder:… 396 …s<'a>(&'a self, _arg_input: &'a [i32; 3], _arg_repeated: &'a mut [i32; 3]) -> binder::BoxFuture<'a… 400 …&'a self, _arg_input: &'a [[i32; 3]; 2], _arg_repeated: &'a mut [[i32; 3]; 2]) -> binder::BoxFutur… 408 …async fn r#RepeatInts(&self, _arg_input: &[i32; 3], _arg_repeated: &mut [i32; 3]) -> binder::Resul… [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/unions/ |
D | UnionInUnion.rs | 10 Second(i32), 31 let tag: i32 = parcel.read()?; in read_from_parcel() 39 let value: i32 = parcel.read()?; in read_from_parcel() 59 r#Tag : [i32; 2] {
|