| /base/security/asset/interfaces/inner_api/rs/src/ |
| D | plugin_interface.rs | 79 fn init(&mut self, user_id: i32) -> Result<(), u32>; in init() argument 82 fn add(&mut self, attributes: &ExtDbMap) -> Result<i32, u32>; in add() argument 85 …fn replace(&mut self, condition: &ExtDbMap, attributes: &ExtDbMap) -> std::result::Result<(), u32>; in replace() argument 88 fn query(&mut self, attributes: &ExtDbMap) -> Result<Vec<ExtDbMap>, u32>; in query() argument 91 fn remove(&mut self, attributes: &ExtDbMap) -> Result<i32, u32>; in remove() argument 94 …_with_specific_cond(&mut self, specific_cond: &str, condition_value: &[Value]) -> Result<i32, u32>; in remove_with_specific_cond() argument 97 fn update(&mut self, attributes: &ExtDbMap, attrs_to_update: &ExtDbMap) -> Result<i32, u32>; in update() argument 100 fn begin_transaction(&mut self) -> Result<(), u32>; in begin_transaction() argument 103 fn commit_transaction(&mut self) -> Result<(), u32>; in commit_transaction() argument 106 fn rollback_transaction(&mut self) -> Result<(), u32>; in rollback_transaction() argument [all …]
|
| /base/hiviewdfx/hicollie/interfaces/rust/src/ |
| D | lib.rs | 26 timeout: u32, in SetTimerRust() 29 flag: u32, in SetTimerRust() 42 timeout: u32, in set_timer() 45 flag: u32, in set_timer()
|
| /base/security/asset/services/plugin/src/ |
| D | asset_plugin.rs | 107 fn init(&mut self, user_id: i32) -> std::result::Result<(), u32> { in init() argument 117 fn add(&mut self, attributes: &ExtDbMap) -> std::result::Result<i32, u32> { in add() argument 125 …n replace(&mut self, condition: &ExtDbMap, attributes: &ExtDbMap) -> std::result::Result<(), u32> { in replace() argument 134 fn query(&mut self, attributes: &ExtDbMap) -> std::result::Result<Vec<ExtDbMap>, u32> { in query() argument 143 fn remove(&mut self, attributes: &ExtDbMap) -> std::result::Result<i32, u32> { in remove() argument 155 ) -> std::result::Result<i32, u32> { in remove_with_specific_cond() argument 164 …te(&mut self, attributes: &ExtDbMap, attrs_to_update: &ExtDbMap) -> std::result::Result<i32, u32> { in update() argument 173 fn begin_transaction(&mut self) -> std::result::Result<(), u32> { in begin_transaction() argument 182 fn commit_transaction(&mut self) -> std::result::Result<(), u32> { in commit_transaction() argument 187 fn rollback_transaction(&mut self) -> std::result::Result<(), u32> { in rollback_transaction() argument
|
| /base/msdp/device_status/rust/ipc/service/src/ |
| D | lib.rs | 60 …fn add_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut Borro… in add_watch() 62 …fn remove_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut Bo… in remove_watch() 65 …fn set_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut Borro… in set_param() 68 …fn get_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut Borro… in get_param() 72 …fn control(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut Borrowe… in control() 75 fn on_remote_request(stub: &dyn IDeviceStatus, code: u32, data: &BorrowedMsgParcel<'_>, in on_remote_request() 149 fn send_request(&self, action: CommonAction, intention: Intention, id: u32, in send_request() 204 fn add_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, in add_watch() 210 fn remove_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, in remove_watch() 216 fn set_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel<'_>, in set_param() [all …]
|
| D | identity.rs | 56 pub fn compose_param_id(action: CommonAction, intention: Intention, param: u32) -> u32 in compose_param_id() 76 pub fn split_param(code: u32) -> u32 in split_param()
|
| /base/msdp/device_status/rust/data/sys/src/ |
| D | plugin_manager.rs | 45 …fn add_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut Borro… in add_watch() 47 …fn remove_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut Bo… in remove_watch() 49 …fn set_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut Borro… in set_param() 51 …fn get_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut Borro… in get_param() 54 …fn control(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut Borrowe… in control()
|
| /base/request/request/test/rustest/src/ |
| D | lib.rs | 104 pub fn construct(&self, config: TaskConfig) -> u32 { in construct() 117 pub fn pause(&self, task_id: u32) { in pause() 121 pub fn pause_v10(&self, task_id: u32) { in pause_v10() 125 pub(crate) fn pause_version(&self, version: u32, task_id: u32) { in pause_version() 138 pub fn query(&self, task_id: u32) { in query() 164 pub fn remove(&self, task_id: u32) { in remove() 168 pub fn remove_v10(&self, task_id: u32) { in remove_v10() 172 pub(crate) fn remove_version(&self, version: u32, task_id: u32) { in remove_version() 185 pub fn resume(&self, task_id: u32) { in resume() 197 pub fn start(&self, task_id: u32) { in start() [all …]
|
| /base/msdp/device_status/rust/modules/drag/server/src/ |
| D | lib.rs | 108 fn add_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in add_watch() 114 fn remove_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in remove_watch() 120 fn set_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in set_param() 126 fn get_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in get_param() 132 fn control(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in control()
|
| /base/update/updater/services/rust/hash_signed_data/src/ |
| D | lib.rs | 126 -> *const ImgHashData<u32> in LoadImgHashData() 216 pub unsafe extern fn check_data_hash(img_hash_data: *const ImgHashData<u32>, in check_data_hash() 217 img_name: *const c_char, start: u32, end: u32, hash_value: *const u8, len: usize) -> bool in check_data_hash() 240 pub unsafe extern fn ReleaseImgHashData(hash_data: *const ImgHashData<u32>) in ReleaseImgHashData()
|
| /base/security/code_signature/services/key_enable/src/ |
| D | cert_path_utils.rs | 58 fn from_str(s: &str) -> Result<u32, ()> { in from_str() 86 fn from_str(s: &str) -> Result<u32, ()> { in from_str() 186 F: Fn(&str, &str) -> Result<u32, ()> { in parse_cert_profile() 244 fn issuer_resolver(cert_mode: &str, _cert_type: &str) -> Result<u32, ()> { in issuer_resolver() 252 fn path_resolver(cert_mode: &str, cert_type: &str) -> Result<u32, ()> { in path_resolver() 401 fn convert_cert_type(cert_path_type: u32) -> u32 { in convert_cert_type() 421 cert_path_type: u32, in cert_path_operation() 422 path_length: u32, in cert_path_operation() 462 cert_path_type: u32, in add_cert_path_info() 463 path_length: u32, in add_cert_path_info() [all …]
|
| /base/msdp/device_status/rust/modules/coordination/server/src/ |
| D | lib.rs | 74 fn add_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in add_watch() 81 fn remove_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in remove_watch() 88 fn set_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in set_param() 94 fn get_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in get_param() 101 fn control(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in control()
|
| /base/msdp/device_status/rust/modules/basic/server/src/ |
| D | lib.rs | 91 fn add_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in add_watch() 97 fn remove_watch(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in remove_watch() 103 fn set_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in set_param() 109 fn get_param(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in get_param() 115 fn control(&self, context: &CallingContext, id: u32, data: &BorrowedMsgParcel, in control()
|
| /base/msdp/device_status/rust/ipc/client/src/ |
| D | lib.rs | 175 pub fn add_watch(&self, intention: Intention, id: u32, data: &dyn Serialize, in add_watch() 198 pub fn remove_watch(&self, intention: Intention, id: u32, data: &dyn Serialize, in remove_watch() 223 pub fn set_param(&self, intention: Intention, id: u32, data: &dyn Serialize, in set_param() 247 pub fn get_param(&self, intention: Intention, id: u32, data: &dyn Serialize, in get_param() 272 pub fn control(&self, intention: Intention, id: u32, data: &dyn Serialize, in control()
|
| /base/hiviewdfx/hilog/interfaces/rust/src/ |
| D | lib.rs | 80 pub fn HiLogIsLoggable(domain: u32, tag: *const c_char, level: u32) -> bool; in HiLogIsLoggable() 85 domain: u32, in HiLogPrint() 89 ) -> u32; in HiLogPrint()
|
| /base/request/request/services/src/manage/ |
| D | query.rs | 23 pub(crate) fn get_task(task_id: u32, token: String) -> Option<TaskConfig> { in get_task() 33 pub(crate) fn search(filter: TaskFilter, method: SearchMethod) -> Vec<u32> { in search() 75 pub(crate) fn touch(&self, uid: u64, task_id: u32, token: String) -> Option<TaskInfo> { in touch() 97 pub(crate) fn query(&self, task_id: u32, action: Action) -> Option<TaskInfo> { in query() 126 pub(crate) fn search_task(&self, filter: TaskFilter, uid: u64) -> Vec<u32> { in search_task() 132 pub(crate) fn system_search_task(&self, filter: TaskFilter, bundle_name: String) -> Vec<u32> { in system_search_task()
|
| /base/security/asset/services/core_service/src/ |
| D | stub.rs | 40 code: u32, in on_remote_request() 87 fn on_remote_request(stub: &AssetService, code: u32, data: &mut MsgParcel, reply: &mut MsgParcel) -… in on_remote_request() 128 fn on_extension_request(_stub: &AssetService, code: u32, data: &mut MsgParcel, reply: &mut MsgParce… in on_extension_request()
|
| /base/msdp/device_status/rust/ipc/server/src/ |
| D | fusion_ipc_delegator.rs | 139 fn add_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel, in add_watch() 150 fn remove_watch(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel, in remove_watch() 161 fn set_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel, in set_param() 172 fn get_param(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel, in get_param() 183 fn control(&self, intention: Intention, id: u32, data: &BorrowedMsgParcel, in control()
|
| /base/request/request/services/src/service/client/ |
| D | mod.rs | 68 pub(crate) fn subscribe(&self, tid: u32, pid: u64, uid: u64, token_id: u64) -> ErrorCode { in subscribe() 100 pub(crate) fn notify_task_finished(&self, tid: u32) { in notify_task_finished() 123 tid: u32, in send_response() 125 status_code: u32, in send_response() 222 tid: u32, in handle_send_response() 224 status_code: u32, in handle_send_response()
|
| D | manager.rs | 151 tid: u32, in handle_subscribe() 166 fn handle_unsubscribe(&mut self, tid: u32, tx: Sender<ErrorCode>) { in handle_unsubscribe() 181 fn handle_task_finished(&mut self, tid: u32) { in handle_task_finished()
|
| /base/request/request/services/src/manage/scheduler/qos/ |
| D | direction.rs | 39 pub(crate) fn task_id(&self) -> u32 { in task_id() 47 pub(crate) fn new(uid: u64, task_id: u32, direction: QosLevel) -> Self { in new()
|
| /base/security/asset/services/common/src/ |
| D | process_info.rs | 49 fn init(user_id: u32, uid: u32, process_name: &mut Vec<u8>, app_id: &mut Vec<u8>) -> Self { in init() 62 fn GetCallingProcessInfo(userId: u32, uid: u64, ownerInfo: *mut ProcessInfoFfi) -> i32; in GetCallingProcessInfo()
|
| /base/security/asset/frameworks/definition/src/ |
| D | extension.rs | 82 impl Conversion for u32 { implementation 108 fn get_enum_attr<T: TryFrom<u32, Error = AssetError>>(&self, key: &K) -> Result<T> { in get_enum_attr() 116 fn get_num_attr(&self, key: &K) -> Result<u32> { in get_num_attr()
|
| D | lib.rs | 402 fn get_enum_attr<T: TryFrom<u32, Error = AssetError>>(&self, key: &K) -> Result<T>; in get_enum_attr() 405 fn get_num_attr(&self, key: &K) -> Result<u32>; in get_num_attr()
|
| /base/security/asset/interfaces/inner_api/c/src/ |
| D | lib.rs | 109 query_cnt: u32, in update_asset() 111 update_cnt: u32, in update_asset() 141 pub unsafe extern "C" fn pre_query_asset(query: *const AssetAttr, query_cnt: u32, challenge: *mut A… in pre_query_asset() 177 pub unsafe extern "C" fn query_asset(query: *const AssetAttr, query_cnt: u32, result_set: *mut Asse… in query_asset()
|
| /base/request/request/services/src/service/ |
| D | stub.rs | 56 pub(crate) fn check_task_uid(&self, task_id: u32, uid: u64) -> bool { in check_task_uid() 63 fn on_remote_request(&self, code: u32, data: &mut MsgParcel, reply: &mut MsgParcel) -> i32 { in on_remote_request()
|