Home
last modified time | relevance | path

Searched refs:NotificationDoNotDisturbProfile (Results 1 – 25 of 38) sorted by relevance

12

/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_do_not_disturb_profile.cpp28 NotificationDoNotDisturbProfile::NotificationDoNotDisturbProfile( in NotificationDoNotDisturbProfile() function in OHOS::Notification::NotificationDoNotDisturbProfile
33 void NotificationDoNotDisturbProfile::SetProfileId(int32_t id) in SetProfileId()
38 void NotificationDoNotDisturbProfile::SetProfileName(const std::string &name) in SetProfileName()
48 int32_t NotificationDoNotDisturbProfile::GetProfileId() const in GetProfileId()
53 std::string NotificationDoNotDisturbProfile::GetProfileName() const in GetProfileName()
63 bool NotificationDoNotDisturbProfile::Marshalling(Parcel &parcel) const in Marshalling()
91 NotificationDoNotDisturbProfile *NotificationDoNotDisturbProfile::Unmarshalling(Parcel &parcel) in Unmarshalling()
93 auto objptr = new (std::nothrow) NotificationDoNotDisturbProfile(); in Unmarshalling()
101 bool NotificationDoNotDisturbProfile::ReadFromParcel(Parcel &parcel) in ReadFromParcel()
121 std::string NotificationDoNotDisturbProfile::ToJson() in ToJson()
[all …]
H A Dnotification_helper.cpp395 …cationHelper::AddDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &pr… in AddDoNotDisturbProfiles()
401 const std::vector<sptr<NotificationDoNotDisturbProfile>> &profiles) in RemoveDoNotDisturbProfiles()
591 ErrCode NotificationHelper::GetDoNotDisturbProfile(int32_t id, sptr<NotificationDoNotDisturbProfile in GetDoNotDisturbProfile()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_info_test.cpp118 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles;
119 …sptr<NotificationDoNotDisturbProfile> profile = new (std::nothrow) NotificationDoNotDisturbProfile
138 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles;
139 …sptr<NotificationDoNotDisturbProfile> profile = new (std::nothrow) NotificationDoNotDisturbProfile
156 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles;
157 …sptr<NotificationDoNotDisturbProfile> profile = new (std::nothrow) NotificationDoNotDisturbProfile
H A Dnotification_preferences_test.cpp1394 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles;
1395 …sptr<NotificationDoNotDisturbProfile> profile = new (std::nothrow) NotificationDoNotDisturbProfile
1410 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles;
1424 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles;
1425 …sptr<NotificationDoNotDisturbProfile> profile = new (std::nothrow) NotificationDoNotDisturbProfile
1440 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles;
1441 …sptr<NotificationDoNotDisturbProfile> profile = new (std::nothrow) NotificationDoNotDisturbProfile
1472 …sptr<NotificationDoNotDisturbProfile> profile = new (std::nothrow) NotificationDoNotDisturbProfile
1488 sptr<NotificationDoNotDisturbProfile> profile;
1502 sptr<NotificationDoNotDisturbProfile> profile;
[all …]
H A Dnotification_preferences_database_test.cpp1010 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles;
1011 …sptr<NotificationDoNotDisturbProfile> profile = new (std::nothrow) NotificationDoNotDisturbProfile
1034 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles;
1035 …sptr<NotificationDoNotDisturbProfile> profile = new (std::nothrow) NotificationDoNotDisturbProfile
1059 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles;
1060 …sptr<NotificationDoNotDisturbProfile> profile = new (std::nothrow) NotificationDoNotDisturbProfile
1079 sptr<NotificationDoNotDisturbProfile> profile;
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_do_not_disturb_profile.h24 class NotificationDoNotDisturbProfile : public Parcelable {
29 NotificationDoNotDisturbProfile() = default;
38 NotificationDoNotDisturbProfile(
44 ~NotificationDoNotDisturbProfile() = default;
104 static NotificationDoNotDisturbProfile *Unmarshalling(Parcel &parcel);
H A Dnotification_helper.h925 …static ErrCode AddDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &p…
934 …ic ErrCode RemoveDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &pr…
1120 … static ErrCode GetDoNotDisturbProfile(int32_t id, sptr<NotificationDoNotDisturbProfile> &profile);
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_do_not_disturb_profile_test.cpp49 auto rrc = std::make_shared<NotificationDoNotDisturbProfile>(id, name, trustlist);
66 auto rrc = std::make_shared<NotificationDoNotDisturbProfile>(id, name, trustlist);
83 auto rrc = std::make_shared<NotificationDoNotDisturbProfile>(id, name, trustlist);
106 auto rrc = std::make_shared<NotificationDoNotDisturbProfile>(id, name, trustlist);
124 auto rrc = std::make_shared<NotificationDoNotDisturbProfile>(id, name, trustlist);
146 auto rrc = std::make_shared<NotificationDoNotDisturbProfile>(id, name, trustlist);
170 std::shared_ptr<NotificationDoNotDisturbProfile> result =
171 std::make_shared<NotificationDoNotDisturbProfile>(id, name, trustlist);
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Ddisturb_mode.h52 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles;
76 sptr<NotificationDoNotDisturbProfile> data;
88 …i_env &env, const napi_callback_info &info, std::vector<sptr<NotificationDoNotDisturbProfile>> &pr…
89 …Trustlist(const napi_env &env, const napi_value &value, sptr<NotificationDoNotDisturbProfile> &pro…
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences_info.h316 …dDoNotDisturbProfiles(int32_t userId, const std::vector<sptr<NotificationDoNotDisturbProfile>> &pr…
317 …eDoNotDisturbProfiles(int32_t userId, const std::vector<sptr<NotificationDoNotDisturbProfile>> &pr…
318 …DoNotDisturbProfiles(int32_t profileId, int32_t userId, sptr<NotificationDoNotDisturbProfile> &pro…
319 … GetAllDoNotDisturbProfiles(int32_t userId, std::vector<sptr<NotificationDoNotDisturbProfile>> &pr…
326 std::map<std::string, sptr<NotificationDoNotDisturbProfile>> doNotDisturbProfiles_;
H A Dnotification_preferences.h261 …dDoNotDisturbProfiles(int32_t userId, const std::vector<sptr<NotificationDoNotDisturbProfile>> pro…
271 int32_t userId, const std::vector<sptr<NotificationDoNotDisturbProfile>> profiles);
381 …tDoNotDisturbProfile(int32_t profileId, int32_t userId, sptr<NotificationDoNotDisturbProfile> &pro…
385 std::vector<sptr<NotificationDoNotDisturbProfile>> &profiles);
H A Dnotification_preferences_database.h231 …dDoNotDisturbProfiles(int32_t userId, const std::vector<sptr<NotificationDoNotDisturbProfile>> &pr…
233 int32_t userId, const std::vector<sptr<NotificationDoNotDisturbProfile>> &profiles);
235 … const std::string &key, sptr<NotificationDoNotDisturbProfile> &profile, const int32_t &userId);
H A Dnotification_clone_disturb_service.h48 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles_;
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_proxy_disturb.cpp96 …ManagerProxy::AddDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &pr… in AddDoNotDisturbProfiles()
130 …agerProxy::RemoveDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &pr… in RemoveDoNotDisturbProfiles()
465 ErrCode AnsManagerProxy::GetDoNotDisturbProfile(int32_t id, sptr<NotificationDoNotDisturbProfile> &… in GetDoNotDisturbProfile()
496 profile = reply.ReadParcelable<NotificationDoNotDisturbProfile>(); in GetDoNotDisturbProfile()
H A Dans_manager_stub_invalid.cpp397 …sManagerStub::AddDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &pr… in AddDoNotDisturbProfiles()
403 …nagerStub::RemoveDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &pr… in RemoveDoNotDisturbProfiles()
661 ErrCode AnsManagerStub::GetDoNotDisturbProfile(int32_t id, sptr<NotificationDoNotDisturbProfile> &p… in GetDoNotDisturbProfile()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/clone/
H A Dnotification_clone_disturb_service.cpp47 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles; in OnBackup()
74 … sptr<NotificationDoNotDisturbProfile> item = new (std::nothrow) NotificationDoNotDisturbProfile(); in OnRestore()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences_info.cpp282 int32_t userId, const std::vector<sptr<NotificationDoNotDisturbProfile>> &profiles) in AddDoNotDisturbProfiles()
296 int32_t userId, const std::vector<sptr<NotificationDoNotDisturbProfile>> &profiles) in RemoveDoNotDisturbProfiles()
310 int32_t profileId, int32_t userId, sptr<NotificationDoNotDisturbProfile> &profile) in GetDoNotDisturbProfiles()
326 int32_t userId, std::vector<sptr<NotificationDoNotDisturbProfile>> &profiles) in GetAllDoNotDisturbProfiles()
H A Dnotification_preferences.cpp551 int32_t userId, std::vector<sptr<NotificationDoNotDisturbProfile>> profiles) in AddDoNotDisturbProfiles()
598 int32_t userId, const std::vector<sptr<NotificationDoNotDisturbProfile>> profiles) in RemoveDoNotDisturbProfiles()
649 …sptr<NotificationDoNotDisturbProfile> profile = new (std::nothrow) NotificationDoNotDisturbProfile in UpdateDoNotDisturbProfiles()
741 std::vector<sptr<NotificationDoNotDisturbProfile>> &profiles) in GetDoNotDisturbProfileListByUserId()
775 int32_t profileId, int32_t userId, sptr<NotificationDoNotDisturbProfile> &profile) in GetDoNotDisturbProfile()
801 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles; in RemoveDoNotDisturbProfileTrustList()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Ddisturb_mode.cpp103 const napi_env &env, const napi_value &value, sptr<NotificationDoNotDisturbProfile> &profile) in GetDoNotDisturbProfile()
147 …Trustlist(const napi_env &env, const napi_value &value, sptr<NotificationDoNotDisturbProfile> &pro… in AnalyseTrustlist()
245 …i_env &env, const napi_callback_info &info, std::vector<sptr<NotificationDoNotDisturbProfile>> &pr… in ParseProfilesParameters()
284 …sptr<NotificationDoNotDisturbProfile> profile = new (std::nothrow) NotificationDoNotDisturbProfile in ParseProfilesParameters()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_notification.h777 …ErrCode AddDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &profiles…
786 …ErrCode RemoveDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &profi…
1205 ErrCode GetDoNotDisturbProfile(int32_t id, sptr<NotificationDoNotDisturbProfile> &profile);
H A Dans_manager_interface.h561 …virtual ErrCode AddDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &…
569 …al ErrCode RemoveDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &pr…
968 …virtual ErrCode GetDoNotDisturbProfile(int32_t id, sptr<NotificationDoNotDisturbProfile> &profile)…
H A Dans_manager_proxy.h549 …ErrCode AddDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &profiles…
557 …ErrCode RemoveDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &profi…
956 …ErrCode GetDoNotDisturbProfile(int32_t id, sptr<NotificationDoNotDisturbProfile> &profile) overrid…
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp1418 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles;
1442 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles;
1443 sptr<NotificationDoNotDisturbProfile> disturbProfile =
1444 new (std::nothrow) NotificationDoNotDisturbProfile(id, name, trustlist);
1458 vector<sptr<NotificationDoNotDisturbProfile>> profiles;
1482 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles;
1483 sptr<NotificationDoNotDisturbProfile> disturbProfile =
1484 new (std::nothrow) NotificationDoNotDisturbProfile(id, name, trustlist);
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp335 …ErrCode AddDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &profiles… in AddDoNotDisturbProfiles()
340 …ErrCode RemoveDoNotDisturbProfiles(const std::vector<sptr<NotificationDoNotDisturbProfile>> &profi… in RemoveDoNotDisturbProfiles()
585 ErrCode GetDoNotDisturbProfile(int32_t id, sptr<NotificationDoNotDisturbProfile> &profile) in GetDoNotDisturbProfile()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_disturb_mode.cpp92 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles; in NapiAddDoNotDisturbProfiles()
138 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles; in NapiRemoveDoNotDisturbProfiles()

12