/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_rendering_context_common.cpp | 45 static napi_value GetPoints(napi_env env, napi_callback_info info) in GetPoints() 50 static napi_value GetLines(napi_env env, napi_callback_info info) in GetLines() 55 static napi_value GetLineLoop(napi_env env, napi_callback_info info) in GetLineLoop() 80 static napi_value GetZero(napi_env env, napi_callback_info info) in GetZero() 85 static napi_value GetOne(napi_env env, napi_callback_info info) in GetOne() 260 static napi_value GetFront(napi_env env, napi_callback_info info) in GetFront() 265 static napi_value GetBack(napi_env env, napi_callback_info info) in GetBack() 345 static napi_value GetCw(napi_env env, napi_callback_info info) in GetCw() 350 static napi_value GetCcw(napi_env env, napi_callback_info info) in GetCcw() 630 static napi_value GetInt(napi_env env, napi_callback_info info) in GetInt() [all …]
|
H A D | webgl2_rendering_context.cpp | 31 static napi_value GetReadBuffer(napi_env env, napi_callback_info info) in GetReadBuffer() 66 static napi_value GetColor(napi_env env, napi_callback_info info) in GetColor() 71 static napi_value GetDepth(napi_env env, napi_callback_info info) in GetDepth() 76 static napi_value GetStencil(napi_env env, napi_callback_info info) in GetStencil() 81 static napi_value GetRed(napi_env env, napi_callback_info info) in GetRed() 86 static napi_value GetRgb8(napi_env env, napi_callback_info info) in GetRgb8() 91 static napi_value GetRgba8(napi_env env, napi_callback_info info) in GetRgba8() 166 static napi_value GetMin(napi_env env, napi_callback_info info) in GetMin() 171 static napi_value GetMax(napi_env env, napi_callback_info info) in GetMax() 906 static napi_value GetRg(napi_env env, napi_callback_info info) in GetRg() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_ability/ |
H A D | js_embeddable_ui_ability_context.cpp | 39 #define CHECK_POINTER_RETURN(env, object) \ argument 57 void JsEmbeddableUIAbilityContext::Finalizer(napi_env env, void* data, void* hint) in Finalizer() 63 napi_value JsEmbeddableUIAbilityContext::StartAbility(napi_env env, napi_callback_info info) in StartAbility() 68 napi_value JsEmbeddableUIAbilityContext::OpenLink(napi_env env, napi_callback_info info) in OpenLink() 78 napi_value JsEmbeddableUIAbilityContext::ConnectAbility(napi_env env, napi_callback_info info) in ConnectAbility() 88 napi_value JsEmbeddableUIAbilityContext::TerminateSelf(napi_env env, napi_callback_info info) in TerminateSelf() 198 napi_value JsEmbeddableUIAbilityContext::ShowAbility(napi_env env, napi_callback_info info) in ShowAbility() 203 napi_value JsEmbeddableUIAbilityContext::HideAbility(napi_env env, napi_callback_info info) in HideAbility() 219 napi_value JsEmbeddableUIAbilityContext::OnOpenLink(napi_env env, NapiCallbackInfo& info) in OnOpenLink() 563 void JsEmbeddableUIAbilityContext::WrapJsUIAbilityContext(napi_env env, in WrapJsUIAbilityContext() [all …]
|
/ohos5.0/base/sensors/sensor/frameworks/js/napi/src/ |
H A D | sensor_system_js.cpp | 22 napi_value SubscribeAccelerometer(napi_env env, napi_callback_info info) in SubscribeAccelerometer() 34 napi_value SubscribeCompass(napi_env env, napi_callback_info info) in SubscribeCompass() 40 napi_value UnsubscribeCompass(napi_env env, napi_callback_info info) in UnsubscribeCompass() 46 napi_value SubscribeProximity(napi_env env, napi_callback_info info) in SubscribeProximity() 58 napi_value SubscribeLight(napi_env env, napi_callback_info info) in SubscribeLight() 64 napi_value UnsubscribeLight(napi_env env, napi_callback_info info) in UnsubscribeLight() 82 napi_value SubscribeBarometer(napi_env env, napi_callback_info info) in SubscribeBarometer() 118 napi_value GetOnBodyState(napi_env env, napi_callback_info info) in GetOnBodyState() 148 napi_value SubscribeGravity(napi_env env, napi_callback_info info) in SubscribeGravity() 172 napi_value SubscribeHall(napi_env env, napi_callback_info info) in SubscribeHall() [all …]
|
/ohos5.0/base/security/huks/interfaces/kits/napi/src/ |
H A D | huks_napi.cpp | 201 static napi_value CreateHuksTag(napi_env env) in CreateHuksTag() 213 static napi_value CreateHuksKeySize(napi_env env) in CreateHuksKeySize() 251 static napi_value CreateHuksKeyAlg(napi_env env) in CreateHuksKeyAlg() 281 static napi_value CreateHuksKeyPurpose(napi_env env) in CreateHuksKeyPurpose() 299 static napi_value CreateHuksKeyPadding(napi_env env) in CreateHuksKeyPadding() 463 static napi_value CreateHuksErrorCode(napi_env env) in CreateHuksErrorCode() 502 static napi_value CreateHuksErrCode(napi_env env) in CreateHuksErrCode() 512 static napi_value CreateHuksKeyDigest(napi_env env) in CreateHuksKeyDigest() 541 static napi_value CreateHuksKeyFlag(napi_env env) in CreateHuksKeyFlag() 554 static napi_value CreateHuksTagType(napi_env env) in CreateHuksTagType() [all …]
|
/ohos5.0/base/global/resource_management/interfaces/js/innerkits/core/src/ |
H A D | resource_manager_addon.cpp | 77 napi_value ResourceManagerAddon::GetSystemResMgr(napi_env env) in GetSystemResMgr() 116 void ResourceManagerAddon::Destructor(napi_env env, void *nativeObject, void *hint) in Destructor() 185 bool ResourceManagerAddon::Init(napi_env env) in Init() 208 napi_value ResourceManagerAddon::New(napi_env env, napi_callback_info info) in New() 221 napi_value ResourceManagerAddon::Release(napi_env env, napi_callback_info info) in Release() 241 napi_value ResourceManagerAddon::GetString(napi_env env, napi_callback_info info) in GetString() 251 napi_value ResourceManagerAddon::GetMedia(napi_env env, napi_callback_info info) in GetMedia() 346 napi_value ResourceManagerAddon::GetRawFd(napi_env env, napi_callback_info info) in GetRawFd() 361 napi_value ResourceManagerAddon::GetColor(napi_env env, napi_callback_info info) in GetColor() 387 napi_value ResourceManagerAddon::GetNumber(napi_env env, napi_callback_info info) in GetNumber() [all …]
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/async_work/src/ |
H A D | connection_async_work.cpp | 31 void ConnectionAsyncWork::ExecGetAddressesByName(napi_env env, void *data) in ExecGetAddressesByName() 42 void ConnectionAsyncWork::ExecHasDefaultNet(napi_env env, void *data) in ExecHasDefaultNet() 52 void ConnectionAsyncWork::ExecIsDefaultNetMetered(napi_env env, void *data) in ExecIsDefaultNetMetered() 63 void ConnectionAsyncWork::ExecGetNetCapabilities(napi_env env, void *data) in ExecGetNetCapabilities() 86 void ConnectionAsyncWork::ExecGetDefaultNet(napi_env env, void *data) in ExecGetDefaultNet() 96 void ConnectionAsyncWork::ExecGetAllNets(napi_env env, void *data) in ExecGetAllNets() 106 void ConnectionAsyncWork::ExecEnableAirplaneMode(napi_env env, void *data) in ExecEnableAirplaneMode() 128 void ConnectionAsyncWork::ExecReportNetConnected(napi_env env, void *data) in ExecReportNetConnected() 183 void ConnectionAsyncWork::ExecGetAppNet(napi_env env, void *data) in ExecGetAppNet() 193 void ConnectionAsyncWork::ExecSetAppNet(napi_env env, void *data) in ExecSetAppNet() [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/async_work/src/ |
H A D | socket_async_work.cpp | 41 void SocketAsyncWork::ExecUdpBind(napi_env env, void *data) in ExecUdpBind() 46 void SocketAsyncWork::ExecUdpSend(napi_env env, void *data) in ExecUdpSend() 51 void SocketAsyncWork::ExecUdpAddMembership(napi_env env, void *data) in ExecUdpAddMembership() 61 void SocketAsyncWork::ExecSetMulticastTTL(napi_env env, void *data) in ExecSetMulticastTTL() 66 void SocketAsyncWork::ExecGetMulticastTTL(napi_env env, void *data) in ExecGetMulticastTTL() 71 void SocketAsyncWork::ExecSetLoopbackMode(napi_env env, void *data) in ExecSetLoopbackMode() 81 void SocketAsyncWork::ExecTcpBind(napi_env env, void *data) in ExecTcpBind() 86 void SocketAsyncWork::ExecConnect(napi_env env, void *data) in ExecConnect() 91 void SocketAsyncWork::ExecClose(napi_env env, void *data) in ExecClose() 96 void SocketAsyncWork::ExecTcpSend(napi_env env, void *data) in ExecTcpSend() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | resource_manager_addon.cpp | 76 void ResourceManagerAddon::Destructor(napi_env env, void *nativeObject, void *hint) in Destructor() 82 bool ResourceManagerAddon::Init(napi_env env) in Init() 144 napi_value ResourceManagerAddon::New(napi_env env, napi_callback_info info) in New() 149 napi_value ResourceManagerAddon::Release(napi_env env, napi_callback_info info) in Release() 158 napi_value ResourceManagerAddon::GetString(napi_env env, napi_callback_info info) in GetString() 168 napi_value ResourceManagerAddon::GetMedia(napi_env env, napi_callback_info info) in GetMedia() 193 napi_value ResourceManagerAddon::GetRawFile(napi_env env, napi_callback_info info) in GetRawFile() 263 napi_value ResourceManagerAddon::GetRawFd(napi_env env, napi_callback_info info) in GetRawFd() 268 napi_value ResourceManagerAddon::CloseRawFd(napi_env env, napi_callback_info info) in CloseRawFd() 278 napi_value ResourceManagerAddon::GetColor(napi_env env, napi_callback_info info) in GetColor() [all …]
|
H A D | js_application_context_utils.cpp | 37 napi_value JsApplicationContextUtils::SetColorMode(napi_env env, napi_callback_info info) in SetColorMode() 42 napi_value JsApplicationContextUtils::SwitchArea(napi_env env, napi_callback_info info) in SwitchArea() 47 napi_value JsApplicationContextUtils::OnSwitchArea(napi_env env, NapiCallbackInfo &info) in OnSwitchArea() 109 napi_value JsApplicationContextUtils::GetArea(napi_env env, napi_callback_info info) in GetArea() 114 napi_value JsApplicationContextUtils::OnGetArea(napi_env env, NapiCallbackInfo &info) in OnGetArea() 251 void JsApplicationContextUtils::Finalizer(napi_env env, void *data, void *hint) in Finalizer() 262 napi_env env, napi_callback_info info) in UnregisterAbilityLifecycleCallback() 273 napi_env env, napi_callback_info info) in UnregisterEnvironmentCallback() 278 napi_value JsApplicationContextUtils::On(napi_env env, napi_callback_info info) in On() 283 napi_value JsApplicationContextUtils::Off(napi_env env, napi_callback_info info) in Off() [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tlssocketserver_async_work.cpp | 33 void TLSSocketServerAsyncWork::ExecGetCertificate(napi_env env, void *data) in ExecGetCertificate() 38 void TLSSocketServerAsyncWork::ExecListen(napi_env env, void *data) in ExecListen() 43 void TLSSocketServerAsyncWork::ExecGetCipherSuites(napi_env env, void *data) in ExecGetCipherSuites() 54 void TLSSocketServerAsyncWork::ExecGetProtocol(napi_env env, void *data) in ExecGetProtocol() 65 void TLSSocketServerAsyncWork::ExecSend(napi_env env, void *data) in ExecSend() 70 void TLSSocketServerAsyncWork::ExecClose(napi_env env, void *data) in ExecClose() 75 void TLSSocketServerAsyncWork::ExecStop(napi_env env, void *data) in ExecStop() 80 void TLSSocketServerAsyncWork::ExecGetState(napi_env env, void *data) in ExecGetState() 85 void TLSSocketServerAsyncWork::ExecGetRemoteAddress(napi_env env, void *data) in ExecGetRemoteAddress() 97 void TLSSocketServerAsyncWork::ExecGetLocalAddress(napi_env env, void *data) in ExecGetLocalAddress() [all …]
|
H A D | tlssocket_async_work.cpp | 31 void TLSSocketAsyncWork::ExecGetCertificate(napi_env env, void *data) in ExecGetCertificate() 36 void TLSSocketAsyncWork::ExecConnect(napi_env env, void *data) in ExecConnect() 41 void TLSSocketAsyncWork::ExecGetCipherSuites(napi_env env, void *data) in ExecGetCipherSuites() 51 void TLSSocketAsyncWork::ExecGetProtocol(napi_env env, void *data) in ExecGetProtocol() 61 void TLSSocketAsyncWork::ExecSend(napi_env env, void *data) in ExecSend() 66 void TLSSocketAsyncWork::ExecClose(napi_env env, void *data) in ExecClose() 71 void TLSSocketAsyncWork::ExecBind(napi_env env, void *data) in ExecBind() 76 void TLSSocketAsyncWork::ExecGetState(napi_env env, void *data) in ExecGetState() 86 void TLSSocketAsyncWork::ExecGetLocalAddress(napi_env env, void *data) in ExecGetLocalAddress() 91 void TLSSocketAsyncWork::ExecSetExtraOptions(napi_env env, void *data) in ExecSetExtraOptions() [all …]
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netstats/src/ |
H A D | statistics_async_work.cpp | 31 void StatisticsAsyncWork::ExecGetCellularRxBytes(napi_env env, void *data) in ExecGetCellularRxBytes() 36 void StatisticsAsyncWork::ExecGetCellularTxBytes(napi_env env, void *data) in ExecGetCellularTxBytes() 41 void StatisticsAsyncWork::ExecGetAllRxBytes(napi_env env, void *data) in ExecGetAllRxBytes() 46 void StatisticsAsyncWork::ExecGetAllTxBytes(napi_env env, void *data) in ExecGetAllTxBytes() 51 void StatisticsAsyncWork::ExecGetUidRxBytes(napi_env env, void *data) in ExecGetUidRxBytes() 56 void StatisticsAsyncWork::ExecGetUidTxBytes(napi_env env, void *data) in ExecGetUidTxBytes() 61 void StatisticsAsyncWork::ExecGetIfaceRxBytes(napi_env env, void *data) in ExecGetIfaceRxBytes() 66 void StatisticsAsyncWork::ExecGetIfaceTxBytes(napi_env env, void *data) in ExecGetIfaceTxBytes() 71 void StatisticsAsyncWork::ExecGetIfaceStats(napi_env env, void *data) in ExecGetIfaceStats() 76 void StatisticsAsyncWork::ExecGetIfaceUidStats(napi_env env, void *data) in ExecGetIfaceUidStats() [all …]
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/ |
H A D | netpolicy_async_work.cpp | 34 void NetPolicyAsyncWork::ExecSetPolicyByUid(napi_env env, void *data) in ExecSetPolicyByUid() 39 void NetPolicyAsyncWork::ExecGetPolicyByUid(napi_env env, void *data) in ExecGetPolicyByUid() 44 void NetPolicyAsyncWork::ExecGetUidsByPolicy(napi_env env, void *data) in ExecGetUidsByPolicy() 49 void NetPolicyAsyncWork::ExecSetBackgroundPolicy(napi_env env, void *data) in ExecSetBackgroundPolicy() 54 void NetPolicyAsyncWork::ExecGetBackgroundPolicy(napi_env env, void *data) in ExecGetBackgroundPolicy() 59 void NetPolicyAsyncWork::ExecGetNetQuotaPolicies(napi_env env, void *data) in ExecGetNetQuotaPolicies() 64 void NetPolicyAsyncWork::ExecSetNetQuotaPolicies(napi_env env, void *data) in ExecSetNetQuotaPolicies() 69 void NetPolicyAsyncWork::ExecRestoreAllPolicies(napi_env env, void *data) in ExecRestoreAllPolicies() 74 void NetPolicyAsyncWork::ExecIsUidNetAllowed(napi_env env, void *data) in ExecIsUidNetAllowed() 105 void NetPolicyAsyncWork::ExecResetPolicies(napi_env env, void *data) in ExecResetPolicies() [all …]
|
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/ |
H A D | js_extension_window_config.cpp | 28 napi_value NapiGetUndefined(napi_env env) in NapiGetUndefined() 58 void JsExtensionWindowConfig::Finalizer(napi_env env, void* data, void* hint) in Finalizer() 64 napi_value CreateJsExtensionWindowConfig(napi_env env, in CreateJsExtensionWindowConfig() 90 napi_value JsExtensionWindowConfig::GetWindowName(napi_env env, napi_callback_info info) in GetWindowName() 97 napi_value JsExtensionWindowConfig::OnGetWindowName(napi_env env, NapiCallbackInfo& info) in OnGetWindowName() 114 napi_value JsExtensionWindowConfig::GetWindowRect(napi_env env, napi_callback_info info) in GetWindowRect() 121 napi_value JsExtensionWindowConfig::OnGetWindowRect(napi_env env, NapiCallbackInfo& info) in OnGetWindowRect() 306 napi_value JsExtensionWindowConfig::SetWindowName(napi_env env, napi_callback_info info) in SetWindowName() 313 napi_value JsExtensionWindowConfig::OnSetWindowName(napi_env env, NapiCallbackInfo& info) in OnSetWindowName() 352 napi_value JsExtensionWindowConfig::SetWindowRect(napi_env env, napi_callback_info info) in SetWindowRect() [all …]
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/xml/test/ |
H A D | test_xml.h | 84 void XmlTest::SetDeclaration(napi_env env) in SetDeclaration() 91 void XmlTest::SetNamespace(napi_env env) in SetNamespace() 102 void XmlTest::StartElement(napi_env env) in StartElement() 113 void XmlTest::WriteEscaped(napi_env env) in WriteEscaped() 125 void XmlTest::PushSrcLinkList(napi_env env) in PushSrcLinkList() 157 TagEnum XmlTest::DealLtGroup(napi_env env) in DealLtGroup() 165 TagEnum XmlTest::ParseTagType(napi_env env) in ParseTagType() 190 int XmlTest::TestGetLineNumber(napi_env env) in TestGetLineNumber() 205 bool XmlTest::TestParseNsp(napi_env env) in TestParseNsp() 240 bool XmlTest::TestParseEndTag(napi_env env) in TestParseEndTag() [all …]
|
/ohos5.0/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
H A D | napi_avsession_enum.cpp | 41 static napi_value ExportLoopMode(napi_env env) in ExportLoopMode() 56 static napi_value ExportSkipIntervals(napi_env env) in ExportSkipIntervals() 69 static napi_value ExportAVCastCategory(napi_env env) in ExportAVCastCategory() 81 static napi_value ExportProtocolType(napi_env env) in ExportProtocolType() 95 static napi_value ExportConnectionState(napi_env env) in ExportConnectionState() 108 static napi_value ExportDeviceType(napi_env env) in ExportDeviceType() 122 static napi_value ExportPlaybackState(napi_env env) in ExportPlaybackState() 144 static napi_value ExportAVCallState(napi_env env) in ExportAVCallState() 323 static napi_value ExportDisplayTag(napi_env env) in ExportDisplayTag() 334 static napi_value ExportCastDisplayState(napi_env env) in ExportCastDisplayState() [all …]
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/connection_module/src/ |
H A D | connection_module.cpp | 89 static bool ParseNetSpecifier(napi_env env, napi_value obj, NetSpecifier &specifier) in ParseNetSpecifier() 166 napi_value ConnectionModule::InitConnectionModule(napi_env env, napi_value exports) in InitConnectionModule() 215 void ConnectionModule::InitProperties(napi_env env, napi_value exports) in InitProperties() 249 napi_value ConnectionModule::HasDefaultNet(napi_env env, napi_callback_info info) in HasDefaultNet() 316 napi_value ConnectionModule::GetDefaultNet(napi_env env, napi_callback_info info) in GetDefaultNet() 330 napi_value ConnectionModule::GetAllNets(napi_env env, napi_callback_info info) in GetAllNets() 337 napi_value ConnectionModule::GetAllNetsSync(napi_env env, napi_callback_info info) in GetAllNetsSync() 393 napi_value ConnectionModule::SetAppHttpProxy(napi_env env, napi_callback_info info) in SetAppHttpProxy() 400 napi_value ConnectionModule::GetAppNet(napi_env env, napi_callback_info info) in GetAppNet() 407 napi_value ConnectionModule::GetAppNetSync(napi_env env, napi_callback_info info) in GetAppNetSync() [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_rdb_const_properties.cpp | 39 static napi_value ExportSyncMode(napi_env env) in ExportSyncMode() 53 static napi_value ExportSubscribeType(napi_env env) in ExportSubscribeType() 66 static napi_value ExportSecurityLevel(napi_env env) in ExportSecurityLevel() 80 static napi_value ExportProgress(napi_env env) in ExportProgress() 92 static napi_value ExportProgressCode(napi_env env) in ExportProgressCode() 109 static napi_value ExportOrigin(napi_env env) in ExportOrigin() 121 static napi_value ExportField(napi_env env) in ExportField() 148 static napi_value ExportChangeType(napi_env env) in ExportChangeType() 203 static napi_value ExportHAMode(napi_env env) in ExportHAMode() 225 static napi_value ExportHmacAlgo(napi_env env) in ExportHmacAlgo() [all …]
|
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/common/helper/ |
H A D | napi_helper.cpp | 37 bool NapiHelper::IsString(napi_env env, napi_value value) in IsString() 55 bool NapiHelper::IsArray(napi_env env, napi_value value) in IsArray() 99 bool NapiHelper::IsNumber(napi_env env, napi_value value) in IsNumber() 122 napi_value NapiHelper::GetUndefinedValue(napi_env env) in GetUndefinedValue() 136 bool NapiHelper::IsCallable(napi_env env, napi_ref value) in IsCallable() 188 bool NapiHelper::IsObject(napi_env env, napi_value value) in IsObject() 225 napi_value NapiHelper::GetGlobalObject(napi_env env) in GetGlobalObject() 246 uv_loop_t* NapiHelper::GetLibUV(napi_env env) in GetLibUV() 315 napi_value NapiHelper::CreateObject(napi_env env) in CreateObject() 329 napi_value NapiHelper::CreateEmptyString(napi_env env) in CreateEmptyString() [all …]
|
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_certificate_init.cpp | 34 static napi_value CreateEncodingFormat(napi_env env) in CreateEncodingFormat() 54 static napi_value CreateCertResultCode(napi_env env) in CreateCertResultCode() 83 static napi_value CreateCertItemType(napi_env env) in CreateCertItemType() 105 static napi_value CreateExtensionOidType(napi_env env) in CreateExtensionOidType() 125 static napi_value CreateExtensionEntryType(napi_env env) in CreateExtensionEntryType() 146 static napi_value CreateGeneralNameTypeType(napi_env env) in CreateGeneralNameTypeType() 175 static napi_value CreateRevocationCheckOptions(napi_env env) in CreateRevocationCheckOptions() 192 static napi_value CreateValidationPolicyType(napi_env env) in CreateValidationPolicyType() 203 static napi_value CreateValidationKeyUsageType(napi_env env) in CreateValidationKeyUsageType() 245 static napi_value CreateEncodingType(napi_env env) in CreateEncodingType() [all …]
|
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/sharing/src/ |
H A D | netshare_async_work.cpp | 23 void NetShareAsyncWork::ExecIsSharingSupported(napi_env env, void *data) in ExecIsSharingSupported() 28 void NetShareAsyncWork::ExecIsSharing(napi_env env, void *data) in ExecIsSharing() 33 void NetShareAsyncWork::ExecStartSharing(napi_env env, void *data) in ExecStartSharing() 38 void NetShareAsyncWork::ExecStopSharing(napi_env env, void *data) in ExecStopSharing() 43 void NetShareAsyncWork::ExecGetSharingIfaces(napi_env env, void *data) in ExecGetSharingIfaces() 48 void NetShareAsyncWork::ExecGetSharingState(napi_env env, void *data) in ExecGetSharingState() 53 void NetShareAsyncWork::ExecGetSharableRegexes(napi_env env, void *data) in ExecGetSharableRegexes() 58 void NetShareAsyncWork::ExecGetStatsRxBytes(napi_env env, void *data) in ExecGetStatsRxBytes() 63 void NetShareAsyncWork::ExecGetStatsTxBytes(napi_env env, void *data) in ExecGetStatsTxBytes() 68 void NetShareAsyncWork::ExecGetStatsTotalBytes(napi_env env, void *data) in ExecGetStatsTotalBytes() [all …]
|
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/vpn/src/ |
H A D | vpn_async_work.cpp | 30 void ExecPrepare(napi_env env, void *data) in ExecPrepare() 35 void PrepareCallback(napi_env env, napi_status status, void *data) in PrepareCallback() 40 void ExecSetUp(napi_env env, void *data) in ExecSetUp() 45 void SetUpCallback(napi_env env, napi_status status, void *data) in SetUpCallback() 50 void ExecProtect(napi_env env, void *data) in ExecProtect() 60 void ExecDestroy(napi_env env, void *data) in ExecDestroy() 71 void ExecAddSysVpnConfig(napi_env env, void *data) in ExecAddSysVpnConfig() 81 void ExecDeleteSysVpnConfig(napi_env env, void *data) in ExecDeleteSysVpnConfig() 91 void ExecGetSysVpnConfigList(napi_env env, void *data) in ExecGetSysVpnConfigList() 101 void ExecGetSysVpnConfig(napi_env env, void *data) in ExecGetSysVpnConfig() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/particleAbility/ |
H A D | particle_ability.cpp | 41 napi_value NAPI_PAGetAppType(napi_env env, napi_callback_info info) in NAPI_PAGetAppType() 55 napi_value NAPI_PAGetAbilityInfo(napi_env env, napi_callback_info info) in NAPI_PAGetAbilityInfo() 69 napi_value NAPI_PAGetHapModuleInfo(napi_env env, napi_callback_info info) in NAPI_PAGetHapModuleInfo() 83 napi_value NAPI_PAGetContext(napi_env env, napi_callback_info info) in NAPI_PAGetContext() 97 napi_value NAPI_PAGetWant(napi_env env, napi_callback_info info) in NAPI_PAGetWant() 111 napi_value NAPI_PAGetAbilityName(napi_env env, napi_callback_info info) in NAPI_PAGetAbilityName() 125 napi_value NAPI_PAStopAbility(napi_env env, napi_callback_info info) in NAPI_PAStopAbility() 181 napi_value ParticleAbilityInit(napi_env env, napi_value exports) in ParticleAbilityInit() 201 void JsParticleAbility::Finalizer(napi_env env, void *data, void *hint) in Finalizer() 230 Ability* JsParticleAbility::GetAbility(napi_env env) in GetAbility() [all …]
|
/ohos5.0/base/location/frameworks/js/napi/source/ |
H A D | location_napi_entry.cpp | 26 napi_value CoordinateSystemTypeConstructor(napi_env env) in CoordinateSystemTypeConstructor() 35 napi_value GeofenceTransitionEventConstructor(napi_env env) in GeofenceTransitionEventConstructor() 48 napi_value SvConstellationTypeConstructor(napi_env env) in SvConstellationTypeConstructor() 116 napi_value UserActivityScenarioTypeConstructor(napi_env env) in UserActivityScenarioTypeConstructor() 127 napi_value LocatingPriorityTypeConstructor(napi_env env) in LocatingPriorityTypeConstructor() 149 napi_value LocationPrivacyTypeConstructor(napi_env env) in LocationPrivacyTypeConstructor() 159 napi_value CountryCodeTypeConstructor(napi_env env) in CountryCodeTypeConstructor() 170 napi_value GeoLocationErrorCodeTypeConstructor(napi_env env) in GeoLocationErrorCodeTypeConstructor() 194 napi_value LocationSourceTypeConstructor(napi_env env) in LocationSourceTypeConstructor() 205 napi_value LocationErrorConstructor(napi_env env) in LocationErrorConstructor() [all …]
|