/test/xts/hats/hdf/audio/idl/common/render_additional/src/ |
D | AudioRenderMmapTest.cpp | 157 struct AudioTimeStamp time; variable 158 time.tvNSec = 0; 159 time.tvSec = 0; 160 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->GetMmapPosition(nullptr, &frames, &time)); 171 struct AudioTimeStamp time; variable 172 time.tvNSec = 0; 173 time.tvSec = 0; 174 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->GetMmapPosition(nullptr, &frames, &time)); 185 struct AudioTimeStamp time; variable 186 time.tvNSec = -1; [all …]
|
/test/xts/acts/validator/acts_validator/src/main/ets/pages/model/ |
D | timeTools.ts | 22 export function getTimeString(time) { 23 if (time == -1 || time == undefined) { 24 time = 0 26 let hour = Math.floor(time % (1000 * 60 * 60 * 24) / (1000 * 60 * 60)) 27 let minute = Math.floor(time % (1000 * 60 * 60) / (1000 * 60)) 28 let second = Math.floor(time % (1000 * 60) / 1000)
|
/test/xts/acts/ability/ability_runtime/formmanager/fa/formproviderst_ets/formsupplyapplicationF/entry/src/main/ets/FormAbility/ |
D | form.ts | 29 const time = await systemTime.getCurrentTime(); constant 33 time: "11:00", 44 "time": time 52 const time = await systemTime.getCurrentTime(); constant 59 "time": time 65 const time = await systemTime.getCurrentTime(); constant 72 "time": time 78 const time = await systemTime.getCurrentTime(); constant 85 "time": time 91 const time = await systemTime.getCurrentTime(); constant [all …]
|
/test/xts/acts/ability/ability_runtime/formmanager/fa/formproviderst_ets/formsupplyapplicationG/entry/src/main/ets/FormAbility/ |
D | form.ts | 29 const time = await systemTime.getCurrentTime(); constant 33 time: "11:00", 56 "time": time 64 const time = await systemTime.getCurrentTime(); constant 71 "time": time 77 const time = await systemTime.getCurrentTime(); constant 84 "time": time 90 const time = await systemTime.getCurrentTime(); constant 97 "time": time 103 const time = await systemTime.getCurrentTime(); constant [all …]
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
D | dmlib_lite.py | 19 import time 109 current_time = time.time() 110 local_time = time.localtime(current_time) 111 data_head = time.strftime("%Y-%m-%d %H:%M:%S", local_time) 130 time.sleep(2) 131 start_time = time.time() 140 while time.time() - start_time < timeout: 153 while time.time() - start_time < timeout: 185 start_time = time.time() 189 while time.time() - start_time < timeout: [all …]
|
/test/testfwk/xdevice/src/xdevice/_core/environment/ |
D | device_monitor.py | 19 import time 83 start_time = int(time.time() * 1000) 86 while int(time.time() * 1000) - start_time < wait_time: 90 time.sleep(6) 95 time.sleep(min(CHECK_POLL_TIME * counter, MAX_CHECK_POLL_TIME)) 102 start_time = int(time.time() * 1000) 105 elapsed_time = int(time.time() * 1000) - start_time
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/ets/test/ |
D | TimeNdk.test.ets | 17 import time from 'libtimendk.so' 34 let data:number = time.getITimer(); 48 let data:number = time.getTimeOfDay(); 62 let a:number = time.setitimer(0, 100000, 0, 100000); 75 let a:number = time.setitimer(0, 0, 0, 100000); 88 let a:number = time.setitimer(0, 100000, 0, 0); 101 let a:number = time.setitimer(100000, 100000, 100000, 0); 115 let c:String = time.strftime(a); 129 let c:String = time.strftime(a); 143 let c:String = time.strftime(a); [all …]
|
/test/xts/acts/storage/storagefileiov9jstest/src/main/js/test/members/ |
D | utimes.test.js | 38 let time = new Date().getTime(); 39 fileIO.utimes(fpath, time); 41 let setime = Math.floor(time / 1000); 65 let time = new Date().getTime() - 10000; 66 fileIO.utimes(fpath, time); 68 let setime = Math.floor(time / 1000); 92 let time = new Date().getTime() + 3000; 93 fileIO.utimes(fpath, time); 95 let setime = Math.floor(time / 1000);
|
D | listFile.test.js | 107 let time = new Date().getTime() / 1000; 114 lastModifiedAfter: time - 3 146 let time = new Date().getTime() / 1000; 153 lastModifiedAfter: time - 3 203 let time = new Date().getTime() / 1000; 211 lastModifiedAfter: time - 3 245 let time = new Date().getTime() / 1000; 253 lastModifiedAfter: time - 3 285 let time = new Date().getTime() / 1000; 293 lastModifiedAfter: time -3 [all …]
|
/test/testfwk/arkxtest/uitest/record/ |
D | touch_event.h | 58 …TimeStamp time {std::chrono::duration_cast<TimeStamp::duration>(std::chrono::nanoseconds(actionTim… in GetActionTimeStamp() 59 return time; in GetActionTimeStamp() 63 …TimeStamp time {std::chrono::duration_cast<TimeStamp::duration>(std::chrono::nanoseconds(downTime … in GetDownTimeStamp() 64 return time; in GetDownTimeStamp()
|
/test/testfwk/xdevice/docs/ |
D | Device_Auto_Upgrade_Guide.md | 105 import time 186 start = time.time() 196 start = time.time() 199 if (int(time.time() - int(start))) > timeout: 203 if (int(time.time() - int(start))) > timeout: 285 current_time = time.time() 286 local_time = time.localtime(current_time) 287 data_head = time.strftime("%Y-%m-%d %H:%M:%S", local_time)
|
/test/xts/hats/hdf/audio/idl/common/render/src/ |
D | audio_render_mmap_test.cpp | 169 struct AudioTimeStamp time; variable 170 time.tvNSec = 0; 171 time.tvSec = 0; 172 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->GetMmapPosition(nullptr, &frames, &time)); 178 struct AudioTimeStamp time; variable 179 time.tvNSec = 0; 180 time.tvSec = 0; 190 ret = render_->GetMmapPosition(render_, &frames, &time);
|
/test/xts/acts/validator/acts_validator/src/main/ets/pages/Experience/ |
D | ScrollPhotosList.ets | 31 @State time: number = 0; 153 this.time = parseFloat(this.time1); 154 let time = this.time; 155 if( 0 < time && time < 150 ) { 157 } else if ( isNaN(this.time) ){ 158 this.time = -1000; 165 Text( '\n' + '\n' + `滑动响应时延:` + this.time + 'ms' ) 185 time: $time,
|
D | ViewPhotoTest.ets | 31 @State time: number = 0; 153 this.time = parseFloat(this.time1); 154 let time = this.time; 155 if( 0 < time && time < 150 ) { 157 } else if ( isNaN(this.time) ){ 158 this.time = -1000; 165 Text('\n' + '\n' + `图片响应时延:` + this.time + 'ms' ) 185 time: $time,
|
D | KeyboardDisplayTest.ets | 31 @State time: number = 0; 153 this.time = parseFloat(this.time1); 154 let time = this.time; 155 if( 0 < time && time < 1000 ) { 157 } else if ( isNaN(this.time) ){ 158 this.time = -1000; 165 Text('\n' + '\n' + `输入键盘弹出时延:` + this.time + 'ms' ) 185 time: $time,
|
D | StartTaskManager.ets | 33 @State time: number = 0; 154 this.time = parseFloat(this.time1); 155 let time = this.time; 156 if( 0 < time && time < 1000 ) { 158 } else if ( isNaN(this.time) ){ 159 this.time = -1000; 166 Text('\n' + '\n' + `启动任务管理器时延:` + this.time + 'ms' ) 186 time: $time,
|
D | StartNotification.ets | 33 @State time: number = 0; 154 this.time = parseFloat(this.time1); 155 let time = this.time; 156 if( 0 < time && time < 150 ) { 158 } else if ( isNaN(this.time) ){ 159 this.time = -1000; 166 Text('\n' + '\n' + `下拉通知栏时延:` + this.time + 'ms' ) 186 time: $time,
|
D | KeyboardInputTest.ets | 31 @State time: number = 0; 153 this.time = parseFloat(this.time1); 154 let time = this.time; 155 if( 0 < time && time < 150 ) { 157 } else if ( isNaN(this.time) ){ 158 this.time = -1000; 165 Text( '\n' + '\n' + `按键响应时延:` + this.time + 'ms' ) 185 time: $time,
|
/test/xts/acts/usb/usb_standard/src/main/js/test/ |
D | DateAndTimeUtil.js | 87 const time = '0' + ':' + str.substr(2).split(':')[1]; 88 return time; 96 const time = h1 + ':' + str.substr(2).split(':')[1]; 97 return time;
|
/test/testfwk/xdevice/src/xdevice/_core/report/ |
D | __main__.py | 21 import time 55 task_info.test_time = time.strftime(ReportConstant.time_format, 56 time.localtime())
|
/test/xts/acts/arkui/ace_standard_video/src/main/js/test/ |
D | commonComponentJsApi.test.js | 23 async function sleep(time) { argument 27 }, time) 29 console.info(`sleep ${time} over...`)
|
/test/xts/acts/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_tabIndex/entry/src/main/ets/test/tabIndex/ |
D | TabIndexTest.test.ets | 107 //Press the Tab key for the first time to reference the component (1) and capture the focus 109 … ///Press the Tab key for the second time to reference the component (2) and capture the focus 118 //Press the Tab key for the first time to reference the component (1) and capture the focus 120 //Press the Tab key for the second time to reference the component (2) and capture the focus 122 //Press the Tab key for the third time to focus on the target component 131 //Press the Tab key for the first time to focus on the target component 133 //Press the Tab key for the second time to reference the component (1) and capture the focus 135 //Press the Tab key for the third time to reference the component (2) and capture the focus 144 //Press the Tab key for the first time to reference the component (1) and capture the focus 146 //Press the Tab key for the second time to focus on the target component [all …]
|
/test/xts/acts/arkui/ace_ets_components_ux/ace_ets_component_calendarpicker/src/main/ets/test/ |
D | Utils.ets | 17 static sleep(time){ 21 },time) 23 console.info(`sleep ${time} over...`)
|
/test/xts/acts/arkui/ace_ets_components_ux/ace_ets_component_tabs/src/main/ets/test/ |
D | Utils.ets | 17 static sleep(time){ 21 },time) 23 console.info(`sleep ${time} over...`)
|
/test/xts/acts/arkui/ace_ets_components_ux/ace_ets_component_datepicker/src/main/ets/test/ |
D | Utils.ets | 17 static sleep(time){ 21 },time) 23 console.info(`sleep ${time} over...`)
|