Home
last modified time | relevance | path

Searched refs:MessageUser (Results 1 – 20 of 20) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
Dmessage_user.cpp31 MessageUser::MessageUser() : uri_("") in MessageUser() function in OHOS::Notification::MessageUser
34 MessageUser::~MessageUser() in ~MessageUser()
37 void MessageUser::SetKey(const std::string &key) in SetKey()
42 std::string MessageUser::GetKey() const in GetKey()
47 void MessageUser::SetName(const std::string &name) in SetName()
52 std::string MessageUser::GetName() const in GetName()
57 void MessageUser::SetPixelMap(const std::shared_ptr<Media::PixelMap> &pixelMap) in SetPixelMap()
62 const std::shared_ptr<Media::PixelMap> MessageUser::GetPixelMap() const in GetPixelMap()
67 void MessageUser::SetUri(const Uri &uri) in SetUri()
72 Uri MessageUser::GetUri() const in GetUri()
[all …]
Dnotification_conversational_content.cpp21 NotificationConversationalContent::NotificationConversationalContent(const MessageUser &messageUser) in NotificationConversationalContent()
25 MessageUser NotificationConversationalContent::GetMessageUser() const in GetMessageUser()
51 const std::string &text, int64_t timestamp, const MessageUser &sender) in AddConversationalMessage()
149 auto pUser = NotificationJsonConverter::ConvertFromJson<MessageUser>(userObj); in FromJson()
250 auto pUser = parcel.ReadParcelable<MessageUser>(); in ReadFromParcel()
Dnotification_conversational_message.cpp28 const std::string &text, int64_t timestamp, const MessageUser &sender) in NotificationConversationalMessage()
42 MessageUser NotificationConversationalMessage::GetSender() const in GetSender()
116 auto pUser = NotificationJsonConverter::ConvertFromJson<MessageUser>(userObj); in FromJson()
197 auto pUser = parcel.ReadParcelable<MessageUser>(); in ReadFromParcel()
Dnotification_request.cpp216 void NotificationRequest::AddMessageUser(const std::shared_ptr<MessageUser> &messageUser) in AddMessageUser()
226 const std::vector<std::shared_ptr<MessageUser>> NotificationRequest::GetMessageUsers() const in GetMessageUsers()
1372 auto member = parcel.ReadParcelable<MessageUser>(); in ReadFromParcel()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dmessage_user_test.cpp43 sptr<MessageUser> messageUser = nullptr;
58 std::shared_ptr<MessageUser> result = std::make_shared<MessageUser>();
76 MessageUser messageUser;
90 MessageUser messageUser;
Dnotification_conversational_message_test.cpp45 MessageUser sender;
62 MessageUser sender;
82 MessageUser sender;
101 MessageUser sender;
118 MessageUser sender;
134 MessageUser sender;
158 MessageUser sender;
Dnotification_conversational_content_test.cpp43 MessageUser messageUser;
58 MessageUser messageUser;
72 MessageUser messageUser;
94 MessageUser messageUser;
/base/notification/distributed_notification_service/interfaces/inner_api/
Dmessage_user.h25 class MessageUser final : public Parcelable, public NotificationJsonConvertionBase {
27 MessageUser();
29 ~MessageUser();
140 static MessageUser *FromJson(const nlohmann::json &jsonObject);
156 static MessageUser *Unmarshalling(Parcel &parcel);
Dnotification_conversational_content.h38 explicit NotificationConversationalContent(const MessageUser &messageUser);
48 MessageUser GetMessageUser() const;
90 const std::string &text, int64_t timestamp, const MessageUser &sender);
159 MessageUser messageUser_ {};
Dnotification_conversational_message.h37 const std::string &text, int64_t timestamp, const MessageUser &sender);
60 MessageUser GetSender() const;
137 MessageUser sender_ {};
Dnotification_request.h372 void AddMessageUser(const std::shared_ptr<MessageUser> &messageUser);
379 const std::vector<std::shared_ptr<MessageUser>> GetMessageUsers() const;
1177 std::vector<std::shared_ptr<MessageUser>> messageUsers_ {};
/base/notification/distributed_notification_service/test/fuzztest/notificationconversationalmessage_fuzzer/
Dnotificationconversationalmessage_fuzzer.cpp24 Notification::MessageUser sender; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/notificationtemplateannex_fuzzer/
Dnotificationtemplateannex_fuzzer.cpp31 Notification::MessageUser messageUser; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/notificationconversationalmessageannex_fuzzer/
Dnotificationconversationalmessageannex_fuzzer.cpp28 Notification::MessageUser sender; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/notificationconversationalcontent_fuzzer/
Dnotificationconversationalcontent_fuzzer.cpp30 Notification::MessageUser messageUser; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/messageuser_fuzzer/
Dmessageuser_fuzzer.cpp30 Notification::MessageUser messageUser; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/js/napi/include/
Dcommon.h476 …static napi_value SetMessageUser(const napi_env &env, const MessageUser &messageUser, napi_value &…
1222 const napi_env &env, const napi_value &contentResult, MessageUser &user);
1304 …static napi_value GetMessageUser(const napi_env &env, const napi_value &result, MessageUser &messa…
1314 …ue GetMessageUserByString(const napi_env &env, const napi_value &result, MessageUser &messageUser);
1324 …alue GetMessageUserByBool(const napi_env &env, const napi_value &result, MessageUser &messageUser);
1334 …ue GetMessageUserByCustom(const napi_env &env, const napi_value &result, MessageUser &messageUser);
/base/notification/distributed_notification_service/test/fuzztest/setprogressbar_fuzzer/
Dsetprogressbar_fuzzer.cpp31 std::shared_ptr<Notification::MessageUser> messageUser = nullptr; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_publish_test.cpp194 … std::vector<std::shared_ptr<MessageUser>> messageUser = notificationRequest.GetMessageUsers(); in CheckCaseOneResult()
264 MessageUser user = notificationConversationContent->GetMessageUser(); in CheckCaseFourResult()
597 std::shared_ptr<MessageUser> messageUserPtr = std::make_shared<MessageUser>();
750 MessageUser messageUser, sender;
801 MessageUser messageUser;
840 MessageUser messageUser;
879 MessageUser messageUser;
917 MessageUser messageUser;
961 MessageUser messageUser;
1010 MessageUser messageUser;
[all …]
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dcommon.cpp1135 napi_value Common::SetMessageUser(const napi_env &env, const MessageUser &messageUser, napi_value &… in SetMessageUser()
3298 MessageUser user; in GetNotificationConversationalContent()
3342 const napi_env &env, const napi_value &contentResult, MessageUser &user) in GetNotificationConversationalContentByUser()
3499 MessageUser sender; in GetConversationalMessageBasicInfo()
3609 napi_value Common::GetMessageUser(const napi_env &env, const napi_value &result, MessageUser &messa… in GetMessageUser()
3628 …on::GetMessageUserByString(const napi_env &env, const napi_value &result, MessageUser &messageUser) in GetMessageUserByString()
3691 napi_value Common::GetMessageUserByBool(const napi_env &env, const napi_value &result, MessageUser in GetMessageUserByBool()
3737 …on::GetMessageUserByCustom(const napi_env &env, const napi_value &result, MessageUser &messageUser) in GetMessageUserByCustom()