/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/ |
H A D | ark_web_js_result_callback_impl.cpp | 30 const ArkWebString& object_name, int32_t routing_id, int32_t object_id) in GetJavaScriptResult() argument 34 … ArkWebStringStructToClass(method), ArkWebStringStructToClass(object_name), routing_id, object_id); in GetJavaScriptResult() 39 const ArkWebString& object_name, int fd, int32_t routing_id, int32_t object_id) in GetJavaScriptResultFlowbuf() argument 44 …WebStringStructToClass(method), ArkWebStringStructToClass(object_name), fd, routing_id, object_id); in GetJavaScriptResultFlowbuf() 48 bool ArkWebJsResultCallbackImpl::HasJavaScriptObjectMethods(int32_t object_id, const ArkWebString& … in HasJavaScriptObjectMethods() argument 50 …return nweb_js_result_callback_->HasJavaScriptObjectMethods(object_id, ArkWebStringStructToClass(m… in HasJavaScriptObjectMethods() 53 ArkWebValue ArkWebJsResultCallbackImpl::GetJavaScriptObjectMethods(int32_t object_id) in GetJavaScriptObjectMethods() argument 56 ark_web_value.nweb_value = nweb_js_result_callback_->GetJavaScriptObjectMethods(object_id); in GetJavaScriptObjectMethods() 60 void ArkWebJsResultCallbackImpl::RemoveJavaScriptObjectHolder(int32_t holder, int32_t object_id) in RemoveJavaScriptObjectHolder() argument 62 nweb_js_result_callback_->RemoveJavaScriptObjectHolder(holder, object_id); in RemoveJavaScriptObjectHolder()
|
H A D | ark_web_js_result_callback_impl.h | 33 int32_t routing_id, int32_t object_id) override; 36 const ArkWebString& object_name, int fd, int32_t routing_id, int32_t object_id) override; 44 bool HasJavaScriptObjectMethods(int32_t object_id, const ArkWebString& method_name) override; 51 ArkWebValue GetJavaScriptObjectMethods(int32_t object_id) override; 60 void RemoveJavaScriptObjectHolder(int32_t holder, int32_t object_id) override;
|
H A D | ark_web_nweb_wrapper.cpp | 362 …nst std::string& object_name, const std::vector<std::string>& method_list, const int32_t object_id) in RegisterArkJSfunction() argument 367 ark_web_nweb_->RegisterArkJSfunction(stName, stMethods, object_id); in RegisterArkJSfunction() 1085 const int32_t object_id) in RegisterArkJSfunction() argument 1091 ark_web_nweb_->RegisterArkJSfunction(stName, stMethods, stAsyncMethods, object_id); in RegisterArkJSfunction() 1274 const int32_t object_id, in RegisterArkJSfunctionV2() argument 1282 …ark_web_nweb_->RegisterArkJSfunctionV2(stName, stMethods, stAsyncMethods, object_id, stPermission); in RegisterArkJSfunctionV2()
|
H A D | ark_web_nweb_wrapper.h | 324 …tring& object_name, const std::vector<std::string>& method_list, const int32_t object_id) override; 1047 const std::vector<std::string>& async_method_list, const int32_t object_id) override; 1251 const int32_t object_id,
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/ |
H A D | ark_web_js_result_callback_wrapper.cpp | 31 int32_t routing_id, int32_t object_id) in GetJavaScriptResult() argument 38 …eb_js_result_callback_->GetJavaScriptResult(stArgs, stMethod, stObjectName, routing_id, object_id); in GetJavaScriptResult() 48 int fd, int32_t routing_id, int32_t object_id) in GetJavaScriptResultFlowbuf() argument 55 stArgs, stMethod, stObjectName, fd, routing_id, object_id); in GetJavaScriptResultFlowbuf() 63 bool ArkWebJsResultCallbackWrapper::HasJavaScriptObjectMethods(int32_t object_id, const std::string… in HasJavaScriptObjectMethods() argument 67 bool flag = ark_web_js_result_callback_->HasJavaScriptObjectMethods(object_id, stMethodName); in HasJavaScriptObjectMethods() 73 …OHOS::NWeb::NWebValue> ArkWebJsResultCallbackWrapper::GetJavaScriptObjectMethods(int32_t object_id) in GetJavaScriptObjectMethods() argument 75 ArkWebValue ark_web_value = ark_web_js_result_callback_->GetJavaScriptObjectMethods(object_id); in GetJavaScriptObjectMethods() 79 void ArkWebJsResultCallbackWrapper::RemoveJavaScriptObjectHolder(int32_t holder, int32_t object_id) in RemoveJavaScriptObjectHolder() argument 81 ark_web_js_result_callback_->RemoveJavaScriptObjectHolder(holder, object_id); in RemoveJavaScriptObjectHolder()
|
H A D | ark_web_js_result_callback_wrapper.h | 31 …d::string& method, const std::string& object_name, int32_t routing_id, int32_t object_id) override; 35 const std::string& object_name, int fd, int32_t routing_id, int32_t object_id) override; 43 bool HasJavaScriptObjectMethods(int32_t object_id, const std::string& method_name) override; 50 std::shared_ptr<OHOS::NWeb::NWebValue> GetJavaScriptObjectMethods(int32_t object_id) override; 59 void RemoveJavaScriptObjectHolder(int32_t holder, int32_t object_id) override;
|
H A D | ark_web_nweb_impl.cpp | 327 const ArkWebString& object_name, const ArkWebStringVector& method_list, const int32_t object_id) in RegisterArkJSfunction() argument 330 … ArkWebStringStructToClass(object_name), ArkWebStringVectorStructToClass(method_list), object_id); in RegisterArkJSfunction() 936 const ArkWebStringVector& async_method_list, const int32_t object_id) in RegisterArkJSfunction() argument 939 …ngVectorStructToClass(method_list), ArkWebStringVectorStructToClass(async_method_list), object_id); in RegisterArkJSfunction() 1090 …const ArkWebStringVector& async_method_list, const int32_t object_id, const ArkWebString& permissi… in RegisterArkJSfunctionV2() argument 1093 …ingVectorStructToClass(method_list), ArkWebStringVectorStructToClass(async_method_list), object_id, in RegisterArkJSfunctionV2()
|
H A D | ark_web_nweb_impl.h | 318 …rkWebString& object_name, const ArkWebStringVector& method_list, const int32_t object_id) override; 1065 const ArkWebStringVector& async_method_list, const int32_t object_id) override; 1241 …const ArkWebStringVector& async_method_list, const int32_t object_id, const ArkWebString& permissi…
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/ |
H A D | ark_web_js_result_callback.h | 33 const ArkWebString& object_name, int32_t routing_id, int32_t object_id) = 0; 42 virtual bool HasJavaScriptObjectMethods(int32_t object_id, const ArkWebString& method_name) = 0; 50 virtual ArkWebValue GetJavaScriptObjectMethods(int32_t object_id) = 0; 60 virtual void RemoveJavaScriptObjectHolder(int32_t holder, int32_t object_id) = 0; 70 const ArkWebString& object_name, int fd, int32_t routing_id, int32_t object_id) = 0;
|
H A D | ark_web_nweb.h | 413 const int32_t object_id) = 0; 1278 const int32_t object_id) = 0; 1499 const int32_t object_id,
|
/ohos5.0/base/web/webview/ohos_interface/include/ohos_nweb/ |
H A D | nweb_javascript_result_callback.h | 34 …st std::string& method, const std::string& object_name, int32_t routing_id, int32_t object_id) = 0; 37 …string& method, const std::string& object_name, int fd, int32_t routing_id, int32_t object_id) = 0; 44 virtual bool HasJavaScriptObjectMethods(int32_t object_id, const std::string& method_name) = 0; 50 virtual std::shared_ptr<NWebValue> GetJavaScriptObjectMethods(int32_t object_id) = 0; 58 virtual void RemoveJavaScriptObjectHolder(int32_t holder, int32_t object_id) = 0;
|
H A D | nweb.h | 537 …td::string& object_name, const std::vector<std::string>& method_list, const int32_t object_id) = 0; 1230 const std::vector<std::string>& async_method_list, const int32_t object_id) = 0; 1428 …const std::vector<std::string>& async_method_list, const int32_t object_id, const std::string& per… in RegisterArkJSfunctionV2() argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/resource/ |
H A D | web_javascript_result_callback.cpp | 159 int32_t routing_id, int32_t object_id) in GetJavaScriptResult() argument 163 (void)object_id; in GetJavaScriptResult() 190 int fd, int32_t routing_id, int32_t object_id) in GetJavaScriptResultFlowbuf() argument 194 (void)object_id; in GetJavaScriptResultFlowbuf() 200 bool WebJavaScriptResultCallBack::HasJavaScriptObjectMethods(int32_t object_id, const std::string& … in HasJavaScriptObjectMethods() argument 202 (void)object_id; in HasJavaScriptObjectMethods() 208 …d::shared_ptr<NWebValue> WebJavaScriptResultCallBack::GetJavaScriptObjectMethods(int32_t object_id) in GetJavaScriptObjectMethods() argument 210 (void)object_id; in GetJavaScriptObjectMethods() 215 void WebJavaScriptResultCallBack::RemoveJavaScriptObjectHolder(int32_t holder, int32_t object_id) in RemoveJavaScriptObjectHolder() argument 218 (void)object_id; in RemoveJavaScriptObjectHolder()
|
H A D | web_javascript_result_callback.h | 40 …d::string& method, const std::string& object_name, int32_t routing_id, int32_t object_id) override; 44 int fd, int32_t routing_id, int32_t object_id) override; 46 bool HasJavaScriptObjectMethods(int32_t object_id, const std::string& method_name) override; 48 std::shared_ptr<NWebValue> GetJavaScriptObjectMethods(int32_t object_id) override; 50 void RemoveJavaScriptObjectHolder(int32_t holder, int32_t object_id) override;
|
/ohos5.0/base/web/webview/test/fuzztest/registerarkjsfunction_fuzzer/ |
H A D | registerarkjsfunction_fuzzer.cpp | 34 const int32_t object_id = 1; in RegisterArkJSfunctionFuzzTest() local 35 g_nweb->RegisterArkJSfunction(object_name, method_list, object_id); in RegisterArkJSfunctionFuzzTest()
|
/ohos5.0/base/web/webview/test/fuzztest/ohos_nweb/nwebhelper_fuzzer/ |
H A D | nweb_create_window.h | 138 …string& object_name, const std::vector<std::string>& method_list, const int32_t object_id) override in RegisterArkJSfunction() argument
|
/ohos5.0/base/web/webview/test/unittest/common/ |
H A D | nweb_create_window.h | 174 …string& object_name, const std::vector<std::string>& method_list, const int32_t object_id) override in RegisterArkJSfunction() argument
|