Home
last modified time | relevance | path

Searched refs:ONCE (Results 1 - 15 of 15) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_do_not_disturb_date_test.cpp45 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 Dans_log_test.cpp321 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 Ddatabase.rs52 static ONCE: Once = Once::new(); consts
53 ONCE.call_once(|| {
74 static ONCE: Once = Once::new(); consts
75 ONCE.call_once(|| {
H A Dapp_state.rs28 static ONCE: Once = Once::new(); consts
33 ONCE.call_once(|| {
45 if ONCE.is_completed() {
H A Daccount.rs131 static ONCE: Once = Once::new(); consts
133 ONCE.call_once(|| unsafe {
/base/request/request/services/src/
H A Dlib.rs74 static ONCE: std::sync::Once = std::sync::Once::new(); consts
75 ONCE.call_once(|| {
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_constant.h108 ONCE = 1, // only once member in OHOS::Notification::NotificationConstant::DoNotDisturbType
/base/notification/distributed_notification_service/frameworks/core/common/src/
H A Dans_convert_enum.cpp354 outType = NotificationConstant::DoNotDisturbType::ONCE; in DoNotDisturbTypeJSToC()
375 case NotificationConstant::DoNotDisturbType::ONCE: in DoNotDisturbTypeCToJS()
/base/request/request/test/rustest/src/
H A Dlib.rs66 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 Dnotification_preferences_test.cpp896 new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::ONCE, beginDate, endDate); in HWTEST_F()
915 new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::ONCE, beginDate, endDate); in HWTEST_F()
H A Dadvanced_notification_service_test.cpp826 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 Dnotification_preferences_database_test.cpp229 * @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 Dans_fw_module_test.cpp1375 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 Dadvanced_notification_utils.cpp1583 case NotificationConstant::DoNotDisturbType::ONCE: in SetDoNotDisturbDateByUser()
1644 case NotificationConstant::DoNotDisturbType::ONCE: in GetDoNotDisturbDateByUser()
/base/notification/distributed_notification_service/services/test/moduletest/
H A Dans_module_test.cpp2706 * @tc.desc : Test publish notifications when Dnd type is ONCE.
2743 new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::ONCE, beginDate, endDate); in HWTEST_F()

Completed in 27 milliseconds