Home
last modified time | relevance | path

Searched full:app_id (Results 1 – 25 of 31) sorted by relevance

12

/base/security/asset/services/common/src/
Dprocess_info.rs29 app_id: MutAssetBlob, field
52 app_id: &mut Vec<u8>, in build()
56 let app_id = MutAssetBlob { size: app_id.len() as u32, data: app_id.as_mut_ptr() }; in build() localVariable
69 hap_info: HapInfoFfi { app_index: 0, app_id, group_id, developer_id }, in build()
84 pub app_id: Vec<u8>, field
138 let mut app_id = vec![0u8; 256]; in build() localVariable
143 …let mut process_info_ffi = ProcessInfoFfi::build(&group_id, &mut process_name, &mut app_id, &mut d… in build()
147 app_id.truncate(process_info_ffi.hap_info.app_id.size as usize); in build()
160 app_id, in build()
Dcalling_info.rs67 owner_info.append(&mut hap_info.app_id.clone()); in build()
160 let app_id = "test_app_id".as_bytes().to_vec(); in test_build_callig_info_specific_and_hap() localVariable
168 …process_info_detail: ProcessInfoDetail::Hap(HapInfo { app_id, app_index, group_id, developer_id }), in test_build_callig_info_specific_and_hap()
181 let app_id = "test_app_id".as_bytes().to_vec(); in test_build_callig_info_hap() localVariable
190 …process_info_detail: ProcessInfoDetail::Hap(HapInfo { app_id, app_index, group_id, developer_id }), in test_build_callig_info_hap()
/base/request/request/services/src/cxx/
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/src/utils/
Durl_policy.rs16 pub(crate) fn check_url_domain(app_id: &str, domain_type: &str, url: &str) -> Option<bool> { in check_url_domain()
17 match unsafe { PolicyCheckUrlDomain(app_id.into(), domain_type.into(), url.into()) } { in check_url_domain()
26 app_id: CStringWrapper, in PolicyCheckUrlDomain()
/base/notification/distributed_notification_service/services/distributed/src/
Ddistributed_screen_status_manager.cpp27 const std::string APP_ID = "notification_service"; variable
64 …int32_t ret = DistributedHardware::DeviceManager::GetInstance().GetTrustedDeviceList(APP_ID, "", d… in OnDeviceDisconnected()
77 DistributedKv::AppId appId = {.appId = APP_ID}; in OnDeviceDisconnected()
92 …int32_t ret = DistributedHardware::DeviceManager::GetInstance().InitDeviceManager(APP_ID + STORE_I… in GetKvDataManager()
100 …ret = DistributedHardware::DeviceManager::GetInstance().RegisterDevStateCallback(APP_ID + STORE_ID… in GetKvDataManager()
147 DistributedKv::AppId appId = {.appId = APP_ID}; in GetKvStore()
153 … DistributedHardware::DeviceManager::GetInstance().UnRegisterDevStateCallback(APP_ID + STORE_ID); in GetKvStore()
191 …int32_t ret = DistributedHardware::DeviceManager::GetInstance().GetTrustedDeviceList(APP_ID, "", d… in CheckRemoteDevicesIsUsing()
241 …int32_t ret = DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(APP_ID, localDe… in SetLocalScreenStatus()
Ddistributed_database.cpp25 const std::string APP_ID = "notification_service"; variable
44 …int32_t ret = DistributedHardware::DeviceManager::GetInstance().InitDeviceManager(APP_ID + STORE_I… in GetKvDataManager()
52 …ret = DistributedHardware::DeviceManager::GetInstance().RegisterDevStateCallback(APP_ID + STORE_ID… in GetKvDataManager()
101 DistributedKv::AppId appId = {.appId = APP_ID}; in GetKvStore()
107 … DistributedHardware::DeviceManager::GetInstance().UnRegisterDevStateCallback(APP_ID + STORE_ID); in GetKvStore()
273 …int32_t ret = DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(APP_ID, deviceI… in GetLocalDeviceId()
302 …int32_t ret = DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(APP_ID, localIn… in GetLocalDeviceInfo()
323 …int32_t ret = DistributedHardware::DeviceManager::GetInstance().GetTrustedDeviceList(APP_ID, "", d… in GetDeviceInfoList()
344 DistributedKv::AppId appId = {.appId = APP_ID}; in RecreateDistributedDB()
Ddistributed_preferences_database.cpp23 const std::string APP_ID = "notification_service"; variable
68 DistributedKv::AppId appId = {.appId = APP_ID}; in GetKvStore()
191 DistributedKv::AppId appId = {.appId = APP_ID}; in ClearDatabase()
/base/security/asset/services/core_service/src/common_event/
Dstart_event.rs32 const APP_ID: &str = "appId"; constant
50 let Some(app_id) = self.0.get(APP_ID) else { in parse()
53 let app_id = app_id.to_string(); in parse() localVariable
87 Ok(PackageInfo { user_id, app_index, app_id, developer_id, group_ids, bundle_name }) in parse()
93 let owner_str = format!("{}_{}", package_info.app_id, package_info.app_index); in handle_package_removed()
/base/notification/distributed_notification_service/services/ans/src/notification_extension/
Ddistributed_device_manager.cpp25 constexpr char const APP_ID[] = "com.ohos.notification_service.3203"; variable
76 int32_t ret = DistributedHardware::DeviceManager::GetInstance().GetTrustedDeviceList(APP_ID, "", in InitTrustList()
99 int32_t ret = DeviceManager::GetInstance().InitDeviceManager(APP_ID, initCallback_); in RegisterDms()
108 …ret = DistributedHardware::DeviceManager::GetInstance().RegisterDevStateCallback(APP_ID, "", state… in RegisterDms()
Ddistributed_extension_service.cpp49 constexpr char const APP_ID[] = "com.ohos.notification_service.3203"; variable
196 int32_t result = DeviceManager::GetInstance().GetLocalDeviceInfo(APP_ID, deviceInfo); in InitDans()
241 int32_t ret = DeviceManager::GetInstance().GetUdidByNetworkId(APP_ID, networkId, udid); in TransDeviceIdToUdid()
/base/security/code_signature/services/key_enable/src/
Dcert_path_utils.rs351 pub app_id: u64, field
429 app_id: String, in cert_path_operation()
440 if !app_id.is_empty() { in cert_path_operation()
441 info!(LOG_LABEL, "sending APP_ID '{}' through ioctl", @public(app_id)); in cert_path_operation()
446 let app_id_cstring = CString::new(app_id).expect("convert to app_id_cstring error!"); in cert_path_operation()
460 app_id: app_id_cstring.as_ptr() as u64, in cert_path_operation()
477 app_id: String, in add_cert_path_info()
484 app_id, in add_cert_path_info()
496 app_id: String, in remove_cert_path_info()
503 app_id, in remove_cert_path_info()
Dprofile_utils.rs187 let app_id = match profile_json[PROFILE_BUNDLE_INFO_KEY][PROFILE_APP_IDENTIFIER_KEY] { in get_cert_details() localVariable
199 Ok((subject, issuer, profile_type, app_id)) in get_cert_details()
351 let (subject, issuer, profile_type, app_id) = in process_profile()
361 … if add_cert_path_info(subject, issuer, profile_type, app_id, DEFAULT_MAX_CERT_PATH_LEN).is_err() { in process_profile()
462 let (subject, issuer, profile_type, app_id) = process_data(&profile_data)?; in enable_key_in_profile_internal()
482 … if add_cert_path_info(subject, issuer, profile_type, app_id, DEFAULT_MAX_CERT_PATH_LEN).is_err() { in enable_key_in_profile_internal()
507 let (subject, issuer, profile_type, app_id) = process_data(&profile_data)?; in process_remove_bundle()
515 …if remove_cert_path_info(subject, issuer, profile_type, app_id, DEFAULT_MAX_CERT_PATH_LEN).is_err(… in process_remove_bundle()
/base/security/code_signature/test/unittest/
Dadd_cert_path_test.cpp60 static CertPathInfo MakeCertPathInfo(const char *signing, const char *issuer, const char *app_id, in MakeCertPathInfo() argument
66 arg.app_id = reinterpret_cast<uint64_t>(app_id); in MakeCertPathInfo()
69 arg.app_id_length = strlen(app_id); in MakeCertPathInfo()
/base/request/request/services/include/
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/
Dclient.rs223 app_id: String, field
228 fn new(app_id: String, domain_type: String) -> Self { in new()
230 app_id, in new()
243 &self.app_id, &self.domain_type, &url in intercept_redirect_request()
245 match check_url_domain(&self.app_id, &self.domain_type, url).unwrap_or(true) { in intercept_redirect_request()
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_database_operator.cpp24 const char APP_ID[] = "os_account_mgr_service"; variable
39 APP_ID, OS_ACCOUNT_STORE_ID, Constants::SYNC_OS_ACCOUNT_DATABASE); in InnerInit()
75 APP_ID, storeID, Constants::SYNC_OS_ACCOUNT_DATABASE); in GetOsAccountListFromDatabase()
163 APP_ID, storeID, Constants::SYNC_OS_ACCOUNT_DATABASE); in GetOsAccountFromDatabase()
241 APP_ID, storeID, Constants::SYNC_OS_ACCOUNT_DATABASE); in GetAccountListFromStoreID()
/base/security/device_auth/
Dhisysevent.yaml19 APP_ID: {type: STRING, desc: app id}
45 APP_ID: {type: STRING, desc: app id}
/base/security/code_signature/services/key_enable/utils/include/
Dcert_path.h36 uint64_t app_id; member
/base/notification/distributed_notification_service/services/ans/include/
Dpreferences_constant.h24 constexpr char APP_ID[] = "notification_service"; variable
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_attest_key_test_common.h51 #define APP_ID "test_app_id" macro
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/
Dtoken_field_const.cpp25 const std::string TokenFiledConst::FIELD_APP_ID = "app_id";
Daccess_token_db_util.cpp25 "description", "permission_name", "device_id", "bundle_name", "app_id",
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/load/
Dprocessor_config_loader.cpp40 const char* const APP_ID = "appId"; variable
212 return ParseStringProp(APP_ID, conf_.appId, IsValidAppId); in ParseAppIdProp()
305 { .key = APP_ID, .func = [this]() -> int { return this->ParseAppIdProp(); } }, in ParseProcessorConfig()
/base/hiviewdfx/hiappevent/frameworks/ets/ani/hiappevent/include/
Dhiappevent_ani_parameter_name.h26 const std::string APP_ID = "appId"; variable
/base/security/asset/services/os_dependency/src/
Dsystem_event_wrapper.cpp31 const char * const APP_ID = "appId"; variable
67 std::string appId = want.GetStringParam(APP_ID); in HandlePackageRemoved()

12