/base/request/request/services/src/cxx/ |
H A D | notification_bar.cpp | 105 std::shared_ptr<Notification::NotificationLocalLiveViewContent> &localLiveViewContent, RequestTaskMsg msg) in SetProgress() 114 localLiveViewContent->SetTitle(title); in SetProgress() 117 localLiveViewContent->addFlag( in SetProgress() 125 localLiveViewContent->addFlag(Notification::NotificationLocalLiveViewContent::LiveViewContentInner::PROGRESS); in SetProgress() 138 localLiveViewContent->SetTitle(title); in SetProgress() 139 localLiveViewContent->SetProgress(progress); in SetProgress() 145 std::shared_ptr<Notification::NotificationLocalLiveViewContent> localLiveViewContent = in RequestProgressNotification() local 150 localLiveViewContent->SetContentType( in RequestProgressNotification() 156 localLiveViewContent->SetType(REQUEST_STYLE_SIMPLE); in RequestProgressNotification() 158 localLiveViewContent in RequestProgressNotification() 104 SetProgress( std::shared_ptr<Notification::NotificationLocalLiveViewContent> &localLiveViewContent, RequestTaskMsg msg) SetProgress() argument [all...] |
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common_convert_liveview.cpp | 43 OHOS::Notification::NotificationLocalLiveViewContent *localLiveViewContent = in SetNotificationLocalLiveViewContent() local 45 if (localLiveViewContent == nullptr) { in SetNotificationLocalLiveViewContent() 46 ANS_LOGE("localLiveViewContent is null"); in SetNotificationLocalLiveViewContent() 50 if (!SetNotificationBasicContent(env, localLiveViewContent, result)) { in SetNotificationLocalLiveViewContent() 56 napi_create_int32(env, localLiveViewContent->GetType(), &value); in SetNotificationLocalLiveViewContent() 60 if (localLiveViewContent->isFlagExist(NotificationLocalLiveViewContent::LiveViewContentInner::CAPSULE)) { in SetNotificationLocalLiveViewContent() 63 if (!SetCapsule(env, localLiveViewContent->GetCapsule(), capsule)) { in SetNotificationLocalLiveViewContent() 71 if (localLiveViewContent->isFlagExist(NotificationLocalLiveViewContent::LiveViewContentInner::BUTTON)) { in SetNotificationLocalLiveViewContent() 74 if (!SetButton(env, localLiveViewContent->GetButton(), button)) { in SetNotificationLocalLiveViewContent() 82 if (localLiveViewContent in SetNotificationLocalLiveViewContent() 404 std::shared_ptr<OHOS::Notification::NotificationLocalLiveViewContent> localLiveViewContent = GetNotificationLocalLiveViewContent() local [all...] |
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_utils.cpp | 632 std::shared_ptr<NotificationLocalLiveViewContent> localLiveViewContent = in GetNotificationLocalLiveViewContent() local 634 if (localLiveViewContent == nullptr) { in GetNotificationLocalLiveViewContent() 635 LOGE("localLiveViewContent is null"); in GetNotificationLocalLiveViewContent() 639 if (!GetNotificationLocalLiveViewContentDetailed(contentResult, localLiveViewContent)) { in GetNotificationLocalLiveViewContent() 643 request.SetContent(std::make_shared<NotificationContent>(localLiveViewContent)); in GetNotificationLocalLiveViewContent() 1358 bool SetNotificationLocalLiveViewContentDetailed(NotificationLocalLiveViewContent *localLiveViewContent, in SetNotificationLocalLiveViewContentDetailed() argument 1367 if (localLiveViewContent->isFlagExist(NotificationLocalLiveViewContent::LiveViewContentInner::CAPSULE)) { in SetNotificationLocalLiveViewContentDetailed() 1368 if (!SetCapsule(localLiveViewContent->GetCapsule(), capsule)) { in SetNotificationLocalLiveViewContentDetailed() 1380 if (localLiveViewContent->isFlagExist(NotificationLocalLiveViewContent::LiveViewContentInner::BUTTON)) { in SetNotificationLocalLiveViewContentDetailed() 1381 if (!SetButton(localLiveViewContent in SetNotificationLocalLiveViewContentDetailed() 1425 OHOS::Notification::NotificationLocalLiveViewContent *localLiveViewContent = SetNotificationLocalLiveViewContent() local [all...] |
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_live_view_service_test.cpp | 262 auto localLiveViewContent = std::make_shared<NotificationLocalLiveViewContent>(); in HWTEST_F() local 263 auto content = std::make_shared<NotificationContent>(localLiveViewContent); in HWTEST_F() 288 auto localLiveViewContent = std::make_shared<NotificationLocalLiveViewContent>(); in HWTEST_F() local 289 auto content = std::make_shared<NotificationContent>(localLiveViewContent); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_content.cpp | 90 NotificationContent::NotificationContent(const std::shared_ptr<NotificationLocalLiveViewContent> &localLiveViewContent) in NotificationContent() argument 92 if (!localLiveViewContent) { in NotificationContent() 98 content_ = localLiveViewContent; in NotificationContent()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_content_test.cpp | 156 std::shared_ptr<NotificationLocalLiveViewContent> localLiveViewContent = nullptr; in HWTEST_F() local 157 NotificationContent notificationContent7(localLiveViewContent); in HWTEST_F() 462 auto localLiveViewContent = std::make_shared<NotificationLocalLiveViewContent>(); in HWTEST_F() local 463 NotificationContent content(localLiveViewContent); in HWTEST_F()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_content.h | 145 * @param localLiveViewContent Indicates the NotificationLocalLiveViewContent object. 147 explicit NotificationContent(const std::shared_ptr<NotificationLocalLiveViewContent> &localLiveViewContent);
|
/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi_convert_liveview.cpp | 53 std::shared_ptr<OHOS::Notification::NotificationLocalLiveViewContent> localLiveViewContent = in GetNotificationLocalLiveViewContent() local 55 if (GetNotificationLocalLiveViewContentDetailed(env, contentResult, localLiveViewContent) == nullptr) { in GetNotificationLocalLiveViewContent() 59 request.SetContent(std::make_shared<NotificationContent>(localLiveViewContent)); in GetNotificationLocalLiveViewContent()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_subscriber_manager.cpp | 580 auto localLiveViewContent = std::static_pointer_cast<NotificationLocalLiveViewContent>( in BatchNotifyCanceledInner() local 582 localLiveViewContent->ClearButton(); in BatchNotifyCanceledInner() 583 localLiveViewContent->ClearCapsuleIcon(); in BatchNotifyCanceledInner()
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/ |
H A D | notification_utils.h | 318 OHOS::Notification::NotificationLocalLiveViewContent *localLiveViewContent,
|