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/
H A Dnotification_do_not_disturb_date.h57 NotificationConstant::DoNotDisturbType GetDoNotDisturbType() const;
/base/notification/distributed_notification_service/test/fuzztest/notificationdonotdisturbdate_fuzzer/
H A Dnotificationdonotdisturbdate_fuzzer.cpp30 notificationDoNotDisturbDate.GetDoNotDisturbType(); in DoSomethingInterestingWithMyAPI()
/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
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_do_not_disturb_date_test.cpp50 EXPECT_EQ(rrc->GetDoNotDisturbType(), doNotDisturbType); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_fw_module_test.cpp1351 EXPECT_EQ(date->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::NONE); in HWTEST_F()
1387 EXPECT_EQ(date->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::ONCE); in HWTEST_F()
1423 EXPECT_EQ(date->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY); in HWTEST_F()
1459 EXPECT_EQ(date->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::CLEARLY); in HWTEST_F()
1493 EXPECT_EQ(getDate.GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::NONE); in HWTEST_F()
1530 EXPECT_EQ(srcDate.GetDoNotDisturbType(), disDate.GetDoNotDisturbType()); in HWTEST_F()
1552 EXPECT_EQ(srcDate.GetDoNotDisturbType(), disDate.GetDoNotDisturbType()); in HWTEST_F()
1576 EXPECT_EQ(srcDate.GetDoNotDisturbType(), disDat in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences_database.h316 void GetDoNotDisturbType(NotificationPreferencesInfo &info, int32_t userId);
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_test.cpp940 ASSERT_EQ(getDate->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY); in HWTEST_F()
964 ASSERT_EQ(getDate->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY); in HWTEST_F()
H A Dadvanced_notification_service_test.cpp863 ASSERT_EQ(result->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::NONE); in HWTEST_F()
891 ASSERT_EQ(result->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::ONCE); in HWTEST_F()
919 ASSERT_EQ(result->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY); in HWTEST_F()
947 ASSERT_EQ(result->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::CLEARLY); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_utils.cpp1578 switch (date->GetDoNotDisturbType()) { in SetDoNotDisturbDateByUser()
1597 date->GetDoNotDisturbType(), in SetDoNotDisturbDateByUser()
1642 switch (currentConfig->GetDoNotDisturbType()) { in GetDoNotDisturbDateByUser()
H A Dnotification_preferences_database.cpp453 std::string typeValue = std::to_string((int)date->GetDoNotDisturbType()); in PutDoNotDisturbDate()
664 GetDoNotDisturbType(info, iter); in ParseFromDisturbeDB()
1444 void NotificationPreferencesDatabase::GetDoNotDisturbType(NotificationPreferencesInfo &info, int32_t userId) in GetDoNotDisturbType() function in OHOS::Notification::NotificationPreferencesDatabase
H A Dreminder_data_manager.cpp901 if (date->GetDoNotDisturbType() == NotificationConstant::DoNotDisturbType::NONE) { in ShouldAlert()
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
H A Dnotification_preferences_database_branch_test.cpp778 * @tc.desc : test GetDoNotDisturbType function and status == NativeRdb::E_ERROR
786 // test GetDoNotDisturbType function in HWTEST_F()
790 preferncesDB_->GetDoNotDisturbType(info, userId); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon.cpp219 if (!AnsEnumUtil::DoNotDisturbTypeCToJS(date.GetDoNotDisturbType(), outType)) { in SetDoNotDisturbDate()

Completed in 29 milliseconds