/ohos5.0/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>(); variable 263 auto content = std::make_shared<NotificationContent>(localLiveViewContent); 288 auto localLiveViewContent = std::make_shared<NotificationLocalLiveViewContent>(); variable 289 auto content = std::make_shared<NotificationContent>(localLiveViewContent); 323 auto localLiveViewContent = std::make_shared<NotificationLocalLiveViewContent>(); variable 324 localLiveViewContent->SetType(TYPE_CODE_DOWNLOAD); 325 auto content = std::make_shared<NotificationContent>(localLiveViewContent);
|
/ohos5.0/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() 50 if (!SetNotificationBasicContent(env, localLiveViewContent, result)) { in SetNotificationLocalLiveViewContent() 56 napi_create_int32(env, localLiveViewContent->GetType(), &value); in SetNotificationLocalLiveViewContent() 63 if (!SetCapsule(env, localLiveViewContent->GetCapsule(), capsule)) { in SetNotificationLocalLiveViewContent() 74 if (!SetButton(env, localLiveViewContent->GetButton(), button)) { in SetNotificationLocalLiveViewContent() 85 if (!SetProgress(env, localLiveViewContent->GetProgress(), progress)) { in SetNotificationLocalLiveViewContent() 96 bool flag = localLiveViewContent->isFlagExist( in SetNotificationLocalLiveViewContent() 98 if (!SetTime(env, localLiveViewContent->GetTime(), time, flag)) { in SetNotificationLocalLiveViewContent() 406 if (localLiveViewContent == nullptr) { in GetNotificationLocalLiveViewContent() [all …]
|
/ohos5.0/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()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_content.cpp | 90 …:NotificationContent(const std::shared_ptr<NotificationLocalLiveViewContent> &localLiveViewContent) in NotificationContent() argument 92 if (!localLiveViewContent) { in NotificationContent() 98 content_ = localLiveViewContent; in NotificationContent()
|
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_content.h | 147 …NotificationContent(const std::shared_ptr<NotificationLocalLiveViewContent> &localLiveViewContent);
|
/ohos5.0/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) == nullp… in GetNotificationLocalLiveViewContent() 59 request.SetContent(std::make_shared<NotificationContent>(localLiveViewContent)); in GetNotificationLocalLiveViewContent()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_subscriber_manager.cpp | 592 … auto localLiveViewContent = std::static_pointer_cast<NotificationLocalLiveViewContent>( in BatchNotifyCanceledInner() local 594 localLiveViewContent->ClearButton(); in BatchNotifyCanceledInner() 595 localLiveViewContent->ClearCapsuleIcon(); in BatchNotifyCanceledInner()
|
/ohos5.0/foundation/multimedia/player_framework/services/services/screen_capture/server/ |
H A D | screen_capture_server.cpp | 1552 std::shared_ptr<NotificationLocalLiveViewContent> localLiveViewContent = in GetLocalLiveViewContent() local 1554 localLiveViewContent->SetType(1); in GetLocalLiveViewContent() 1558 localLiveViewContent->SetText(liveViewText_); in GetLocalLiveViewContent() 1566 localLiveViewContent->SetCapsule(capsule); in GetLocalLiveViewContent() 1567 localLiveViewContent->addFlag(NotificationLocalLiveViewContent::LiveViewContentInner::CAPSULE); in GetLocalLiveViewContent() 1575 localLiveViewContent->SetTime(countTime); in GetLocalLiveViewContent() 1576 localLiveViewContent->addFlag(NotificationLocalLiveViewContent::LiveViewContentInner::TIME); in GetLocalLiveViewContent() 1583 localLiveViewContent->SetButton(basicButton); in GetLocalLiveViewContent() 1584 localLiveViewContent->addFlag(NotificationLocalLiveViewContent::LiveViewContentInner::BUTTON); in GetLocalLiveViewContent() 1585 return localLiveViewContent; in GetLocalLiveViewContent()
|
/ohos5.0/foundation/multimedia/av_session/services/session/server/ |
H A D | avsession_service.cpp | 3136 std::shared_ptr<Notification::NotificationLocalLiveViewContent> localLiveViewContent = in NotifySystemUI() local 3138 …CHECK_AND_RETURN_LOG(localLiveViewContent != nullptr, "avsession item local live view content null… in NotifySystemUI() 3139 localLiveViewContent->SetType(SYSTEMUI_LIVEVIEW_TYPECODE_MDEDIACONTROLLER); in NotifySystemUI() 3140 …localLiveViewContent->SetTitle(historyDescriptor && !isActiveSession ? "" : "AVSession NotifySyste… in NotifySystemUI() 3141 …localLiveViewContent->SetText(historyDescriptor && !isActiveSession ? "" : "AVSession NotifySystem… in NotifySystemUI() 3144 std::make_shared<Notification::NotificationContent>(localLiveViewContent); in NotifySystemUI()
|