Home
last modified time | relevance | path

Searched refs:methodName (Results 1 – 6 of 6) sorted by relevance

/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_javascript_result_callback.h207 bool HasMethod(const std::string& methodName) in HasMethod() argument
209 if (methodName.empty()) { in HasMethod()
218 if (*iter == methodName) { in HasMethod()
225 napi_value FindMethod(const std::string& methodName) in FindMethod() argument
231 if (HasMethod(methodName)) { in FindMethod()
240 napi_status s = napi_has_named_property(env_, obj, methodName.c_str(), &hasFunc); in FindMethod()
249 s = napi_get_named_property(env_, obj, methodName.c_str(), &result); in FindMethod()
299 std::string methodName; in SetUpMethods() local
300 if (NapiParseUtils::ParseString(env_, napiKeyTmp, methodName)) { in SetUpMethods()
302 methods_.push_back(methodName); in SetUpMethods()
[all …]
Dwebview_javascript_result_callback.cpp845 if (jsObj && (jsObj->HasMethod(inParam->methodName))) { in ExecuteGetJavaScriptResult()
852 napi_value callback = jsObj->FindMethod(inParam->methodName); in ExecuteGetJavaScriptResult()
976 inParam->methodName = method; in PostGetJavaScriptResultToJsThread()
1034 if (jsObj && jsObj->HasMethod(inParam->methodName)) { in ExecuteHasJavaScriptObjectMethods()
1049 int32_t objectId, const std::string& methodName) in PostHasJavaScriptObjectMethodsToJsThread() argument
1066 inParam->methodName = methodName; in PostHasJavaScriptObjectMethodsToJsThread()
1082 …vaScriptResultCallBack::HasJavaScriptObjectMethods(int32_t objectId, const std::string& methodName) in HasJavaScriptObjectMethods() argument
1102 if (jsObj && jsObj->HasMethod(methodName)) { in HasJavaScriptObjectMethods()
1113 return PostHasJavaScriptObjectMethodsToJsThread(objectId, methodName); in HasJavaScriptObjectMethods()
1388 napi_env env, const napi_value& object, bool methodName, int32_t holder) in AddObject() argument
[all …]
/base/global/resource_management/interfaces/js/innerkits/core/src/
Dresource_manager_napi_context.cpp29 const std::string &methodName, FunctionType functionType) in ContextGetResource() argument
36 return napiBase_->GetResource(env, info, methodName); in ContextGetResource()
/base/account/os_account/test/systemtest/common/resource/fuzzTest/include/
Dfuzz_config_parser.h67 auto methodName = itm.key(); in ParseFromFile4FuzzTest() local
70 ftd.methodVec.push_back(className + methodName); in ParseFromFile4FuzzTest()
79 ftd.methodVec.push_back(className + methodName + param); in ParseFromFile4FuzzTest()
/base/update/updateservice/interfaces/inner_api/engine/
Dupdate_service_proxy.cpp34 #define RETURN_FAIL_WHEN_REMOTE_ERR(methodName, res) \ argument
36 ENGINE_LOGI("%{public}s is %{public}d", methodName, res); \
/base/web/webview/ohos_nweb/include/
Dnweb.h980 virtual void RegisterNativeArkJSFunction(const char* objName, const char** methodName,