Home
last modified time | relevance | path

Searched refs:i32 (Results 1 – 25 of 57) sorted by relevance

123

/system/bt/gd/rust/topshim/src/
Dbtif.rs14 #[repr(i32)]
21 #[repr(i32)]
45 #[repr(i32)]
52 #[repr(i32)]
86 prop_type: i32,
87 len: i32,
115 fn Enable(&self) -> i32; in Enable() argument
116 fn Disable(&self) -> i32; in Disable() argument
118 fn GetAdapterProperties(&self) -> i32; in GetAdapterProperties() argument
119 fn GetAdapterProperty(&self, prop_type: i32) -> i32; in GetAdapterProperty() argument
[all …]
/system/bt/gd/rust/linux/stack/src/
Dbluetooth_gatt.rs11 fn unregister_scanner(&self, scanner_id: i32); in unregister_scanner() argument
13 fn start_scan(&self, scanner_id: i32, settings: ScanSettings, filters: Vec<ScanFilter>); in start_scan() argument
14 fn stop_scan(&self, scanner_id: i32); in stop_scan() argument
20 fn on_scanner_registered(&self, status: i32, scanner_id: i32); in on_scanner_registered() argument
24 #[repr(i32)]
41 pub low_threshold: i32,
42 pub high_threshold: i32,
48 pub interval: i32,
49 pub window: i32,
75 fn unregister_scanner(&self, _scanner_id: i32) { in unregister_scanner() argument
[all …]
Dbluetooth.rs93 status: i32, in adapter_properties_changed() argument
94 num_properties: i32, in adapter_properties_changed() argument
100 #[repr(i32)]
134 status: i32, in adapter_properties_changed() argument
135 num_properties: i32, in adapter_properties_changed() argument
/system/bt/gd/rust/linux/service/src/
Diface_bluetooth_gatt.rs30 fn on_scanner_registered(&self, _status: i32, _scanner_id: i32) {} in on_scanner_registered() argument
35 low_threshold: i32,
36 high_threshold: i32,
41 interval: i32,
43 window: i32,
66 fn unregister_scanner(&self, scanner_id: i32) {} in unregister_scanner() argument
69 fn start_scan(&self, scanner_id: i32, settings: ScanSettings, filters: Vec<ScanFilter>) {} in start_scan() argument
72 fn stop_scan(&self, scanner_id: i32) {} in stop_scan() argument
/system/security/keystore2/src/
Dmetrics_store.rs75 metrics_store: Mutex<HashMap<AtomID, HashMap<KeystoreAtomPayload, i32>>>,
257 f32::log10(t as f32) as i32; in process_key_creation_event_stats()
430 fn compute_padding_mode_bitmap(padding_mode_bitmap: &mut i32, padding_mode: PaddingMode) { in compute_padding_mode_bitmap() argument
433 *padding_mode_bitmap |= 1 << PaddingModeBitPosition::NONE_BIT_POSITION as i32; in compute_padding_mode_bitmap()
436 *padding_mode_bitmap |= 1 << PaddingModeBitPosition::RSA_OAEP_BIT_POS as i32; in compute_padding_mode_bitmap()
439 *padding_mode_bitmap |= 1 << PaddingModeBitPosition::RSA_PSS_BIT_POS as i32; in compute_padding_mode_bitmap()
443 1 << PaddingModeBitPosition::RSA_PKCS1_1_5_ENCRYPT_BIT_POS as i32; in compute_padding_mode_bitmap()
446 *padding_mode_bitmap |= 1 << PaddingModeBitPosition::RSA_PKCS1_1_5_SIGN_BIT_POS as i32; in compute_padding_mode_bitmap()
449 *padding_mode_bitmap |= 1 << PaddingModeBitPosition::PKCS7_BIT_POS as i32; in compute_padding_mode_bitmap()
455 fn compute_digest_bitmap(digest_bitmap: &mut i32, digest: Digest) { in compute_digest_bitmap() argument
[all …]
Daudit_log.rs33 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()
62 let owner = key_owner(key.domain, key.nspace, key.nspace as i32); in log_key_integrity_violation()
69 let owner = key_owner(key.domain, key.nspace, calling_app as i32); in log_key_event()
Dkey_parameter.rs135 type Primitive = i32;
175 implement_associate_primitive_identity! {i32}
184 I32(i32),
194 impl From<i32> for Primitive {
195 fn from(v: i32) -> Self { in from()
226 impl TryInto<i32> for Primitive {
229 fn try_into(self) -> Result<i32, Self::Error> { in try_into() argument
488 impl KpDefault for i32 { implementation
793 KeySize(i32),
808 MinMacLength(i32),
[all …]
Dmaintenance.rs68 fn on_user_password_changed(user_id: i32, password: Option<Password>) -> Result<()> { in on_user_password_changed() argument
105 fn add_or_remove_user(&self, user_id: i32) -> Result<()> { in add_or_remove_user()
138 fn get_state(user_id: i32) -> Result<AidlUserState> { in get_state()
269 fn onUserPasswordChanged(&self, user_id: i32, password: Option<&[u8]>) -> BinderResult<()> { in onUserPasswordChanged() argument
274 fn onUserAdded(&self, user_id: i32) -> BinderResult<()> { in onUserAdded()
279 fn onUserRemoved(&self, user_id: i32) -> BinderResult<()> { in onUserRemoved()
289 fn getState(&self, user_id: i32) -> BinderResult<AidlUserState> { in getState()
Dtry_insert.rs72 fn fails() -> Result<i32, String> { in fails()
76 fn succeeds() -> Result<i32, String> { in succeeds()
Derror.rs53 Binder(ExceptionCode, i32),
210 pub fn get_error_code(e: &anyhow::Error) -> i32 { in get_error_code() argument
284 fn binder_sse_error(sse: i32) -> BinderResult<()> { in binder_sse_error()
303 Result::<(), i32>::Err(rc), in keystore_error_test()
313 Result::<(), i32>::Err(ec), in keystore_error_test()
323 Result::<(), i32>::Err(ec), in keystore_error_test()
Draw_device.rs51 version: i32,
57 pub const KEY_MASTER_V4_0: i32 = 40;
59 pub const KEY_MASTER_V4_1: i32 = 41;
61 pub const KEY_MINT_V1: i32 = 100;
88 pub fn version(&self) -> i32 { in version() argument
/system/core/libstats/pull_rust/
Dstats_pull.rs71 pub fn set_additive_fields(&mut self, additive_fields: &mut Vec<i32>) { in set_additive_fields() argument
83 pub fn get_additive_fields(&self) -> Vec<i32> { in get_additive_fields() argument
111 static ref COOKIES: Mutex<HashMap<i32, fn() -> StatsPullResult>> = Mutex::new(HashMap::new());
116 atom_tag: i32, in callback_wrapper() argument
149 COOKIES.lock().unwrap().insert(atom as i32, callback); in set_pull_atom_callback()
157 atom as i32, in set_pull_atom_callback()
167 COOKIES.lock().unwrap().remove(&(atom as i32)); in clear_pull_atom_callback()
169 unsafe { AStatsManager_clearPullAtomCallback(atom as i32) } in clear_pull_atom_callback()
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/
DUnion.rs3 Ns(Vec<i32>),
4 N(i32),
5 M(i32),
74 let status: i32 = parcel.read()?; in deserialize_option()
76 let tag: i32 = parcel.read()?; in deserialize_option()
79 let value: Vec<i32> = parcel.read()?; in deserialize_option()
83 let value: i32 = parcel.read()?; in deserialize_option()
87 let value: i32 = parcel.read()?; in deserialize_option()
DITestService.rs14 fn UnimplementedMethod(&self, _arg_arg: i32) -> binder::public_api::Result<i32>; in UnimplementedMethod() argument
21 fn RepeatInt(&self, _arg_token: i32) -> binder::public_api::Result<i32>; in RepeatInt() argument
32 …fn ReverseInt(&self, _arg_input: &[i32], _arg_repeated: &mut Vec<i32>) -> binder::public_api::Resu… in ReverseInt() argument
45 fn ThrowServiceException(&self, _arg_code: i32) -> binder::public_api::Result<()>; in ThrowServiceException()
46 …RepeatNullableIntArray(&self, _arg_input: Option<&[i32]>) -> binder::public_api::Result<Option<Vec… in RepeatNullableIntArray() argument
74 fn UnimplementedMethod(&self, _arg_arg: i32) -> binder::public_api::Result<i32> { in UnimplementedMethod() argument
92 fn RepeatInt(&self, _arg_token: i32) -> binder::public_api::Result<i32> { in RepeatInt() argument
125 …fn ReverseInt(&self, _arg_input: &[i32], _arg_repeated: &mut Vec<i32>) -> binder::public_api::Resu… in ReverseInt() argument
164 fn ThrowServiceException(&self, _arg_code: i32) -> binder::public_api::Result<()> { in ThrowServiceException()
167 …RepeatNullableIntArray(&self, _arg_input: Option<&[i32]>) -> binder::public_api::Result<Option<Vec… in RepeatNullableIntArray() argument
[all …]
DGenericStructuredParcelable.rs3 pub a: i32,
4 pub b: i32,
46 let status: i32 = parcel.read()?; in deserialize_option()
49 let parcelable_size: i32 = parcel.read()?; in deserialize_option()
DUnionWithFd.rs3 Num(i32),
49 let status: i32 = parcel.read()?; in deserialize_option()
51 let tag: i32 = parcel.read()?; in deserialize_option()
54 let value: i32 = parcel.read()?; in deserialize_option()
DStructuredParcelable.rs3 pub shouldContainThreeFs: Vec<i32>,
4 pub f: i32,
14 pub intDefaultsToFive: i32,
20 pub arrayDefaultsTo123: Vec<i32>,
21 pub arrayDefaultsToEmpty: Vec<i32>,
24 pub intDefault: i32,
31 pub int32_min: i32,
32 pub int32_max: i32,
34 pub hexInt32_neg_1: i32,
36 pub int32_1: Vec<i32>,
[all …]
DDeprecatedParcelable.rs41 let status: i32 = parcel.read()?; in deserialize_option()
44 let parcelable_size: i32 = parcel.read()?; in deserialize_option()
/system/libbase/
Dmacros_test.cpp25 int32_t i32; in TEST() member
28 ASSERT_EQ(4U, SIZEOF_MEMBER(S, i32)); in TEST()
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/unions/
DUnionInUnion.rs4 Second(i32),
48 let status: i32 = parcel.read()?; in deserialize_option()
50 let tag: i32 = parcel.read()?; in deserialize_option()
57 let value: i32 = parcel.read()?; in deserialize_option()
/system/bt/gd/rust/linux/mgmt/src/bin/btmanagerd/
Dstate_machine.rs20 StartBluetooth(i32),
21 StopBluetooth(i32),
22 BluetoothStarted(i32, i32), // PID and HCI
64 hci_interface: i32, in start_bluetooth() argument
69 …pub async fn stop_bluetooth(&self, hci_interface: i32,) -> Result<(), SendError<StateMachineAction… in stop_bluetooth() argument
167 Some(s) => s.parse::<i32>().unwrap(), in mainloop()
171 Some(s) => s.parse::<i32>().unwrap(), in mainloop()
271 hci_interface: i32,
272 bluetooth_pid: i32,
304 pub fn action_start_bluetooth(&mut self, hci_interface: i32) -> bool { in action_start_bluetooth()
[all …]
/system/tools/aidl/tests/rust/
Dtest_service.rs123 fn UnimplementedMethod(&self, _: i32) -> binder::Result<i32> { in UnimplementedMethod() argument
138 impl_repeat_reverse! {RepeatInt, ReverseInt, i32}
194 fn ThrowServiceException(&self, code: i32) -> binder::Result<()> { in ThrowServiceException()
198 impl_repeat_nullable! {RepeatNullableIntArray, i32}
328 fn returnsLengthOfFooArray(&self, foos: &[Foo]) -> binder::Result<i32> { in returnsLengthOfFooArray() argument
329 Ok(foos.len() as i32) in returnsLengthOfFooArray()
331 …self, _in_foo: &Foo, _inout_foo: &mut Foo, _out_foo: &mut Foo, value: i32) -> binder::Result<i32> { in ignoreParcelablesAndRepeatInt() argument
/system/bt/gd/rust/linux/dbus_projection/src/
Dlib.rs80 type DBusType = i32;
82 data: i32,
97 fn to_dbus(data: $enum_type) -> Result<i32, Box<dyn Error>> {
/system/bt/gd/rust/linux/adapter/src/
Dmain.rs19 AdapterPropertiesChanged(i32, i32, Vec<ffi::BtProperty>),
20 RemoteDevicePropertiesChanged(i32, ffi::RustRawAddress, i32, Vec<ffi::BtProperty>),
21 DeviceFound(i32, Vec<ffi::BtProperty>),
/system/bt/gd/rust/shim/src/
Dmessage_loop_thread.rs23 fn main_message_loop_thread_start(thread: &mut MessageLoopThread) -> i32; in main_message_loop_thread_start() argument
53 pub fn main_message_loop_thread_start(thread: &mut MessageLoopThread) -> i32 { in main_message_loop_thread_start() argument

123