Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 92) sorted by relevance

1234

/test/xts/tools/lite/reliability/
DRebootPressTest.py30 start = datetime.datetime.now()
31 now = datetime.datetime.now()
41 print("Current Time is:" + str(datetime.datetime.now()))
45 start = datetime.datetime.now()
52 now = datetime.datetime.now()
53 if (now - start).seconds > int(rebootMaxWaitTime):
DNativePressTest.py113 start = datetime.datetime.now()
114 now = datetime.datetime.now() variable
115 while (now - start).seconds < int(testTime):
116 print("Now is " + str((now - start).seconds))
117 now = datetime.datetime.now() variable
/test/xts/acts/global_lite/i18n_lite/resource_parse_load/src/
Dresource_manager_performance_test.cpp124 auto t1 = std::chrono::high_resolution_clock::now();
126 auto t2 = std::chrono::high_resolution_clock::now();
159 auto t1 = std::chrono::high_resolution_clock::now();
161 auto t2 = std::chrono::high_resolution_clock::now();
194 auto t1 = std::chrono::high_resolution_clock::now();
196 auto t2 = std::chrono::high_resolution_clock::now();
231 auto t1 = std::chrono::high_resolution_clock::now();
233 auto t2 = std::chrono::high_resolution_clock::now();
261 auto t1 = std::chrono::high_resolution_clock::now();
263 auto t2 = std::chrono::high_resolution_clock::now();
[all …]
/test/xts/acts/hiviewdfx/hiview/faultlogger/faultloggerjs/src/main/js/test/
Dfaultlogger.test.js128 let now = Date.now();
129 console.info("DFX_DFR_Faultlogger_Interface_0400 2 + " + now);
188 let now = Date.now();
189 console.info("DFX_DFR_Faultlogger_Interface_0500 2 + " + now);
245 let now = Date.now();
246 console.info("DFX_DFR_Faultlogger_Interface_0300 2 + " + now);
301 let now = Date.now();
302 console.info("DFX_DFR_Faultlogger_Interface_0100 start + " + now);
425 let now = Date.now();
426 console.info("DFX_DFR_Faultlogger_Interface_0900 2 + " + now);
[all …]
/test/xts/acts/usb/usb_standard/src/main/js/test/
DDateAndTimeUtil.js29 now() { method in DateAndTimeUtil
46 var now = this.concatTimeWithSeconds(hours, minutes, seconds);
47 console.info('now concat: ' + now);
48 return now;
DCheckEmptyUtils.js66 for (var t = Date.now(); Date.now() - t <= delay;);
/test/xts/acts/ability/ability_runtime/actsabilitymanageretstest/entry/src/main/ets/ServiceAbility3/
Dservice.ts49 var now = new Date();
50 var exitTime = now.getTime() + time;
52 now = new Date();
53 if (now.getTime() > exitTime)
/test/xts/acts/ability/ability_runtime/actsabilitymanageretstest/entry/src/main/ets/ServiceAbility7/
Dservice.ts49 var now = new Date();
50 var exitTime = now.getTime() + time;
52 now = new Date();
53 if (now.getTime() > exitTime)
/test/xts/acts/ability/ability_runtime/actsabilitymanageretstest/entry/src/main/ets/ServiceAbility4/
Dservice.ts49 var now = new Date();
50 var exitTime = now.getTime() + time;
52 now = new Date();
53 if (now.getTime() > exitTime)
/test/xts/acts/ability/ability_runtime/actsabilitymanageretstest/entry/src/main/ets/ServiceAbility2/
Dservice.ts49 var now = new Date();
50 var exitTime = now.getTime() + time;
52 now = new Date();
53 if (now.getTime() > exitTime)
/test/xts/acts/ability/ability_runtime/actsabilitymanageretstest/entry/src/main/ets/ServiceAbility5/
Dservice.ts49 var now = new Date();
50 var exitTime = now.getTime() + time;
52 now = new Date();
53 if (now.getTime() > exitTime)
/test/xts/acts/multimedia/media/media_js_standard/
DAVPlayerTestBase.js924 createStart = Date.now();
938 end = Date.now();
968 let start = Date.now();
971 let end = Date.now()
994 let start = Date.now();
1000 end = Date.now()
1052 start = Date.now();
1059 end = Date.now();
1086 let start = Date.now();
1090 end = Date.now();
[all …]
DAvVideoRecorderTestBase.js38 let timestamp = Date.now();
DAVRecorderTestBase.js20 let timestamp = Date.now();
2231 let start = Date.now();
2234 let end = Date.now()
2256 let start = Date.now();
2263 end = Date.now()
2294 let start = Date.now();
2300 end = Date.now()
2329 let start = Date.now();
2333 end = Date.now()
2368 let start = Date.now();
[all …]
/test/xts/acts/ability/ability_runtime/actscalltest/systemcallentrytest/entry/src/main/ets/SecondAbility/
DSecondAbility.ts145 for (let start=Date.now(); Date.now() - start <= 200;);
149 for (let start=Date.now(); Date.now() - start <= 200;);
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventsubjstest/src/main/js/test/
DHiAppEventSub.test.js387 var now = new Date();
388 var exitTime = now.getTime() + numberMillis;
390 now = new Date();
391 if (now.getTime() > exitTime)
1596 var now = new Date();
1597 var exitTime = now.getTime() + numberMillis;
1599 now = new Date();
1600 if (now.getTime() > exitTime)
1682 var now = new Date();
1683 var exitTime = now.getTime() + numberMillis;
[all …]
/test/xts/acts/ability/ability_runtime/actscalltest/systemappcallerc/entry/src/main/ets/MainAbility/
DMainAbility.ts156 for (let start=Date.now(); Date.now() - start <= 100;);
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/PhotoAccessHelper/
DregisterChange.ets91 let albumName = 'testAlbum' + Date.now();
119 let albumName = 'testAlbum' + Date.now();
130 album.albumName = Date.now() + album.albumName;
154 let albumName = 'testAlbum' + Date.now();
191 let albumName = 'testAlbum' + Date.now();
DunRegisterChange.ets86 let albumName = testNum + Date.now();
111 let albumName = testNum + Date.now();
122 album.albumName = Date.now() + album.albumName;
147 let albumName = testNum + Date.now();
184 let albumName = 'testAlbum' + Date.now();
219 let albumName = 'testAlbum' + Date.now();
/test/xts/acts/ability/ability_runtime/actscalltest/systemappcalleea/entry/src/main/ets/MainAbility/
DMainAbility.ts111 for (let start=Date.now(); Date.now() - start <= 200;);
/test/testfwk/arkxtest/uitest/core/
Dcommon_utilities_hpp.h64 return time_point_cast<milliseconds>(steady_clock::now()).time_since_epoch().count(); in GetCurrentMillisecond()
71 return time_point_cast<microseconds>(steady_clock::now()).time_since_epoch().count(); in GetCurrentMicroseconds()
/test/xts/acts/hiviewdfx/hisyseventtest/hisyseventboxtest/src/main/js/test/
DHiSysEventBox.test.js22 var now = new Date();
23 var exitTime = now.getTime() + numberMillis;
25 now = new Date();
26 if (now.getTime() > exitTime)
/test/xts/acts/arkui/ace_ets_web_napis/entry/src/main/cpp/
Dhello.cpp29 …std::chrono::duration<double, std::milli> elapsed_ms = std::chrono::high_resolution_clock::now() -… in RunJavaScriptCallback()
107 start = std::chrono::high_resolution_clock::now(); in RunJavaScript()
/test/xts/acts/hiviewdfx/hidebugtest/hidebugtestjstest/src/main/js/test/
DHidebug.test.js144 let timestamp = Date.now();
268 let timestamp = Date.now();
493 let timestamp = Date.now();
/test/xts/acts/telephony/telephonyjstest/netmanager_http/entry/src/main/ets/MainAbility/pages/
DScroll.ets69 console.info(` now on scroll end`)
145 console.info(` now on scroll end`)

1234