Home
last modified time | relevance | path

Searched refs:app_id (Results 1 - 6 of 6) sorted by relevance

/base/security/asset/services/common/src/
H A Dprocess_info.rs26 app_id: *mut u8,
49 fn init(user_id: u32, uid: u32, process_name: &mut Vec<u8>, app_id: &mut Vec<u8>) -> Self { in init()
55 hap_info: HapInfoFfi { app_id: app_id.as_mut_ptr(), app_id_len: app_id.len() as u32, app_index: 0 }, in init()
70 pub app_id: Vec<u8>,
118 let mut app_id: Vec<u8> = vec![0u8; 256]; in build() variables
119 let mut process_info_ffi = ProcessInfoFfi::init(user_id, uid as u32, &mut process_name, &mut app_id); in build()
123 app_id.truncate(process_info_ffi.hap_info.app_id_len as usize); in build()
133 ProcessInfoDetail::Hap(HapInfo { app_id, app_inde in build()
[all...]
H A Dcalling_info.rs52 owner_info.append(&mut hap_info.app_id.clone()); in build()
98 let app_id = "test_app_id".as_bytes().to_vec(); in test_build_callig_info_specific_and_hap()
104 process_info_detail: ProcessInfoDetail::Hap(HapInfo { app_id, app_index }), in test_build_callig_info_specific_and_hap()
117 let app_id = "test_app_id".as_bytes().to_vec(); in test_build_callig_info_hap()
124 process_info_detail: ProcessInfoDetail::Hap(HapInfo { app_id, app_index }), in test_build_callig_info_hap()
/base/request/request/services/src/cxx/
H A Durl_policy.cpp74 int32_t UrlPolicy::CheckUrlDomain(std::string app_id, std::string domain_type, std::string url) in CheckUrlDomain() argument
85 res = this->checkUrlFunc(app_id, domain_type, url); in CheckUrlDomain()
91 int32_t PolicyCheckUrlDomain(CStringWrapper app_id, CStringWrapper domain_type, CStringWrapper url) in PolicyCheckUrlDomain() argument
93 std::string app(app_id.cStr, app_id.len); in PolicyCheckUrlDomain()
/base/request/request/services/include/
H A Durl_policy.h41 int32_t CheckUrlDomain(std::string app_id, std::string domain_type, std::string url);
57 int32_t PolicyCheckUrlDomain(CStringWrapper app_id, CStringWrapper domain_type, CStringWrapper url);
/base/request/request/services/src/task/
H A Dclient.rs207 app_id: String,
212 fn new(app_id: String, domain_type: String) -> Self { in new()
214 app_id, in new()
227 &self.app_id, &self.domain_type, &url in intercept_redirect_request()
229 match check_url_domain(&self.app_id, &self.domain_type, url).unwrap_or(true) { in intercept_redirect_request()
/base/security/asset/services/core_service/src/common_event/
H A Dstart_event.rs37 let Some(app_id) = want.get(APP_ID) else { in handle_package_removed()
58 let owner = format!("{}_{}", app_id, app_index); in handle_package_removed()

Completed in 3 milliseconds