/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_do_not_disturb_profile.cpp | 28 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 D | notification_helper.cpp | 395 …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 D | notification_preferences_info_test.cpp | 118 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 D | notification_preferences_test.cpp | 1394 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 D | notification_preferences_database_test.cpp | 1010 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 D | notification_do_not_disturb_profile.h | 24 class NotificationDoNotDisturbProfile : public Parcelable { 29 NotificationDoNotDisturbProfile() = default; 38 NotificationDoNotDisturbProfile( 44 ~NotificationDoNotDisturbProfile() = default; 104 static NotificationDoNotDisturbProfile *Unmarshalling(Parcel &parcel);
|
H A D | notification_helper.h | 925 …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 D | notification_do_not_disturb_profile_test.cpp | 49 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 D | disturb_mode.h | 52 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 D | notification_preferences_info.h | 316 …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 D | notification_preferences.h | 261 …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 D | notification_preferences_database.h | 231 …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 D | notification_clone_disturb_service.h | 48 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles_;
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_manager_proxy_disturb.cpp | 96 …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 D | ans_manager_stub_invalid.cpp | 397 …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 D | notification_clone_disturb_service.cpp | 47 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 D | notification_preferences_info.cpp | 282 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 D | notification_preferences.cpp | 551 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 D | disturb_mode.cpp | 103 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 D | ans_notification.h | 777 …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 D | ans_manager_interface.h | 561 …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 D | ans_manager_proxy.h | 549 …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 D | ans_notification_unit_test.cpp | 1418 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 D | ans_notification_branch_test.cpp | 335 …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 D | napi_disturb_mode.cpp | 92 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles; in NapiAddDoNotDisturbProfiles() 138 std::vector<sptr<NotificationDoNotDisturbProfile>> profiles; in NapiRemoveDoNotDisturbProfiles()
|