/base/update/updateservice/frameworks/js/napi/update/include/ |
D | define_property.h | 28 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/ |
D | napi_webview_native_module.cpp | 34 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/ |
D | constant.cpp | 30 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 …]
|
D | init.cpp | 38 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/ |
D | constant.h | 22 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/ |
D | define_property.cpp | 34 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/ |
D | napi_certificate_init.cpp | 44 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/ |
D | napi_init.cpp | 54 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/ |
D | napi_account_iam_module.cpp | 31 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/ |
D | init_module.cpp | 28 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/ |
D | init_module.cpp | 41 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/ |
D | hks_lite_api.cpp | 208 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/ |
D | napi_app_account_module.cpp | 28 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/ |
D | input_method_engine_module.cpp | 27 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/ |
D | napi_hiappevent_init.cpp | 81 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/ |
D | native_module_manager.cpp | 26 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()
|
D | native_module.cpp | 26 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/ |
D | napi_init.cpp | 27 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/ |
D | input_method_module.cpp | 24 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/ |
D | napi_call_manager.h | 43 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/ |
D | napi_domain_account_module.cpp | 23 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/ |
D | runninglock_module.cpp | 56 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/ |
D | module.cpp | 25 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/ |
D | init.cpp | 27 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/ |
D | init.cpp | 27 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()
|