Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_do_not_disturb_date.h57 NotificationConstant::DoNotDisturbType GetDoNotDisturbType() const;
/base/notification/distributed_notification_service/test/fuzztest/notificationdonotdisturbdate_fuzzer/
Dnotificationdonotdisturbdate_fuzzer.cpp30 notificationDoNotDisturbDate.GetDoNotDisturbType(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_do_not_disturb_date.cpp36 NotificationConstant::DoNotDisturbType NotificationDoNotDisturbDate::GetDoNotDisturbType() const in GetDoNotDisturbType() function in OHOS::Notification::NotificationDoNotDisturbDate
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_fw_module_test.cpp1344 EXPECT_EQ(date->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::NONE);
1380 EXPECT_EQ(date->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::ONCE);
1416 EXPECT_EQ(date->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY);
1452 EXPECT_EQ(date->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::CLEARLY);
1486 EXPECT_EQ(getDate.GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::NONE);
1523 EXPECT_EQ(srcDate.GetDoNotDisturbType(), disDate.GetDoNotDisturbType());
1545 EXPECT_EQ(srcDate.GetDoNotDisturbType(), disDate.GetDoNotDisturbType());
1569 EXPECT_EQ(srcDate.GetDoNotDisturbType(), disDate.GetDoNotDisturbType());
1591 EXPECT_EQ(srcDate.GetDoNotDisturbType(), disDate.GetDoNotDisturbType());
1613 EXPECT_EQ(srcDate.GetDoNotDisturbType(), disDate.GetDoNotDisturbType());
[all …]
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_do_not_disturb_date_test.cpp50 EXPECT_EQ(rrc->GetDoNotDisturbType(), doNotDisturbType);
/base/notification/distributed_notification_service/services/ans/include/
Dnotification_preferences_database.h227 void GetDoNotDisturbType(NotificationPreferencesInfo &info, int32_t userId);
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_preferences_database.cpp482 std::string typeValue = std::to_string((int)date->GetDoNotDisturbType()); in PutDoNotDisturbDate()
1037 NotificationPreferencesDatabase::GetDoNotDisturbType(info, iter); in ParseDoNotDisturbType()
1213 void NotificationPreferencesDatabase::GetDoNotDisturbType(NotificationPreferencesInfo &info, int32_… in GetDoNotDisturbType() function in OHOS::Notification::NotificationPreferencesDatabase
Dreminder_data_manager.cpp630 if (date->GetDoNotDisturbType() == NotificationConstant::DoNotDisturbType::NONE) { in ShouldAlert()
Dadvanced_notification_service.cpp3829 switch (date->GetDoNotDisturbType()) { in SetDoNotDisturbDateByUser()
3848 date->GetDoNotDisturbType(), in SetDoNotDisturbDateByUser()
3889 switch (currentConfig->GetDoNotDisturbType()) { in GetDoNotDisturbDateByUser()
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dnotification_preferences_test.cpp940 EXPECT_EQ(getDate->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY);
964 EXPECT_EQ(getDate->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY);
Dadvanced_notification_service_test.cpp1321 EXPECT_EQ(result->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::NONE);
1349 EXPECT_EQ(result->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::ONCE);
1377 EXPECT_EQ(result->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY);
1405 EXPECT_EQ(result->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::CLEARLY);
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
Dnotification_preferences_database_branch_test.cpp786 preferncesDB_->GetDoNotDisturbType(info, userId);
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dcommon.cpp1389 if (!DoNotDisturbTypeCToJS(date.GetDoNotDisturbType(), outType)) { in SetDoNotDisturbDate()