/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_do_not_disturb_date.h | 57 NotificationConstant::DoNotDisturbType GetDoNotDisturbType() const;
|
/base/notification/distributed_notification_service/test/fuzztest/notificationdonotdisturbdate_fuzzer/ |
H A D | notificationdonotdisturbdate_fuzzer.cpp | 30 notificationDoNotDisturbDate.GetDoNotDisturbType();
in DoSomethingInterestingWithMyAPI()
|
/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
|
/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); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_fw_module_test.cpp | 1351 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 D | notification_preferences_database.h | 316 void GetDoNotDisturbType(NotificationPreferencesInfo &info, int32_t userId);
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_test.cpp | 940 ASSERT_EQ(getDate->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY); in HWTEST_F() 964 ASSERT_EQ(getDate->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::DAILY); in HWTEST_F()
|
H A D | advanced_notification_service_test.cpp | 863 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 D | advanced_notification_utils.cpp | 1578 switch (date->GetDoNotDisturbType()) { in SetDoNotDisturbDateByUser() 1597 date->GetDoNotDisturbType(), in SetDoNotDisturbDateByUser() 1642 switch (currentConfig->GetDoNotDisturbType()) { in GetDoNotDisturbDateByUser()
|
H A D | notification_preferences_database.cpp | 453 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 D | reminder_data_manager.cpp | 901 if (date->GetDoNotDisturbType() == NotificationConstant::DoNotDisturbType::NONE) { in ShouldAlert()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/ |
H A D | notification_preferences_database_branch_test.cpp | 778 * @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 D | common.cpp | 219 if (!AnsEnumUtil::DoNotDisturbTypeCToJS(date.GetDoNotDisturbType(), outType)) { in SetDoNotDisturbDate()
|