| /base/security/asset/services/core_service/src/operations/ |
| D | operation_add.rs | 50 attrs: &AssetMap, in resolve_conflict() 73 fn get_query_condition(attrs: &AssetMap, calling_info: &CallingInfo) -> Result<DbMap> { in get_query_condition() 109 fn check_accessibity_validity(attributes: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in check_accessibity_validity() 139 fn check_sync_permission(attributes: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in check_sync_permission() 159 fn check_wrap_permission(attributes: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in check_wrap_permission() 183 fn check_arguments(attributes: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in check_arguments() 218 fn local_add(attributes: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in local_add()
|
| D | operation_query.rs | 32 fn into_asset_maps(db_results: &Vec<DbMap>) -> Result<Vec<AssetMap>> { in into_asset_maps() 70 fn exec_crypto(calling_info: &CallingInfo, query: &AssetMap, db_data: &mut DbMap) -> Result<()> { in exec_crypto() 88 …y_all(calling_info: &CallingInfo, db_data: &mut DbMap, query: &AssetMap) -> Result<Vec<AssetMap>> { in query_all() 143 …ery_attrs(calling_info: &CallingInfo, db_data: &DbMap, attrs: &AssetMap) -> Result<Vec<AssetMap>> { in query_attrs() 161 fn check_arguments(attributes: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in check_arguments() 174 pub(crate) fn query(calling_info: &CallingInfo, query: &AssetMap) -> Result<Vec<AssetMap>> { in query() function
|
| D | operation_update.rs | 46 fn add_attrs(update: &AssetMap, db_data: &mut DbMap) -> Result<()> { in add_attrs() 68 fn check_arguments(query: &AssetMap, attrs_to_update: &AssetMap, calling_info: &CallingInfo) -> Res… in check_arguments() 97 pub(crate) fn update(calling_info: &CallingInfo, query: &AssetMap, update: &AssetMap) -> Result<()>… in update()
|
| D | operation_query_sync_result.rs | 30 fn check_arguments(attributes: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in check_arguments()
|
| D | operation_post_query.rs | 27 fn check_arguments(query: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in check_arguments()
|
| D | operation_remove.rs | 39 fn check_arguments(attributes: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in check_arguments()
|
| D | common.rs | 128 pub(crate) fn into_asset_map(db_data: &DbMap) -> AssetMap { in into_asset_map() 241 pub(crate) fn inform_asset_ext(calling_info: &CallingInfo, input: &AssetMap) { in inform_asset_ext()
|
| D | operation_pre_query.rs | 31 fn check_arguments(attributes: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in check_arguments()
|
| /base/security/asset/frameworks/ipc/src/ |
| D | lib.rs | 58 pub fn serialize_map(map: &AssetMap, parcel: &mut MsgParcel) -> Result<()> { in serialize_map() 83 pub fn deserialize_map(parcel: &mut MsgParcel) -> Result<AssetMap> { in deserialize_map() 111 pub fn serialize_maps(vec: &Vec<AssetMap>, parcel: &mut MsgParcel) -> Result<()> { in serialize_maps() 123 pub fn deserialize_maps(parcel: &mut MsgParcel) -> Result<Vec<AssetMap>> { in deserialize_maps()
|
| /base/security/asset/interfaces/inner_kits/rs/src/ |
| D | lib.rs | 76 pub fn update(&mut self, query: &AssetMap, attributes_to_update: &AssetMap) -> Result<()> { in update() 89 pub fn query(&mut self, query: &AssetMap) -> Result<Vec<AssetMap>> { in query() method 122 …fn process_one_agr_request(&mut self, attributes: &AssetMap, ipc_code: IpcCode) -> Result<MsgParce… in process_one_agr_request() 143 query: &AssetMap, in process_two_agr_request() 144 attributes_to_update: &AssetMap, in process_two_agr_request()
|
| /base/security/asset/services/core_service/src/operations/common/ |
| D | argument_check.rs | 192 pub(crate) fn check_required_tags(attrs: &AssetMap, required_tags: &[Tag]) -> Result<()> { in check_required_tags() 201 pub(crate) fn check_tag_validity(attrs: &AssetMap, valid_tags: &[Tag]) -> Result<()> { in check_tag_validity() 210 pub(crate) fn check_group_validity(attrs: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in check_group_validity()
|
| /base/security/asset/test/unittest/inner_kits_rust/src/ |
| D | common.rs | 78 pub(crate) fn query_all_by_alias(alias: &[u8]) -> Result<Vec<AssetMap>> { in query_all_by_alias() 85 pub(crate) fn query_attr_by_alias(alias: &[u8]) -> Result<Vec<AssetMap>> { in query_attr_by_alias()
|
| /base/security/asset/frameworks/definition/src/ |
| D | lib.rs | 182 pub type AssetMap = HashMap<Tag, Value>; typedef
|
| /base/security/asset/services/core_service/src/ |
| D | lib.rs | 269 …fn update(&self, calling_info: &CallingInfo, query: &AssetMap, attributes_to_update: &AssetMap) ->… in update() 277 fn query(&self, calling_info: &CallingInfo, query: &AssetMap) -> Result<Vec<AssetMap>> { in query() method
|
| D | sys_event.rs | 183 attributes: &AssetMap, in upload_system_event()
|
| /base/security/asset/interfaces/inner_kits/c/src/ |
| D | lib.rs | 38 fn into_map(attributes: *const AssetAttr, attr_cnt: u32) -> Option<AssetMap> { in into_map()
|
| /base/security/asset/services/db_operator/src/ |
| D | database.rs | 237 pub fn build_db(attributes: &AssetMap, calling_info: &CallingInfo) -> Result<Database> { in build_db()
|