Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 25 of 93) sorted by relevance

1234

/test/xts/device_attest/services/core/utils/
Dattest_utils_timer.c31 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/
Dmt_utils.cpp71 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()
Dutils.cpp234 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()
Dmt_utils.h33 int BusyRun(uint32_t ms);
/test/ostest/wukong/
DREADME_zh.md73 | -i, --interval | 设置执行间隔。 | 否 | 单位ms,默认1500ms。 |
103 | -i,--interval | 设置执行间隔。 | 否 | 单位ms,默认1500ms。 |
128 | -i | 1000 | 参数设置应用拉起间隔,1000单位ms。 |
/test/xts/device_attest_lite/services/core/utils/
Dattest_utils_timer.c32 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/
DGetCountryCodeError.test.js22 function sleep(ms) { argument
23 return new Promise(resolve => setTimeout(resolve, ms));
DGeocoderErrorTest.test.js23 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/
DMainAbility.ts40 function sleep(ms) {
41 return new Promise(resolve => setTimeout(resolve, ms));
/test/xts/acts/notification/ans_standard/actsNotificationRequestTest/src/main/js/test/
DActsNotificationRequestTest.js25 function sleep(ms) { argument
26 return new Promise(resolve => setTimeout(resolve, ms));
/test/xts/acts/validator/acts_validator/src/main/ets/pages/Experience/
DKeyboardDisplayTest.ets28 @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' )
DStartNotification.ets30 @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' )
DKeyboardInputTest.ets28 @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' )
DStartTaskManager.ets30 @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' )
DViewPhotoTest.ets28 @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' )
DStartBackgroundTask.ets30 @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' )
DScrollPhotosList.ets28 @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/
Daudio_proxy_render_test.cpp262 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/
Dservice.js52 function sleep(ms) { argument
53 return new Promise(resolve => setTimeout(resolve, ms));
/test/xts/acts/location/geolocation_standard/src/main/js/test/
DSystemLocation.test.js22 function sleep(ms) { argument
23 return new Promise(resolve => setTimeout(resolve, ms));
DGetCountryCode.test.js22 function sleep(ms) { argument
23 return new Promise(resolve => setTimeout(resolve, ms));
DGetCountryCodeM.test.js23 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/
DMainAbility.ts40 function sleep(ms) {
41 return new Promise(resolve => setTimeout(resolve, ms));
/test/testfwk/arkxtest/uitest/core/
Dui_driver.cpp182 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()
Dui_driver.h55 static void DelayMs(uint32_t ms);

1234