/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | ohos_js_env_logger.cpp | 32 void JsEnvLogger(JsEnv::JsEnvLogLevel level, const char* fileName, const char* functionName, int line, in JsEnvLogger() argument 42 cFormat.c_str(), fileName, functionName, line, printArgs); in JsEnvLogger() 46 cFormat.c_str(), fileName, functionName, line, printArgs); in JsEnvLogger() 50 cFormat.c_str(), fileName, functionName, line, printArgs); in JsEnvLogger() 54 cFormat.c_str(), fileName, functionName, line, printArgs); in JsEnvLogger() 58 cFormat.c_str(), fileName, functionName, line, printArgs); in JsEnvLogger() 62 cFormat.c_str(), fileName, functionName, line, printArgs); in JsEnvLogger()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/common/ |
H A D | js_api_perf.cpp | 22 void JsApiPerf::InsertJsBeginLog(const std::string& functionName, int64_t timeStamp) in InsertJsBeginLog() argument 25 .name = functionName, in InsertJsBeginLog() 31 void JsApiPerf::InsertJsEndLog(const std::string& functionName, int64_t timeStamp) in InsertJsEndLog() argument 37 if (itemName == functionName) { in InsertJsEndLog() 40 InsertPerfLog(functionName, diff); in InsertJsEndLog() 45 void JsApiPerf::InsertPerfLog(const std::string& functionName, int64_t timeConsumed) in InsertPerfLog() argument 47 data_[functionName].emplace_back(timeConsumed); in InsertPerfLog()
|
H A D | js_api_perf.h | 38 void InsertJsBeginLog(const std::string& functionName, int64_t timeStamp = 0); 39 void InsertJsEndLog(const std::string& functionName, int64_t timeStamp = 0); 44 void InsertPerfLog(const std::string& functionName, int64_t timeConsumed);
|
/foundation/arkui/ace_engine/interfaces/napi/kits/component_test/ |
H A D | js_component_test_matcher.cpp | 193 const char* functionName = static_cast<const char*>(data); in GenericBoolCallback() local 194 if (std::strcmp(functionName, "clickable") == 0) { in GenericBoolCallback() 196 } else if (std::strcmp(functionName, "longPressable") == 0) { in GenericBoolCallback() 198 } else if (std::strcmp(functionName, "scrollable") == 0) { in GenericBoolCallback() 200 } else if (std::strcmp(functionName, "enabled") == 0) { in GenericBoolCallback() 202 } else if (std::strcmp(functionName, "focused") == 0) { in GenericBoolCallback() 204 } else if (std::strcmp(functionName, "selected") == 0) { in GenericBoolCallback() 206 } else if (std::strcmp(functionName, "checked") == 0) { in GenericBoolCallback() 208 } else if (std::strcmp(functionName, "checkable") == 0) { in GenericBoolCallback() 211 LOGW("Unknown function %{public}s", functionName); in GenericBoolCallback() [all...] |
H A D | js_component_test_component.cpp | 471 const char* functionName = static_cast<const char*>(data); in GenericBoolCallback() local 474 asyncContext->functionName = functionName; in GenericBoolCallback() 482 if (!asyncContext->componentImpl || !asyncContext->functionName) { in GenericBoolCallback() 486 if (std::strcmp(asyncContext->functionName, IS_CLICKABLE) == 0) { in GenericBoolCallback() 489 } else if (std::strcmp(asyncContext->functionName, IS_LONGPRESSABLE) == 0) { in GenericBoolCallback() 492 } else if (std::strcmp(asyncContext->functionName, IS_SCROLLABLE) == 0) { in GenericBoolCallback() 495 } else if (std::strcmp(asyncContext->functionName, IS_ENABLED) == 0) { in GenericBoolCallback() 498 } else if (std::strcmp(asyncContext->functionName, IS_FOCUSED) == 0) { in GenericBoolCallback() 501 } else if (std::strcmp(asyncContext->functionName, IS_SELECTE in GenericBoolCallback() [all...] |
H A D | js_component_test_utils.h | 78 const char* functionName; member
|
/foundation/filemanagement/app_file_service/tests/utils/src/ |
H A D | test_manager.cpp | 24 TestManager::TestManager(std::string functionName) in TestManager() argument 26 rootDirCurTest_ = "/data/test/backup/" + functionName + "/"; in TestManager()
|
/foundation/ability/ability_runtime/frameworks/js/napi/app/ability_delegator/ |
H A D | js_ability_monitor.cpp | 82 napi_value JSAbilityMonitor::CallLifecycleCBFunction(const std::string &functionName, in CallLifecycleCBFunction() argument 85 if (functionName.empty()) { in CallLifecycleCBFunction() 102 napi_get_named_property(env_, obj, functionName.data(), &method); in CallLifecycleCBFunction() 104 TAG_LOGE(AAFwkTag::DELEGATOR, "null method: %{public}s", functionName.data()); in CallLifecycleCBFunction()
|
H A D | js_ability_monitor.h | 135 napi_value CallLifecycleCBFunction(const std::string &functionName,
|
/foundation/filemanagement/app_file_service/utils/include/b_error/ |
H A D | b_error.h | 36 const char *functionName = __builtin_FUNCTION() 38 #define DEFINE_SOURCE_LOCATION int lineNo = -1, const char *fileName = "NA", const char *functionName = "NA" 198 * @param functionName 构造错误对象的函数(不要自己填写) 202 msg_ = WrapMessageWithExtraInfos(fileName, lineNo, functionName, code_, {mpErrToMsg_.at(code_)}); in BError() 212 * @param functionName 构造错误对象的函数(不要自己填写) 216 msg_ = WrapMessageWithExtraInfos(fileName, lineNo, functionName, code_, {mpErrToMsg_.at(code_), extraMsg}); in BError() 225 * @param functionName 构造错误对象的函数(不要自己填写) 230 msg_ = WrapMessageWithExtraInfos(fileName, lineNo, functionName, code_, {rawMsg}); 366 * @param functionName 构造错误对象的函数 372 const char *functionName, [all...] |
/foundation/filemanagement/app_file_service/utils/src/b_error/ |
H A D | b_error.cpp | 29 const char *functionName, in WrapMessageWithExtraInfos() 34 ss << '[' << fileName << ':' << lineNo << " -> " << functionName << ']' << ' '; in WrapMessageWithExtraInfos() local 27 WrapMessageWithExtraInfos(const char *fileName, int lineNo, const char *functionName, Codes code, const vector<string_view> &msgs) const WrapMessageWithExtraInfos() argument
|
/foundation/ai/ai_engine/services/common/platform/dl_operation/include/ |
H A D | aie_dl_operation.h | 38 * @param functionName Symbol name. 41 void *AieDlsym(void *libHandle, const char *functionName);
|
/foundation/ability/ability_runtime/js_environment/frameworks/utils/src/ |
H A D | js_env_logger.cpp | 19 void(*JsEnvLogger::logger)(JsEnvLogLevel level, const char* fileName, const char* functionName, int line,
|
/foundation/filemanagement/app_file_service/tests/utils/include/ |
H A D | test_manager.h | 24 explicit TestManager(std::string functionName);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view_functions.cpp | 443 std::string functionName("aboutToDisappear"); in ExecuteDisappear() 444 AceScopedPerformanceCheck scoped(functionName); in ExecuteDisappear() 490 std::string functionName("aboutToBeDeleted"); in ExecuteAboutToBeDeleted() 491 AceScopedPerformanceCheck scoped(functionName); in ExecuteAboutToBeDeleted() 564 std::string functionName(debugInfo); in ExecuteFunction() 565 AceScopedPerformanceCheck scoped(functionName); in ExecuteFunction() 580 std::string functionName(debugInfo); in ExecuteFunctionWithReturn() 581 AceScopedPerformanceCheck scoped(functionName); in ExecuteFunctionWithReturn()
|
/foundation/ability/ability_runtime/js_environment/frameworks/utils/include/ |
H A D | js_env_logger.h | 30 static void(*logger)(JsEnvLogLevel level, const char* fileName, const char* functionName, int line,
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/ |
H A D | business_error.h | 35 const std::string &functionName = "", const std::string &permissionName = "");
|
H A D | business_error.cpp | 268 napi_env env, int32_t err, const std::string &functionName, const std::string &permissionName) in CreateCommonError() 280 errMessage = errMessage.replace(iter, 1, functionName); in CreateCommonError() 267 CreateCommonError( napi_env env, int32_t err, const std::string &functionName, const std::string &permissionName) CreateCommonError() argument
|
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_root_scene_session.h | 43 std::shared_ptr<NativeReference> GetJSCallback(const std::string& functionName) const;
|
H A D | js_root_scene_session.cpp | 219 std::shared_ptr<NativeReference> JsRootSceneSession::GetJSCallback(const std::string& functionName) const in GetJSCallback() 221 HITRACE_METER_FMT(HITRACE_TAG_WINDOW_MANAGER, "JsRootSceneSession::GetJSCallback[%s]", functionName.c_str()); in GetJSCallback() 224 auto iter = jsCbMap_.find(functionName); in GetJSCallback() 226 TLOGE(WmsLogTag::DEFAULT, "%{public}s callback not found!", functionName.c_str()); in GetJSCallback()
|
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | event_report.cpp | 78 void EventReport::ReportFunctionTimeout(const std::string& functionName, int64_t time, int32_t threshold) {} in ReportFunctionTimeout() argument
|
/foundation/arkui/ace_engine/test/mock/base/ |
H A D | mock_event_report.cpp | 69 void EventReport::ReportFunctionTimeout(const std::string& functionName, int64_t time, int32_t threshold) {} in ReportFunctionTimeout() argument
|
/foundation/resourceschedule/work_scheduler/frameworks/extension/src/ |
H A D | js_work_scheduler_extension.cpp | 313 std::unique_ptr<NativeReference> &jsObj_, const char* functionName) in CallFuncation() 328 napi_get_named_property(env, value, functionName, &method); in CallFuncation() 330 WS_HILOGE("WorkSchedulerExtension call funcation %{public}s error", functionName); in CallFuncation() 312 CallFuncation(napi_env env, napi_value workInfoData, std::unique_ptr<NativeReference> &jsObj_, const char* functionName) CallFuncation() argument
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_store_config.cpp | 422 void RdbStoreConfig::SetScalarFunction(const std::string &functionName, int argc, ScalarFunction function) in SetScalarFunction() argument 424 customScalarFunctions.try_emplace(functionName, ScalarFunctionInfo(function, argc)); in SetScalarFunction()
|
/foundation/arkui/ace_engine/frameworks/base/log/ |
H A D | event_report.h | 195 static void ReportFunctionTimeout(const std::string& functionName, int64_t time, int32_t threshold);
|