Home
last modified time | relevance | path

Searched refs:exports (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/base/update/updateservice/frameworks/js/napi/update/include/
Ddefine_property.h28 static void DefineProperties(napi_env env, napi_value exports);
31 static void DefineCallResult(napi_env env, napi_value exports);
32 static void DefineUpgradeStatus(napi_env env, napi_value exports);
33 static void DefineComponentType(napi_env env, napi_value exports);
34 static void DefineEffectiveMode(napi_env env, napi_value exports);
35 static void DefineNetType(napi_env env, napi_value exports);
36 static void DefineOrder(napi_env env, napi_value exports);
37 static void DefineEventClassify(napi_env env, napi_value exports);
38 static void DefineBusinessSubType(napi_env env, napi_value exports);
39 static void DefineDescriptionType(napi_env env, napi_value exports);
[all …]
/base/web/webview/interfaces/kits/napi/common/
Dnapi_webview_native_module.cpp34 static napi_value WebViewExport(napi_env env, napi_value exports) in WebViewExport() argument
36 NapiWebDataBase::Init(env, exports); in WebViewExport()
37 NapiWebStorage::Init(env, exports); in WebViewExport()
38 NapiWebAsyncController::Init(env, exports); in WebViewExport()
39 NapiWebviewController::Init(env, exports); in WebViewExport()
40 NapiWebCookieManager::Init(env, exports); in WebViewExport()
41 NapiGeolocationPermission::Init(env, exports); in WebViewExport()
42 NapiWebDownloadItem::Init(env, exports); in WebViewExport()
43 NapiWebDownloadManager::Init(env, exports); in WebViewExport()
44 NapiWebDownloadDelegate::Init(env, exports); in WebViewExport()
[all …]
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dconstant.cpp30 napi_value RemoveReasonInit(napi_env env, napi_value exports) in RemoveReasonInit() argument
44 napi_define_properties(env, exports, sizeof(exportFuncs) / sizeof(*exportFuncs), exportFuncs); in RemoveReasonInit()
45 return exports; in RemoveReasonInit()
48 napi_value SlotTypeInit(napi_env env, napi_value exports) in SlotTypeInit() argument
67 napi_define_properties(env, exports, sizeof(exportFuncs) / sizeof(*exportFuncs), exportFuncs); in SlotTypeInit()
68 return exports; in SlotTypeInit()
71 napi_value SlotLevelInit(napi_env env, napi_value exports) in SlotLevelInit() argument
88 napi_define_properties(env, exports, sizeof(exportFuncs) / sizeof(*exportFuncs), exportFuncs); in SlotLevelInit()
89 return exports; in SlotLevelInit()
92 napi_value SemanticActionButtonInit(napi_env env, napi_value exports) in SemanticActionButtonInit() argument
[all …]
Dinit.cpp38 napi_value NotificationInit(napi_env env, napi_value exports) in NotificationInit() argument
88 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in NotificationInit()
90 return exports; in NotificationInit()
96 static napi_value Init(napi_env env, napi_value exports) in Init() argument
102 NotificationInit(env, exports); in Init()
103 ConstantInit(env, exports); in Init()
104 OHOS::Media::PixelMapNapi::Init(env, exports); in Init()
106 return exports; in Init()
/base/notification/distributed_notification_service/frameworks/js/napi/include/
Dconstant.h22 napi_value RemoveReasonInit(napi_env env, napi_value exports);
23 napi_value SlotTypeInit(napi_env env, napi_value exports);
24 napi_value SlotLevelInit(napi_env env, napi_value exports);
25 napi_value SemanticActionButtonInit(napi_env env, napi_value exports);
26 napi_value InputsSourceInit(napi_env env, napi_value exports);
27 napi_value DoNotDisturbMode(napi_env env, napi_value exports);
28 napi_value InputEditTypeInit(napi_env env, napi_value exports);
29 napi_value ContentTypeInit(napi_env env, napi_value exports);
30 napi_value DoNotDisturbTypeInit(napi_env env, napi_value exports);
31 napi_value DeviceRemindTypeInit(napi_env env, napi_value exports);
[all …]
/base/update/updateservice/frameworks/js/napi/update/src/
Ddefine_property.cpp34 void DefineProperty::DefineProperties(napi_env env, napi_value exports) in DefineProperties() argument
36 DefineCallResult(env, exports); in DefineProperties()
37 DefineUpgradeStatus(env, exports); in DefineProperties()
38 DefineComponentType(env, exports); in DefineProperties()
39 DefineEffectiveMode(env, exports); in DefineProperties()
40 DefineNetType(env, exports); in DefineProperties()
41 DefineOrder(env, exports); in DefineProperties()
42 DefineEventClassify(env, exports); in DefineProperties()
43 DefineBusinessSubType(env, exports); in DefineProperties()
44 DefineDescriptionType(env, exports); in DefineProperties()
[all …]
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_certificate_init.cpp44 static void DefineEncodingFormatProperties(napi_env env, napi_value exports) in DefineEncodingFormatProperties() argument
49 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineEncodingFormatProperties()
73 static void DefineResultCodeProperties(napi_env env, napi_value exports) in DefineResultCodeProperties() argument
78 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineResultCodeProperties()
95 static void DefineCertItemTypeProperties(napi_env env, napi_value exports) in DefineCertItemTypeProperties() argument
100 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineCertItemTypeProperties()
115 static void DefineExtensionOidTypeProperties(napi_env env, napi_value exports) in DefineExtensionOidTypeProperties() argument
120 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineExtensionOidTypeProperties()
136 static void DefineExtensionEntryTypeProperties(napi_env env, napi_value exports) in DefineExtensionEntryTypeProperties() argument
141 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineExtensionEntryTypeProperties()
[all …]
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_init.cpp54 static void DefineCryptoModeProperties(napi_env env, napi_value exports) in DefineCryptoModeProperties() argument
59 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineCryptoModeProperties()
77 static void DefineResultCodeProperties(napi_env env, napi_value exports) in DefineResultCodeProperties() argument
82 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineResultCodeProperties()
126 static void DefineAsyKeySpecItemProperties(napi_env env, napi_value exports) in DefineAsyKeySpecItemProperties() argument
131 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineAsyKeySpecItemProperties()
147 static void DefineAsyKeySpecTypeProperties(napi_env env, napi_value exports) in DefineAsyKeySpecTypeProperties() argument
152 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineAsyKeySpecTypeProperties()
169 static void DefineCipherSpecItemProperties(napi_env env, napi_value exports) in DefineCipherSpecItemProperties() argument
174 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineCipherSpecItemProperties()
[all …]
/base/account/os_account/interfaces/kits/napi/account_iam/src/
Dnapi_account_iam_module.cpp31 napi_value AccountIAMInit(napi_env env, napi_value exports) in AccountIAMInit() argument
34 NapiAccountIAMPINAuth::Init(env, exports); in AccountIAMInit()
35 NapiAccountIAMInputerManager::Init(env, exports); in AccountIAMInit()
37 NapiAccountIAMIdentityManager::Init(env, exports); in AccountIAMInit()
38 NapiAccountIAMUserAuth::Init(env, exports); in AccountIAMInit()
39 NapiAccountIAMConstant::Init(env, exports); in AccountIAMInit()
40 return exports; in AccountIAMInit()
/base/notification/distributed_notification_service/frameworks/js/napi/src/subscribe/
Dinit_module.cpp28 napi_value NotificationSubscribeInit(napi_env env, napi_value exports) in NotificationSubscribeInit() argument
40 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in NotificationSubscribeInit()
42 return exports; in NotificationSubscribeInit()
47 static napi_value Init(napi_env env, napi_value exports) in Init() argument
52 NotificationSubscribeInit(env, exports); in Init()
53 ConstantInit(env, exports); in Init()
54 OHOS::Media::PixelMapNapi::Init(env, exports); in Init()
56 return exports; in Init()
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
Dinit_module.cpp41 static napi_value NapiPushInit(napi_env env, napi_value exports) in NapiPushInit() argument
44 if (env == nullptr || exports == nullptr) { in NapiPushInit()
50 napi_wrap(env, exports, napiPush.release(), NapiPush::Finalizer, nullptr, nullptr); in NapiPushInit()
53 …OHOS::AbilityRuntime::BindNativeFunction(env, exports, "on", moduleName, NapiPush::RegisterPushCal… in NapiPushInit()
54 …OHOS::AbilityRuntime::BindNativeFunction(env, exports, "off", moduleName, NapiPush::UnregisterPush… in NapiPushInit()
56 return exports; in NapiPushInit()
59 napi_value NotificationManagerInit(napi_env env, napi_value exports) in NotificationManagerInit() argument
112 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in NotificationManagerInit()
114 return NapiPushInit(env, exports); in NotificationManagerInit()
120 static napi_value Init(napi_env env, napi_value exports) in Init() argument
[all …]
/base/security/huks/interfaces/kits/liteapi/src/
Dhks_lite_api.cpp208 static void InitHuksModuleEnum(JSIValue exports) in InitHuksModuleEnum() argument
210 JSI::SetNamedProperty(exports, "HuksExceptionErrCode", CreateHuksErrCode()); in InitHuksModuleEnum()
211 JSI::SetNamedProperty(exports, "HuksKeyPurpose", CreateHuksKeyPurpose()); in InitHuksModuleEnum()
212 JSI::SetNamedProperty(exports, "HuksKeyPadding", CreateHuksKeyPadding()); in InitHuksModuleEnum()
213 JSI::SetNamedProperty(exports, "HuksCipherMode", CreateHuksCipherMode()); in InitHuksModuleEnum()
214 JSI::SetNamedProperty(exports, "HuksKeySize", CreateHuksKeySize()); in InitHuksModuleEnum()
215 JSI::SetNamedProperty(exports, "HuksKeyAlg", CreateHuksKeyAlg()); in InitHuksModuleEnum()
216 JSI::SetNamedProperty(exports, "HuksKeyFlag", CreateHuksKeyFlag()); in InitHuksModuleEnum()
217 JSI::SetNamedProperty(exports, "HuksKeyStorageType", CreateHuksKeyStorageType()); in InitHuksModuleEnum()
218 JSI::SetNamedProperty(exports, "HuksTagType", CreateHuksTagType()); in InitHuksModuleEnum()
[all …]
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account_module.cpp28 static napi_value Init(napi_env env, napi_value exports) in Init() argument
30 OHOS::AccountJsKit::NapiAppAccount::Init(env, exports); in Init()
31 OHOS::AccountJsKit::NapiAppAccountConstant::Init(env, exports); in Init()
32 OHOS::AccountJsKit::NapiAppAccountAuthenticatorCallback::Init(env, exports); in Init()
33 OHOS::AccountJsKit::NapiAppAccountAuthenticator::Init(env, exports); in Init()
34 return exports; in Init()
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
Dinput_method_engine_module.cpp27 static napi_value Init(napi_env env, napi_value exports) in Init() argument
29 OHOS::MiscServices::JsInputMethodEngineSetting::Init(env, exports); in Init()
30 OHOS::MiscServices::JsKeyboardControllerEngine::Init(env, exports); in Init()
31 OHOS::MiscServices::JsTextInputClientEngine::Init(env, exports); in Init()
32 OHOS::MiscServices::JsKeyboardDelegateSetting::Init(env, exports); in Init()
33 return exports; in Init()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_init.cpp81 void InitConstClassByName(napi_env env, napi_value exports, const std::string& name) in InitConstClassByName() argument
105 napi_set_named_property(env, exports, name.c_str(), result); in InitConstClassByName()
109 napi_value InitNapiClass(napi_env env, napi_value exports) in InitNapiClass() argument
111 InitConstClassByName(env, exports, EVENT_CLASS_NAME); in InitNapiClass()
112 InitConstClassByName(env, exports, PARAM_CLASS_NAME); in InitNapiClass()
113 InitConstClassByName(env, exports, EVENT_TYPE_CLASS_NAME); in InitNapiClass()
114 return exports; in InitNapiClass()
117 napi_value InitNapiClassV9(napi_env env, napi_value exports) in InitNapiClassV9() argument
119 InitConstClassByName(env, exports, EVENT_CLASS_NAME_V9); in InitNapiClassV9()
120 InitConstClassByName(env, exports, PARAM_CLASS_NAME_V9); in InitNapiClassV9()
[all …]
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dnative_module_manager.cpp26 napi_value ReminderAgentManagerInit(napi_env env, napi_value exports) in ReminderAgentManagerInit() argument
37 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in ReminderAgentManagerInit()
38 return exports; in ReminderAgentManagerInit()
41 napi_value ConstantInit(napi_env env, napi_value exports) in ConstantInit() argument
75 napi_define_properties(env, exports, sizeof(exportFuncs) / sizeof(*exportFuncs), exportFuncs); in ConstantInit()
76 return exports; in ConstantInit()
96 static napi_value ManagerInit(napi_env env, napi_value exports) in ManagerInit() argument
98 ReminderAgentManagerInit(env, exports); in ManagerInit()
99 ConstantInit(env, exports); in ManagerInit()
100 return exports; in ManagerInit()
Dnative_module.cpp26 napi_value ReminderAgentInit(napi_env env, napi_value exports) in ReminderAgentInit() argument
37 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in ReminderAgentInit()
38 return exports; in ReminderAgentInit()
41 napi_value ConstantInit(napi_env env, napi_value exports) in ConstantInit() argument
75 napi_define_properties(env, exports, sizeof(exportFuncs) / sizeof(*exportFuncs), exportFuncs); in ConstantInit()
76 return exports; in ConstantInit()
96 static napi_value Init(napi_env env, napi_value exports) in Init() argument
98 ReminderAgentInit(env, exports); in Init()
99 ConstantInit(env, exports); in Init()
100 return exports; in Init()
/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_init.cpp27 static napi_value Init(napi_env env, napi_value exports) in Init() argument
32 OsAccountInit(env, exports); in Init()
33 AccountIAMInit(env, exports); in Init()
34 DomainAccountInit(env, exports); in Init()
35 return exports; in Init()
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Dinput_method_module.cpp24 static napi_value Init(napi_env env, napi_value exports) in Init() argument
26 OHOS::MiscServices::JsGetInputMethodSetting::Init(env, exports); in Init()
27 OHOS::MiscServices::JsGetInputMethodController::Init(env, exports); in Init()
28 OHOS::MiscServices::JsInputMethod::Init(env, exports); in Init()
29 return exports; in Init()
/base/telephony/call_manager/frameworks/js/napi/include/
Dnapi_call_manager.h43 static napi_value DeclareCallBasisInterface(napi_env env, napi_value exports);
44 static napi_value DeclareCallConferenceInterface(napi_env env, napi_value exports);
45 static napi_value DeclareCallSupplementInterface(napi_env env, napi_value exports);
46 static napi_value DeclareCallExtendInterface(napi_env env, napi_value exports);
47 static napi_value DeclareCallMultimediaInterface(napi_env env, napi_value exports);
48 static napi_value DeclareCallImsInterface(napi_env env, napi_value exports);
49 static napi_value DeclareCallMediaEnum(napi_env env, napi_value exports);
50 static napi_value DeclareCallDialEnum(napi_env env, napi_value exports);
51 static napi_value DeclareCallStateEnum(napi_env env, napi_value exports);
52 static napi_value DeclareCallEventEnum(napi_env env, napi_value exports);
[all …]
/base/account/os_account/interfaces/kits/napi/domain_account/src/
Dnapi_domain_account_module.cpp23 napi_value DomainAccountInit(napi_env env, napi_value exports) in DomainAccountInit() argument
25 NapiDomainAuthCallback::Init(env, exports); in DomainAccountInit()
26 NapiDomainAccountManager::Init(env, exports); in DomainAccountInit()
27 return exports; in DomainAccountInit()
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_module.cpp56 static napi_value CreateRunningLockClass(napi_env env, napi_value exports) in CreateRunningLockClass() argument
74 napi_set_named_property(env, exports, "RunningLock", result); in CreateRunningLockClass()
75 return exports; in CreateRunningLockClass()
88 static napi_value CreateRunningLockType(napi_env env, napi_value exports) in CreateRunningLockType() argument
104 napi_set_named_property(env, exports, "RunningLockType", result); in CreateRunningLockType()
105 return exports; in CreateRunningLockType()
122 static napi_value RunningLockInit(napi_env env, napi_value exports) in RunningLockInit() argument
126 CreateRunningLockType(env, exports); in RunningLockInit()
127 CreateRunningLockClass(env, exports); in RunningLockInit()
135 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in RunningLockInit()
[all …]
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/hilog/
Dmodule.cpp25 static napi_value Export(napi_env env, napi_value exports) in Export() argument
28 products.emplace_back(make_unique<HilogNapi>(env, exports)); in Export()
30 if (!product->Export(env, exports)) { in Export()
34 return exports; in Export()
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
Dinit.cpp27 static napi_value Init(napi_env env, napi_value exports) in Init() argument
32 CommonEventSubscriberInit(env, exports); in Init()
33 CommonEventManagerInit(env, exports); in Init()
34 return exports; in Init()
/base/notification/common_event_service/interfaces/kits/napi/common_event/src/
Dinit.cpp27 static napi_value Init(napi_env env, napi_value exports) in Init() argument
32 CommonEventSubscriberInit(env, exports); in Init()
33 CommonEventInit(env, exports); in Init()
35 return exports; in Init()

12345678910>>...13