Home
last modified time | relevance | path

Searched refs:object_id (Results 1 - 15 of 15) sorted by relevance

/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H A Dark_web_js_result_callback_impl.cpp30 const ArkWebString& object_name, int32_t routing_id, int32_t object_id) in GetJavaScriptResult()
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()
44 ArkWebStringStructToClass(method), ArkWebStringStructToClass(object_name), fd, routing_id, object_id); in GetJavaScriptResultFlowbuf()
48 bool ArkWebJsResultCallbackImpl::HasJavaScriptObjectMethods(int32_t object_id, const ArkWebString& method_name) in HasJavaScriptObjectMethods() argument
50 return nweb_js_result_callback_->HasJavaScriptObjectMethods(object_id, ArkWebStringStructToClass(method_name)); 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()
29 GetJavaScriptResult(ArkWebValueVector args, const ArkWebString& method, const ArkWebString& object_name, int32_t routing_id, int32_t object_id) GetJavaScriptResult() argument
38 GetJavaScriptResultFlowbuf(ArkWebValueVector args, const ArkWebString& method, const ArkWebString& object_name, int fd, int32_t routing_id, int32_t object_id) GetJavaScriptResultFlowbuf() argument
[all...]
H A Dark_web_js_result_callback_impl.h33 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;
41 * @param object_id: means the JavaScript object id
42 * @param object_id: means the method name
44 bool HasJavaScriptObjectMethods(int32_t object_id, const ArkWebString& method_name) override;
49 * @param object_id: means the JavaScript object id
51 ArkWebValue GetJavaScriptObjectMethods(int32_t object_id) override;
58 * @param object_id: means the JavaScript object id
60 void RemoveJavaScriptObjectHolder(int32_t holder, int32_t object_id) override;
H A Dark_web_nweb_wrapper.cpp363 const std::string& object_name, const std::vector<std::string>& method_list, const int32_t object_id) in RegisterArkJSfunction()
368 ark_web_nweb_->RegisterArkJSfunction(stName, stMethods, object_id); in RegisterArkJSfunction()
1096 const int32_t object_id) in RegisterArkJSfunction()
1102 ark_web_nweb_->RegisterArkJSfunction(stName, stMethods, stAsyncMethods, object_id); in RegisterArkJSfunction()
1285 const int32_t object_id, in RegisterArkJSfunction()
1293 ark_web_nweb_->RegisterArkJSfunction(stName, stMethods, stAsyncMethods, object_id, stPermission); in RegisterArkJSfunction()
362 RegisterArkJSfunction( const std::string& object_name, const std::vector<std::string>& method_list, const int32_t object_id) RegisterArkJSfunction() argument
1094 RegisterArkJSfunction(const std::string& object_name, const std::vector<std::string>& method_list, const std::vector<std::string>& async_method_list, const int32_t object_id) RegisterArkJSfunction() argument
1283 RegisterArkJSfunction(const std::string& object_name, const std::vector<std::string>& method_list, const std::vector<std::string>& async_method_list, const int32_t object_id, const std::string& permission) RegisterArkJSfunction() argument
H A Dark_web_nweb_wrapper.h321 * @param object_id int32_t: object id
324 const std::string& object_name, const std::vector<std::string>& method_list, const int32_t object_id) override;
1051 * @param object_id int32_t: object id
1055 const std::vector<std::string>& async_method_list, const int32_t object_id) override;
1252 * @param object_id int32_t: object id
1259 const int32_t object_id,
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/
H A Dark_web_js_result_callback.h33 const ArkWebString& object_name, int32_t routing_id, int32_t object_id) = 0;
38 * @param object_id: means the JavaScript object id
39 * @param object_id: means the method name
42 virtual bool HasJavaScriptObjectMethods(int32_t object_id, const ArkWebString& method_name) = 0;
47 * @param object_id: means the JavaScript object id
50 virtual ArkWebValue GetJavaScriptObjectMethods(int32_t object_id) = 0;
57 * @param object_id: means the JavaScript object id
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 Dark_web_nweb.h381 * @param object_id int32_t: object id
385 const ArkWebString& object_name, const ArkWebStringVector& method_list, const int32_t object_id) = 0;
1217 * @param object_id int32_t: object id
1221 const ArkWebStringVector& async_method_list, const int32_t object_id) = 0;
1426 * @param object_id int32_t: object id
1431 const ArkWebStringVector& async_method_list, const int32_t object_id, const ArkWebString& permission) = 0;
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/
H A Dark_web_js_result_callback_wrapper.cpp31 int32_t routing_id, int32_t object_id) in GetJavaScriptResult()
38 ark_web_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()
55 stArgs, stMethod, stObjectName, fd, routing_id, object_id); in GetJavaScriptResultFlowbuf()
63 bool ArkWebJsResultCallbackWrapper::HasJavaScriptObjectMethods(int32_t object_id, const std::string& method_name) in HasJavaScriptObjectMethods() argument
67 bool flag = ark_web_js_result_callback_->HasJavaScriptObjectMethods(object_id, stMethodName); in HasJavaScriptObjectMethods()
73 std::shared_ptr<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()
29 GetJavaScriptResult( std::vector<std::shared_ptr<OHOS::NWeb::NWebValue>> args, const std::string& method, const std::string& object_name, int32_t routing_id, int32_t object_id) GetJavaScriptResult() argument
46 GetJavaScriptResultFlowbuf( std::vector<std::shared_ptr<OHOS::NWeb::NWebValue>> args, const std::string& method, const std::string& object_name, int fd, int32_t routing_id, int32_t object_id) GetJavaScriptResultFlowbuf() argument
[all...]
H A Dark_web_js_result_callback_wrapper.h31 const std::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;
40 * @param object_id: means the JavaScript object id
41 * @param object_id: means the method name
43 bool HasJavaScriptObjectMethods(int32_t object_id, const std::string& method_name) override;
48 * @param object_id: means the JavaScript object id
50 std::shared_ptr<OHOS::NWeb::NWebValue> GetJavaScriptObjectMethods(int32_t object_id) override;
57 * @param object_id: means the JavaScript object id
59 void RemoveJavaScriptObjectHolder(int32_t holder, int32_t object_id) override;
H A Dark_web_nweb_impl.h315 * @param object_id int32_t: object id
318 const ArkWebString& object_name, const ArkWebStringVector& method_list, const int32_t object_id) override;
1069 * @param object_id int32_t: object id
1072 const ArkWebStringVector& async_method_list, const int32_t object_id) override;
1265 * @param object_id int32_t: object id
1269 const ArkWebStringVector& async_method_list, const int32_t object_id, const ArkWebString& permission) override;
H A Dark_web_nweb_impl.cpp328 const ArkWebString& object_name, const ArkWebStringVector& method_list, const int32_t object_id) in RegisterArkJSfunction()
331 ArkWebStringStructToClass(object_name), ArkWebStringVectorStructToClass(method_list), object_id); in RegisterArkJSfunction() local
962 const ArkWebStringVector& async_method_list, const int32_t object_id) in RegisterArkJSfunction()
965 ArkWebStringVectorStructToClass(method_list), ArkWebStringVectorStructToClass(async_method_list), object_id); in RegisterArkJSfunction() local
1107 const ArkWebStringVector& async_method_list, const int32_t object_id, const ArkWebString& permission) in RegisterArkJSfunction()
1110 ArkWebStringVectorStructToClass(method_list), ArkWebStringVectorStructToClass(async_method_list), object_id, in RegisterArkJSfunction() local
327 RegisterArkJSfunction( const ArkWebString& object_name, const ArkWebStringVector& method_list, const int32_t object_id) RegisterArkJSfunction() argument
961 RegisterArkJSfunction(const ArkWebString& object_name, const ArkWebStringVector& method_list, const ArkWebStringVector& async_method_list, const int32_t object_id) RegisterArkJSfunction() argument
1106 RegisterArkJSfunction(const ArkWebString& object_name, const ArkWebStringVector& method_list, const ArkWebStringVector& async_method_list, const int32_t object_id, const ArkWebString& permission) RegisterArkJSfunction() argument
/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_javascript_result_callback.h34 const std::string& method, const std::string& object_name, int32_t routing_id, int32_t object_id) = 0;
37 const std::string& method, const std::string& object_name, int fd, int32_t routing_id, int32_t object_id) = 0;
41 * @param object_id: means the JavaScript object id
42 * @param object_id: means the method name
44 virtual bool HasJavaScriptObjectMethods(int32_t object_id, const std::string& method_name) = 0;
48 * @param object_id: means the JavaScript object id
50 virtual std::shared_ptr<NWebValue> GetJavaScriptObjectMethods(int32_t object_id) = 0;
56 * @param object_id: means the JavaScript object id
58 virtual void RemoveJavaScriptObjectHolder(int32_t holder, int32_t object_id) = 0;
H A Dnweb.h550 * @param object_id int32_t: object id
553 const std::string& object_name, const std::vector<std::string>& method_list, const int32_t object_id) = 0;
1257 * @param object_id int32_t: object id
1260 const std::vector<std::string>& async_method_list, const int32_t object_id) = 0;
1461 * @param object_id int32_t: object id
1465 const std::vector<std::string>& async_method_list, const int32_t object_id, const std::string& permission) {} in RegisterArkJSfunction()
1464 RegisterArkJSfunction(const std::string& object_name, const std::vector<std::string>& method_list, const std::vector<std::string>& async_method_list, const int32_t object_id, const std::string& permission) RegisterArkJSfunction() argument
/base/web/webview/test/fuzztest/registerarkjsfunction_fuzzer/
H A Dregisterarkjsfunction_fuzzer.cpp34 const int32_t object_id = 1; in RegisterArkJSfunctionFuzzTest() local
35 g_nweb->RegisterArkJSfunction(object_name, method_list, object_id); in RegisterArkJSfunctionFuzzTest()
/base/web/webview/test/fuzztest/ohos_nweb/nwebhelper_fuzzer/
H A Dnweb_create_window.h138 const std::string& object_name, const std::vector<std::string>& method_list, const int32_t object_id) override
/base/web/webview/test/unittest/common/
H A Dnweb_create_window.h174 const std::string& object_name, const std::vector<std::string>& method_list, const int32_t object_id) override

Completed in 18 milliseconds