/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_do_not_disturb_date_test.cpp | 45 NotificationConstant::DoNotDisturbType doNotDisturbType = NotificationConstant::DoNotDisturbType::ONCE; in HWTEST_F() 61 NotificationConstant::DoNotDisturbType doNotDisturbType = NotificationConstant::DoNotDisturbType::ONCE; in HWTEST_F() 78 NotificationConstant::DoNotDisturbType doNotDisturbType = NotificationConstant::DoNotDisturbType::ONCE; in HWTEST_F() 95 NotificationConstant::DoNotDisturbType doNotDisturbType = NotificationConstant::DoNotDisturbType::ONCE; in HWTEST_F() 112 NotificationConstant::DoNotDisturbType doNotDisturbType = NotificationConstant::DoNotDisturbType::ONCE; in HWTEST_F() 129 NotificationConstant::DoNotDisturbType doNotDisturbType = NotificationConstant::DoNotDisturbType::ONCE; in HWTEST_F() 151 NotificationConstant::DoNotDisturbType doNotDisturbType = NotificationConstant::DoNotDisturbType::ONCE; in HWTEST_F()
|
H A D | ans_log_test.cpp | 321 EXPECT_EQ(outType, NotificationConstant::DoNotDisturbType::ONCE); in HWTEST_F() 342 inType = NotificationConstant::DoNotDisturbType::ONCE; in HWTEST_F()
|
/base/request/request/services/src/manage/ |
H A D | database.rs | 52 static ONCE: Once = Once::new(); consts 53 ONCE.call_once(|| { 74 static ONCE: Once = Once::new(); consts 75 ONCE.call_once(|| {
|
H A D | app_state.rs | 28 static ONCE: Once = Once::new(); consts 33 ONCE.call_once(|| { 45 if ONCE.is_completed() {
|
H A D | account.rs | 131 static ONCE: Once = Once::new(); consts 133 ONCE.call_once(|| unsafe {
|
/base/request/request/services/src/ |
H A D | lib.rs | 74 static ONCE: std::sync::Once = std::sync::Once::new(); consts 75 ONCE.call_once(|| {
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_constant.h | 108 ONCE = 1, // only once member in OHOS::Notification::NotificationConstant::DoNotDisturbType
|
/base/notification/distributed_notification_service/frameworks/core/common/src/ |
H A D | ans_convert_enum.cpp | 354 outType = NotificationConstant::DoNotDisturbType::ONCE; in DoNotDisturbTypeJSToC() 375 case NotificationConstant::DoNotDisturbType::ONCE: in DoNotDisturbTypeCToJS()
|
/base/request/request/test/rustest/src/ |
H A D | lib.rs | 66 static ONCE: Once = Once::new(); in new() consts 68 ONCE.call_once(|| { in new()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_test.cpp | 896 new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::ONCE, beginDate, endDate); in HWTEST_F() 915 new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::ONCE, beginDate, endDate); in HWTEST_F()
|
H A D | advanced_notification_service_test.cpp | 826 date = new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::ONCE, beginDate, endDate); in HWTEST_F() 885 new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::ONCE, beginDate, endDate); in HWTEST_F() 891 ASSERT_EQ(result->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::ONCE); in HWTEST_F()
|
H A D | notification_preferences_database_test.cpp | 229 * @tc.desc : Put disturbe mode into disturbe DB when DoNotDisturbType is ONCE, return is true. 240 new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::ONCE, beginDate, endDate); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_fw_module_test.cpp | 1375 NotificationDoNotDisturbDate date(NotificationConstant::DoNotDisturbType::ONCE, beginDate, endDate); in HWTEST_F() 1387 EXPECT_EQ(date->GetDoNotDisturbType(), NotificationConstant::DoNotDisturbType::ONCE); in HWTEST_F() 1519 auto srcDate = GetDoNotDisturbDateInstance(NotificationConstant::DoNotDisturbType::ONCE, 1); in HWTEST_F() 1541 auto srcDate = GetDoNotDisturbDateInstance(NotificationConstant::DoNotDisturbType::ONCE, 24); in HWTEST_F() 1565 auto srcDate = GetDoNotDisturbDateInstance(NotificationConstant::DoNotDisturbType::ONCE, 25); in HWTEST_F()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_utils.cpp | 1583 case NotificationConstant::DoNotDisturbType::ONCE: in SetDoNotDisturbDateByUser() 1644 case NotificationConstant::DoNotDisturbType::ONCE: in GetDoNotDisturbDateByUser()
|
/base/notification/distributed_notification_service/services/test/moduletest/ |
H A D | ans_module_test.cpp | 2706 * @tc.desc : Test publish notifications when Dnd type is ONCE. 2743 new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::ONCE, beginDate, endDate); in HWTEST_F()
|