Home
last modified time | relevance | path

Searched refs:time (Results 1 - 25 of 185) sorted by relevance

12345678

/test/xts/hats/hdf/audio/idl/common/render_additional/src/
H A DAudioRenderMmapTest.cpp155 struct AudioTimeStamp time; in HWTEST_F() local
156 time.tvNSec = 0; in HWTEST_F()
157 time.tvSec = 0; in HWTEST_F()
158 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->GetMmapPosition(nullptr, &frames, &time)); in HWTEST_F()
169 struct AudioTimeStamp time; in HWTEST_F() local
170 time.tvNSec = 0; in HWTEST_F()
171 time.tvSec = 0; in HWTEST_F()
172 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->GetMmapPosition(nullptr, &frames, &time)); in HWTEST_F()
183 struct AudioTimeStamp time; in HWTEST_F() local
184 time in HWTEST_F()
197 struct AudioTimeStamp time; HWTEST_F() local
211 struct AudioTimeStamp time; HWTEST_F() local
225 struct AudioTimeStamp time; HWTEST_F() local
238 struct AudioTimeStamp time; HWTEST_F() local
252 struct AudioTimeStamp time; HWTEST_F() local
265 struct AudioTimeStamp time; HWTEST_F() local
282 struct AudioTimeStamp time; HWTEST_F() local
296 struct AudioTimeStamp time; HWTEST_F() local
310 struct AudioTimeStamp time; HWTEST_F() local
324 struct AudioTimeStamp time; HWTEST_F() local
351 struct AudioTimeStamp time; HWTEST_F() local
381 struct AudioTimeStamp time; HWTEST_F() local
397 struct AudioTimeStamp time; HWTEST_F() local
414 struct AudioTimeStamp time; HWTEST_F() local
484 struct AudioTimeStamp time; HWTEST_F() local
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
H A Ddmlib_lite.py20 import time namespace
122 current_time = time.time()
123 local_time = time.localtime(current_time)
124 data_head = time.strftime("%Y-%m-%d %H:%M:%S", local_time)
143 time.sleep(2)
144 start_time = time.time()
152 while time.time()
[all...]
H A Ddmlib.py24 import time namespace
140 time.sleep(1)
171 time.sleep(2)
208 time.sleep(2)
211 time.sleep(2)
340 time.sleep(3)
603 msg = self.create_req(ID_DONE, int(time.time()))
759 time.sleep(1)
813 time
[all...]
/test/testfwk/xdevice/plugins/devicetest/utils/
H A Dtime_util.py24 import time namespace
39 TS.inner_stack.append(time.time())
54 cur_time = (time.time() - TS.inner_stack.pop()) * 1000
76 time_value: Time to be processed. If the time does not exist,
77 the current time is used.
84 time_value = time.time()
85 return datetime(*(time
[all...]
H A Dimg_util.py20 import time namespace
201 starttime = time.time()
206 if time.time() <= endtime:
/test/testfwk/xdevice/src/xdevice/_core/environment/
H A Ddevice_monitor.py19 import time namespace
83 start_time = int(time.time() * 1000)
84 self.device.log.debug("wait for boot complete, and wait time: %s ms" %
86 while int(time.time() * 1000) - start_time < wait_time:
91 time.sleep(5)
96 time.sleep(min(CHECK_POLL_TIME * counter, MAX_CHECK_POLL_TIME))
103 start_time = int(time.time() * 100
[all...]
/test/testfwk/xdevice/src/xdevice/_core/context/
H A Dupload.py20 import time namespace
130 current_time = int(time.time() * 1000)
165 start_time = int(time.mktime(time.strptime(
167 end_time = int(time.mktime(time.strptime(
172 cost_time = testsuite_element.get(ReportConstant.time, "")
175 end_time = int(time.mktime(time
[all...]
H A Dhandler.py21 import time namespace
50 """update devices, start time, end time, etc. to the result file"""
97 ReportConstant.start_time: time.strftime(ReportConstant.time_format, time.localtime()),
98 ReportConstant.end_time: time.strftime(ReportConstant.time_format, time.localtime()),
/test/xts/hats/hdf/audio/idl/common/render/src/
H A Daudio_render_mmap_test.cpp169 struct AudioTimeStamp time; in HWTEST_F() local
170 time.tvNSec = 0; in HWTEST_F()
171 time.tvSec = 0; in HWTEST_F()
172 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->GetMmapPosition(nullptr, &frames, &time)); in HWTEST_F()
178 struct AudioTimeStamp time; in HWTEST_F() local
179 time.tvNSec = 0; in HWTEST_F()
180 time.tvSec = 0; in HWTEST_F()
190 ret = render_->GetMmapPosition(render_, &frames, &time); in HWTEST_F()
/test/xts/acts/kernel_lite/ipc_posix/message_queue/
H A DIpcMqTest.cpp83 tts.tv_sec = time(NULL) + 1; in HWTEST_F()
92 rts.tv_sec = time(NULL) + 1; in HWTEST_F()
149 tts.tv_sec = time(NULL) + 1; in HWTEST_F()
158 rts.tv_sec = time(NULL) + 1; in HWTEST_F()
255 rts.tv_sec = time(NULL) + 3; in HWTEST_F()
263 tts.tv_sec = time(NULL) + 3; in HWTEST_F()
269 tts.tv_sec = time(NULL) + 3; in HWTEST_F()
281 rts.tv_sec = time(NULL) + 3; in HWTEST_F()
321 rts.tv_sec = time(NULL) + 1; in HWTEST_F()
329 tts.tv_sec = time(NUL in HWTEST_F()
[all...]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dtimendk.cpp36 #include <sys/time.h>
344 time_t timeValue = time(nullptr); in Time()
384 time(&td); in Tzset()
389 time(&td1); in Tzset()
394 time(&td2); in Tzset()
410 time(&now); in DiffTime()
429 const time_t time = PARAM_0; in CTime_r() local
431 checkParam = ctime_r(&time, secondParam); in CTime_r()
444 const time_t time = PARAM_0; in CTime() local
445 checkParam = ctime(&time); in CTime()
636 time_t time = std::time(nullptr); GmtimeR() local
[all...]
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/entry/src/ohosTest/js/test/
H A DRelationalStoreCloudSync.test.js138 * @tc.name get modify time using wrong table null
140 * @tc.desc rdb get modify time using wrong table null
152 console.log(TAG + `get modify time, err code is ${err.code}, message is ${err.message}.`);
160 * @tc.name get modify time using wrong table undefined
162 * @tc.desc rdb get modify time using wrong table undefined
174 console.log(TAG + `get modify time, err code is ${err.code}, message is ${err.message}.`);
182 * @tc.name get modify time using wrong table 123456
184 * @tc.desc rdb get modify time using wrong table 123456
196 console.log(TAG + `get modify time, err code is ${err.code}, message is ${err.message}.`);
203 * @tc.name get modify time usin
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
H A Djsunit_driver.py21 import time namespace
112 LOG.info("prepare to read device log, may wait some time")
208 self.start_time = time.time()
220 int(time.time() - int(self.start_time)) > \
231 while time.time() - self.start_time <= timeout:
244 time.sleep(5) # wait for log write to file
325 time
[all...]
/test/testfwk/arkxtest/uitest/record/
H A Dtouch_event.h45 // nanosecond time stamp.
58 TimeStamp time {std::chrono::duration_cast<TimeStamp::duration>(std::chrono::nanoseconds(actionTime * 1000))}; in GetActionTimeStamp()
59 return time; in GetActionTimeStamp()
63 TimeStamp time {std::chrono::duration_cast<TimeStamp::duration>(std::chrono::nanoseconds(downTime * 1000))}; in GetDownTimeStamp()
64 return time; in GetDownTimeStamp()
/test/xts/acts/kernel_lite/time_posix/src/
H A DClockTimeTest.cpp16 #include <time.h>
52 mTestStatTime.tv_sec += 10; // approximate total test time in TearDownTestCase()
54 LOG("restore time ok\n"); in TearDownTestCase()
56 LOG("restore time failed\n"); in TearDownTestCase()
118 LOG("current time: sec=%llu, nsec=%ld", time1.tv_sec, time1.tv_nsec); in HWTEST_F()
150 LOG("current time: sec=%llu, nsec=%ld", ts.tv_sec, (long)ts.tv_nsec); in HWTEST_F()
151 LOG("current time: sec=%llu, millitm=%d", tb.time, (int)tb.millitm); in HWTEST_F()
152 EXPECT_EQ(ts.tv_sec, tb.time); in HWTEST_F()
166 LOG("current time in HWTEST_F()
[all...]
H A DTimeUtilsTest.cpp18 #include <time.h>
85 time(&curClock); in HWTEST_F()
102 time(&curClock); in HWTEST_F()
123 time(&timeStart); in HWTEST_F()
125 time(&timeEnd); in HWTEST_F()
213 time(&timeNow); in HWTEST_F()
/test/xts/acts/multimedia/media/media_js_standard/
H A DAVPlayerTestBase.js133 avPlayer.on('timeUpdate', (time) => {
134 console.info('case timeUpdate callback, time:' + time);
459 console.info('playPauseLoopWithCallBack avPlayer from play to pause,time is :' + playPauseCount)
468 console.info('playPauseLoopWithCallBack avPlayer from pause to play,time is :' + playPauseCount)
605 console.info('playToCompletedLoop avPlayer from play to seek,time is :' + playToCompletedCount)
823 console.info('prepareToResetLoop avPlayer from play to seek,time is :' + prepareToResetLoopCount)
939 console.info(`createTimeWithCallback createStart time is : ${createStart}`)
953 console.info(`createTimeCallback end time is : ${end}`)
956 console.info("createTimeCallback execution time i
[all...]
H A DAVRecorderTestBase.js731 console.info(`avRecorderWithStartCallback loop time is :${loopTimes}`)
757 console.info(`avRecorderWithPauseCallback loop time is :${i}`)
774 console.info(`avRecorderWithResumeCallback loop time is :${i}`)
836 console.info(`avRecorderLoopPrepare2ResetWithPromise loop time is :${loopTimes}`)
859 console.info(`avRecorderLoopCreate2ReleaseWithPromise loop time is :${loopTimes}`)
876 console.info(`avRecorderLoopPrepare2StopWithPromise loop time is :${loopTimes}`)
900 console.info(`avRecorderLoopPause2ResumeWithPromise loop time is :${loopTimes}`)
920 console.info(`avRecorderLoopCreate2Release2WithPromise loop time is :${loopTimes}`)
944 console.info(`avRecorderLoopPrepare2ResetWithCallback loop time is :${loopTimes}`)
975 console.info(`avRecorderLoopCreate2ReleaseWithCallback loop time i
[all...]
/test/testfwk/developer_test/libs/fuzzlib/tools/
H A Dcolored.py19 import time namespace
57 self.log_date = time.strftime("%Y%m%d%H%M%S", time.localtime())
67 Colored.LOG_DATE = time.strftime("%Y%m%d%H%M%S", time.localtime())
/test/testfwk/xdevice/src/xdevice/_core/executor/
H A Drequest.py20 import time namespace
80 start_time = time.localtime(time.time())
81 LOG.debug("StartTime={}".format(time.strftime("%Y-%m-%d %H:%M:%S", start_time)))
86 Variables.task_name = time.strftime('%Y-%m-%d-%H-%M-%S', start_time)
110 self.config.start_time = time.strftime("%Y-%m-%d %H:%M:%S", start_time)
/test/testfwk/xdevice/src/xdevice/_core/report/
H A Dsuite_reporter.py20 import time namespace
144 test_suites_attributes[ReportConstant.time] = \
145 round(test_suites_attributes.get(ReportConstant.time), 3)
162 ReportConstant.time_stamp: time.strftime(ReportConstant.time_format, time.localtime()),
163 ReportConstant.time: 0,
177 ReportConstant.time,
250 ReportConstant.time: round(float(suite_result.run_time) / 1000, 3),
274 ReportConstant.time: round(float(case_result.run_time) / 1000, 3),
H A Dresult_reporter.py26 import time namespace
223 end_time = time.strftime(ReportConstant.time_format, time.localtime())
226 time.mktime(time.strptime(start_time, ReportConstant.time_format)),
227 time.mktime(time.strptime(end_time, ReportConstant.time_format)))
295 module_report, module_time = module.report, module.time
300 module_time = suites[0].get(ReportConstant.time)
310 time
[all...]
/test/testfwk/xdevice/plugins/devicetest/controllers/tools/
H A Dscreen_agent.py19 import time namespace
240 start = time.time()
242 while self.thread.isAlive() and time.time() - start < 3:
243 time.sleep(0.1)
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/
H A Dc_parser_lite.py155 start_timestamp = int(time.mktime(
156 time.strptime(start_time, "%Y-%m-%d %H:%M:%S.%f"))) * 1000 + int(
158 end_timestamp = int(time.mktime(
159 time.strptime(end_time, "%Y-%m-%d %H:%M:%S.%f"))) * 1000 + int(
182 start_timestamp = int(time.mktime(
183 time.strptime(start_time, "%Y-%m-%d %H:%M:%S.%f"))) * 1000 + int(
185 end_timestamp = int(time.mktime(
186 time.strptime(end_time, "%Y-%m-%d %H:%M:%S.%f"))) * 1000 + int(
/test/testfwk/developer_test/src/core/driver/
H A Ddrivers.py25 import time namespace
128 serial = serial or time.time_ns()
213 time_stamp = time.strftime("%Y-%m-%d %H:%M:%S",
214 time.localtime())
219 'time="0" name="%s" unavailable="1">\n' % (time_stamp, filename))
222 'disabled="0" errors="0" time="0.0" '
232 time.sleep(1)
237 time.sleep(1)
239 time.sleep(1)
244 time
[all...]

Completed in 21 milliseconds

12345678