Home
last modified time | relevance | path

Searched refs:funcName (Results 1 – 25 of 88) sorted by relevance

1234

/base/security/dlp_permission_service/frameworks/test/mock/
Dc_mock_common.cpp22 bool IsFuncNeedMock(const std::string& funcName) in IsFuncNeedMock() argument
24 if (g_conditionList.count(funcName) == 0) { in IsFuncNeedMock()
27 DlpCMockCondition& condition = g_conditionList[funcName]; in IsFuncNeedMock()
40 CommonMockFuncT GetMockFunc(const std::string& funcName) in GetMockFunc() argument
42 if (g_conditionList.count(funcName) == 0) { in GetMockFunc()
45 return g_conditionList[funcName].mockCallback; in GetMockFunc()
48 void SetMockConditions(const std::string& funcName, DlpCMockCondition& condition) in SetMockConditions() argument
51 g_conditionList[funcName] = condition; in SetMockConditions()
54 void SetMockCallback(const std::string& funcName, CommonMockFuncT func) in SetMockCallback() argument
56 if (g_conditionList.count(funcName) == 0) { in SetMockCallback()
[all …]
Dc_mock_common.h35 void SetMockConditions(const std::string& funcName, DlpCMockCondition& condition);
39 bool IsFuncNeedMock(const std::string& funcName);
41 CommonMockFuncT GetMockFunc(const std::string& funcName);
42 void SetMockCallback(const std::string& funcName, CommonMockFuncT func);
44 uint32_t GetMockConditionCounts(const std::string& funcName);
/base/security/device_auth/services/frameworks/inc/hiview_adapter/
Dhisysevent_adapter.h31 #define DEV_AUTH_REPORT_CALL_EVENT(reqId, funcName, appId, osAccountId, callResult) argument
32 #define DEV_AUTH_REPORT_FAULT_EVENT(funcName, faultReason, credType, groupType, appId) argument
33 #define DEV_AUTH_REPORT_STATISTIC_EVENT(appId, callResult, funcName, credType, protocolType) argument
39 #define DEV_AUTH_REPORT_CALL_EVENT(reqId, funcName, appId, osAccountId, callResult) \ argument
40 DevAuthReportCallEvent(reqId, funcName, appId, osAccountId, callResult)
41 #define DEV_AUTH_REPORT_FAULT_EVENT(funcName, faultReason, credType, groupType, appId) \ argument
42 DevAuthReportFaultEvent(funcName, faultReason, credType, groupType, appId)
43 #define DEV_AUTH_REPORT_STATISTIC_EVENT(appId, callResult, funcName, credType, protocolType) \ argument
44 DevAuthReportStatisticEvent(appId, callResult, funcName, credType, protocolType)
50 void DevAuthReportCallEvent(int64_t reqId, const char *funcName, const char *appId, int32_t osAccou…
[all …]
/base/telephony/core_service/services/tel_ril/include/
Dtel_ril_base.h68 …inline int32_t Request(const char *funcName, const AppExecFwk::InnerEvent::Pointer &response, int3…
71 …inline int32_t Response(const char *funcName, const HDI::Ril::V1_1::RilRadioResponseInfo &iRespons…
73 …inline int32_t Response(const char *funcName, const HDI::Ril::V1_1::RilRadioResponseInfo &iRespons…
76 …const char *funcName, const HDI::Ril::V1_1::RilRadioResponseInfo &iResponseInfo, std::shared_ptr<T…
78 …inline int32_t Response(const char *funcName, const HDI::Ril::V1_1::RilRadioResponseInfo &iRespons…
81 …inline int32_t Response(const char *funcName, const HDI::Ril::V1_1::RilRadioResponseInfo &iRespons…
83 inline int32_t Notify(const char *funcName, RadioEvent notifyId);
85 inline int32_t Notify(const char *funcName, std::shared_ptr<T> data, RadioEvent notifyId);
87 const char *funcName, std::shared_ptr<TelRilRequest> telRilRequest);
90 …const char *funcName, uint32_t eventId, std::shared_ptr<OHOS::AppExecFwk::EventHandler> handler, T…
[all …]
/base/security/asset/test/unittest/kits_ndk/src/
Dasset_remove_test.cpp60 …Asset_Blob funcName = { .size = strlen(__func__), .data = reinterpret_cast<uint8_t*>(const_cast<ch… variable
62 { .tag = ASSET_TAG_ALIAS, .value.blob = funcName },
63 { .tag = ASSET_TAG_SECRET, .value.blob = funcName },
68 { .tag = ASSET_TAG_DATA_LABEL_NORMAL_1, .value.blob = funcName },
69 { .tag = ASSET_TAG_DATA_LABEL_NORMAL_2, .value.blob = funcName },
70 { .tag = ASSET_TAG_DATA_LABEL_NORMAL_3, .value.blob = funcName },
71 { .tag = ASSET_TAG_DATA_LABEL_NORMAL_4, .value.blob = funcName },
72 { .tag = ASSET_TAG_DATA_LABEL_CRITICAL_1, .value.blob = funcName },
73 { .tag = ASSET_TAG_DATA_LABEL_CRITICAL_2, .value.blob = funcName },
74 { .tag = ASSET_TAG_DATA_LABEL_CRITICAL_3, .value.blob = funcName },
[all …]
Dasset_query_test.cpp61 …Asset_Blob funcName = { .size = strlen(__func__), .data = reinterpret_cast<uint8_t*>(const_cast<ch… variable
63 { .tag = ASSET_TAG_ALIAS, .value.blob = funcName },
64 { .tag = ASSET_TAG_SECRET, .value.blob = funcName },
71 { .tag = ASSET_TAG_ALIAS, .value.blob = funcName },
89 …Asset_Blob funcName = { .size = strlen(__func__), .data = reinterpret_cast<uint8_t*>(const_cast<ch… variable
92 { .tag = ASSET_TAG_ALIAS, .value.blob = funcName },
108 …Asset_Blob funcName = { .size = strlen(__func__), .data = reinterpret_cast<uint8_t*>(const_cast<ch… variable
111 { .tag = ASSET_TAG_ALIAS, .value.blob = funcName },
139 …Asset_Blob funcName = { .size = strlen(__func__), .data = reinterpret_cast<uint8_t*>(const_cast<ch… variable
142 { .tag = ASSET_TAG_ALIAS, .value.blob = funcName },
[all …]
Dasset_update_test.cpp61 …Asset_Blob funcName = { .size = strlen(__func__), .data = reinterpret_cast<uint8_t*>(const_cast<ch… variable
63 { .tag = ASSET_TAG_ALIAS, .value.blob = funcName },
64 { .tag = ASSET_TAG_SECRET, .value.blob = funcName },
70 { .tag = ASSET_TAG_ALIAS, .value.blob = funcName }
94 …Asset_Blob funcName = { .size = strlen(__func__), .data = reinterpret_cast<uint8_t*>(const_cast<ch… variable
96 { .tag = ASSET_TAG_ALIAS, .value.blob = funcName }
109 …Asset_Blob funcName = { .size = strlen(__func__), .data = reinterpret_cast<uint8_t*>(const_cast<ch… variable
111 { .tag = ASSET_TAG_SECRET, .value.blob = funcName }
124 …Asset_Blob funcName = { .size = strlen(__func__), .data = reinterpret_cast<uint8_t*>(const_cast<ch… variable
126 { .tag = ASSET_TAG_ALIAS, .value.blob = funcName }
Dasset_add_test.cpp96 …Asset_Blob funcName = { .size = strlen(__func__), .data = reinterpret_cast<uint8_t*>(const_cast<ch… variable
98 { .tag = ASSET_TAG_ALIAS, .value.blob = funcName },
99 { .tag = ASSET_TAG_SECRET, .value.blob = funcName },
105 { .tag = ASSET_TAG_DATA_LABEL_NORMAL_1, .value.blob = funcName },
106 { .tag = ASSET_TAG_DATA_LABEL_NORMAL_2, .value.blob = funcName },
107 { .tag = ASSET_TAG_DATA_LABEL_NORMAL_3, .value.blob = funcName },
108 { .tag = ASSET_TAG_DATA_LABEL_NORMAL_4, .value.blob = funcName },
109 { .tag = ASSET_TAG_DATA_LABEL_CRITICAL_1, .value.blob = funcName },
110 { .tag = ASSET_TAG_DATA_LABEL_CRITICAL_2, .value.blob = funcName },
111 { .tag = ASSET_TAG_DATA_LABEL_CRITICAL_3, .value.blob = funcName },
[all …]
/base/security/device_auth/services/frameworks/src/hiview_adapter/
Dhisysevent_adapter.cpp36 void DevAuthReportCallEvent(int64_t reqId, const char *funcName, const char *appId, int32_t osAccou… in DevAuthReportCallEvent() argument
43 STR_FUNC_NAME, ((funcName != NULL) ? funcName : STR_UNKNOWN), in DevAuthReportCallEvent()
49 void DevAuthReportFaultEvent(const char *funcName, int32_t faultReason, uint8_t credType, int32_t g… in DevAuthReportFaultEvent() argument
55 STR_FUNCTION_NAME, ((funcName != NULL) ? funcName : STR_UNKNOWN), in DevAuthReportFaultEvent()
62 void DevAuthReportStatisticEvent(const char *appId, int32_t callResult, const char *funcName, uint8… in DevAuthReportStatisticEvent() argument
70 STR_FUNCTION_NAME, ((funcName != NULL) ? funcName : STR_UNKNOWN), in DevAuthReportStatisticEvent()
/base/hiviewdfx/faultloggerd/frameworks/unwinder/
Ddfx_symbols.cpp73 Demangle(buf, strlen(buf), symbol.funcName); in GetNameAndOffsetByPc()
76 name = symbol.funcName; in GetNameAndOffsetByPc()
91 std::string funcName; in GetNameAndOffsetByPc() local
94 if (!elf->GetFuncNameAndOffset(pc, &funcName, &symbol.start, &symbol.end)) { in GetNameAndOffsetByPc()
98 Demangle(funcName.c_str(), funcName.length(), symbol.funcName); in GetNameAndOffsetByPc()
101 name = symbol.funcName; in GetNameAndOffsetByPc()
120 name = symbol.funcName; in GetNameAndOffsetByPc()
129 bool DfxSymbols::Demangle(const char* buf, const int len, std::string& funcName) in Demangle() argument
145 funcName = std::string(name); in Demangle()
148 funcName = std::string(buf, len); in Demangle()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_log.c25 void HksTestLog(uint32_t logLevel, const char *funcName, int32_t lineNo, const char *format, ...) in HksTestLog() argument
40 printf("[INFO] %s [%d]: %s\n", funcName, lineNo, buf); in HksTestLog()
43 printf("[ERROR] %s [%d]: %s\n", funcName, lineNo, buf); in HksTestLog()
46 printf("[WARNING] %s [%d]: %s\n", funcName, lineNo, buf); in HksTestLog()
49 printf("[DEBUG] %s [%d]: %s\n", funcName, lineNo, buf); in HksTestLog()
/base/security/certificate_framework/frameworks/common/v1.0/src/
Dcf_log.c22 void CfLog(uint32_t logLevel, const char *funcName, uint32_t lineNo, const char *format, ...) in CfLog() argument
37 HILOG_INFO(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CfLog()
40 HILOG_ERROR(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CfLog()
43 HILOG_WARN(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CfLog()
46 HILOG_DEBUG(LOG_CORE, "%{public}s[%{public}u]: %{private}s\n", funcName, lineNo, buf); in CfLog()
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/log/
Dcm_log.c25 void CmLog(uint32_t logLevel, const char *funcName, uint32_t lineNo, const char *format, ...) in CmLog() argument
46 HILOG_INFO(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CmLog()
49 HILOG_ERROR(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CmLog()
52 HILOG_WARN(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CmLog()
55 HILOG_DEBUG(LOG_CORE, "%{public}s[%{public}u]: %{private}s\n", funcName, lineNo, buf); in CmLog()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/hisysevent_wrapper/src/
Dcm_report_wrapper.c21 static int32_t ReportFaultEvent(const char *funcName, const struct CmContext *cmContext, in ReportFaultEvent() argument
25 int32_t ret = WriteEvent(funcName, &eventValues); in ReportFaultEvent()
46 void CmReport(const char *funcName, const struct CmContext *cmContext, in CmReport() argument
54 (void)ReportFaultEvent(funcName, cmContext, "NULL", errorCode); in CmReport()
63 (void)ReportFaultEvent(funcName, cmContext, (char *)certName->data, errorCode); in CmReport()
/base/print/print_fwk/frameworks/kits/extension/include/
Djs_print_extension.h34 std::string funcName; member
37 WorkParam(napi_env env, std::string funcName) : env(env), funcName(funcName) in WorkParam()
123 bool Callback(const std::string funcName);
124 bool Callback(const std::string funcName, const std::string &printerId);
125 bool Callback(const std::string funcName, const Print::PrintJob &job);
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_report.c31 void HksReport(const char *funcName, const struct HksProcessInfo *processInfo, in HksReport() argument
35 int32_t ret = ReportFaultEvent(funcName, processInfo, paramSetIn, errorCode); in HksReport()
38 (void)funcName; in HksReport()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
Ddfx_symbols.cpp102 std::string& funcName, uint64_t& funcOffset) in GetFuncNameAndOffsetByPc() argument
110 funcName = Demangle(elfSymbol.nameStr); in GetFuncNameAndOffsetByPc()
115 …LOGU("Symbol relPc: %" PRIx64 ", funcName: %s, funcOffset: %" PRIx64 "", relPc, funcName.c_str(), … in GetFuncNameAndOffsetByPc()
127 std::string funcName; in Demangle() local
131 funcName += LINKER_PREFIX_NAME; in Demangle()
154 funcName += demangleName; in Demangle()
155 return funcName; in Demangle()
/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/
Ddecorator.cpp23 …:UpdateStatInfo(uint64_t startTime, uint64_t endTime, const std::string& funcName, bool isCallSucc) in UpdateStatInfo() argument
27 if (statInfos_.find(funcName) == statInfos_.end()) { in UpdateStatInfo()
29 .name = funcName, in UpdateStatInfo()
36 statInfos_.insert(std::make_pair(funcName, statInfo)); in UpdateStatInfo()
40 StatInfo& statInfo = statInfos_[funcName]; in UpdateStatInfo()
/base/telephony/cellular_call/services/satellite_service_interaction/src/
Dsatellite_call_callback_proxy.cpp127 int32_t SatelliteCallCallbackProxy::WriteCommonInfo(int32_t slotId, const std::string &funcName, Me… in WriteCommonInfo() argument
130 …TELEPHONY_LOGE("[slot%{public}d]%{public}s:Write descriptor token fail!", slotId, funcName.c_str()… in WriteCommonInfo()
134 TELEPHONY_LOGE("[slot%{public}d]%{public}s:Write slotId fail!", slotId, funcName.c_str()); in WriteCommonInfo()
141 … int32_t slotId, const std::string &funcName, MessageParcel &in, const HRilRadioResponseInfo &info) in WriteCommonInfo() argument
143 int32_t ret = WriteCommonInfo(slotId, funcName, in); in WriteCommonInfo()
148 TELEPHONY_LOGE("[slot%{public}d]%{public}s:Write info fail!", slotId, funcName.c_str()); in WriteCommonInfo()
155 int32_t slotId, const std::string &funcName, MessageParcel &in, const SsBaseResult &ssResult) in WriteSsBaseResultCommonInfo() argument
157 int32_t ret = WriteCommonInfo(slotId, funcName, in); in WriteSsBaseResultCommonInfo()
/base/security/huks/frameworks/crypto_lite/cipher/src/
Dcipher_log_lite.c25 void CipherLog(uint32_t logLevel, const char *funcName, uint32_t lineNo, const char *format, ...) in CipherLog() argument
48 HILOG_ERROR(HILOG_MODULE_SCY, "%s[%u]: %s\n", funcName, lineNo, buf); in CipherLog()
50 … HILOG_ERROR(HILOG_MODULE_SCY, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CipherLog()
/base/update/updateservice/frameworks/js/napi/session/include/
Dnapi_session.h97 std::string funcName; in BuildWorkBusinessErr() local
104 GetSessionFuncParameter(funcName, permissionName); in BuildWorkBusinessErr()
106 funcName + " forbidden by permission: " + permissionName + "."; in BuildWorkBusinessErr()
112 GetSessionFuncParameter(funcName, permissionName); in BuildWorkBusinessErr()
114 … "function " + funcName + " can not work correctly due to limited device capabilities."; in BuildWorkBusinessErr()
170 void GetSessionFuncParameter(std::string &funcName, std::string &permissionName);
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/small/
Ddev_auth_dynamic_load.c26 void *DevAuthDlsym(void *handle, const char *funcName) in DevAuthDlsym() argument
28 return LOS_FindSymByName(handle, funcName); in DevAuthDlsym()
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/
Ddev_auth_dynamic_load.c26 void *DevAuthDlsym(void *handle, const char *funcName) in DevAuthDlsym() argument
28 return dlsym(handle, funcName); in DevAuthDlsym()
/base/telephony/sms_mms/services/sms/ims_service_interaction/src/
Dims_sms_callback_proxy.cpp72 int32_t ImsSmsCallbackProxy::WriteCommonInfo(std::string funcName, MessageParcel &in, int32_t slotI… in WriteCommonInfo() argument
75 …TELEPHONY_LOGE("[slot%{public}d] %{public}s Write descriptor token fail!", slotId, funcName.c_str(… in WriteCommonInfo()
79 TELEPHONY_LOGE("[slot%{public}d] %{public}s Write slotId fail!", slotId, funcName.c_str()); in WriteCommonInfo()
86 std::string funcName, int32_t slotId, int32_t eventId, const HRilRadioResponseInfo &info) in SendHRilRadioResponseInfo() argument
90 int32_t ret = WriteCommonInfo(funcName, in, slotId); in SendHRilRadioResponseInfo()
/base/telephony/cellular_call/interfaces/innerkits/satellite/
Dsatellite_call_callback_proxy.h42 int32_t WriteCommonInfo(int32_t slotId, const std::string &funcName, MessageParcel &in);
44 …int32_t slotId, const std::string &funcName, MessageParcel &in, const HRilRadioResponseInfo &info);
46 … int32_t slotId, const std::string &funcName, MessageParcel &in, const SsBaseResult &ssResult);

1234