/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/hisysevent_wrapper/src/ |
D | cm_report_wrapper.c | 21 static int32_t ReportFaultEvent(const char *funcName, const struct CmContext *cmContext, in ReportFaultEvent() argument 29 struct EventValues eventValues = { cmContext->userId, cmContext->uid, name, errorCode }; in ReportFaultEvent() 37 void CmReport(const char *funcName, const struct CmContext *cmContext, in CmReport() argument 42 (void)ReportFaultEvent(funcName, cmContext, "NULL", errorCode); in CmReport() 45 (void)ReportFaultEvent(funcName, cmContext, (char *)certName->data, errorCode); in CmReport()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/ |
D | cm_ipc_service.c | 40 struct CmContext *cmContext, struct CmParamOut *params, uint32_t paramsCount) in GetInputParams() argument 42 int32_t ret = CmGetProcessInfoForIPC(cmContext); in GetInputParams() 69 struct CmContext cmContext = {0}; in CmIpcServiceGetCertificateList() local 77 ret = GetInputParams(paramSetBlob, ¶mSet, &cmContext, params, CM_ARRAY_SIZE(params)); in CmIpcServiceGetCertificateList() 89 ret = CmServiceGetCertList(&cmContext, store, &certFileList); in CmIpcServiceGetCertificateList() 95 ret = CmServiceGetCertListPack(&cmContext, store, &certFileList, outData); in CmIpcServiceGetCertificateList() 120 struct CmContext cmContext = {0}; in CmIpcServiceGetCertificateInfo() local 130 ret = GetInputParams(paramSetBlob, ¶mSet, &cmContext, params, CM_ARRAY_SIZE(params)); in CmIpcServiceGetCertificateInfo() 142 ret = CmServiceGetCertInfo(&cmContext, &certUri, store, &certificateData, &status); in CmIpcServiceGetCertificateInfo() 170 struct CmContext cmContext = {0}; in CmIpcServiceSetCertStatus() local [all …]
|
D | cm_response.cpp | 49 int32_t CmGetProcessInfoForIPC(struct CmContext *cmContext) in CmGetProcessInfoForIPC() argument 51 if (cmContext == nullptr) { in CmGetProcessInfoForIPC() 62 cmContext->uid = (uint32_t)callingUid; in CmGetProcessInfoForIPC() 63 cmContext->userId = static_cast<uint32_t>(userId); in CmGetProcessInfoForIPC()
|
D | cm_response.h | 27 int32_t CmGetProcessInfoForIPC(struct CmContext *cmContext);
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_check.c | 126 static bool CmCheckMaxInstalledCertCount(const uint32_t store, const struct CmContext *cmContext) in CmCheckMaxInstalledCertCount() argument 134 if (CmServiceGetAppCertList(cmContext, store, fileNames, in CmCheckMaxInstalledCertCount() 152 const struct CmBlob *certAlias, const uint32_t store, const struct CmContext *cmContext) in CmServiceInstallAppCertCheck() argument 177 if (CmCheckMaxInstalledCertCount(store, cmContext) == false) { in CmServiceInstallAppCertCheck()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/hisysevent_wrapper/include/ |
D | cm_report_wrapper.h | 26 void CmReport(const char *funcName, const struct CmContext *cmContext,
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_set_cert_status.cpp | 38 struct CmContext *cmContext = nullptr; member 68 if (context->cmContext != nullptr) { in DeleteSetCertStatusAsyncContext() 69 FreeCmContext(context->cmContext); in DeleteSetCertStatusAsyncContext() 90 napi_value result = ParseCmContext(env, argv[index], context->cmContext); in SetCertStatusParseParams()
|
D | cm_napi_get_system_cert_list.cpp | 40 struct CmContext *cmContext = nullptr; member 65 if (context->cmContext != nullptr) { in DeleteGetCertListAsyncContext() 66 FreeCmContext(context->cmContext); in DeleteGetCertListAsyncContext() 91 napi_value result = ParseCmContext(env, argv[index], context->cmContext); in GetCertListParseParams()
|
D | cm_napi_get_system_cert_info.cpp | 40 struct CmContext *cmContext = nullptr; member 66 if (context->cmContext != nullptr) { in DeleteGetCertInfoAsyncContext() 67 FreeCmContext(context->cmContext); in DeleteGetCertInfoAsyncContext() 96 napi_value result = ParseCmContext(env, argv[index], context->cmContext); in GetSystemCertInfoParseParams()
|
D | cm_napi_common.cpp | 74 napi_value ParseCmContext(napi_env env, napi_value object, CmContext *&cmContext) in ParseCmContext() argument 94 cmContext = static_cast<CmContext *>(CmMalloc(sizeof(CmContext))); in ParseCmContext() 95 if (cmContext == nullptr) { in ParseCmContext() 101 cmContext->userId = static_cast<uint32_t>(atoi(userIdData)); in ParseCmContext() 102 cmContext->uid = static_cast<uint32_t>(atoi(uidData)); in ParseCmContext() 103 … if (strcpy_s(cmContext->packageName, sizeof(cmContext->packageName), packageNameData) != EOK) { in ParseCmContext()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/ |
D | cert_manager_check.h | 34 const struct CmBlob *certAlias, const uint32_t store, const struct CmContext *cmContext);
|
/base/security/certificate_manager/interfaces/kits/napi/include/ |
D | cm_napi_common.h | 67 napi_value ParseCmContext(napi_env env, napi_value object, CmContext *&cmContext);
|