Home
last modified time | relevance | path

Searched refs:NotificationNapi (Results 1 – 25 of 95) sorted by relevance

1234

/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dans_log_test.cpp90NotificationNapi::ContentType inType = NotificationNapi::ContentType::NOTIFICATION_CONTENT_BASIC_T…
122 NotificationNapi::ContentType outType;
155 NotificationNapi::SlotType inType = NotificationNapi::SlotType::SOCIAL_COMMUNICATION;
189 NotificationNapi::SlotType outType;
225 NotificationNapi::SlotLevel inType = NotificationNapi::SlotLevel::LEVEL_NONE;
251 NotificationNapi::LiveViewStatus inType = NotificationNapi::LiveViewStatus::LIVE_VIEW_CREATE;
273 NotificationNapi::SlotLevel outType;
353 NotificationNapi::DoNotDisturbType inType = NotificationNapi::DoNotDisturbType::TYPE_NONE;
375 NotificationNapi::DoNotDisturbType outType;
421 NotificationNapi::SourceType outType;
[all …]
/ohos5.0/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi_utils.cpp62 napi_value NotificationNapi::NapiGetNull(napi_env env) in NapiGetNull()
69 napi_value NotificationNapi::NapiGetUndefined(napi_env env) in NapiGetUndefined()
79 napi_value error = NotificationNapi::NapiGetNull(env); in CreateErrorValue()
97 void NotificationNapi::NapiThrow(napi_env env, int32_t errCode) in NapiThrow()
114 void NotificationNapi::PaddingCallbackPromiseInfo( in PaddingCallbackPromiseInfo()
131 void NotificationNapi::ReturnCallbackPromise( in ReturnCallbackPromise()
143 void NotificationNapi::SetCallback( in SetCallback()
160 void NotificationNapi::SetCallback( in SetCallback()
174 void NotificationNapi::SetCallbackArg2( in SetCallbackArg2()
189 void NotificationNapi::SetPromise(const napi_env &env, in SetPromise()
[all …]
H A Dnotification_napi_convert_request.cpp33 napi_value NotificationNapi::GetNotificationRequestByNumber( in GetNotificationRequestByNumber()
201 napi_value NotificationNapi::GetNotificationRequest( in GetNotificationRequest()
220 napi_value NotificationNapi::GetNotificationSmallIcon( in GetNotificationSmallIcon()
249 napi_value NotificationNapi::GetNotificationLargeIcon( in GetNotificationLargeIcon()
398 napi_value NotificationNapi::GetNotificationId( in GetNotificationId()
427 napi_value NotificationNapi::GetNotificationSlotType( in GetNotificationSlotType()
481 napi_value NotificationNapi::GetNotificationIsOngoing( in GetNotificationIsOngoing()
803 napi_value NotificationNapi::GetNotificationColor( in GetNotificationColor()
958 napi_value NotificationNapi::GetNotificationLabel( in GetNotificationLabel()
1072 return NotificationNapi::NapiGetNull(env); in GetNotificationActionButtons()
[all …]
H A Dnotification_napi.cpp34 std::mutex NotificationNapi::mutex_;
36 NotificationNapi::NotificationNapi() in NotificationNapi() function in OHOS::Location::NotificationNapi
39 NotificationNapi::~NotificationNapi() in ~NotificationNapi()
42 napi_value NotificationNapi::GetNotificationSubscriberInfo( in GetNotificationSubscriberInfo()
99 napi_value NotificationNapi::GetNotificationUserInput( in GetNotificationUserInput()
160 napi_value NotificationNapi::GetNotificationUserInputByTag( in GetNotificationUserInputByTag()
532 napi_value NotificationNapi::GetNotificationSlotByBool( in GetNotificationSlotByBool()
708 napi_value NotificationNapi::GetBundleOption( in GetBundleOption()
751 napi_value NotificationNapi::GetButtonOption( in GetButtonOption()
780 napi_value NotificationNapi::GetHashCodes( in GetHashCodes()
[all …]
H A Dnotification_napi_convert_content.cpp56 napi_value NotificationNapi::GetNotificationContent( in GetNotificationContent()
118 napi_value NotificationNapi::GetNotificationBasicContent( in GetNotificationBasicContent()
148 napi_value NotificationNapi::GetNotificationBasicContentDetailed( in GetNotificationBasicContentDetailed()
202 napi_value NotificationNapi::GetNotificationLongTextContent( in GetNotificationLongTextContent()
315 napi_value NotificationNapi::GetNotificationPictureContent( in GetNotificationPictureContent()
420 return NotificationNapi::NapiGetNull(env); in GetNotificationPictureContentDetailed()
516 napi_value NotificationNapi::GetMessageUserByString( in GetMessageUserByString()
580 napi_value NotificationNapi::GetMessageUserByBool( in GetMessageUserByBool()
626 napi_value NotificationNapi::GetMessageUserByCustom( in GetMessageUserByCustom()
900 napi_value NotificationNapi::GetNotificationMultiLineContent( in GetNotificationMultiLineContent()
[all …]
H A Dnotification_napi_convert_liveview.cpp33 napi_value NotificationNapi::GetNotificationLocalLiveViewContent( in GetNotificationLocalLiveViewContent()
67 napi_value NotificationNapi::GetNotificationLocalLiveViewCapsule( in GetNotificationLocalLiveViewCapsule()
141 napi_value NotificationNapi::GetNotificationLocalLiveViewButton( in GetNotificationLocalLiveViewButton()
222 napi_value NotificationNapi::GetNotificationLocalLiveViewProgress(const napi_env &env, const napi_v… in GetNotificationLocalLiveViewProgress()
288 napi_value NotificationNapi::GetNotificationLocalLiveViewTime(const napi_env &env, const napi_value… in GetNotificationLocalLiveViewTime()
368 napi_value NotificationNapi::GetNotificationLocalLiveViewContentDetailed( in GetNotificationLocalLiveViewContentDetailed()
428 napi_value NotificationNapi::GetNotificationLiveViewContent( in GetNotificationLiveViewContent()
449 napi_value NotificationNapi::GetNotificationLiveViewContentDetailed( in GetNotificationLiveViewContentDetailed()
516 napi_value NotificationNapi::GetLiveViewPictures( in GetLiveViewPictures()
556 napi_value NotificationNapi::GetLiveViewPictureInfo( in GetLiveViewPictureInfo()
H A Dnotification_napi_convert_notification.cpp33 napi_value NotificationNapi::GetNotificationRequestDistributedOptions(const napi_env &env, in GetNotificationRequestDistributedOptions()
70 napi_value NotificationNapi::GetNotificationIsDistributed( in GetNotificationIsDistributed()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
H A Dpublish.cpp58 NotificationNapi::NotificationConstant::SlotType inType
70 NotificationNapi::NotificationConstant::SlotType inType
84 return NotificationNapi::Common::NapiGetNull(env); in GetCallback()
127 return NotificationNapi::Common::NapiGetNull(env); in ParseParameters()
170 …if (!NotificationNapi::AnsEnumUtil::SlotTypeJSToC(NotificationNapi::SlotType(propertyVal), params.… in ParseSlotParameters()
177 return NotificationNapi::Common::NapiGetNull(env); in ParseSlotParameters()
223 return NotificationNapi::Common::NapiGetNull(env); in ParseCanCelParameter()
244 return NotificationNapi::Common::NapiGetNull(env); in ParseCanCelAllParameter()
264 return NotificationNapi::Common::NapiGetNull(env); in ParseGetValidParameter()
773 NotificationNapi::SlotType jsSlotType; in SetValidReminder()
[all …]
H A Dreminder_common.cpp47 return NotificationNapi::Common::NapiGetNull(env); in GetReminderRequest()
53 char str[NotificationNapi::STR_MAX_SIZE] = {0}; in GenActionButtons()
100 char res[NotificationNapi::STR_MAX_SIZE] = {0}; in HandleActionButtonTitle()
103 NotificationNapi::STR_MAX_SIZE)) { in HandleActionButtonTitle()
136 char str[NotificationNapi::STR_MAX_SIZE] = {0}; in GetButtonWantAgent()
161 char str[NotificationNapi::STR_MAX_SIZE] = {0}; in GetButtonDataShareUpdate()
380 char str[NotificationNapi::STR_MAX_SIZE] = {0}; in GenWantAgent()
409 char str[NotificationNapi::STR_MAX_SIZE] = {0}; in GenMaxScreenWantAgent()
502 return NotificationNapi::Common::NapiGetNull(env); in GenReminder()
508 char str[NotificationNapi::STR_MAX_SIZE] = {0}; in GenReminderStringInner()
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/common/
H A Dnotification_analytics_util.cpp198 NotificationNapi::SlotType slotType; in ReportNotificationEvent()
199 NotificationNapi::AnsEnumUtil::SlotTypeCToJS( in ReportNotificationEvent()
201 NotificationNapi::ContentType contentType; in ReportNotificationEvent()
202 NotificationNapi::AnsEnumUtil::ContentTypeCToJS( in ReportNotificationEvent()
357 NotificationNapi::ContentType contentType; in BuildExtraInfoWithReq()
358 NotificationNapi::AnsEnumUtil::ContentTypeCToJS( in BuildExtraInfoWithReq()
361 if (contentType == NotificationNapi::ContentType::NOTIFICATION_CONTENT_LIVE_VIEW) { in BuildExtraInfoWithReq()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_push_callback.cpp154 NotificationNapi::SlotType slotType; in OnCheckNotification()
155 NotificationNapi::ContentType contentType; in OnCheckNotification()
156 NotificationNapi::AnsEnumUtil::ContentTypeCToJS( in OnCheckNotification()
158 NotificationNapi::AnsEnumUtil::SlotTypeCToJS( in OnCheckNotification()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/manager/
H A Dnapi_sync_config.h22 namespace NotificationNapi {
H A Dnapi_template.h22 namespace NotificationNapi {
H A Dnapi_local_live_view.h21 namespace NotificationNapi {
H A Dnapi_publish.h21 namespace NotificationNapi {
H A Dinit_module.h22 namespace NotificationNapi {
H A Dnapi_cancel.h22 namespace NotificationNapi {
H A Dnapi_remove_group.h22 namespace NotificationNapi {
H A Dnapi_disturb_mode.h21 namespace NotificationNapi {
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/subscribe/
H A Dnapi_remove.h22 namespace NotificationNapi {
H A Dnapi_subscribe.h21 namespace NotificationNapi {
H A Dinit_module.h22 namespace NotificationNapi {
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dinit.h22 namespace NotificationNapi {
H A Dans_template.h22 namespace NotificationNapi {
H A Dunsubscribe.h23 namespace NotificationNapi {

1234