/base/global/resource_management/interfaces/js/innerkits/core/src/ |
D | resource_manager_napi_sync_impl.cpp | 102 ResourceManagerNapiUtils::NapiThrow(env, ret); in GetRawFileListSync() 110 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_RES_PATH_INVALID); in GetRawFileListSync() 126 ResourceManagerNapiUtils::NapiThrow(env, ret); in GetRawFileContentSync() 134 ResourceManagerNapiUtils::NapiThrow(env, state); in GetRawFileContentSync() 150 ResourceManagerNapiUtils::NapiThrow(env, ret); in GetRawFdSync() 158 ResourceManagerNapiUtils::NapiThrow(env, state); in GetRawFdSync() 173 ResourceManagerNapiUtils::NapiThrow(env, ret); in CloseRawFdSync() 180 ResourceManagerNapiUtils::NapiThrow(env, state); in CloseRawFdSync() 282 ResourceManagerNapiUtils::NapiThrow(env, state); in ProcessStrResource() 297 ResourceManagerNapiUtils::NapiThrow(env, state); in GetStringSync() [all …]
|
D | resource_manager_napi_async_impl.cpp | 186 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in ProcessNameParamV9() 219 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in ProcessIdParamV9() 251 ResourceManagerNapiUtils::NapiThrow(env, retCode); in ProcessResourceParamV9() 259 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in ProcessResourceParamV9() 297 ResourceManagerNapiUtils::NapiThrow(env, retCode); in ProcessOnlyIdParam() 333 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in ProcessIdNameParam() 397 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in GetStringValue() 423 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in GetStringByName() 468 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in GetStringArrayValue() 476 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in GetStringArrayByName() [all …]
|
D | resource_manager_napi_utils.cpp | 147 void ResourceManagerNapiUtils::NapiThrow(napi_env env, int32_t errCode) in NapiThrow() function in OHOS::Global::Resource::ResourceManagerNapiUtils
|
D | resource_manager_addon.cpp | 74 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_SYSTEM_RES_MANAGER_GET_FAILED); in GetSystemResMgr()
|
/base/global/i18n/interfaces/js/kits/src/ |
D | variable_convertor.cpp | 60 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, true); in GetBoolOptionValue() 102 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, true); in GetStringArrayFromJsParam() 109 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, true); in GetStringArrayFromJsParam() 121 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, true); in GetStringArrayFromJsParam()
|
D | i18n_normalizer_addon.cpp | 92 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, true); in I18nNormalizerConstructor() 99 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, true); in I18nNormalizerConstructor() 109 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, true); in I18nNormalizerConstructor() 140 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, true); in Normalize() 147 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, true); in Normalize()
|
D | error_util.cpp | 30 void ErrorUtil::NapiThrow(napi_env env, int32_t errCode, bool throwError) in NapiThrow() function in OHOS::Global::I18n::ErrorUtil
|
D | i18n_addon.cpp | 948 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, throwError); in GetSystemCountriesImpl() 957 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, throwError); in GetSystemCountriesImpl() 1043 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, throwError); in GetDisplayLanguageImpl() 1052 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, throwError); in GetDisplayLanguageImpl() 1060 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, throwError); in GetDisplayLanguageImpl() 1071 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, throwError); in GetDisplayLanguageImpl() 1106 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, throwError); in GetDisplayCountryImpl() 1115 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, throwError); in GetDisplayCountryImpl() 1123 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, throwError); in GetDisplayCountryImpl() 1133 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, throwError); in GetDisplayCountryImpl() [all …]
|
D | system_locale_manager_addon.cpp | 116 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, true); in GetLanguageInfoArray() 146 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, true); in GetCountryInfoArray()
|
/base/global/i18n/interfaces/js/kits/include/ |
D | error_util.h | 36 static void NapiThrow(napi_env env, int32_t errCode, bool throwError);
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
D | napi_display_badge.cpp | 30 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiDisplayBadge() 125 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiIsBadgeDisplayed() 243 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSetBadgeNumber() 250 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSetBadgeNumber()
|
D | napi_distributed.cpp | 55 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiIsDistributedEnabled() 114 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiEnableDistributed() 185 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiEnableDistributedByBundle() 255 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiEnableDistributedSelf() 352 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiIsDistributedEnableByBundle() 441 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetDeviceRemindType() 498 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSetSyncNotificationEnabledWithoutApp() 570 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetSyncNotificationEnabledWithoutApp()
|
D | napi_slot.cpp | 28 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiAddSlot() 105 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiAddSlots() 172 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSetSlotByBundle() 271 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetSlot() 327 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetSlotNumByBundle() 443 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetSlots() 543 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetSlotsByBundle() 599 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiRemoveSlot() 667 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiRemoveAllSlots() 733 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiEnableNotificationSlot() [all …]
|
D | napi_publish.cpp | 29 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiPublish() 104 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiShowNotification() 169 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiPublishAsBundle()
|
D | napi_cancel.cpp | 28 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiCancel() 97 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiCancelAll() 163 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiCancelGroup() 233 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiCancelAsBundle()
|
D | napi_disturb_mode.cpp | 28 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSetDoNotDisturbDate() 129 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetDoNotDisturbDate() 196 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSupportDoNotDisturbMode()
|
D | napi_enable_notification.cpp | 49 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiEnableNotification() 128 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiIsNotificationEnabled() 198 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiIsNotificationEnabledSelf() 260 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiRequestEnableNotification()
|
D | napi_get_active.cpp | 76 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetAllActiveNotifications() 180 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetActiveNotifications() 262 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetActiveNotificationCount()
|
D | napi_template.cpp | 28 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiIsSupportTemplate()
|
D | napi_remove_group.cpp | 110 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiRemoveGroupByBundle()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/subscribe/ |
D | napi_remove.cpp | 70 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiRemove() 99 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiRemoveAll()
|
D | napi_subscribe.cpp | 35 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSubscribe() 127 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiUnsubscribe()
|
/base/global/resource_management/interfaces/js/innerkits/core/include/ |
D | resource_manager_napi_utils.h | 59 static void NapiThrow(napi_env env, int32_t errCode);
|
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/ |
D | napi_common_event.cpp | 459 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID); in CreateSubscriber() 539 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID); in CreateSubscriberSync() 555 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID); in CreateSubscriberSync() 711 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID); in GetSubscribeInfo() 854 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID); in IsOrderedCommonEvent() 998 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID); in IsStickyCommonEvent() 1141 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID); in GetCode() 1292 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID); in SetCode() 1429 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID); in GetData() 1585 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID); in SetData() [all …]
|
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/include/ |
D | napi_common_event.h | 454 void NapiThrow(napi_env env, int32_t errCode);
|