Home
last modified time | relevance | path

Searched refs:DefineProperties (Results 1 – 25 of 42) sorted by relevance

12

/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/
H A Dnetpolicy_module.cpp255 NapiUtils::DefineProperties(env, result, in CreateBackgroundPolicy()
268 NapiUtils::DefineProperties(env, result, in CreateMeteringMode()
279 NapiUtils::DefineProperties(env, type, in CreateRemindType()
290 NapiUtils::DefineProperties(env, result, in CreateNetUidRule()
305 NapiUtils::DefineProperties(env, result, in CreateNetUidPolicy()
317 NapiUtils::DefineProperties(env, result, in CreateLimitAction()
328 NapiUtils::DefineProperties( in InitPolicyModule()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/http_module/src/
H A Dhttp_module.cpp124 NapiUtils::DefineProperties(env, exports, properties); in InitHttpProperties()
143 NapiUtils::DefineProperties(env, requestMethod, properties); in InitRequestMethod()
190 NapiUtils::DefineProperties(env, responseCode, properties); in InitResponseCode()
204 NapiUtils::DefineProperties(env, httpProtocol, properties); in InitHttpProtocol()
220 NapiUtils::DefineProperties(env, httpCertType, properties); in InitCertType()
235 NapiUtils::DefineProperties(env, httpDataType, properties); in InitHttpDataType()
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dweb_download_delegate.cpp107 NapiWebDownloadItem::DefineProperties(env_, &webDownloadItemValue); in DownloadBeforeStart()
150 NapiWebDownloadItem::DefineProperties(env_, &webDownloadItemValue); in DownloadDidUpdate()
194 NapiWebDownloadItem::DefineProperties(env_, &webDownloadItemValue); in DownloadDidFail()
238 NapiWebDownloadItem::DefineProperties(env_, &webDownloadItemValue); in DownloadDidFinish()
H A Dnapi_web_scheme_handler_request.h61 static napi_status DefineProperties(napi_env env, napi_value* object);
122 static napi_status DefineProperties(napi_env env, napi_value* object);
138 static napi_status DefineProperties(napi_env env, napi_value* object);
H A Dnapi_native_media_player.h30 static napi_status DefineProperties(napi_env env, napi_value* value);
H A Dnapi_web_download_item.h35 static napi_status DefineProperties(napi_env, napi_value *object);
H A Dweb_scheme_handler_request.cpp398 NapiWebSchemeHandlerRequest::DefineProperties(env_, &requestValue[0]); in RequestStart()
404 NapiWebResourceHandler::DefineProperties(env_, &requestValue[1]); in RequestStart()
469 NapiWebSchemeHandlerRequest::DefineProperties(param->env_, &requestValue); in RequestStopAfterWorkCb()
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/ethernet/
H A Dethernet_module.cpp81 NapiUtils::DefineProperties(env, exports, { in DeclareEthernetData()
100 NapiUtils::DefineProperties(env, exports, { in DeclareEthernetInterface()
123 NapiUtils::DefineProperties(env, ipSetMOdes, ipSetMode); in RegisterEthernetInterface()
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/sharing/src/
H A Dnetshare_module.cpp165 NapiUtils::DefineProperties(env, ifaceState, sharingIfaceState); in InitProperties()
178 NapiUtils::DefineProperties(env, ifaceType, sharingIfaceType); in InitProperties()
186 NapiUtils::DefineProperties(env, exports, in InitNetShareModule()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/net_ssl/net_ssl_module/src/
H A Dnet_ssl_module.cpp53 NapiUtils::DefineProperties(env, exports, properties); in InitSslProperties()
65 NapiUtils::DefineProperties(env, certType, properties); in InitCertType()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/fetch/fetch_module/src/
H A Dfetch_module.cpp29 NapiUtils::DefineProperties(env, exports, properties); in InitFetchModule()
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/src/
H A Dmdns_module.cpp138 NapiUtils::DefineProperties(env, exports, functions); in InitMDnsModule()
159 NapiUtils::DefineProperties(env, mdnsErrorValue, mdnsError); in InitMDnsModule()
/ohos5.0/base/update/updateservice/frameworks/js/napi/update/include/
H A Ddefine_property.h28 static void DefineProperties(napi_env env, napi_value exports);
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-jsvm-about-property.md563 static JSVM_Value DefineProperties(JSVM_Env env, JSVM_CallbackInfo info) {
589 OH_JSVM_ThrowError(env, nullptr, "JSVM DefineProperties fail");
629 // DefineProperties注册回调
631 {.data = nullptr, .callback = DefineProperties},
634 // DefineProperties方法别名,供JS调用
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/network/network_module/src/
H A Dnetwork_module.cpp34 NapiUtils::DefineProperties(env, exports, properties); in InitNetworkModule()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/tls/src/
H A Dtlssocket_module.cpp179 NapiUtils::DefineProperties(env, protocol, properties); in InitProtocol()
230 NapiUtils::DefineProperties(env, exports, properties); in InitTLSSocketProperties()
H A Dtlssocketserver_module.cpp226 NapiUtils::DefineProperties(env, protocol, properties); in InitProtocol()
259 NapiUtils::DefineProperties(env, exports, properties); in InitTLSSocketServerProperties()
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/netfirewall/src/
H A Dnetfirewall_module.cpp96 NapiUtils::DefineProperties(env, exports, in DeclareNetFirewallInterface()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/common_napi_utils/
H A Dcommon_napi_utils.h58 static void DefineProperties(
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/connection_module/src/
H A Dconnection_module.cpp200 NapiUtils::DefineProperties(env, exports, functions); in InitConnectionModule()
228 NapiUtils::DefineProperties(env, caps, netCaps); in InitProperties()
238 NapiUtils::DefineProperties(env, types, netBearTypes); in InitProperties()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/websocket/websocket_module/src/
H A Dwebsocket_module.cpp65 NapiUtils::DefineProperties(env, exports, properties); in InitWebSocketProperties()
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/vpn/src/
H A Dvpn_module.cpp118 NapiUtils::DefineProperties(env, exports, in RegisterVpnModule()
/ohos5.0/base/print/print_fwk/frameworks/helper/print_helper/include/
H A Dnapi_print_utils.h76 static void DefineProperties(
/ohos5.0/foundation/communication/netmanager_base/utils/napi_utils/include/
H A Dnapi_utils.h92 void DefineProperties(napi_env env, napi_value object,
/ohos5.0/docs/en/application-dev/napi/
H A Duse-jsvm-about-property.md563 static JSVM_Value DefineProperties(JSVM_Env env, JSVM_CallbackInfo info) {
589 OH_JSVM_ThrowError(env, nullptr, "JSVM DefineProperties fail");
627 // Register the DefineProperties callback.
629 {.data = nullptr, .callback = DefineProperties},
632 … defineProperties and associate it with a callback. This allows the DefineProperties callback to b…

12