/system/nfc/src/include/ |
D | nfc_types.h | 50 #define UINT32_TO_STREAM(p, u32) \ argument 52 *(p)++ = (uint8_t)(u32); \ 53 *(p)++ = (uint8_t)((u32) >> 8); \ 54 *(p)++ = (uint8_t)((u32) >> 16); \ 55 *(p)++ = (uint8_t)((u32) >> 24); \ 86 #define STREAM_TO_UINT32(u32, p) \ argument 88 (u32) = (((uint32_t)(*(p))) + ((((uint32_t)(*((p) + 1)))) << 8) + \ 109 #define UINT32_TO_BE_STREAM(p, u32) \ argument 111 *(p)++ = (uint8_t)((u32) >> 24); \ 112 *(p)++ = (uint8_t)((u32) >> 16); \ [all …]
|
/system/extras/ext4_utils/include/ext4_utils/ |
D | ext4_utils.h | 80 typedef unsigned int u32; typedef 91 u32 bg_free_blocks_count; 92 u32 bg_free_inodes_count; 93 u32 bg_used_dirs_count; 105 u32 first_data_block; 107 u32 inode_table_blocks; 108 u32 groups; 109 u32 bg_desc_blocks; 110 u32 default_i_flags; 121 int bitmap_get_bit(u8* bitmap, u32 bit); // vold
|
/system/netd/server/ |
D | StrictController.cpp | 90 const char *u32; in setupIptablesHooks() local 91 u32 = "0>>22&0x3C@ 12>>26&0x3C@ 0&0xFFFF0000=0x16030000 &&" in setupIptablesHooks() 94 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in setupIptablesHooks() 96 u32 = "0>>22&0x3C@ 8&0xFFFF0000=0x16FE0000 &&" in setupIptablesHooks() 99 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in setupIptablesHooks() 104 u32 = "52>>26&0x3C@ 40&0xFFFF0000=0x16030000 &&" in setupIptablesHooks() 107 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in setupIptablesHooks() 109 u32 = "48&0xFFFF0000=0x16FE0000 &&" in setupIptablesHooks() 112 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in setupIptablesHooks() 121 u32 = "0>>22&0x3C@ 12>>26&0x3C@ 0&0x0=0x0"; in setupIptablesHooks() [all …]
|
D | OffloadUtils.cpp | 280 __u32 u32; in tcFilterAddDevBpf() member 288 __u32 u32; in tcFilterAddDevBpf() member 330 .u32 = static_cast<__u32>(bpfFd), in tcFilterAddDevBpf() 350 .u32 = TCA_BPF_FLAG_ACT_DIRECT, in tcFilterAddDevBpf()
|
/system/bt/stack/include/ |
D | bt_types.h | 155 #define UINT32_TO_STREAM(p, u32) \ argument 157 *(p)++ = (uint8_t)(u32); \ 158 *(p)++ = (uint8_t)((u32) >> 8); \ 159 *(p)++ = (uint8_t)((u32) >> 16); \ 160 *(p)++ = (uint8_t)((u32) >> 24); \ 230 #define STREAM_TO_UINT24(u32, p) \ argument 232 (u32) = (((uint32_t)(*(p))) + ((((uint32_t)(*((p) + 1)))) << 8) + \ 236 #define STREAM_TO_UINT32(u32, p) \ argument 238 (u32) = (((uint32_t)(*(p))) + ((((uint32_t)(*((p) + 1)))) << 8) + \ 313 #define UINT32_TO_FIELD(p, u32) \ argument [all …]
|
/system/core/libsparse/ |
D | sparse_defs.h | 24 #define __le32 u32 28 #define __be32 u32 32 #define __u32 u32 38 typedef unsigned int u32; typedef
|
/system/bt/stack/avrc/ |
D | avrc_int.h | 74 #define AVRC_CO_ID_TO_BE_STREAM(p, u32) \ argument 76 *(p)++ = (uint8_t)((u32) >> 16); \ 77 *(p)++ = (uint8_t)((u32) >> 8); \ 78 *(p)++ = (uint8_t)(u32); \ 80 #define AVRC_BE_STREAM_TO_CO_ID(u32, p) \ argument 82 (u32) = (((uint32_t)(*((p) + 2))) + (((uint32_t)(*((p) + 1))) << 8) + \
|
/system/security/keystore2/src/ |
D | audit_log.rs | 25 const TAG_KEY_GENERATED: u32 = 210024; 26 const TAG_KEY_IMPORTED: u32 = 210025; 27 const TAG_KEY_DESTROYED: u32 = 210026; 28 const TAG_KEY_INTEGRITY_VIOLATION: u32 = 210032; 67 fn log_key_event(tag: u32, key: &KeyDescriptor, calling_app: uid_t, success: bool) { in log_key_event() argument 76 fn with_log_context<F>(tag: u32, f: F) in with_log_context() argument
|
D | legacy_migrator.rs | 62 uid: u32, 67 fn new(uid: u32, alias: String) -> Self { in new() argument 73 Uid(u32), 74 User(u32), 79 recently_migrated_super_key: HashSet<u32>, 87 const AID_WIFI: u32 = 1010; 202 (Domain::APP, namespace) => namespace as u32, in list_uid() 289 caller_uid: u32, in with_try_migrate() argument 342 user_id: u32, in with_try_migrate_super_key() argument 376 (Domain::APP, nspace) => nspace as u32, in bulk_delete_uid() [all …]
|
D | legacy_blob.rs | 153 fn read_ne_u32(stream: &mut dyn Read) -> Result<u32> { in read_ne_u32() argument 154 const SIZE: usize = std::mem::size_of::<u32>(); in read_ne_u32() 156 stream.read_exact(&mut buffer).map(|_| u32::from_ne_bytes(buffer)).context("In read_ne_u32.") in read_ne_u32() 329 let length = u32::from_be_bytes( in new_from_stream() 435 TagType((tag.0 as u32 & 0xFF000000u32) as i32) in tag_type() 551 uid: u32, in read_characteristics_file() argument 611 fn read_km_blob_file(&self, uid: u32, alias: &str) -> Result<Option<(Blob, String)>> { in read_km_blob_file() argument 643 pub fn read_legacy_keystore_entry(&self, uid: u32, alias: &str) -> Result<Option<Vec<u8>>> { in read_legacy_keystore_entry() argument 662 pub fn remove_legacy_keystore_entry(&self, uid: u32, alias: &str) -> Result<()> { in remove_legacy_keystore_entry() argument 681 pub fn list_legacy_keystore_entries_for_uid(&self, uid: u32) -> Result<Vec<String>> { in list_legacy_keystore_entries_for_uid() [all …]
|
D | attestation_key_utils.rs | 54 caller_uid: u32, in get_attest_key_info() argument 82 caller_uid: u32, in get_user_generated_attestation_key() argument 98 caller_uid: u32, in load_attest_key_blob_and_cert() argument
|
D | utils.rs | 202 pub fn compat_2_response_code(rc: u32) -> ApcResponseCode { in compat_2_response_code() 225 pub const AID_USER_OFFSET: u32 = cutils_bindgen::AID_USER_OFFSET; 229 pub const AID_KEYSTORE: u32 = cutils_bindgen::AID_KEYSTORE; 232 pub fn uid_to_android_user(uid: u32) -> u32 { in uid_to_android_user() argument
|
D | maintenance.rs | 49 fn delete_user(&self, user_id: u32) -> Result<()>; in delete_user() 76 SUPER_KEY.unlock_screen_lock_bound_key(&mut db.borrow_mut(), user_id as u32, pw) in on_user_password_changed() 87 user_id as u32, in on_user_password_changed() 114 user_id as u32, in add_or_remove_user() 120 .delete_user(user_id as u32) in add_or_remove_user() 144 UserState::get(&mut db.borrow_mut(), &LEGACY_MIGRATOR, &SUPER_KEY, user_id as u32) in get_state()
|
D | authorization.rs | 153 user_id as u32, in on_lock_screen_event() 166 user_id as u32, in on_lock_screen_event() 184 SUPER_KEY.try_unlock_user_with_biometric(&mut db.borrow_mut(), user_id as u32) in on_lock_screen_event() 196 user_id as u32, in on_lock_screen_event()
|
D | apc.rs | 130 counter: u32, 173 uid: u32, 184 rate_limiting: HashMap<u32, RateInfo>, 214 rc: u32, in result() argument
|
D | operation.rs | 176 owner: u32, // Uid of the operation's owner. 205 owner: u32, 218 owner: u32, in new() argument 517 owner: u32, in create_operation() argument 635 pub fn prune(&self, caller: u32, forced: bool) -> Result<(), Error> { in prune() argument 641 let mut owners: HashMap<u32, u64> = HashMap::new(); in prune()
|
/system/security/keystore2/legacykeystore/ |
D | lib.rs | 104 fn list(&mut self, caller_uid: u32) -> Result<Vec<String>> { in list() 118 fn put(&mut self, caller_uid: u32, alias: &str, entry: &[u8]) -> Result<()> { in put() argument 129 fn get(&mut self, caller_uid: u32, alias: &str) -> Result<Option<Vec<u8>>> { in get() argument 141 fn remove(&mut self, caller_uid: u32, alias: &str) -> Result<bool> { in remove() argument 152 fn remove_uid(&mut self, uid: u32) -> Result<()> { in remove_uid() 160 fn remove_user(&mut self, user_id: u32) -> Result<()> { in remove_user() 243 fn delete_user(&self, user_id: u32) -> Result<()> { in delete_user() 255 recently_imported: HashSet<(u32, String)>, 266 const AID_WIFI: u32 = 1010; 288 fn get_effective_uid(uid: i32) -> Result<u32> { in get_effective_uid() argument [all …]
|
/system/security/keystore2/apc_compat/ |
D | apc_compat.rs | 73 type Callback = dyn FnOnce(u32, Option<&[u8]>, Option<&[u8]>); 77 rc: u32, in confirmation_result_callback() argument 155 ) -> Result<(), u32> in prompt_user_confirmation() 157 F: FnOnce(u32, Option<&[u8]>, Option<&[u8]>) + 'static, in prompt_user_confirmation() argument
|
/system/security/keystore2/aaid/ |
D | lib.rs | 23 pub fn get_aaid(uid: u32) -> Result<Vec<u8>, u32> { in get_aaid() argument
|
/system/bt/gd/rust/topshim/src/ |
D | btif.rs | 152 passkey: u32, in SspReply() argument 214 cod: u32, in pin_request_callback() argument 221 cod: u32, in ssp_request_callback() argument 223 pass_key: u32, in ssp_request_callback() argument 256 pub pin_request: Box<dyn Fn(ffi::RustRawAddress, String, u32, bool) + Send>, 257 pub ssp_request: Box<dyn Fn(ffi::RustRawAddress, String, u32, i32, u32) + Send>, 389 cod: u32, in pin_request_callback() argument 398 cod: u32, in ssp_request_callback() argument 400 pass_key: u32, in ssp_request_callback() argument
|
/system/bt/gd/rust/linux/stack/src/ |
D | bluetooth.rs | 43 fn on_bluetooth_state_changed(&self, prev_state: u32, new_state: u32); in on_bluetooth_state_changed() argument 53 callbacks: Vec<(u32, Box<dyn IBluetoothCallback + Send>)>, 54 callbacks_last_id: u32, 80 pub(crate) fn callback_disconnected(&mut self, id: u32) { in callback_disconnected() argument
|
/system/core/trusty/utils/rpmb_dev/ |
D | rpmb_protocol.h | 118 static inline uint32_t rpmb_get_u32(struct rpmb_u32 u32) { in rpmb_get_u32() argument 123 for (i = 0; i < sizeof(u32.byte); i++) in rpmb_get_u32() 124 val = val << 8 | u32.byte[i]; in rpmb_get_u32()
|
/system/extras/ext4_utils/ |
D | ext4_utils.cpp | 57 int bitmap_get_bit(u8* bitmap, u32 bit) { in bitmap_get_bit() 63 void bitmap_clear_bit(u8* bitmap, u32 bit) { in bitmap_clear_bit() 104 aux_info.blocks_per_ind = info.block_size / sizeof(u32); in ext4_create_fs_aux_info() 113 u32 last_group_size = aux_info.len_blocks == info.blocks_per_group in ext4_create_fs_aux_info() 116 u32 last_header_size = 2 + aux_info.inode_table_blocks; in ext4_create_fs_aux_info() 265 (extended ? (u32)gdp->bg_free_blocks_count_hi << 16 : 0) | in read_block_group_descriptors() 268 (extended ? (u32)gdp->bg_free_inodes_count_hi << 16 : 0) | in read_block_group_descriptors() 271 (extended ? (u32)gdp->bg_used_dirs_count_hi << 16 : 0) | gdp->bg_used_dirs_count_lo; in read_block_group_descriptors()
|
/system/bt/gd/rust/linux/service/src/ |
D | iface_bluetooth.rs | 25 fn on_bluetooth_state_changed(&self, prev_state: u32, new_state: u32) {} in on_bluetooth_state_changed() argument
|
/system/security/keystore2/src/database/ |
D | versioning.rs | 18 pub fn create_or_get_version(tx: &Transaction, current_version: u32) -> Result<u32> { in create_or_get_version() argument 66 pub fn update_version(tx: &Transaction, new_version: u32) -> Result<()> { in update_version() 77 pub fn upgrade_database<F>(tx: &Transaction, current_version: u32, upgraders: &[F]) -> Result<()> in upgrade_database() argument 79 F: Fn(&Transaction) -> Result<u32> + 'static, in upgrade_database()
|