Home
last modified time | relevance | path

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

123

/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/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);
98 …inline int32_t SendHandlerEvent(const char *funcName, std::shared_ptr<TelRilRequest> telRilRequest,
[all …]
/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_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
30 ret = WriteEvent(funcName, &eventValues); 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_framework/frameworks/common/v1.0/src/
Dcf_log.c27 void CfLog(uint32_t logLevel, const char *funcName, uint32_t lineNo, const char *format, ...) in CfLog() argument
42 HILOG_INFO(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CfLog()
45 HILOG_ERROR(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CfLog()
48 HILOG_WARN(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CfLog()
51 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.c30 void CmLog(uint32_t logLevel, const char *funcName, uint32_t lineNo, const char *format, ...) in CmLog() argument
51 HILOG_INFO(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CmLog()
54 HILOG_ERROR(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CmLog()
57 HILOG_WARN(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CmLog()
60 HILOG_DEBUG(LOG_CORE, "%{public}s[%{public}u]: %{private}s\n", funcName, lineNo, buf); in CmLog()
/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/security/device_auth/services/frameworks/src/hiview_adapter/
Dhisysevent_adapter.cpp27 void DevAuthReportCallEvent(const char *funcName, int32_t osAccountId, int64_t reqId, const char *a… in DevAuthReportCallEvent() argument
34 STR_FUNC_NAME, ((funcName != NULL) ? funcName : STR_UNKNOWN), in DevAuthReportCallEvent()
/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()
Dcipher_log.c24 void CipherLog(uint32_t logLevel, const char *funcName, uint32_t lineNo, const char *format, ...) in CipherLog() argument
46 HILOG_ERROR(LOG_CORE, "%{public}s[%{public}u]: %{public}s\n", funcName, lineNo, buf); in CipherLog()
/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/usb/usb_manager/test/native/mock/src/
Dusb_core_mock_test.cpp346 std::string funcName = usbSrv_->UsbFunctionsToString(UsbSrvSupport::FUNCTION_NONE); variable
347 …USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest::UsbFunctionsToString=%{public}s", funcName.c_str(…
348 …USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest::UsbFunctionsToString=%{public}zu", funcName.size(…
349 ASSERT_TRUE(!(funcName.empty()));
360 std::string funcName = usbSrv_->UsbFunctionsToString(UsbSrvSupport::FUNCTION_HDC); variable
361 …USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest::UsbFunctionsToString=%{public}s", funcName.c_str(…
362 ASSERT_TRUE(!(funcName.empty()));
373 std::string funcName = usbSrv_->UsbFunctionsToString(UsbSrvSupport::FUNCTION_ACM); variable
374 …I(MODULE_USB_SERVICE, "UsbFunctionServiceTest::UsbFunctionsToString=%{public}s", funcName.c_str());
375 ASSERT_TRUE(!(funcName.empty()));
[all …]
/base/telephony/core_service/services/ims_service_interaction/src/
Dims_core_service_callback_proxy.cpp60 int32_t ImsCoreServiceCallbackProxy::WriteCommonInfo(std::string funcName, MessageParcel &in, int32… in WriteCommonInfo() argument
63 …TELEPHONY_LOGE("[slot%{public}d] %{public}s Write descriptor token fail!", slotId, funcName.c_str(… in WriteCommonInfo()
67 TELEPHONY_LOGE("[slot%{public}d] %{public}s Write slotId fail!", slotId, funcName.c_str()); in WriteCommonInfo()
/base/hiviewdfx/faultloggerd/frameworks/unwinder/include/
Ddfx_elf.h61 …virtual bool GetFuncNameAndOffset(uint64_t addr, std::string* funcName, uint64_t* start, uint64_t*…
62 virtual bool GetFuncNameAndOffset(uint64_t addr, std::string* funcName, uint64_t* funcOffset);
92 bool GetFuncNameAndOffset(uint64_t addr, std::string* funcName, uint64_t* start, uint64_t* end);
93 bool GetFuncNameAndOffset(uint64_t addr, std::string* funcName, uint64_t* funcOffset);
Ddfx_symbols.h35 std::string funcName; member
65 bool Demangle(const char* buf, const int len, std::string& funcName);
/base/startup/init/test/benchmark/
Dbenchmark_fwk.h28 static int __attribute__((unused)) AddBenchmark(const std::string &funcName,
32 g_allBenchmarks.emplace(std::string(funcName), std::make_pair(funcPtr, arg));
Dbenchmark_fwk.cpp243 static void RegisterSingleBenchmark(bench_opts_t opts, const std::string &funcName, args_vector *ru… in RegisterSingleBenchmark() argument
245 if (g_allBenchmarks.find(funcName) == g_allBenchmarks.end()) { in RegisterSingleBenchmark()
246 errx(1, "ERROR: No benchmark for function %s", funcName.c_str()); in RegisterSingleBenchmark()
249 benchmark_func func = g_allBenchmarks.at(funcName).first; in RegisterSingleBenchmark()
252 …auto registration = benchmark::RegisterBenchmark(funcName.c_str(), LockAndRun, func, opts.cpuNum)-… in RegisterSingleBenchmark()
/base/usb/usb_manager/test/native/service_unittest/src/
Dusb_core_test.cpp428 std::string funcName = instance.UsbFunctionsToString(UsbSrvSupport::FUNCTION_NONE); variable
429 … USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreTest::UsbFunctionsToString=%{public}s", funcName.c_str());
430 … USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreTest::UsbFunctionsToString=%{public}zu", funcName.size());
431 ASSERT_TRUE(!(funcName.empty()));
444 std::string funcName = instance.UsbFunctionsToString(UsbSrvSupport::FUNCTION_HDC); variable
445 … USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreTest::UsbFunctionsToString=%{public}s", funcName.c_str());
446 ASSERT_TRUE(!(funcName.empty()));
459 std::string funcName = instance.UsbFunctionsToString(UsbSrvSupport::FUNCTION_ACM); variable
460 …I(MODULE_USB_SERVICE, "UsbFunctionServiceTest::UsbFunctionsToString=%{public}s", funcName.c_str());
461 ASSERT_TRUE(!(funcName.empty()));
[all …]
/base/telephony/sms_mms/interfaces/innerkits/ims/
Dims_sms_callback_proxy.h85 int32_t WriteCommonInfo(std::string funcName, MessageParcel &in, int32_t slotId);
87 std::string funcName, int32_t slotId, int32_t eventId, const HRilRadioResponseInfo &info);
/base/update/updateservice/frameworks/js/napi/client/
Dupdate_session.h89 void GetSessionFuncParameter(std::string &funcName, std::string &permissionName) in GetSessionFuncParameter() argument
121 funcName = func; in GetSessionFuncParameter()
135 std::string funcName = ""; in BuildWorkBusinessErr() local
142 GetSessionFuncParameter(funcName, permissionName); in BuildWorkBusinessErr()
144 funcName + " forbidden by permission: " + permissionName + "."; in BuildWorkBusinessErr()
150 GetSessionFuncParameter(funcName, permissionName); in BuildWorkBusinessErr()
152 … "function " + funcName + " can not work correctly due to limited device capabilities."; in BuildWorkBusinessErr()
/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_unwind_remote.cpp234 std::string funcName; in UpdateAndFillFrame() local
238 isGetFuncName = GetArkJsHeapFuncName(funcName, thread); in UpdateAndFillFrame()
240 frame->funcName = funcName; in UpdateAndFillFrame()
245 … if (!isGetFuncName && symbols_->GetNameAndOffsetByPc(as_, frame->pc, funcName, funcOffset)) { in UpdateAndFillFrame()
246 frame->funcName = funcName; in UpdateAndFillFrame()
291 bool DfxUnwindRemote::GetArkJsHeapFuncName(std::string& funcName, std::shared_ptr<DfxThread> thread) in GetArkJsHeapFuncName() argument
317 funcName = std::string(buf, len); in GetArkJsHeapFuncName()

123