Home
last modified time | relevance | path

Searched refs:WAIT_TIME (Results 1 – 25 of 89) sorted by relevance

1234

/foundation/resourceschedule/background_task_mgr/services/test/unittest/
Dbg_efficiency_resources_mgr_test.cpp37 static constexpr int32_t WAIT_TIME = 1000; variable
79 SleepFor(WAIT_TIME); in TearDown()
143 SleepFor(WAIT_TIME);
148 SleepFor(WAIT_TIME);
155 SleepFor(WAIT_TIME);
160 SleepFor(WAIT_TIME);
177 SleepFor(WAIT_TIME);
184 SleepFor(WAIT_TIME);
204 SleepFor(WAIT_TIME);
209 SleepFor(WAIT_TIME);
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
Dbms_system_bundle_installer_test.cpp35 const int32_t WAIT_TIME = 5; variable
234 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
250 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
266 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
283 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
300 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
317 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
334 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
351 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
368 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
[all …]
/foundation/window/window_manager/test/demo/
Ddemo_water_mark_listener.cpp36 static constexpr long WAIT_TIME = 20000; member in OHOS::Rosen::WaterMarkFlagChangedListenerFuture
56 auto result = listener->future_.GetResult(WaterMarkFlagChangedListenerFuture::WAIT_TIME); in main()
61 result = listener->future_.GetResult(WaterMarkFlagChangedListenerFuture::WAIT_TIME); in main()
Ddemo_system_sub_window.cpp36 static constexpr long WAIT_TIME = 20000; member in OHOS::Rosen::SystemSubWindowFuture
96 listener->future_.GetResult(SystemSubWindowFuture::WAIT_TIME); in main()
/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/
Dsvc_backup_connection_test.cpp33 constexpr int32_t WAIT_TIME = 1; variable
150 sleep(WAIT_TIME); in CallBack()
151 backupCon->OnAbilityDisconnectDone({}, WAIT_TIME); in CallBack()
171 sleep(WAIT_TIME);
Dsched_scheduler_test.cpp36 constexpr int32_t WAIT_TIME = 3; variable
114 sleep(WAIT_TIME);
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
Dsdp.c34 #define WAIT_TIME (-1) macro
251 EventWait(ctx->event, WAIT_TIME); in SdpStartup()
286 EventWait(ctx, WAIT_TIME); in SdpShutdown()
328 EventWait(ctx->event, WAIT_TIME); in SDP_CreateServiceRecord()
367 EventWait(ctx->event, WAIT_TIME); in SDP_DestroyServiceRecord()
409 EventWait(ctx->event, WAIT_TIME); in SDP_RegisterServiceRecord()
449 EventWait(ctx->event, WAIT_TIME); in SDP_DeregisterServiceRecord()
493 EventWait(ctx->event, WAIT_TIME); in SDP_AddServiceClassIdList()
534 EventWait(ctx->event, WAIT_TIME); in SDP_AddServiceRecordState()
575 EventWait(ctx->event, WAIT_TIME); in SDP_AddServiceId()
[all …]
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/stream_manager_test/src/
Daudio_stream_manager_unit_test.cpp41 constexpr int32_t WAIT_TIME = 3; variable
296 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
348 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
383 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
413 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
470 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
541 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
591 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
621 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
640 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME));
[all …]
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/src/
Ddatashare_connection.cpp25 constexpr int WAIT_TIME = 1; variable
92 if (condition_.condition.wait_for(lock, std::chrono::seconds(WAIT_TIME), in ConnectDataShareExtAbility()
120 if (condition_.condition.wait_for(lock, std::chrono::seconds(WAIT_TIME), in DisconnectDataShareExtAbility()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avdtp/
Davdtp.c48 EventWait(event, WAIT_TIME); in AVDT_Startup()
71 EventWait(event, WAIT_TIME); in AVDT_Shutdown()
Davdtp_api.c47 EventWait(event, WAIT_TIME); in AVDT_Register()
112 EventWait(event, WAIT_TIME); in AVDT_CreateStream()
191 EventWait(event, WAIT_TIME); in AVDT_RegisterLocalSEP()
264 EventWait(event, WAIT_TIME); in AVDT_DiscoverReq()
367 EventWait(event, WAIT_TIME); in AVDT_GetCapReq()
441 EventWait(event, WAIT_TIME); in AVDT_GetCapRsp()
508 EventWait(event, WAIT_TIME); in AVDT_GetAllCapReq()
582 EventWait(event, WAIT_TIME); in AVDT_GetAllCapRsp()
643 EventWait(event, WAIT_TIME); in AVDT_DelayReq()
712 EventWait(event, WAIT_TIME); in AVDT_DelayRsp()
[all …]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/
Davctp.c86 EventWait(event, WAIT_TIME); in AVCT_Startup()
111 EventWait(event, WAIT_TIME); in AVCT_Shutdown()
Davctp_api.c56 EventWait(event, WAIT_TIME); in AVCT_Register()
106 EventWait(event, WAIT_TIME); in AVCT_Deregister()
165 EventWait(event, WAIT_TIME); in AVCT_ConnectReq()
228 EventWait(event, WAIT_TIME); in AVCT_DisconnectReq()
283 EventWait(event, WAIT_TIME); in AVCT_SendMsgReq()
376 EventWait(event, WAIT_TIME); in AVCT_BrConnectReq()
430 EventWait(event, WAIT_TIME); in AVCT_BrDisconnectReq()
484 EventWait(event, WAIT_TIME); in AVCT_BrSendMsgReq()
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/
Dfile_access_ext_connection.cpp65 const int WAIT_TIME = 3; // second in ConnectFileExtAbility() local
66 if (!connectLockInfo_.condition.wait_for(lock, std::chrono::seconds(WAIT_TIME), in ConnectFileExtAbility()
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/
Dsvc_backup_connection.cpp24 constexpr int WAIT_TIME = 3; variable
85 if (condition_.wait_for(lock, std::chrono::seconds(WAIT_TIME), callback)) { in DisconnectBackupExtAbility()
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/tabbar/
Drender_tabcontent_test.cpp36 constexpr int32_t WAIT_TIME = 212; variable
201 WaitAndMockVsync(WAIT_TIME); in DragTabContent()
410 WaitAndMockVsync(WAIT_TIME);
455 WaitAndMockVsync(WAIT_TIME);
464 WaitAndMockVsync(WAIT_TIME);
579 WaitAndMockVsync(WAIT_TIME);
585 WaitAndMockVsync(WAIT_TIME);
697 WaitAndMockVsync(WAIT_TIME);
823 WaitAndMockVsync(WAIT_TIME);
855 WaitAndMockVsync(WAIT_TIME);
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/
Drfcomm_api.c20 #define WAIT_TIME (-1) macro
62 EventWait(ctx, WAIT_TIME); in RFCOMM_Startup()
102 EventWait(ctx, WAIT_TIME); in RFCOMM_Shutdown()
159 EventWait(ctx->event, WAIT_TIME); in RFCOMM_AssignServerNum()
269 EventWait(ctx->event, WAIT_TIME); in RFCOMM_ConnectChannel()
345 EventWait(ctx->event, WAIT_TIME); in RFCOMM_RegisterServer()
552 EventWait(ctx->event, WAIT_TIME); in RFCOMM_DeregisterServer()
816 EventWait(ctx->event, WAIT_TIME); in RFCOMM_GetPortState()
900 EventWait(ctx->event, WAIT_TIME); in RFCOMM_Write()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
Ddistributeddb_auto_launch_test.cpp53 const int WAIT_TIME = 1000; // 1000ms variable
298 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME));
377 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME));
399 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME));
507 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME));
685 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME));
749 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME));
757 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME));
785 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME));
792 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME));
[all …]
/foundation/distributeddatamgr/data_share/frameworks/native/provider/src/
Ddatashare_uv_queue.cpp22 constexpr int WAIT_TIME = 3; variable
72 …if (uvEntry->condition.wait_for(lock, std::chrono::seconds(WAIT_TIME), [uvEntry] { return uvEntry-… in SyncCall()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_sandbox_app_test/
Dbms_bundle_sandbox_rdb_test.cpp39 const int32_t WAIT_TIME = 5; // init mocked bms variable
84 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in SetUp()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
Dgap_task_internal.h21 #define WAIT_TIME (-1) macro
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcamerahdf/
Ddcamera_hdf_operate.cpp96 hdfOperateCon_.wait_for(lock, std::chrono::milliseconds(WAIT_TIME), [this] { in WaitLoadCameraService()
112 hdfOperateCon_.wait_for(lock, std::chrono::milliseconds(WAIT_TIME), [this] { in WaitLoadProviderService()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/
Dbms_bundle_manager_overlay_ipc_test.cpp30 const int32_t WAIT_TIME = 5; // init mocked bms variable
78 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in SetUp()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
Dbms_bundle_permission_start_full_test.cpp42 const int32_t WAIT_TIME = 5; // init mocked bms variable
149 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in StartBundleService()
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/text_select/
Drender_text_select_test.cpp41 const int64_t WAIT_TIME = 1000; variable
490 WaitAndMockVsync(WAIT_TIME);
522 WaitAndMockVsync(WAIT_TIME);
531 WaitAndMockVsync(WAIT_TIME);

1234