Home
last modified time | relevance | path

Searched refs:localLiveViewContent (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_live_view_service_test.cpp262 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 Dcommon_convert_liveview.cpp43 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 Dnotification_content_test.cpp156 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 Dnotification_content.cpp90 …: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 Dnotification_content.h147 …NotificationContent(const std::shared_ptr<NotificationLocalLiveViewContent> &localLiveViewContent);
/ohos5.0/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi_convert_liveview.cpp53 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 Dnotification_subscriber_manager.cpp592 … 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 Dscreen_capture_server.cpp1552 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 Davsession_service.cpp3136 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()
3140localLiveViewContent->SetTitle(historyDescriptor && !isActiveSession ? "" : "AVSession NotifySyste… in NotifySystemUI()
3141localLiveViewContent->SetText(historyDescriptor && !isActiveSession ? "" : "AVSession NotifySystem… in NotifySystemUI()
3144 std::make_shared<Notification::NotificationContent>(localLiveViewContent); in NotifySystemUI()