/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
D | bg_efficiency_resources_mgr_test.cpp | 37 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/ |
D | bms_system_bundle_installer_test.cpp | 35 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/ |
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()
|
D | demo_system_sub_window.cpp | 36 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/ |
D | svc_backup_connection_test.cpp | 33 constexpr int32_t WAIT_TIME = 1; variable 150 sleep(WAIT_TIME); in CallBack() 151 backupCon->OnAbilityDisconnectDone({}, WAIT_TIME); in CallBack() 171 sleep(WAIT_TIME);
|
D | sched_scheduler_test.cpp | 36 constexpr int32_t WAIT_TIME = 3; variable 114 sleep(WAIT_TIME);
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/ |
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/audio_framework/frameworks/native/audiopolicy/test/unittest/stream_manager_test/src/ |
D | audio_stream_manager_unit_test.cpp | 41 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/ |
D | datashare_connection.cpp | 25 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/ |
D | avdtp.c | 48 EventWait(event, WAIT_TIME); in AVDT_Startup() 71 EventWait(event, WAIT_TIME); in AVDT_Shutdown()
|
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/communication/bluetooth_service/services/bluetooth/stack/src/avctp/ |
D | avctp.c | 86 EventWait(event, WAIT_TIME); in AVCT_Startup() 111 EventWait(event, WAIT_TIME); in AVCT_Shutdown()
|
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/filemanagement/user_file_service/interfaces/inner_api/file_access/src/ |
D | file_access_ext_connection.cpp | 65 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/ |
D | svc_backup_connection.cpp | 24 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/ |
D | render_tabcontent_test.cpp | 36 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/ |
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/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
D | distributeddb_auto_launch_test.cpp | 53 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/ |
D | datashare_uv_queue.cpp | 22 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/ |
D | bms_bundle_sandbox_rdb_test.cpp | 39 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/ |
D | gap_task_internal.h | 21 #define WAIT_TIME (-1) macro
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcamerahdf/ |
D | dcamera_hdf_operate.cpp | 96 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/ |
D | bms_bundle_manager_overlay_ipc_test.cpp | 30 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/ |
D | bms_bundle_permission_start_full_test.cpp | 42 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/ |
D | render_text_select_test.cpp | 41 const int64_t WAIT_TIME = 1000; variable 490 WaitAndMockVsync(WAIT_TIME); 522 WaitAndMockVsync(WAIT_TIME); 531 WaitAndMockVsync(WAIT_TIME);
|