Home
last modified time | relevance | path

Searched refs:WAIT_TIME (Results 1 - 25 of 112) sorted by relevance

12345

/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbg_efficiency_resources_mgr_test.cpp34 static constexpr int32_t WAIT_TIME = 1000; member
76 SleepFor(WAIT_TIME); in TearDown()
140 SleepFor(WAIT_TIME); in HWTEST_F()
145 SleepFor(WAIT_TIME); in HWTEST_F()
152 SleepFor(WAIT_TIME); in HWTEST_F()
157 SleepFor(WAIT_TIME); in HWTEST_F()
174 SleepFor(WAIT_TIME); in HWTEST_F()
181 SleepFor(WAIT_TIME); in HWTEST_F()
201 SleepFor(WAIT_TIME); in HWTEST_F()
206 SleepFor(WAIT_TIME); in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_system_bundle_installer_test.cpp35 const int32_t WAIT_TIME = 5; member
234 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
250 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
266 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
283 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
300 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
317 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
334 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
351 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
368 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
[all...]
/foundation/window/window_manager/test/demo/
H A Ddemo_visible_window_num_listener.cpp29 static constexpr long WAIT_TIME = 20000; member
58 visibleWindowNumInfo = listener->future_.GetResult(WAIT_TIME); in main()
66 visibleWindowNumInfo = listener->future_.GetResult(WAIT_TIME); in main()
H A 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()
H A Ddemo_system_sub_window.cpp36 static constexpr long WAIT_TIME = 20000; member in OHOS::Rosen::SystemSubWindowFuture
97 listener->future_.GetResult(SystemSubWindowFuture::WAIT_TIME); in main()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A 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/media_library/frameworks/services/media_cloud_enhancement/src/utils/
H A Denhancement_thread_manager.cpp27 static constexpr int32_t WAIT_TIME = 30; member
74 if (condVar_.wait_for(lock, chrono::seconds(WAIT_TIME), [this]() { in DealWithTasks()
100 MEDIA_INFO_LOG("cloud enhancement thread task queue is empty for %{public}d seconds", WAIT_TIME); in DealWithTasks()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dmock_status_receiver.cpp23 const int32_t WAIT_TIME = 5; // 5s member
48 if (future.wait_for(std::chrono::seconds(WAIT_TIME)) == std::future_status::ready) { in GetResultCode()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avdtp/
H A Davdtp.c48 EventWait(event, WAIT_TIME); in AVDT_Startup()
71 EventWait(event, WAIT_TIME); in AVDT_Shutdown()
H A 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/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/stream_manager_test/src/
H A Daudio_stream_manager_unit_test.cpp46 constexpr int32_t WAIT_TIME = 3; member
301 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
353 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
388 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
418 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
475 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
546 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
596 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
626 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
645 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in HWTEST_F()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/
H A Davctp.c86 EventWait(event, WAIT_TIME); in AVCT_Startup()
111 EventWait(event, WAIT_TIME); in AVCT_Shutdown()
H A 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/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_auto_launch_test.cpp53 const int WAIT_TIME = 1000; // 1000ms member
298 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME)); in HWTEST_F()
377 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME)); in HWTEST_F()
399 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME)); in HWTEST_F()
507 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME)); in HWTEST_F()
685 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME)); in HWTEST_F()
749 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME)); in HWTEST_F()
757 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME)); in HWTEST_F()
785 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME)); in HWTEST_F()
792 std::this_thread::sleep_for(std::chrono::milliseconds(WAIT_TIME)); in HWTEST_F()
[all...]
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/
H A Dsvc_backup_connection.cpp28 constexpr int WAIT_TIME = 3; member
130 if (condition_.wait_for(lock, std::chrono::seconds(WAIT_TIME), callback)) { in DisconnectBackupExtAbility()
140 if (waitCondition_.wait_for(lock, std::chrono::seconds(WAIT_TIME), in WaitDisconnectDone()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/
H A 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/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_task_internal.h21 #define WAIT_TIME (-1) macro
/foundation/ai/intelligent_voice_framework/tests/unittest/intell_voice_test/src/
H A Dengine_event_callback.cpp30 static constexpr uint32_t WAIT_TIME = 1000; member
57 usleep(WAIT_TIME); in OnEvent()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_sandbox_app_test/
H A Dbms_bundle_sandbox_rdb_test.cpp39 const int32_t WAIT_TIME = 5; // init mocked bms member
84 std::this_thread::sleep_for(std::chrono::seconds(WAIT_TIME)); in SetUp()
/foundation/filemanagement/user_file_service/services/native/file_access_service/src/
H A Dfile_access_ext_connection.cpp70 const int WAIT_TIME = 3; // second in ConnectFileExtAbility() local
71 if (!connectLockInfo_.condition.wait_for(lock, std::chrono::seconds(WAIT_TIME), in ConnectFileExtAbility()
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/
H A Dapp_file_access_ext_connection.cpp80 const int WAIT_TIME = 3; // second in ConnectFileExtAbility() local
81 if (!connectLockInfo_.condition.wait_for(lock, std::chrono::seconds(WAIT_TIME), in ConnectFileExtAbility()
/foundation/distributeddatamgr/data_share/frameworks/native/provider/src/
H A Ddatashare_uv_queue.cpp24 constexpr int WAIT_TIME = 3; member
77 if (uvEntry->condition.wait_for(lock, std::chrono::seconds(WAIT_TIME), [uvEntry] { return uvEntry->done; })) { in SyncCall()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcamerahdf/
H A Ddcamera_hdf_operate.cpp97 hdfOperateCon_.wait_for(lock, std::chrono::milliseconds(WAIT_TIME), [this] { in WaitLoadCameraService()
113 hdfOperateCon_.wait_for(lock, std::chrono::milliseconds(WAIT_TIME), [this] { in WaitLoadProviderService()
/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/src/
H A Ddaudio_hdf_operate.cpp96 hdfOperateCon_.wait_for(lock, std::chrono::milliseconds(WAIT_TIME), [this] { in WaitLoadService()
109 hdfOperateCon_.wait_for(lock, std::chrono::milliseconds(WAIT_TIME), [this] { in WaitLoadService()
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/wakeup/
H A Dwakeup_source_process.cpp24 static constexpr uint32_t WAIT_TIME = 1000; // 1000ms member
132 bufferQueue_[channelId]->PopUntilTimeout(WAIT_TIME, arrayBuffer); in ReadChannelData()

Completed in 15 milliseconds

12345