/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
H A D | bg_efficiency_resources_mgr_test.cpp | 34 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 D | bms_system_bundle_installer_test.cpp | 35 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 D | demo_visible_window_num_listener.cpp | 29 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 D | demo_water_mark_listener.cpp | 36 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 D | demo_system_sub_window.cpp | 36 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 D | sdp.c | 34 #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 D | enhancement_thread_manager.cpp | 27 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 D | mock_status_receiver.cpp | 23 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 D | avdtp.c | 48 EventWait(event, WAIT_TIME); in AVDT_Startup() 71 EventWait(event, WAIT_TIME); in AVDT_Shutdown()
|
H A D | avdtp_api.c | 47 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 D | audio_stream_manager_unit_test.cpp | 46 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 D | avctp.c | 86 EventWait(event, WAIT_TIME); in AVCT_Startup() 111 EventWait(event, WAIT_TIME); in AVCT_Shutdown()
|
H A D | avctp_api.c | 56 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 D | distributeddb_auto_launch_test.cpp | 53 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 D | svc_backup_connection.cpp | 28 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 D | rfcomm_api.c | 20 #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 D | gap_task_internal.h | 21 #define WAIT_TIME (-1) macro
|
/foundation/ai/intelligent_voice_framework/tests/unittest/intell_voice_test/src/ |
H A D | engine_event_callback.cpp | 30 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 D | bms_bundle_sandbox_rdb_test.cpp | 39 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 D | file_access_ext_connection.cpp | 70 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 D | app_file_access_ext_connection.cpp | 80 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 D | datashare_uv_queue.cpp | 24 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 D | dcamera_hdf_operate.cpp | 97 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 D | daudio_hdf_operate.cpp | 96 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 D | wakeup_source_process.cpp | 24 static constexpr uint32_t WAIT_TIME = 1000; // 1000ms member 132 bufferQueue_[channelId]->PopUntilTimeout(WAIT_TIME, arrayBuffer); in ReadChannelData()
|