Home
last modified time | relevance | path

Searched refs:MessageUser (Results 1 – 21 of 21) 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.cpp23 NotificationConversationalContent::NotificationConversationalContent(const MessageUser &messageUser) in NotificationConversationalContent()
27 MessageUser NotificationConversationalContent::GetMessageUser() const in GetMessageUser()
53 const std::string &text, int64_t timestamp, const MessageUser &sender) in AddConversationalMessage()
151 auto pUser = NotificationJsonConverter::ConvertFromJson<MessageUser>(userObj); in FromJson()
252 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.cpp217 void NotificationRequest::AddMessageUser(const std::shared_ptr<MessageUser> &messageUser) in AddMessageUser()
227 const std::vector<std::shared_ptr<MessageUser>> NotificationRequest::GetMessageUsers() const in GetMessageUsers()
1383 auto member = std::shared_ptr<MessageUser>(parcel.ReadParcelable<MessageUser>()); in ReadFromParcel()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_conversational_content_test.cpp43 MessageUser messageUser;
58 MessageUser messageUser;
75 MessageUser messageUser;
95 MessageUser messageUser;
109 MessageUser messageUser;
131 MessageUser messageUser;
145 MessageUser messageUser;
148 MessageUser sender;
164 MessageUser messageUser;
167 MessageUser sender;
[all …]
Dmessage_user_test.cpp43 sptr<MessageUser> messageUser = nullptr;
56 MessageUser messageUser;
71 MessageUser messageUser;
91 std::shared_ptr<MessageUser> result = std::make_shared<MessageUser>();
109 MessageUser messageUser;
123 MessageUser messageUser;
139 MessageUser messageUser;
158 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;
174 MessageUser sender;
193 MessageUser sender;
215 MessageUser sender;
Dnotification_request_test.cpp225 std::shared_ptr<MessageUser> messageUser = nullptr; in HWTEST_F()
227 std::vector<std::shared_ptr<MessageUser>> result = notificationRequest.GetMessageUsers(); in HWTEST_F()
/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;
1187 std::vector<std::shared_ptr<MessageUser>> messageUsers_ {};
/base/notification/distributed_notification_service/test/fuzztest/notificationtemplateannex_fuzzer/
Dnotificationtemplateannex_fuzzer.cpp27 Notification::MessageUser messageUser; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/notificationconversationalmessage_fuzzer/
Dnotificationconversationalmessage_fuzzer.cpp24 Notification::MessageUser sender; 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/messageuser_fuzzer/
Dmessageuser_fuzzer.cpp30 Notification::MessageUser messageUser; 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/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.cpp202 … std::vector<std::shared_ptr<MessageUser>> messageUser = notificationRequest.GetMessageUsers(); in CheckCaseOneResult()
272 MessageUser user = notificationConversationContent->GetMessageUser(); in CheckCaseFourResult()
612 std::shared_ptr<MessageUser> messageUserPtr = std::make_shared<MessageUser>();
765 MessageUser messageUser, sender;
816 MessageUser messageUser;
855 MessageUser messageUser;
894 MessageUser messageUser;
932 MessageUser messageUser;
976 MessageUser messageUser;
1025 MessageUser messageUser;
[all …]
/base/notification/distributed_notification_service/frameworks/js/napi/include/
Dcommon.h476 …static napi_value SetMessageUser(const napi_env &env, const MessageUser &messageUser, napi_value &…
1226 const napi_env &env, const napi_value &contentResult, MessageUser &user);
1308 …static napi_value GetMessageUser(const napi_env &env, const napi_value &result, MessageUser &messa…
1318 …ue GetMessageUserByString(const napi_env &env, const napi_value &result, MessageUser &messageUser);
1328 …alue GetMessageUserByBool(const napi_env &env, const napi_value &result, MessageUser &messageUser);
1338 …ue GetMessageUserByCustom(const napi_env &env, const napi_value &result, MessageUser &messageUser);
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dcommon.cpp1137 napi_value Common::SetMessageUser(const napi_env &env, const MessageUser &messageUser, napi_value &… in SetMessageUser()
3350 MessageUser user; in GetNotificationConversationalContent()
3394 const napi_env &env, const napi_value &contentResult, MessageUser &user) in GetNotificationConversationalContentByUser()
3551 MessageUser sender; in GetConversationalMessageBasicInfo()
3661 napi_value Common::GetMessageUser(const napi_env &env, const napi_value &result, MessageUser &messa… in GetMessageUser()
3680 …on::GetMessageUserByString(const napi_env &env, const napi_value &result, MessageUser &messageUser) in GetMessageUserByString()
3743 napi_value Common::GetMessageUserByBool(const napi_env &env, const napi_value &result, MessageUser in GetMessageUserByBool()
3789 …on::GetMessageUserByCustom(const napi_env &env, const napi_value &result, MessageUser &messageUser) in GetMessageUserByCustom()