Home
last modified time | relevance | path

Searched refs:DECLARE_NAPI_FUNCTION (Results 1 – 25 of 501) sorted by relevance

12345678910>>...21

/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dinit_module.cpp68 DECLARE_NAPI_FUNCTION("publish", NapiPublish), in NotificationManagerInit()
70 DECLARE_NAPI_FUNCTION("show", NapiShowNotification), in NotificationManagerInit()
71 DECLARE_NAPI_FUNCTION("cancel", NapiCancel), in NotificationManagerInit()
72 DECLARE_NAPI_FUNCTION("cancelAll", NapiCancelAll), in NotificationManagerInit()
73 DECLARE_NAPI_FUNCTION("cancelGroup", NapiCancelGroup), in NotificationManagerInit()
76 DECLARE_NAPI_FUNCTION("addSlot", NapiAddSlot), in NotificationManagerInit()
77 DECLARE_NAPI_FUNCTION("addSlots", NapiAddSlots), in NotificationManagerInit()
79 DECLARE_NAPI_FUNCTION("getSlot", NapiGetSlot), in NotificationManagerInit()
81 DECLARE_NAPI_FUNCTION("getSlots", NapiGetSlots), in NotificationManagerInit()
83 DECLARE_NAPI_FUNCTION("removeSlot", NapiRemoveSlot), in NotificationManagerInit()
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dinit.cpp43 DECLARE_NAPI_FUNCTION("subscribe", Subscribe), in NotificationInit()
45 DECLARE_NAPI_FUNCTION("publish", Publish), in NotificationInit()
47 DECLARE_NAPI_FUNCTION("remove", Remove), in NotificationInit()
48 DECLARE_NAPI_FUNCTION("removeAll", RemoveAll), in NotificationInit()
52 DECLARE_NAPI_FUNCTION("cancel", Cancel), in NotificationInit()
53 DECLARE_NAPI_FUNCTION("cancelAll", CancelAll), in NotificationInit()
56 DECLARE_NAPI_FUNCTION("addSlot", AddSlot), in NotificationInit()
57 DECLARE_NAPI_FUNCTION("addSlots", AddSlots), in NotificationInit()
59 DECLARE_NAPI_FUNCTION("getSlot", GetSlot), in NotificationInit()
61 DECLARE_NAPI_FUNCTION("getSlots", GetSlots), in NotificationInit()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/
H A Dnative_module.cpp114 DECLARE_NAPI_FUNCTION("getAbilityLabel", GetAbilityLabel), in BundleManagerExport()
116 DECLARE_NAPI_FUNCTION("getAbilityIcon", GetAbilityIcon), in BundleManagerExport()
126 DECLARE_NAPI_FUNCTION("getAllBundleInfo", GetBundleInfos), in BundleManagerExport()
127 DECLARE_NAPI_FUNCTION("getBundleInfo", GetBundleInfo), in BundleManagerExport()
146 DECLARE_NAPI_FUNCTION("getExtResource", GetExtResource), in BundleManagerExport()
149 DECLARE_NAPI_FUNCTION("getDynamicIcon", GetDynamicIcon), in BundleManagerExport()
158 DECLARE_NAPI_FUNCTION("getJsonProfile", GetJsonProfile), in BundleManagerExport()
159 DECLARE_NAPI_FUNCTION("verifyAbc", VerifyAbc), in BundleManagerExport()
160 DECLARE_NAPI_FUNCTION("deleteAbc", DeleteAbc), in BundleManagerExport()
164 DECLARE_NAPI_FUNCTION("canOpenLink", CanOpenLink), in BundleManagerExport()
[all …]
/ohos5.0/foundation/communication/wifi/wifi/frameworks/js/napi/src/
H A Dwifi_napi_entry.cpp318 DECLARE_NAPI_FUNCTION("enableWifi", EnableWifi), in Init()
322 DECLARE_NAPI_FUNCTION("scan", Scan), in Init()
323 DECLARE_NAPI_FUNCTION("startScan", StartScan), in Init()
339 DECLARE_NAPI_FUNCTION("disconnect", Disconnect), in Init()
341 DECLARE_NAPI_FUNCTION("reconnect", ReConnect), in Init()
343 DECLARE_NAPI_FUNCTION("getIpInfo", GetIpInfo), in Init()
383 DECLARE_NAPI_FUNCTION("p2pConnect", P2pConnect), in Init()
399 DECLARE_NAPI_FUNCTION("on", On), in Init()
400 DECLARE_NAPI_FUNCTION("off", Off), in Init()
433 DECLARE_NAPI_FUNCTION("enableWifi", EnableWifi),
[all …]
/ohos5.0/base/security/certificate_manager/interfaces/kits/napi/src/
H A Dcm_napi.cpp117 DECLARE_NAPI_FUNCTION("getSystemTrustedCertificate", CMNapiGetSystemCertInfo), in CMNapiRegister()
118 DECLARE_NAPI_FUNCTION("setCertificateStatus", CMNapiSetCertStatus), in CMNapiRegister()
121 DECLARE_NAPI_FUNCTION("installPublicCertificate", CMNapiInstallPublicCert), in CMNapiRegister()
125 DECLARE_NAPI_FUNCTION("getPublicCertificate", CMNapiGetPublicCertInfo), in CMNapiRegister()
138 DECLARE_NAPI_FUNCTION("getPrivateCertificate", CMNapiGetPrivateAppCertInfo), in CMNapiRegister()
143 DECLARE_NAPI_FUNCTION("isAuthorizedApp", CMNapiIsAuthorizedApp), in CMNapiRegister()
144 DECLARE_NAPI_FUNCTION("getAuthorizedAppList", CMNapiGetAuthorizedAppList), in CMNapiRegister()
146 DECLARE_NAPI_FUNCTION("init", CMNapiInit), in CMNapiRegister()
147 DECLARE_NAPI_FUNCTION("update", CMNapiUpdate), in CMNapiRegister()
148 DECLARE_NAPI_FUNCTION("finish", CMNapiFinish), in CMNapiRegister()
[all …]
/ohos5.0/base/location/frameworks/js/napi/source/
H A Dlocation_napi_entry.cpp233 DECLARE_NAPI_FUNCTION("enableLocation", EnableLocation), in Init()
240 DECLARE_NAPI_FUNCTION("sendCommand", SendCommand), in Init()
241 DECLARE_NAPI_FUNCTION("on", On), in Init()
242 DECLARE_NAPI_FUNCTION("off", Off), in Init()
245 DECLARE_NAPI_FUNCTION("getLocation", GetLocation), in Init()
247 DECLARE_NAPI_FUNCTION("subscribe", Subscribe), in Init()
248 DECLARE_NAPI_FUNCTION("unsubscribe", Unsubscribe), in Init()
281 DECLARE_NAPI_FUNCTION("on", On), in InitManager()
282 DECLARE_NAPI_FUNCTION("off", Off), in InitManager()
286 DECLARE_NAPI_FUNCTION("enableLocation", EnableLocation), in InitManager()
[all …]
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Dresource_manager_addon.cpp89 DECLARE_NAPI_FUNCTION("getString", GetString), in Init()
93 DECLARE_NAPI_FUNCTION("getMedia", GetMedia), in Init()
101 DECLARE_NAPI_FUNCTION("getRawFile", GetRawFile), in Init()
106 DECLARE_NAPI_FUNCTION("getBoolean", GetBoolean), in Init()
107 DECLARE_NAPI_FUNCTION("getNumber", GetNumber), in Init()
110 DECLARE_NAPI_FUNCTION("release", Release), in Init()
117 DECLARE_NAPI_FUNCTION("getRawFd", GetRawFd), in Init()
118 DECLARE_NAPI_FUNCTION("closeRawFd", CloseRawFd), in Init()
122 DECLARE_NAPI_FUNCTION("getColor", GetColor), in Init()
124 DECLARE_NAPI_FUNCTION("getColorSync", GetColorSync), in Init()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dnative_module.cpp84 DECLARE_NAPI_FUNCTION("getBundleInfos", GetBundleInfos), in Init()
85 DECLARE_NAPI_FUNCTION("getBundleInfo", GetBundleInfo), in Init()
86 DECLARE_NAPI_FUNCTION("getNameForUid", GetNameForUid), in Init()
87 DECLARE_NAPI_FUNCTION("getAbilityInfo", GetAbilityInfo), in Init()
88 DECLARE_NAPI_FUNCTION("getAbilityLabel", GetAbilityLabel), in Init()
90 DECLARE_NAPI_FUNCTION("getAllBundleInfo", GetBundleInfos), in Init()
91 DECLARE_NAPI_FUNCTION("getPermissionDef", GetPermissionDef), in Init()
97 DECLARE_NAPI_FUNCTION("getAbilityIcon", GetAbilityIcon), in Init()
120 DECLARE_NAPI_FUNCTION("install", Install), in Init()
121 DECLARE_NAPI_FUNCTION("recover", Recover), in Init()
[all …]
/ohos5.0/base/global/resource_management/interfaces/js/innerkits/core/src/
H A Dresource_manager_addon.cpp123 DECLARE_NAPI_FUNCTION("getString", GetString),
127 DECLARE_NAPI_FUNCTION("getMedia", GetMedia),
135 DECLARE_NAPI_FUNCTION("getRawFile", GetRawFile),
140 DECLARE_NAPI_FUNCTION("getBoolean", GetBoolean),
141 DECLARE_NAPI_FUNCTION("getNumber", GetNumber),
144 DECLARE_NAPI_FUNCTION("release", Release),
151 DECLARE_NAPI_FUNCTION("getRawFd", GetRawFd),
152 DECLARE_NAPI_FUNCTION("closeRawFd", CloseRawFd),
156 DECLARE_NAPI_FUNCTION("getColor", GetColor),
177 DECLARE_NAPI_FUNCTION("getSymbol", GetSymbol),
[all …]
/ohos5.0/base/theme/wallpaper_mgr/frameworks/js/napi/
H A Dnative_module.cpp104 DECLARE_NAPI_FUNCTION("getColors", NAPI_GetColors), in Init()
106 DECLARE_NAPI_FUNCTION("getId", NAPI_GetId), in Init()
107 DECLARE_NAPI_FUNCTION("getFile", NAPI_GetFile), in Init()
114 DECLARE_NAPI_FUNCTION("reset", NAPI_Reset), in Init()
115 DECLARE_NAPI_FUNCTION("restore", NAPI_Restore), in Init()
117 DECLARE_NAPI_FUNCTION("setImage", NAPI_SetImage), in Init()
119 DECLARE_NAPI_FUNCTION("getImage", NAPI_GetImage), in Init()
122 DECLARE_NAPI_FUNCTION("on", NAPI_On), in Init()
123 DECLARE_NAPI_FUNCTION("off", NAPI_Off), in Init()
124 DECLARE_NAPI_FUNCTION("setVideo", NAPI_SetVideo), in Init()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/installer/
H A Dnative_module.cpp32 DECLARE_NAPI_FUNCTION("getBundleInstaller", GetBundleInstaller), in BundleInstallerExport()
39 DECLARE_NAPI_FUNCTION("install", Install), in BundleInstallerExport()
40 DECLARE_NAPI_FUNCTION("recover", Recover), in BundleInstallerExport()
41 DECLARE_NAPI_FUNCTION("uninstall", Uninstall), in BundleInstallerExport()
42 DECLARE_NAPI_FUNCTION("updateBundleForSelf", UpdateBundleForSelf), in BundleInstallerExport()
43 DECLARE_NAPI_FUNCTION("uninstallUpdates", UninstallAndRecover), in BundleInstallerExport()
44 DECLARE_NAPI_FUNCTION("addExtResource", AddExtResource), in BundleInstallerExport()
45 DECLARE_NAPI_FUNCTION("removeExtResource", RemoveExtResource), in BundleInstallerExport()
46 DECLARE_NAPI_FUNCTION("createAppClone", CreateAppClone), in BundleInstallerExport()
47 DECLARE_NAPI_FUNCTION("destroyAppClone", DestroyAppClone), in BundleInstallerExport()
[all …]
/ohos5.0/base/powermgr/power_manager/frameworks/napi/power/
H A Dpower_module.cpp77 DECLARE_NAPI_FUNCTION("rebootDevice", Power::RebootDevice), in PowerInit()
78 DECLARE_NAPI_FUNCTION("isScreenOn", Power::IsScreenOn), in PowerInit()
79 DECLARE_NAPI_FUNCTION("wakeupDevice", Power::WakeupDevice), in PowerInit()
80 DECLARE_NAPI_FUNCTION("suspendDevice", Power::SuspendDevice), in PowerInit()
83 DECLARE_NAPI_FUNCTION("shutdown", PowerNapi::Shutdown), in PowerInit()
84 DECLARE_NAPI_FUNCTION("reboot", PowerNapi::Reboot), in PowerInit()
85 DECLARE_NAPI_FUNCTION("isActive", PowerNapi::IsActive), in PowerInit()
86 DECLARE_NAPI_FUNCTION("wakeup", PowerNapi::Wakeup), in PowerInit()
87 DECLARE_NAPI_FUNCTION("suspend", PowerNapi::Suspend), in PowerInit()
88 DECLARE_NAPI_FUNCTION("hibernate", PowerNapi::Hibernate), in PowerInit()
[all …]
/ohos5.0/foundation/barrierfree/accessibility/interfaces/kits/napi/src/
H A Dnative_module.cpp34 DECLARE_NAPI_FUNCTION("isOpenAccessibility", NAccessibilityClient::IsOpenAccessibility), in Init()
35DECLARE_NAPI_FUNCTION("isOpenAccessibilitySync", NAccessibilityClient::IsOpenAccessibilitySync), in Init()
36 DECLARE_NAPI_FUNCTION("isOpenTouchGuide", NAccessibilityClient::IsOpenTouchExploration), in Init()
37DECLARE_NAPI_FUNCTION("isOpenTouchGuideSync", NAccessibilityClient::IsOpenTouchExplorationSync), in Init()
38 DECLARE_NAPI_FUNCTION("getAbilityLists", NAccessibilityClient::GetAbilityList), in Init()
40 DECLARE_NAPI_FUNCTION("getAccessibilityExtensionListSync", in Init()
42 DECLARE_NAPI_FUNCTION("on", NAccessibilityClient::SubscribeState), in Init()
43 DECLARE_NAPI_FUNCTION("off", NAccessibilityClient::UnsubscribeState), in Init()
44 DECLARE_NAPI_FUNCTION("sendEvent", NAccessibilityClient::SendEvent), in Init()
45DECLARE_NAPI_FUNCTION("sendAccessibilityEvent", NAccessibilityClient::SendAccessibilityEvent), in Init()
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/
H A Dstorage_statistics_napi.cpp31 DECLARE_NAPI_FUNCTION("getTotalSizeOfVolume", GetTotalSizeOfVolume), in StorageStatisticsExport()
32 DECLARE_NAPI_FUNCTION("getFreeSizeOfVolume", GetFreeSizeOfVolume), in StorageStatisticsExport()
33 DECLARE_NAPI_FUNCTION("getBundleStats", GetBundleStats), in StorageStatisticsExport()
34 DECLARE_NAPI_FUNCTION("getCurrentBundleStats", GetCurrentBundleStats), in StorageStatisticsExport()
35 DECLARE_NAPI_FUNCTION("getSystemSize", GetSystemSize), in StorageStatisticsExport()
36 DECLARE_NAPI_FUNCTION("getUserStorageStats", GetUserStorageStats), in StorageStatisticsExport()
37 DECLARE_NAPI_FUNCTION("getTotalSize", GetTotalSize), in StorageStatisticsExport()
38 DECLARE_NAPI_FUNCTION("getFreeSize", GetFreeSize), in StorageStatisticsExport()
39 DECLARE_NAPI_FUNCTION("getTotalSizeSync", GetTotalSizeSync), in StorageStatisticsExport()
40 DECLARE_NAPI_FUNCTION("getFreeSizeSync", GetFreeSizeSync), in StorageStatisticsExport()
H A Dvolumemanager_napi.cpp31 DECLARE_NAPI_FUNCTION("getAllVolumes", GetAllVolumes), in VolumeManagerExport()
32 DECLARE_NAPI_FUNCTION("mount", Mount), in VolumeManagerExport()
33 DECLARE_NAPI_FUNCTION("unmount", Unmount), in VolumeManagerExport()
34 DECLARE_NAPI_FUNCTION("getVolumeByUuid", GetVolumeByUuid), in VolumeManagerExport()
35 DECLARE_NAPI_FUNCTION("getVolumeById", GetVolumeById), in VolumeManagerExport()
36 DECLARE_NAPI_FUNCTION("setVolumeDescription", SetVolumeDescription), in VolumeManagerExport()
37 DECLARE_NAPI_FUNCTION("format", Format), in VolumeManagerExport()
38 DECLARE_NAPI_FUNCTION("partition", Partition), in VolumeManagerExport()
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_tag.cpp439 DECLARE_NAPI_FUNCTION("reset", NapiNfcTagSession::Reset),
469 DECLARE_NAPI_FUNCTION("getSak", NapiNfcATag::GetSak), in RegisterNfcAJSClass()
932 DECLARE_NAPI_FUNCTION("getNfcA", GetNfcATag), in InitJs()
934 DECLARE_NAPI_FUNCTION("getNfcB", GetNfcBTag), in InitJs()
936 DECLARE_NAPI_FUNCTION("getNfcF", GetNfcFTag), in InitJs()
938 DECLARE_NAPI_FUNCTION("getNfcV", GetNfcVTag), in InitJs()
939 DECLARE_NAPI_FUNCTION("getIsoDep", GetIsoDepTag), in InitJs()
940 DECLARE_NAPI_FUNCTION("getNdef", GetNdefTag), in InitJs()
944 DECLARE_NAPI_FUNCTION("getTagInfo", GetTagInfo), in InitJs()
960 DECLARE_NAPI_FUNCTION("on", On), in InitJs()
[all …]
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netstats/src/
H A Dstatistics_module.cpp190 DECLARE_NAPI_FUNCTION(FUNCTION_GET_ALL_RXBYTES, GetAllRxBytes), in InitStatisticsModule()
191 DECLARE_NAPI_FUNCTION(FUNCTION_GET_ALL_TXBYTES, GetAllTxBytes), in InitStatisticsModule()
192 DECLARE_NAPI_FUNCTION(FUNCTION_GET_UID_RXBYTES, GetUidRxBytes), in InitStatisticsModule()
193 DECLARE_NAPI_FUNCTION(FUNCTION_GET_UID_TXBYTES, GetUidTxBytes), in InitStatisticsModule()
194 DECLARE_NAPI_FUNCTION(FUNCTION_GET_SOCKFD_RXBYTES, GetSockfdRxBytes), in InitStatisticsModule()
196 DECLARE_NAPI_FUNCTION(FUNCTION_GET_IFACE_RXBYTES, GetIfaceRxBytes), in InitStatisticsModule()
197 DECLARE_NAPI_FUNCTION(FUNCTION_GET_IFACE_TXBYTES, GetIfaceTxBytes), in InitStatisticsModule()
198 DECLARE_NAPI_FUNCTION(FUNCTION_GET_IFACE_STATS, GetIfaceStats), in InitStatisticsModule()
203 DECLARE_NAPI_FUNCTION(FUNCTION_UPDATE_STATS_DATA, UpdateStatsData), in InitStatisticsModule()
204 DECLARE_NAPI_FUNCTION(FUNCTION_ON, On), in InitStatisticsModule()
[all …]
/ohos5.0/foundation/resourceschedule/device_usage_statistics/frameworks/src/
H A Dusage_statistics_init.cpp39 DECLARE_NAPI_FUNCTION("isIdleState", IsIdleState), in UsageStatisticsInit()
40 DECLARE_NAPI_FUNCTION("queryAppGroup", QueryAppGroup), in UsageStatisticsInit()
41 DECLARE_NAPI_FUNCTION("isIdleStateSync", IsIdleStateSync), in UsageStatisticsInit()
42 DECLARE_NAPI_FUNCTION("queryAppGroupSync", QueryAppGroupSync), in UsageStatisticsInit()
43 DECLARE_NAPI_FUNCTION("queryCurrentBundleEvents", QueryCurrentBundleEvents), in UsageStatisticsInit()
44 DECLARE_NAPI_FUNCTION("queryBundleEvents", QueryBundleEvents), in UsageStatisticsInit()
46 DECLARE_NAPI_FUNCTION("queryBundleStatsInfos", QueryBundleStatsInfos), in UsageStatisticsInit()
47 DECLARE_NAPI_FUNCTION("queryModuleUsageRecords", QueryModuleUsageRecords), in UsageStatisticsInit()
48 DECLARE_NAPI_FUNCTION("setAppGroup", SetAppGroup), in UsageStatisticsInit()
49 DECLARE_NAPI_FUNCTION("registerAppGroupCallBack", RegisterAppGroupCallBack), in UsageStatisticsInit()
[all …]
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_module/src/
H A Dsocket_module.cpp469 DECLARE_NAPI_FUNCTION(UDPSocket::FUNCTION_BIND, UDPSocket::Bind), in DefineUDPSocketClass()
470 DECLARE_NAPI_FUNCTION(UDPSocket::FUNCTION_SEND, UDPSocket::Send), in DefineUDPSocketClass()
471 DECLARE_NAPI_FUNCTION(UDPSocket::FUNCTION_CLOSE, UDPSocket::Close), in DefineUDPSocketClass()
476 DECLARE_NAPI_FUNCTION(UDPSocket::FUNCTION_ON, UDPSocket::On), in DefineUDPSocketClass()
477 DECLARE_NAPI_FUNCTION(UDPSocket::FUNCTION_OFF, UDPSocket::Off), in DefineUDPSocketClass()
512 DECLARE_NAPI_FUNCTION(TCPSocket::FUNCTION_BIND, TCPSocket::Bind), in DefineTCPSocketClass()
514 DECLARE_NAPI_FUNCTION(TCPSocket::FUNCTION_SEND, TCPSocket::Send), in DefineTCPSocketClass()
515 DECLARE_NAPI_FUNCTION(TCPSocket::FUNCTION_CLOSE, TCPSocket::Close), in DefineTCPSocketClass()
521 DECLARE_NAPI_FUNCTION(TCPSocket::FUNCTION_ON, TCPSocket::On), in DefineTCPSocketClass()
522 DECLARE_NAPI_FUNCTION(TCPSocket::FUNCTION_OFF, TCPSocket::Off), in DefineTCPSocketClass()
[all …]
/ohos5.0/base/security/asset/frameworks/js/napi/src/
H A Dasset_napi.cpp178 DECLARE_NAPI_FUNCTION("add", NapiAdd), in Register()
179 DECLARE_NAPI_FUNCTION("addSync", NapiAddSync), in Register()
180 DECLARE_NAPI_FUNCTION("addAsUser", NapiAddAsUser), in Register()
181 DECLARE_NAPI_FUNCTION("remove", NapiRemove), in Register()
182 DECLARE_NAPI_FUNCTION("removeSync", NapiRemoveSync), in Register()
184 DECLARE_NAPI_FUNCTION("update", NapiUpdate), in Register()
185 DECLARE_NAPI_FUNCTION("updateSync", NapiUpdateSync), in Register()
187 DECLARE_NAPI_FUNCTION("preQuery", NapiPreQuery), in Register()
190 DECLARE_NAPI_FUNCTION("query", NapiQuery), in Register()
191 DECLARE_NAPI_FUNCTION("querySync", NapiQuerySync), in Register()
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
H A Dnative_module_manager.cpp30 DECLARE_NAPI_FUNCTION("cancelReminder", CancelReminderMgr), in ReminderAgentManagerInit()
31 DECLARE_NAPI_FUNCTION("cancelAllReminders", CancelAllRemindersMgr), in ReminderAgentManagerInit()
32 DECLARE_NAPI_FUNCTION("getValidReminders", GetValidRemindersMgr), in ReminderAgentManagerInit()
33 DECLARE_NAPI_FUNCTION("getAllValidReminders", GetAllValidRemindersMgr), in ReminderAgentManagerInit()
34 DECLARE_NAPI_FUNCTION("publishReminder", PublishReminderMgr), in ReminderAgentManagerInit()
35 DECLARE_NAPI_FUNCTION("addNotificationSlot", AddSlotMgr), in ReminderAgentManagerInit()
36 DECLARE_NAPI_FUNCTION("removeNotificationSlot", NotificationNapi::NapiRemoveSlot), in ReminderAgentManagerInit()
37 DECLARE_NAPI_FUNCTION("addExcludeDate", AddExcludeDate), in ReminderAgentManagerInit()
38 DECLARE_NAPI_FUNCTION("deleteExcludeDates", DelExcludeDates), in ReminderAgentManagerInit()
39 DECLARE_NAPI_FUNCTION("getExcludeDates", GetExcludeDates), in ReminderAgentManagerInit()
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/connection_module/src/
H A Dconnection_module.cpp169 DECLARE_NAPI_FUNCTION(FUNCTION_GET_DEFAULT_NET, GetDefaultNet), in InitConnectionModule()
170 DECLARE_NAPI_FUNCTION(FUNCTION_GET_DEFAULT_NET_SYNC, GetDefaultNetSync), in InitConnectionModule()
173 DECLARE_NAPI_FUNCTION(FUNCTION_HAS_DEFAULT_NET, HasDefaultNet), in InitConnectionModule()
174 DECLARE_NAPI_FUNCTION(FUNCTION_HAS_DEFAULT_NET_SYNC, HasDefaultNetSync), in InitConnectionModule()
181 DECLARE_NAPI_FUNCTION(FUNCTION_GET_ALL_NETS, GetAllNets), in InitConnectionModule()
182 DECLARE_NAPI_FUNCTION(FUNCTION_GET_ALL_NETS_SYNC, GetAllNetsSync), in InitConnectionModule()
190 DECLARE_NAPI_FUNCTION(FUNCTION_SET_CUSTOM_DNS_RULE, AddCustomDnsRule), in InitConnectionModule()
193 DECLARE_NAPI_FUNCTION(FUNCTION_SET_APP_HTTP_PROXY, SetAppHttpProxy), in InitConnectionModule()
194 DECLARE_NAPI_FUNCTION(FUNCTION_GET_APP_NET, GetAppNet), in InitConnectionModule()
195 DECLARE_NAPI_FUNCTION(FUNCTION_GET_APP_NET_SYNC, GetAppNetSync), in InitConnectionModule()
[all …]
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_environment/
H A Denvironment_napi.cpp27 DECLARE_NAPI_FUNCTION("getStorageDataDir", GetStorageDataDir), in EnvironmentExport()
28 DECLARE_NAPI_FUNCTION("getUserDataDir", GetUserDataDir), in EnvironmentExport()
29 DECLARE_NAPI_FUNCTION("getUserDownloadDir", GetUserDownloadDir), in EnvironmentExport()
30 DECLARE_NAPI_FUNCTION("getUserDesktopDir", GetUserDesktopDir), in EnvironmentExport()
31 DECLARE_NAPI_FUNCTION("getUserDocumentDir", GetUserDocumentDir), in EnvironmentExport()
32 DECLARE_NAPI_FUNCTION("getUserHomeDir", GetUserHomeDir), in EnvironmentExport()
33 DECLARE_NAPI_FUNCTION("getExternalStorageDir", GetExternalStorageDir), in EnvironmentExport()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/app_control/
H A Dnative_module.cpp41 DECLARE_NAPI_FUNCTION("getDisposedStatus", GetDisposedStatus), in AppControlExport()
42 DECLARE_NAPI_FUNCTION("setDisposedStatus", SetDisposedStatus), in AppControlExport()
43 DECLARE_NAPI_FUNCTION("deleteDisposedStatus", DeleteDisposedStatus), in AppControlExport()
44 DECLARE_NAPI_FUNCTION("getDisposedStatusSync", GetDisposedStatusSync), in AppControlExport()
45 DECLARE_NAPI_FUNCTION("setDisposedStatusSync", SetDisposedStatusSync), in AppControlExport()
46 DECLARE_NAPI_FUNCTION("deleteDisposedStatusSync", DeleteDisposedStatusSync), in AppControlExport()
47 DECLARE_NAPI_FUNCTION("getDisposedRule", GetDisposedRule), in AppControlExport()
48 DECLARE_NAPI_FUNCTION("setDisposedRule", SetDisposedRule), in AppControlExport()
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/
H A Dnetpolicy_module.cpp331 DECLARE_NAPI_FUNCTION(FUNCTION_SET_POLICY_BY_UID, SetPolicyByUid), in InitPolicyModule()
332 DECLARE_NAPI_FUNCTION(FUNCTION_GET_POLICY_BY_UID, GetPolicyByUid), in InitPolicyModule()
333 DECLARE_NAPI_FUNCTION(FUNCTION_GET_UID_BY_POLICY, GetUidsByPolicy), in InitPolicyModule()
336 DECLARE_NAPI_FUNCTION(FUNCTION_RESTORE_ALL_POLICIES, RestoreAllPolicies), in InitPolicyModule()
339 DECLARE_NAPI_FUNCTION(FUNCTION_IS_UID_NET_ACCESS, IsUidNetAllowed), in InitPolicyModule()
343 DECLARE_NAPI_FUNCTION(FUNCTION_RESET_POLICIES, ResetPolicies), in InitPolicyModule()
344 DECLARE_NAPI_FUNCTION(FUNCTION_UPDATE_REMIND_POLICY, UpdateRemindPolicy), in InitPolicyModule()
345 DECLARE_NAPI_FUNCTION(FUNCTION_RESET_POLICIES, ResetPolicies), in InitPolicyModule()
346 DECLARE_NAPI_FUNCTION(FUNCTION_UPDATE_REMIND_POLICY, UpdateRemindPolicy), in InitPolicyModule()
351 DECLARE_NAPI_FUNCTION(FUNCTION_ON, On), in InitPolicyModule()
[all …]

12345678910>>...21