Home
last modified time | relevance | path

Searched refs:DELAY_TIME (Results 1 – 14 of 14) sorted by relevance

/foundation/aafwk/standard/test/systemtest/common/ams/ams_kit_test/
Dacts_ams_kit_lifecycle_test.cpp95 constexpr int DELAY_TIME = 3; variable
234 … EXPECT_EQ(0, STAbilityUtil::WaitCompleted(event, "OnStart", mapState["OnStart"], DELAY_TIME));
235 int ret = STAbilityUtil::WaitCompleted(event, "OnAbilityStart", 0, DELAY_TIME);
242 EXPECT_EQ(0, STAbilityUtil::WaitCompleted(event, "OnAbilityActive", 0, DELAY_TIME));
243 … EXPECT_EQ(0, STAbilityUtil::WaitCompleted(event, "OnActive", mapState["OnActive"], DELAY_TIME));
248 …T_EQ(0, STAbilityUtil::WaitCompleted(event, "OnBackground", mapState["OnBackground"], DELAY_TIME));
249 EXPECT_EQ(0, STAbilityUtil::WaitCompleted(event, "OnStop", mapState["OnStop"], DELAY_TIME));
278 … EXPECT_EQ(0, STAbilityUtil::WaitCompleted(event, "OnStart", mapState["OnStart"], DELAY_TIME));
279 int ret = STAbilityUtil::WaitCompleted(event, "OnAbilityStart", 0, DELAY_TIME);
286 EXPECT_EQ(0, STAbilityUtil::WaitCompleted(event, "OnAbilityActive", 0, DELAY_TIME));
[all …]
Dacts_ams_kit_service_ability_test.cpp65 constexpr int DELAY_TIME = 3; variable
286 … EXPECT_EQ(0, STAbilityUtil::WaitCompleted(event, "OnStart", mapState["OnStart"], DELAY_TIME));
287 int ret = STAbilityUtil::WaitCompleted(event, "OnAbilityStart", 0, DELAY_TIME);
294 EXPECT_EQ(0, STAbilityUtil::WaitCompleted(event, "OnAbilityActive", 0, DELAY_TIME));
295 … EXPECT_EQ(0, STAbilityUtil::WaitCompleted(event, "OnCommand", mapState["OnCommand"], DELAY_TIME));
301 …T_EQ(0, STAbilityUtil::WaitCompleted(event, "OnBackground", mapState["OnBackground"], DELAY_TIME));
302 EXPECT_EQ(0, STAbilityUtil::WaitCompleted(event, "OnStop", mapState["OnStop"], DELAY_TIME));
331 … EXPECT_EQ(0, STAbilityUtil::WaitCompleted(event, "OnStart", mapState["OnStart"], DELAY_TIME));
332 int ret = STAbilityUtil::WaitCompleted(event, "OnAbilityStart", 0, DELAY_TIME);
339 EXPECT_EQ(0, STAbilityUtil::WaitCompleted(event, "OnAbilityActive", 0, DELAY_TIME));
[all …]
/foundation/aafwk/standard/test/systemtest/common/ams/ams_service_ability_test/
Dams_service_ability_test.cpp368 … event, SERVICE_STATE_ON_START, AbilityLifecycleExecutor::LifecycleState::INACTIVE, DELAY_TIME),
371 … event, SERVICE_STATE_ON_COMMAND, AbilityLifecycleExecutor::LifecycleState::ACTIVE, DELAY_TIME),
379 …nt, SERVICE_STATE_ON_BACKGROUND, AbilityLifecycleExecutor::LifecycleState::BACKGROUND, DELAY_TIME),
382 … event, SERVICE_STATE_ON_STOP, AbilityLifecycleExecutor::LifecycleState::INITIAL, DELAY_TIME),
410 … event, SERVICE_STATE_ON_START, AbilityLifecycleExecutor::LifecycleState::INACTIVE, DELAY_TIME),
414 … event, SERVICE_STATE_ON_COMMAND, AbilityLifecycleExecutor::LifecycleState::ACTIVE, DELAY_TIME),
423 …nt, SERVICE_STATE_ON_BACKGROUND, AbilityLifecycleExecutor::LifecycleState::BACKGROUND, DELAY_TIME),
426 … event, SERVICE_STATE_ON_STOP, AbilityLifecycleExecutor::LifecycleState::INITIAL, DELAY_TIME),
455 … event, PAGE_STATE_ON_START, AbilityLifecycleExecutor::LifecycleState::INACTIVE, DELAY_TIME),
458 … event, PAGE_STATE_ON_ACTIVE, AbilityLifecycleExecutor::LifecycleState::ACTIVE, DELAY_TIME),
[all …]
Dams_service_ability_test_def.h40 constexpr int DELAY_TIME = 10; variable
/foundation/appexecfwk/standard/test/systemtest/common/ems/ems_dumper_system_test/
Dems_dumper_system_test.cpp29 const int64_t DELAY_TIME = 10; variable
208 handler->PostTask(task, DELAY_TIME, EventQueue::Priority::LOW);
226 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::LOW);
244 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::LOW);
263 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::LOW);
264 handler->PostTask(task, DELAY_TIME * 2, EventQueue::Priority::LOW);
/foundation/resourceschedule/background_task_mgr/utils/bgtask_observer/src/
Dmain.cpp25 static constexpr int32_t DELAY_TIME = 1000; variable
37 std::this_thread::sleep_for(std::chrono::milliseconds(DELAY_TIME)); in CycleTest()
63 std::this_thread::sleep_for(std::chrono::milliseconds(DELAY_TIME)); in PatchTest()
/foundation/appexecfwk/standard/test/systemtest/common/ems/ems_event_queue_system_test/
Dems_event_queue_system_test.cpp30 const uint32_t DELAY_TIME = 10; variable
85 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::LOW);
101 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::IMMEDIATE);
/foundation/appexecfwk/standard/test/systemtest/common/ems/ems_event_handler_system_test/
Dems_event_handler_test.cpp46 const int64_t DELAY_TIME = 10; variable
1076 handler->SendEvent(event, DELAY_TIME, TestEventHandler::Priority::LOW);
1097 handler->SendEvent(event, DELAY_TIME, TestEventHandler::Priority::LOW);
1118 handler->SendEvent(event, DELAY_TIME, TestEventHandler::Priority::HIGH);
1139 handler->SendEvent(event, DELAY_TIME, TestEventHandler::Priority::IMMEDIATE);
1160 handler->SendEvent(event, DELAY_TIME, TestEventHandler::Priority::IDLE);
1890 handler->SendEvent(event, DELAY_TIME, EventHandler::Priority::LOW);
1910 handler->SendEvent(event, DELAY_TIME, TestEventHandler::Priority::HIGH);
1930 handler->SendEvent(event, DELAY_TIME, TestEventHandler::Priority::IMMEDIATE);
1979 if (handler->PostTask(f, DELAY_TIME, EventHandler::Priority::LOW)) {
[all …]
/foundation/appexecfwk/standard/libs/libeventhandler/test/unittest/
Dlib_event_handler_event_runner_test.cpp227 const int64_t DELAY_TIME = 30; variable
241 handler->PostTask(mainTask, DELAY_TIME);
Dlib_event_handler_event_queue_test.cpp43 const int64_t DELAY_TIME = 100; variable
881 handler->PostTask(mainTask, DELAY_TIME);
930 handler->PostTask(mainThreadTask, DELAY_TIME);
976 handler->PostTask(main, DELAY_TIME);
/foundation/resourceschedule/device_usage_statistics/services/common/src/
Dbundle_active_service.cpp31 static const int DELAY_TIME = 2000; variable
74 handler_->PostTask(task, DELAY_TIME); in InitNecessaryState()
86 handler_->PostTask(task, DELAY_TIME); in InitNecessaryState()
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/
Dbg_continuous_task_mgr.cpp70 static constexpr int32_t DELAY_TIME = 2000; variable
119 handler_->PostTask(task, DELAY_TIME); in InitNecessaryState()
211 handler_->PostTask(task, DELAY_TIME); in InitRequiredResourceInfo()
/foundation/appexecfwk/standard/test/systemtest/common/ems/ems_event_runner_system_test/
Dems_event_runner_system_test.cpp44 const uint32_t DELAY_TIME = 100; variable
1019 if (handler->SendEvent(EVENT_ID_1, EVENT_PARAM, DELAY_TIME)) {
1345 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::LOW);
1362 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::IDLE);
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/src/mission/
Ddistributed_sched_mission_manager.cpp50 constexpr int64_t DELAY_TIME = 300; variable
1324 handler->PostTask(callback, DELAY_TIME); in TryUpdateSwitchValueToRemote()