Searched refs:idType (Results 1 - 6 of 6) sorted by relevance
/base/security/code_signature/interfaces/innerkits/code_sign_attr_utils/src/ |
H A D | code_sign_attr_utils.c | 45 static int DoSetXpmOwnerId(int fd, uint32_t idType, const char *ownerId) in DoSetXpmOwnerId() argument 49 if (idType >= PROCESS_OWNERID_MAX) { in DoSetXpmOwnerId() 50 LOG_ERROR("Input idType is invalid: %{public}u", idType); in DoSetXpmOwnerId() 54 config.idType = idType; in DoSetXpmOwnerId() 62 LOG_DEBUG("Set type = %{public}u, ownerId = %{public}s", idType, ownerId ? ownerId : "NULL"); in DoSetXpmOwnerId() 67 int InitXpm(int enableJitFort, uint32_t idType, const char *ownerId) in InitXpm() argument 89 if (idType != PROCESS_OWNERID_UNINIT) { in InitXpm() 90 idType in InitXpm() 99 SetXpmOwnerId(uint32_t idType, const char *ownerId) SetXpmOwnerId() argument [all...] |
H A D | ownerid_utils.cpp | 39 uint32_t ConvertIdType(int idType, const char *ownerId) in ConvertIdType() argument 42 return idType; in ConvertIdType() 44 if ((idType != PROCESS_OWNERID_APP) && (idType != PROCESS_OWNERID_APP_TEMP_ALLOW)) { in ConvertIdType() 45 return idType; in ConvertIdType() 47 idType = PROCESS_OWNERID_APP; in ConvertIdType() 61 return idType; in ConvertIdType()
|
/base/security/code_signature/interfaces/innerkits/code_sign_attr_utils/include/ |
H A D | code_sign_attr_utils.h | 73 uint32_t idType; member 77 int InitXpm(int enableJitFort, uint32_t idType, const char *ownerId); 79 int SetXpmOwnerId(uint32_t idType, const char *ownerId);
|
H A D | ownerid_utils.h | 23 uint32_t ConvertIdType(int idType, const char *ownerId);
|
/base/startup/appspawn/modules/common/ |
H A D | appspawn_common.c | 208 int idType = PROCESS_OWNERID_UNINIT; in SetXpmConfig() local 211 idType = PROCESS_OWNERID_DEBUG; in SetXpmConfig() 213 idType = PROCESS_OWNERID_COMPAT; in SetXpmConfig() 215 idType = PROCESS_OWNERID_APP_TEMP_ALLOW; in SetXpmConfig() 218 idType = PROCESS_OWNERID_APP; in SetXpmConfig() 221 int ret = InitXpm(jitfortEnable, idType, ownerId); in SetXpmConfig()
|
/base/global/resource_management/interfaces/js/kits/src/ |
H A D | sendable_resource_manager_napi.cpp | 82 napi_valuetype idType = napi_undefined;
in GetResourceProp() local 84 napi_typeof(env, id, &idType) != napi_ok || idType != napi_number) {
in GetResourceProp()
|
Completed in 4 milliseconds