/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_fw_module_test.cpp | 1351 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 D | notification_do_not_disturb_date.h | 57 NotificationConstant::DoNotDisturbType GetDoNotDisturbType() const;
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationdonotdisturbdate_fuzzer/ |
H A D | notificationdonotdisturbdate_fuzzer.cpp | 30 notificationDoNotDisturbDate.GetDoNotDisturbType(); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_do_not_disturb_date.cpp | 36 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 D | notification_do_not_disturb_date_test.cpp | 50 EXPECT_EQ(rrc->GetDoNotDisturbType(), doNotDisturbType);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences_database.h | 328 void GetDoNotDisturbType(NotificationPreferencesInfo &info, int32_t userId);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_test.cpp | 940 ASSERT_EQ(getDate->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY); 964 ASSERT_EQ(getDate->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY);
|
H A D | advanced_notification_service_test.cpp | 861 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 D | notification_preferences_database_branch_test.cpp | 790 preferncesDB_->GetDoNotDisturbType(info, userId);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_utils.cpp | 1561 switch (date->GetDoNotDisturbType()) { in SetDoNotDisturbDateByUser() 1580 date->GetDoNotDisturbType(), in SetDoNotDisturbDateByUser() 1625 switch (currentConfig->GetDoNotDisturbType()) { in GetDoNotDisturbDateByUser()
|
H A D | notification_preferences_database.cpp | 467 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 D | reminder_data_manager.cpp | 877 if (date->GetDoNotDisturbType() == NotificationConstant::DoNotDisturbType::NONE) { in ShouldAlert()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common.cpp | 219 if (!AnsEnumUtil::DoNotDisturbTypeCToJS(date.GetDoNotDisturbType(), outType)) { in SetDoNotDisturbDate()
|