Home
last modified time | relevance | path

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

123456789

/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/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
65 napi_define_properties(env, exports, sizeof(exportFuncs) / sizeof(*exportFuncs), exportFuncs); in SlotTypeInit()
66 return exports; in SlotTypeInit()
69 napi_value SlotLevelInit(napi_env env, napi_value exports) in SlotLevelInit() argument
86 napi_define_properties(env, exports, sizeof(exportFuncs) / sizeof(*exportFuncs), exportFuncs); in SlotLevelInit()
87 return exports; in SlotLevelInit()
90 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/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_init.cpp48 static void DefineCryptoModeProperties(napi_env env, napi_value exports) in DefineCryptoModeProperties() argument
53 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineCryptoModeProperties()
70 static void DefineResultCodeProperties(napi_env env, napi_value exports) in DefineResultCodeProperties() argument
75 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineResultCodeProperties()
81 static napi_value ModuleExport(napi_env env, napi_value exports) in ModuleExport() argument
85 DefineCryptoModeProperties(env, exports); in ModuleExport()
86 DefineResultCodeProperties(env, exports); in ModuleExport()
87 NapiAsyKeyGenerator::DefineAsyKeyGeneratorJSClass(env, exports); in ModuleExport()
92 NapiSign::DefineSignJSClass(env, exports); in ModuleExport()
93 NapiVerify::DefineVerifyJSClass(env, exports); in ModuleExport()
[all …]
/base/web/webview/interfaces/kits/napi/common/
Dnapi_webview_native_module.cpp30 static napi_value WebViewExport(napi_env env, napi_value exports) in WebViewExport() argument
32 NapiWebDataBase::Init(env, exports); in WebViewExport()
33 NapiWebStorage::Init(env, exports); in WebViewExport()
34 NapiWebAsyncController::Init(env, exports); in WebViewExport()
35 NapiWebviewController::Init(env, exports); in WebViewExport()
36 NapiWebCookieManager::Init(env, exports); in WebViewExport()
37 NapiGeolocationPermission::Init(env, exports); in WebViewExport()
38 WebFunctionInit(env, exports); in WebViewExport()
39 return exports; in WebViewExport()
/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
39 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in NotificationSubscribeInit()
41 return exports; in NotificationSubscribeInit()
46 static napi_value Init(napi_env env, napi_value exports) in Init() argument
51 NotificationSubscribeInit(env, exports); in Init()
52 ConstantInit(env, exports); in Init()
53 OHOS::Media::PixelMapNapi::Init(env, exports); in Init()
55 return exports; in Init()
/base/account/os_account/interfaces/kits/napi/account_iam/src/
Dnapi_account_iam_module.cpp35 napi_value AccountIAMInit(napi_env env, napi_value exports) in AccountIAMInit() argument
38 NapiAccountIAMPINAuth::Init(env, exports); in AccountIAMInit()
41 NapiAccountIAMIdentityManager::Init(env, exports); in AccountIAMInit()
42 NapiAccountIAMUserAuth::Init(env, exports); in AccountIAMInit()
45 NapiAccountIAMConstant::Init(env, exports); in AccountIAMInit()
47 NapiAccountIAMInputerManager::Init(env, exports); in AccountIAMInit()
48 return exports; in AccountIAMInit()
/base/inputmethod/imf/interfaces/kits/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/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/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
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
72 napi_define_properties(env, exports, sizeof(exportFuncs) / sizeof(*exportFuncs), exportFuncs); in ConstantInit()
73 return exports; in ConstantInit()
93 static napi_value Init(napi_env env, napi_value exports) in Init() argument
95 ReminderAgentInit(env, exports); in Init()
96 ConstantInit(env, exports); in Init()
97 return exports; in Init()
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
72 napi_define_properties(env, exports, sizeof(exportFuncs) / sizeof(*exportFuncs), exportFuncs); in ConstantInit()
73 return exports; in ConstantInit()
93 static napi_value ManagerInit(napi_env env, napi_value exports) in ManagerInit() argument
95 ReminderAgentManagerInit(env, exports); in ManagerInit()
96 ConstantInit(env, exports); in ManagerInit()
97 return exports; in ManagerInit()
/base/security/crypto_framework/frameworks/js/napi/certificate/src/
Dnapi_certificate_init.cpp40 static void DefineEncodingFormatProperties(napi_env env, napi_value exports) in DefineEncodingFormatProperties() argument
45 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineEncodingFormatProperties()
69 static void DefineResultCodeProperties(napi_env env, napi_value exports) in DefineResultCodeProperties() argument
74 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineResultCodeProperties()
94 static napi_value CertModuleExport(napi_env env, napi_value exports) in CertModuleExport() argument
98 DefineEncodingFormatProperties(env, exports); in CertModuleExport()
99 DefineResultCodeProperties(env, exports); in CertModuleExport()
101 NapiCertChainValidator::DefineCertChainValidatorJSClass(env, exports); in CertModuleExport()
102 NapiX509Certificate::DefineX509CertJSClass(env, exports); in CertModuleExport()
104 NapiX509Crl::DefineX509CrlJSClass(env, exports); in CertModuleExport()
[all …]
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_init.cpp73 void InitConstClassByName(napi_env env, napi_value exports, std::string name) in InitConstClassByName() argument
95 napi_set_named_property(env, exports, name.c_str(), result); in InitConstClassByName()
99 napi_value InitNapiClass(napi_env env, napi_value exports) in InitNapiClass() argument
101 InitConstClassByName(env, exports, EVENT_CLASS_NAME); in InitNapiClass()
102 InitConstClassByName(env, exports, PARAM_CLASS_NAME); in InitNapiClass()
103 InitConstClassByName(env, exports, EVENT_TYPE_CLASS_NAME); in InitNapiClass()
104 return exports; in InitNapiClass()
107 napi_value InitNapiClassV9(napi_env env, napi_value exports) in InitNapiClassV9() argument
109 InitConstClassByName(env, exports, EVENT_CLASS_NAME_V9); in InitNapiClassV9()
110 InitConstClassByName(env, exports, PARAM_CLASS_NAME_V9); in InitNapiClassV9()
[all …]
/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_init.cpp29 static napi_value Init(napi_env env, napi_value exports) in Init() argument
34 OsAccountInit(env, exports); in Init()
36 AccountIAMInit(env, exports); in Init()
38 DomainAccountInit(env, exports); in Init()
39 return exports; in Init()
/base/inputmethod/imf/interfaces/kits/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/notification/distributed_notification_service/frameworks/js/napi/src/manager/
Dinit_module.cpp36 napi_value NotificationManagerInit(napi_env env, napi_value exports) in NotificationManagerInit() argument
83 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in NotificationManagerInit()
85 return exports; in NotificationManagerInit()
91 static napi_value Init(napi_env env, napi_value exports) in Init() argument
96 NotificationManagerInit(env, exports); in Init()
97 ConstantInit(env, exports); in Init()
98 OHOS::Media::PixelMapNapi::Init(env, exports); in Init()
100 return exports; in Init()
/base/account/os_account/interfaces/kits/napi/domain_account/src/
Dnapi_domain_account_module.cpp25 napi_value DomainAccountInit(napi_env env, napi_value exports) in DomainAccountInit() argument
27 NapiDomainAccountManager::Init(env, exports); in DomainAccountInit()
28 NapiDomainAuthCallback::Init(env, exports); in DomainAccountInit()
29 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.cpp28 static napi_value Init(napi_env env, napi_value exports) in Init() argument
33 CommonEventSubscriberInit(env, exports); in Init()
34 CommonEventInit(env, exports); in Init()
36 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/powermgr/power_manager/frameworks/napi/power/
Dpower_module.cpp40 static napi_value CreateDevicePowerMode(napi_env env, napi_value exports) in CreateDevicePowerMode() argument
62 napi_set_named_property(env, exports, "DevicePowerMode", result); in CreateDevicePowerMode()
64 return exports; in CreateDevicePowerMode()
71 static napi_value PowerInit(napi_env env, napi_value exports) in PowerInit() argument
90 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in PowerInit()
91 CreateDevicePowerMode(env, exports); in PowerInit()
94 return exports; in PowerInit()
/base/telephony/sms_mms/frameworks/js/napi/include/
Dnapi_mms.h216 static napi_value InitEnumMmsCharSets(napi_env env, napi_value exports);
217 static napi_value InitEnumMessageType(napi_env env, napi_value exports);
218 static napi_value InitEnumPriorityType(napi_env env, napi_value exports);
219 static napi_value InitEnumVersionType(napi_env env, napi_value exports);
220 static napi_value InitEnumDispositionType(napi_env env, napi_value exports);
221 static napi_value InitEnumReportAllowedType(napi_env env, napi_value exports);
222 static napi_value InitSupportEnumMmsCharSets(napi_env env, napi_value exports);
223 static napi_value InitSupportEnumMessageType(napi_env env, napi_value exports);
224 static napi_value InitSupportEnumPriorityType(napi_env env, napi_value exports);
225 static napi_value InitSupportEnumVersionType(napi_env env, napi_value exports);
[all …]
/base/notification/distributed_notification_service/frameworks/js/napi/include/reminder/
Dnative_module.h28 napi_value ConstantInit(napi_env env, napi_value exports);
29 napi_value ReminderAgentInit(napi_env env, napi_value exports);
31 static napi_value Init(napi_env env, napi_value exports);

123456789