/test/xts/device_attest/services/core/utils/ |
D | attest_utils_timer.c | 31 static void Ms2TimeSpec(struct timespec *tp, uint32_t ms) in Ms2TimeSpec() argument 33 tp->tv_sec = ms / LOSCFG_BASE_CORE_MS_PRE_SECOND; in Ms2TimeSpec() 34 ms -= tp->tv_sec * LOSCFG_BASE_CORE_MS_PRE_SECOND; in Ms2TimeSpec() 35 …tp->tv_nsec = (long)(((unsigned long long)ms * OS_SYS_NS_PER_SECOND) / LOSCFG_BASE_CORE_MS_PRE_SEC… in Ms2TimeSpec()
|
/test/xts/acts/kernel_lite/utils/ |
D | mt_utils.cpp | 71 static uint32_t GetNumberFromMS(uint32_t ms) in GetNumberFromMS() argument 74 if (MSECOND_INDEX[i] == ms) { in GetNumberFromMS() 81 int BusyRun(uint32_t ms) in BusyRun() argument 83 uint32_t n = GetNumberFromMS(ms); in BusyRun()
|
D | utils.cpp | 234 void GetDelayedTime(struct timespec *ts, unsigned int ms) in GetDelayedTime() argument 237 unsigned int setTimeNs = ms * 1000000; in GetDelayedTime() 248 int ms = (ts1.tv_sec - ts2.tv_sec) * nsecPerSec + (ts1.tv_nsec - ts2.tv_nsec); in GetTimeDiff() local 249 ms = ms / 1000000; in GetTimeDiff() 250 return ms; in GetTimeDiff()
|
D | mt_utils.h | 33 int BusyRun(uint32_t ms);
|
/test/ostest/wukong/ |
D | README_zh.md | 73 | -i, --interval | 设置执行间隔。 | 否 | 单位ms,默认1500ms。 | 103 | -i,--interval | 设置执行间隔。 | 否 | 单位ms,默认1500ms。 | 128 | -i | 1000 | 参数设置应用拉起间隔,1000单位ms。 |
|
/test/xts/device_attest_lite/services/core/utils/ |
D | attest_utils_timer.c | 32 static void AttestMs2TimeSpec(struct timespec *tp, uint32_t ms) in AttestMs2TimeSpec() argument 38 tp->tv_sec = (time_t)(ms / LOSCFG_BASE_CORE_MS_PER_SECOND); in AttestMs2TimeSpec() 39 ms -= (uint32_t)(tp->tv_sec * LOSCFG_BASE_CORE_MS_PER_SECOND); in AttestMs2TimeSpec() 40 …tp->tv_nsec = (long)(((unsigned long long)ms * OS_SYS_NS_PER_SECOND) / LOSCFG_BASE_CORE_MS_PER_SEC… in AttestMs2TimeSpec()
|
/test/xts/acts/location/geolocation_errorCode/src/main/js/default/test/ |
D | GetCountryCodeError.test.js | 22 function sleep(ms) { argument 23 return new Promise(resolve => setTimeout(resolve, ms));
|
D | GeocoderErrorTest.test.js | 23 function sleep(ms) { argument 24 return new Promise(resolve => setTimeout(resolve, ms));
|
/test/xts/acts/ability/ability_runtime/aacommand/AACommandPrintSyncTest/entry/src/main/ets/MainAbility/ |
D | MainAbility.ts | 40 function sleep(ms) { 41 return new Promise(resolve => setTimeout(resolve, ms));
|
/test/xts/acts/notification/ans_standard/actsNotificationRequestTest/src/main/js/test/ |
D | ActsNotificationRequestTest.js | 25 function sleep(ms) { argument 26 return new Promise(resolve => setTimeout(resolve, ms));
|
/test/xts/acts/validator/acts_validator/src/main/ets/pages/Experience/ |
D | KeyboardDisplayTest.ets | 28 @State StepTips: string = '操作步骤:根据操作提示点击输入框等待键盘加载'+'\n'+'预期结果:输入键盘弹出时延小于1000ms测试通过'; 51 + `7.若弹出键盘时延小于或等于1000ms则通过测试` + '\n' + '\n' + '\n' + '\n' ) 101 … Text('\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n' + `输入键盘弹出时延:` + this.time + 'ms' )
|
D | StartNotification.ets | 30 @State StepTips: string = '操作步骤:根据操作提示下拉通知栏'+'\n'+'预期结果:下拉通知栏时延小于150ms测试通过'; 52 + '5.待脚本执行结束回到Validator点击结束键' + '\n' + '\n' + `6.若下拉通知栏时延小于或等于150ms则通过测试` + 100 … Text('\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n' + `下拉通知栏时延:` + this.time + 'ms' )
|
D | KeyboardInputTest.ets | 28 @State StepTips: string = '操作步骤:根据操作提示点击键盘按键'+'\n'+'预期结果:键盘输入响应时延小于150ms测试通过'; 51 `7.若按键响应时延小于或等于150ms则通过测试` + '\n' + '\n' + '\n' + '\n' ) 101 … Text('\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n' + `按键响应时延:` + this.time + 'ms' )
|
D | StartTaskManager.ets | 30 @State StepTips: string = '操作步骤:根据操作提示打开任务管理器'+'\n'+'预期结果:打开任务管理器时延小于1000ms测试通过'; 52 + '5.待脚本执行结束回到Validator点击结束键' + '\n' + '\n' + `6.若启动任务管理器时延小于或等于1000ms则通过测试` 100 … Text('\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n' + `启动任务管理器时延:` + this.time + 'ms' )
|
D | ViewPhotoTest.ets | 28 @State StepTips: string = '操作步骤:根据操作提示点击图片等待加载'+'\n'+'预期结果:图片响应时延小于150ms测试通过'; 51 `7.若图片响应时延小于或等于150ms则通过测试` + '\n' + '\n' + '\n' + '\n' ) 101 … Text('\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n' + `图片响应时延:` + this.time + 'ms' )
|
D | StartBackgroundTask.ets | 30 @State StepTips: string = '操作步骤:根据操作提示打开后台任务'+'\n'+'预期结果:打开后台任务时延小于600ms测试通过'; 53 `6.若打开后台任务时延小于或等于600ms则通过测试` + '\n' + '\n' + '\n' + '\n' ) 100 … Text('\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n' + `打开后台任务时延:` + this.time + 'ms' )
|
D | ScrollPhotosList.ets | 28 @State StepTips: string = '操作步骤:根据操作提示滑动图库缩略表'+'\n'+'预期结果:滑动响应时延小于150ms测试通过'; 51 `7.若滑动响应时延小于或等于150ms则通过测试` + '\n' + '\n' + '\n' + '\n' ) 101 … Text('\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n' + `滑动响应时延:` + this.time + 'ms' )
|
/test/xts/hats/hdf/audio/client_advance/render/src/ |
D | audio_proxy_render_test.cpp | 262 uint32_t ms = 0; variable 263 EXPECT_EQ(AUDIO_HAL_ERR_INVALID_PARAM, render->GetLatency(nullptr, &ms)); 269 uint32_t ms = 0; variable 273 EXPECT_EQ(AUDIO_HAL_ERR_INVALID_PARAM, render->GetLatency(render, &ms)); 280 uint32_t ms = 0; variable 281 EXPECT_EQ(AUDIO_HAL_SUCCESS, render->GetLatency(render, &ms));
|
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/src/main/js/ServiceAbility2/ |
D | service.js | 52 function sleep(ms) { argument 53 return new Promise(resolve => setTimeout(resolve, ms));
|
/test/xts/acts/location/geolocation_standard/src/main/js/test/ |
D | SystemLocation.test.js | 22 function sleep(ms) { argument 23 return new Promise(resolve => setTimeout(resolve, ms));
|
D | GetCountryCode.test.js | 22 function sleep(ms) { argument 23 return new Promise(resolve => setTimeout(resolve, ms));
|
D | GetCountryCodeM.test.js | 23 function sleep(ms) { argument 24 return new Promise(resolve => setTimeout(resolve, ms));
|
/test/xts/acts/ability/ability_runtime/aacommand/AACommandPrintOneTest/entry/src/main/ets/MainAbility/ |
D | MainAbility.ts | 40 function sleep(ms) { 41 return new Promise(resolve => setTimeout(resolve, ms));
|
/test/testfwk/arkxtest/uitest/core/ |
D | ui_driver.cpp | 182 void UiDriver::DelayMs(uint32_t ms) in DelayMs() argument 184 if (ms > 0) { in DelayMs() 185 this_thread::sleep_for(chrono::milliseconds(ms)); in DelayMs()
|
D | ui_driver.h | 55 static void DelayMs(uint32_t ms);
|