Home
last modified time | relevance | path

Searched refs:LOG_ERROR (Results 1 - 25 of 131) sorted by relevance

123456

/base/security/access_token/interfaces/innerkits/el5filekeymanager/src/
H A Del5_filekey_manager_proxy.cpp38 LOG_ERROR("Failed to write WriteInterfaceToken."); in AcquireAccess()
42 LOG_ERROR("Failed to WriteInt32(%{public}d).", type); in AcquireAccess()
50 LOG_ERROR("Remote service is null."); in AcquireAccess()
55 LOG_ERROR("SendRequest failed, result: %{public}d.", result); in AcquireAccess()
66 LOG_ERROR("Failed to write WriteInterfaceToken."); in ReleaseAccess()
70 LOG_ERROR("Failed to WriteInt32(%{public}d).", type); in ReleaseAccess()
78 LOG_ERROR("Remote service is null."); in ReleaseAccess()
83 LOG_ERROR("SendRequest failed, result: %{public}d.", result); in ReleaseAccess()
94 LOG_ERROR("Failed to write WriteInterfaceToken."); in GenerateAppKey()
98 LOG_ERROR("Faile in GenerateAppKey()
[all...]
H A Del5_filekey_callback_stub.cpp36 LOG_ERROR("get unexpected descriptor"); in OnRemoteRequest()
43 LOG_ERROR("Parse infos failed, results oversize %{public}d.", infosSize); in OnRemoteRequest()
49 LOG_ERROR("Parse AppKetInfo failed."); in OnRemoteRequest()
/base/security/access_token/services/el5filekeymanager/src/
H A Del5_filekey_manager_service.cpp87 LOG_ERROR("Subscribe common event failed."); in Init()
103 LOG_ERROR("Policy not exist, just start service."); in Init()
109 LOG_ERROR("GetExtInstance failed."); in Init()
115 LOG_ERROR("Ext instance is null."); in Init()
129 LOG_ERROR("GetSystemAbilityManager is null."); in PostDelayedUnloadTask()
134 LOG_ERROR("Unload el5_filekey_manager failed."); in PostDelayedUnloadTask()
160 LOG_ERROR("Failed to get policy."); in AcquireAccess()
178 LOG_ERROR("Failed to get policy."); in ReleaseAccess()
190 LOG_ERROR("Generate app key permission denied."); in GenerateAppKey()
195 LOG_ERROR("Faile in GenerateAppKey()
[all...]
H A Del5_filekey_callback_proxy.cpp35 LOG_ERROR("Failed to write WriteInterfaceToken."); in OnRegenerateAppKey()
39 LOG_ERROR("Failed to WriteUint32(%{public}d).", static_cast<uint32_t>(infos.size())); in OnRegenerateAppKey()
44 LOG_ERROR("Failed to write AppKeyInfo."); in OnRegenerateAppKey()
53 LOG_ERROR("Remote service is null."); in OnRegenerateAppKey()
60 LOG_ERROR("SendRequest failed, result: %{public}d.", result); in OnRegenerateAppKey()
H A Del5_filekey_manager_service_ability.cpp45 LOG_ERROR("The El5FilekeyManagerService has existed."); in OnStart()
52 LOG_ERROR("Failed to init the El5FilekeyManagerService instance."); in OnStart()
65 LOG_ERROR("el5 manager start, invalid userId:%{public}s", strUserId.c_str()); in OnStart()
70 LOG_ERROR("Failed to publish El5FilekeyManagerService to SystemAbilityMgr"); in OnStart()
/base/security/code_signature/interfaces/innerkits/local_code_sign/src/
H A Dlocal_code_sign_client.cpp35 LOG_ERROR("Create LocalCodeSignSvrRecipient failed."); in LocalCodeSignClient()
51 LOG_ERROR("OnRemoteDied remote is nullptr."); in OnRemoteDied()
64 LOG_ERROR("Get system ability mgr failed."); in StartSA()
73 LOG_ERROR("Load systemAbility failed, systemAbilityId:%{public}d ret code:%{public}d", in StartSA()
81 LOG_ERROR("code sign load SA timeout"); in StartSA()
93 LOG_ERROR("localCodeSignSvrRecipient_ is nullptr."); in FinishStartSA()
97 LOG_ERROR("AddDeathRecipient failed"); in FinishStartSA()
101 LOG_ERROR("Get code sign proxy failed."); in FinishStartSA()
123 LOG_ERROR("Get system ability mgr failed."); in CheckLocalCodeSignProxy()
129 LOG_ERROR("AddDeathRecipien in CheckLocalCodeSignProxy()
[all...]
H A Dlocal_code_sign_load_callback.cpp36 LOG_ERROR("start systemabilityId is not codesignSAId!"); in OnLoadSystemAbilitySuccess()
40 LOG_ERROR("remoteObject is nullptr"); in OnLoadSystemAbilitySuccess()
48 LOG_ERROR("load local code sign SA failed, systemAbilityId: %{public}d", systemAbilityId); in OnLoadSystemAbilityFail()
H A Dlocal_code_sign_proxy.cpp62 LOG_ERROR("Write interface token failed."); in SignLocalCode()
66 LOG_ERROR("Write string failed."); in SignLocalCode()
72 LOG_ERROR("Write ownerID string failed."); in SignLocalCode()
97 LOG_ERROR("Invalid reply data size."); in ReadResultFromReply()
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
H A Dapp_verify.c121 LOG_ERROR("fstat error, %d, filelen: %d", ret, (int)fileSt.st_size); in GetSignHead()
125 LOG_ERROR("find signature error"); in GetSignHead()
129 LOG_ERROR("hapCoreDirOffset error, %d", signInfo->hapCoreDirOffset); in GetSignHead()
134 LOG_ERROR("lseek error, %d", ret); in GetSignHead()
141 LOG_ERROR("readLen %d, %d", readLen, (int)sizeof(HwSignHead)); in GetSignHead()
153 LOG_ERROR("sign head magic invalid"); in GetSignHead()
162 LOG_ERROR("fullSignBlockOffset invalid"); in GetSignHead()
181 LOG_ERROR("find block head , read err %d, %d", readLen, (int)sizeof(BlockHead)); in FindBlockHead()
185 LOG_ERROR("find block type: %0x", type); in FindBlockHead()
191 LOG_ERROR("ge in FindBlockHead()
[all...]
H A Dapp_provision.c35 LOG_ERROR("memset failed"); in ProfInit()
55 LOG_ERROR("malloc error: %d", objLen + 1); in GetStringTag()
61 LOG_ERROR("strcpy error: %d", ret); in GetStringTag()
90 LOG_ERROR("array num 0"); in GetStringArrayTag()
96 LOG_ERROR("value is null"); in GetStringArrayTag()
106 LOG_ERROR("valuestring is NULL"); in GetStringArrayTag()
116 LOG_ERROR("str cpy error : %d", ret); in GetStringArrayTag()
132 LOG_ERROR("failed to get validity"); in GetProfValidity()
138 LOG_ERROR("failed to get not-before"); in GetProfValidity()
145 LOG_ERROR("faile in GetProfValidity()
[all...]
H A Dapp_centraldirectory.c50 LOG_ERROR("memcpy_s fail"); in HapPutData()
58 LOG_ERROR("int32 value of out range: %d", value); in HapSetInt32()
73 LOG_ERROR("create buf fail, buf is null"); in CreateHapBuffer()
78 LOG_ERROR("create buf fail"); in CreateHapBuffer()
104 LOG_ERROR("mmap not ok"); in GetEocd()
113 LOG_ERROR("copy error"); in GetEocd()
132 LOG_ERROR("copy error"); in GetEocd()
141 LOG_ERROR("can not find eocd"); in GetEocd()
154 LOG_ERROR("find Eocd fail"); in FindSignature()
162 LOG_ERROR("cor in FindSignature()
[all...]
H A Dapp_file.c32 LOG_ERROR("file open error"); in InitVerify()
38 LOG_ERROR("path malloc error"); in InitVerify()
43 LOG_ERROR("file path error"); in InitVerify()
56 LOG_ERROR("MAP_FAILED %d", g_memoryPageSize); in InitVerify()
88 LOG_ERROR("MAP_FAILED"); in HapMMap()
/base/security/appverify/interfaces/innerkits/appverify_lite/include/
H A Dapp_common.h40 LOG_ERROR(#v" is null"); \
49 LOG_ERROR(#v" is null"); \
58 LOG_ERROR(#v" is null"); \
67 LOG_ERROR(#v" not ok"); \
76 LOG_ERROR(#v" is null"); \
85 LOG_ERROR(#v" not ok"); \
/base/security/code_signature/test/unittest/mock/src/
H A Dhks_api_mock_helper.cpp48 LOG_ERROR("PemData is nullptr"); in PemToDer()
53 LOG_ERROR("Transferred in after malloc derData address."); in PemToDer()
58 LOG_ERROR("The length of derData is not equal to %{public}d", derLen); in PemToDer()
64 LOG_ERROR("Fail to create bio for cert."); in PemToDer()
70 LOG_ERROR("Fail to read bio"); in PemToDer()
84 LOG_ERROR("Memcpy failed"); in PemToDer()
/base/security/code_signature/utils/src/
H A Dhuks_attest_verifier.cpp93 LOG_ERROR("Open file failed."); in AddCAToStore()
104 LOG_ERROR("add cert to X509 store failed"); in AddCAToStore()
133 LOG_ERROR("init X509_STORE_CTX failed."); in VerifyIssurCert()
142 LOG_ERROR("Verify cert failed, msg = %{public}s", X509_verify_cert_error_string(index)); in VerifyIssurCert()
159 LOG_ERROR("get pub key failed."); in VerifySigningCert()
163 LOG_ERROR("verify signing cert failed."); in VerifySigningCert()
208 LOG_ERROR("Value is unexpected"); in ParseASN1Sequence()
225 LOG_ERROR("Get extension failed."); in VerifyExtension()
234 LOG_ERROR("Get ans1 object faild"); in VerifyExtension()
279 LOG_ERROR("Verif in VerifyCertAndExtension()
[all...]
/base/security/code_signature/services/local_code_sign/src/
H A Dlocal_sign_key.cpp94 LOG_ERROR("set challenge failed."); in SetChallenge()
111 LOG_ERROR("HksKeyExist fail, ret is %{public}d!", ret); in InitKey()
132 LOG_ERROR("Alloc memory for cert blob failed."); in GetSignCert()
150 LOG_ERROR("QueryCertChain failed."); in GetCertChain()
174 LOG_ERROR("HksAttestKey fail, ret is %{public}d!", ret); in QueryCertChain()
231 LOG_ERROR("HksGenerateKey failed, ret is %{public}d!", ret); in GenerateKey()
248 LOG_ERROR("Data to sign is too long"); in Sign()
282 LOG_ERROR("HksInit failed"); in SignByHUKS()
293 LOG_ERROR("Alloc memory for blob failed."); in SignByHUKS()
298 LOG_ERROR("HksUpdat in SignByHUKS()
[all...]
H A Dlocal_code_sign_service.cpp54 LOG_ERROR("Init LocalCodeSignService failed."); in OnStart()
59 LOG_ERROR("Publish service failed."); in OnStart()
80 LOG_ERROR("Get system ability mgr failed."); in DelayUnloadTask()
85 LOG_ERROR("Remove system ability failed."); in DelayUnloadTask()
108 LOG_ERROR("Init key failed."); in InitLocalCertificate()
118 LOG_ERROR("ownerID len %{public}zu should not exceed %{public}u", ownerID.length(), MAX_OWNER_ID_LEN); in SignLocalCode()
128 LOG_ERROR("Generate formatted fsverity digest failed."); in SignLocalCode()
/base/security/code_signature/test/unittest/utils/src/
H A Dxpm_common.cpp47 LOG_ERROR("init xpm region failed"); in GetXpmRegion()
55 LOG_ERROR("open xpm proc file failed(%{public}s)", strerror(errno)); in GetXpmRegion()
62 LOG_ERROR("read xpm proc file failed(%{public}s)", strerror(errno)); in GetXpmRegion()
68 LOG_ERROR("sscanf xpm region string failed(%{public}s)", strerror(errno)); in GetXpmRegion()
/base/security/code_signature/utils/include/
H A Dhuks_param_set.h45 LOG_ERROR("HksInitParamSet failed"); in Init()
50 LOG_ERROR("HksAddParams failed"); in Init()
56 LOG_ERROR("HksBuildParamSet failed"); in Init()
H A Dfsverity_utils_helper.h57 LOG_ERROR("File is already opened."); in Open()
62 LOG_ERROR("Open file failed, path = %{public}s, errno = <%{public}d, %{public}s>", in Open()
73 LOG_ERROR("Stat file failed, errno = <%{public}d, %{public}s>", in GetFileSize()
/base/security/code_signature/services/key_enable/utils/src/
H A Dkey_utils.cpp40 LOG_ERROR(LABEL, "Add certificate failed, errno = <%{public}d, %{public}s>", in AddKey()
55 LOG_ERROR(LABEL, "Restrict keyring failed, errno = <%{public}d, %{public}s>", in KeyctlRestrictKeyring()
H A Ddevices_security.cpp67 LOG_ERROR(LABEL, "open %{public}s failed, %{public}s", in ParseCMDLine()
76 LOG_ERROR(LABEL, "Alloc buffer for reading cmdline failed."); in ParseCMDLine()
82 LOG_ERROR(LABEL, "Read %{public}s failed, %{public}s.", in ParseCMDLine()
/base/security/code_signature/interfaces/innerkits/jit_code_sign/src/
H A Djit_code_signer_hybrid.cpp49 LOG_ERROR("Index = %{public}d not equal signtable size = %{public}zu.", in SignInstruction()
80 LOG_ERROR("Update no skipped instruction failed at offset" \ in PatchInstruction()
87 LOG_ERROR("Offset invalid"); in PatchInstruction()
112 LOG_ERROR("Validate insn (%{public}8x) failed at offset = %{public}x, " \ in ValidateSubCode()
151 LOG_ERROR("Validate insn (%{public}x) without context failed at index = %{public}x," \ in ValidateCodeCopy()
H A Djit_code_signer_single.cpp46 LOG_ERROR("Index = %{public}d not equal signtable size = %{public}zu.", in SignInstruction()
63 LOG_ERROR("Offset invalid"); in PatchInstruction()
87 LOG_ERROR("validate insn(%{public}x) without context failed at index = " \ in ValidateCodeCopy()
/base/security/code_signature/interfaces/innerkits/code_sign_attr_utils/src/
H A Dcode_sign_attr_utils.c38 LOG_ERROR("Ioctl cmd %{public}x failed: %{public}s (ignore)", cmd, strerror(errno)); in XpmIoctl()
50 LOG_ERROR("Input idType is invalid: %{public}u", idType); in DoSetXpmOwnerId()
57 LOG_ERROR("Memcpy ownerId failed, ownerId: %{public}s", ownerId); in DoSetXpmOwnerId()

Completed in 13 milliseconds

123456