Home
last modified time | relevance | path

Searched refs:GetDoNotDisturbType (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_fw_module_test.cpp1351 EXPECT_EQ(date->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::NONE);
1387 EXPECT_EQ(date->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::ONCE);
1423 EXPECT_EQ(date->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY);
1493 EXPECT_EQ(getDate.GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::NONE);
1530 EXPECT_EQ(srcDate.GetDoNotDisturbType(), disDate.GetDoNotDisturbType());
1552 EXPECT_EQ(srcDate.GetDoNotDisturbType(), disDate.GetDoNotDisturbType());
1576 EXPECT_EQ(srcDate.GetDoNotDisturbType(), disDate.GetDoNotDisturbType());
1598 EXPECT_EQ(srcDate.GetDoNotDisturbType(), disDate.GetDoNotDisturbType());
1620 EXPECT_EQ(srcDate.GetDoNotDisturbType(), disDate.GetDoNotDisturbType());
1644 EXPECT_EQ(srcDate.GetDoNotDisturbType(), disDate.GetDoNotDisturbType());
[all …]
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_do_not_disturb_date.h57 NotificationConstant::DoNotDisturbType GetDoNotDisturbType() const;
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationdonotdisturbdate_fuzzer/
H A Dnotificationdonotdisturbdate_fuzzer.cpp30 notificationDoNotDisturbDate.GetDoNotDisturbType(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_do_not_disturb_date.cpp36 NotificationConstant::DoNotDisturbType NotificationDoNotDisturbDate::GetDoNotDisturbType() const in GetDoNotDisturbType() function in OHOS::Notification::NotificationDoNotDisturbDate
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_do_not_disturb_date_test.cpp50 EXPECT_EQ(rrc->GetDoNotDisturbType(), doNotDisturbType);
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences_database.h328 void GetDoNotDisturbType(NotificationPreferencesInfo &info, int32_t userId);
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_test.cpp940 ASSERT_EQ(getDate->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY);
964 ASSERT_EQ(getDate->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY);
H A Dadvanced_notification_service_test.cpp861 ASSERT_EQ(result->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::NONE);
889 ASSERT_EQ(result->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::ONCE);
917 ASSERT_EQ(result->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY);
945 ASSERT_EQ(result->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::CLEARLY);
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
H A Dnotification_preferences_database_branch_test.cpp790 preferncesDB_->GetDoNotDisturbType(info, userId);
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_utils.cpp1561 switch (date->GetDoNotDisturbType()) { in SetDoNotDisturbDateByUser()
1580 date->GetDoNotDisturbType(), in SetDoNotDisturbDateByUser()
1625 switch (currentConfig->GetDoNotDisturbType()) { in GetDoNotDisturbDateByUser()
H A Dnotification_preferences_database.cpp467 std::string typeValue = std::to_string((int)date->GetDoNotDisturbType()); in PutDoNotDisturbDate()
678 GetDoNotDisturbType(info, iter); in ParseFromDisturbeDB()
1488 void NotificationPreferencesDatabase::GetDoNotDisturbType(NotificationPreferencesInfo &info, int32_… in GetDoNotDisturbType() function in OHOS::Notification::NotificationPreferencesDatabase
H A Dreminder_data_manager.cpp877 if (date->GetDoNotDisturbType() == NotificationConstant::DoNotDisturbType::NONE) { in ShouldAlert()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon.cpp219 if (!AnsEnumUtil::DoNotDisturbTypeCToJS(date.GetDoNotDisturbType(), outType)) { in SetDoNotDisturbDate()