Home
last modified time | relevance | path

Searched refs:currentTime (Results 1 – 25 of 39) sorted by relevance

12

/test/xts/acts/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/
DVideoPlayerFuncPromiseTest.test.js88 let newTime = videoPlayer.currentTime;
184 let startTime = videoPlayer.currentTime;
190 let endTime = videoPlayer.currentTime;
241 let startTime = videoPlayer.currentTime;
247 let endTime = videoPlayer.currentTime;
250 startTime = videoPlayer.currentTime;
259 startTime = videoPlayer.currentTime;
268 startTime = videoPlayer.currentTime;
277 startTime = videoPlayer.currentTime;
286 startTime = videoPlayer.currentTime;
[all …]
DVideoPlayerFuncCallbackTest.test.js261 let startTime = videoPlayer.currentTime;
267 let endTime = videoPlayer.currentTime;
348 … expect(Math.abs(videoPlayer.currentTime - DURATION_TIME)).assertLess(DELTA_SEEK_TIME);
350 … expect(Math.abs(videoPlayer.currentTime - NEXT_FRAME_TIME)).assertLess(DELTA_SEEK_TIME);
357 … expect(Math.abs(videoPlayer.currentTime - NEXT_FRAME_TIME)).assertLess(DELTA_SEEK_TIME);
359 … expect(Math.abs(videoPlayer.currentTime - PREV_FRAME_TIME)).assertLess(DELTA_SEEK_TIME);
429 let endTime = videoPlayer.currentTime;
457 let startTime = videoPlayer.currentTime;
/test/xts/acts/time/dateTimeTest/entry/src/main/ets/test/
DsystemDateTimeSync.test.ets33 let currentTime = systemDateTime.getTime(true);
34 …onsole.info("====>SUB_systemDateTime_getTime_sync_0010 currentTime: " + JSON.stringify(currentTime
35 expect(typeof(currentTime) === 'number').assertEqual(true);
50 let currentTime = systemDateTime.getTime(false);
51 …onsole.info("====>SUB_systemDateTime_getTime_sync_0020 currentTime: " + JSON.stringify(currentTime
52 expect(typeof(currentTime) === 'number').assertEqual(true);
67 let currentTime = systemDateTime.getTime();
68 …onsole.info("====>SUB_systemDateTime_getTime_sync_0030 currentTime: " + JSON.stringify(currentTime
69 expect(typeof(currentTime) === 'number').assertEqual(true);
108 …console.info("====>SUB_systemDateTime_getUptime_sync_0050 currentTime: " + JSON.stringify(realActi…
[all …]
/test/xts/acts/multimedia/media/media_js_standard/httpPlayer/src/main/js/test/
DHttpPlayerFuncPromiseTest.test.js93 let newTime = videoPlayer.currentTime;
154 let startTime = videoPlayer.currentTime;
160 let endTime = videoPlayer.currentTime;
205 let startTime = videoPlayer.currentTime;
211 let endTime = videoPlayer.currentTime;
261 let startTime = videoPlayer.currentTime;
267 let endTime = videoPlayer.currentTime;
275 startTime = videoPlayer.currentTime;
281 endTime = videoPlayer.currentTime;
326 let startTime = videoPlayer.currentTime;
[all …]
/test/xts/acts/advertising/ads/abilitydemo/entry/src/main/ets/pages/
DAutoRefreshPage.ets26 @State currentTime: string = '';
42 this.currentTime = this.currentTime + '\n' + date.toString();
56 Text(this.currentTime)
/test/xts/acts/time/timeauthorityTest/entry/src/main/ets/test/
DsystemTimeCommonEvent.test.ets108 let currentTime= new Date().getTime() + 1500
109 await systemTime.setTime(currentTime)
134 let currentTime= new Date().getTime()
135 currentTime = currentTime + (58000- (currentTime % 60000))
136 await systemTime.setTime(currentTime)
DtimeAuthority.test.ets60 let currentTime = new Date().getTime() + 2000;
61 systemTime.setTime(currentTime, (err) => {
110 let currentTime = new Date().getTime() + 2000;
111 await systemTime.setTime(currentTime).then(() => {
176 let currentTime = new Date().getTime();
189 await systemTime.setTime(currentTime + 20)
214 let currentTime = new Date().getTime();
223 await systemTime.setTime(currentTime + 20)
388 let currentTime = new Date().getTime();
397 await systemTime.setTime(currentTime + 20)
[all …]
/test/testfwk/arkxtest/jsunit/src/module/kit/
DSysTestKit.js79 let currentTime = new Date().getTime();
83 currentTime = time;
88 return currentTime;
/test/xts/device_attest_lite/test/tdd/gtest/
Dattest_tdd_test.cpp155 challenge.currentTime = ATTEST_ACTIVE_CHAP_TIME; in TddGenActiveMsg()
180 challenge.currentTime = ATTEST_AUTH_CHAP_TIME; in TddGenAuthMsg()
203 challenge.currentTime = ATTEST_RESET_EXPECT_CHAP_TIME; in TddGenResetMsg()
365 uint64_t currentTime = 19673223; variable
366 int32_t ret = CheckExpireTime(outStatus, currentTime);
369 currentTime = 19673221;
370 ret = CheckExpireTime(outStatus, currentTime);
/test/xts/device_attest/services/devattest_ability/test/tdd/gtest/src/
Dattest_tdd_test.cpp189 uint64_t currentTime = 19673223; variable
190 int32_t ret = CheckExpireTime(outStatus, currentTime);
193 currentTime = 19673221;
194 ret = CheckExpireTime(outStatus, currentTime);
229 challenge.currentTime = ATTEST_RESET_CHAP_TIME; in TddGenMsg()
235 challenge.currentTime = ATTEST_AUTH_CHAP_TIME; in TddGenMsg()
241 challenge.currentTime = ATTEST_ACTIVE_CHAP_TIME; in TddGenMsg()
/test/ostest/wukong/input_factory/src/
Drecord_input.cpp153 int64_t currentTime = GetMillisTime(); in OnInputEvent() local
155 g_timeTemp = currentTime; in OnInputEvent()
158 data.interval = currentTime - g_timeTemp; in OnInputEvent()
159 g_timeTemp = currentTime; in OnInputEvent()
/test/xts/acts/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/
DPlayerLocalTestAudioFUNC.test.js194 expect(audioPlayer.currentTime).assertEqual(0);
202 console.info('case play currentTime is ' + audioPlayer.currentTime);
213 console.info('case pause currentTime is ' + audioPlayer.currentTime);
231 expect(audioPlayer.currentTime).assertEqual(0);
255 expect(Math.abs(audioPlayer.currentTime - audioPlayer.duration)).assertLess(DELTA_TIME);
365 console.info('case play currentTime is ' + testAudioPlayer.currentTime);
DPlayerLocalTestAudioAPI.test.js152 expect(audioPlayer.currentTime).assertEqual(0);
160 console.info(`case play currentTime is ${audioPlayer.currentTime}`);
172 console.info(`case pause currentTime is ${audioPlayer.currentTime}`);
190 expect(audioPlayer.currentTime).assertEqual(0);
217 expect(Math.abs(audioPlayer.currentTime - audioPlayer.duration)).assertLess(DELTA_TIME);
708 expect(audioPlayer.currentTime).assertEqual(-1);
727 expect(audioPlayer.currentTime).assertEqual(0);
/test/xts/device_attest_lite/services/core/attest/
Dattest_service_challenge.c37 challengeResult->currentTime = 0; in CreateChallengeResult()
103 challenge->currentTime = (uint64_t)GetObjectItemValueNumber(jsonStr, "currentTime"); in ParseChallengeResult()
104 if (isnan((double)challenge->currentTime)) { in ParseChallengeResult()
Dattest_service_auth.c56 uint64_t currentTime = GetCurrentTime(); in IsAuthStatusChg() local
57 if (currentTime == 0) { in IsAuthStatusChg()
62 ret = CheckExpireTime(authStatus, currentTime); in IsAuthStatusChg()
460 int32_t CheckExpireTime(AuthStatus* authStatus, uint64_t currentTime) in CheckExpireTime() argument
469 if (expireTime <= currentTime) { in CheckExpireTime()
504 uint64_t currentTime = challengeResult->currentTime; in GetCurrentTime() local
507 return currentTime; in GetCurrentTime()
/test/xts/device_attest/services/core/attest/
Dattest_service_challenge.c37 challengeResult->currentTime = 0; in CreateChallengeResult()
103 challenge->currentTime = GetObjectItemValueNumber(jsonStr, "currentTime"); in ParseChallengeResult()
104 if (isnan((double)challenge->currentTime)) { in ParseChallengeResult()
Dattest_service_auth.c54 uint64_t currentTime = GetCurrentTime(); in IsAuthStatusChg() local
55 if (currentTime == 0) { in IsAuthStatusChg()
60 ret = CheckExpireTime(authStatus, currentTime); in IsAuthStatusChg()
440 int32_t CheckExpireTime(AuthStatus* authStatus, uint64_t currentTime) in CheckExpireTime() argument
449 if (expireTime <= currentTime) { in CheckExpireTime()
484 uint64_t currentTime = challengeResult->currentTime; in GetCurrentTime() local
487 return currentTime; in GetCurrentTime()
/test/xts/acts/time/timeTest/entry/src/main/ets/test/
DtimeNoPermission.test.ets33 let currentTime = new Date().getTime() + 2000
34 systemTime.setTime(currentTime, (err, data) => {
65 let currentTime = new Date().getTime() + 2000
66 await systemTime.setTime(currentTime);
/test/xts/device_attest/services/core/include/attest/
Dattest_service_auth.h40 int32_t CheckExpireTime(AuthStatus* authStatus, uint64_t currentTime);
/test/xts/device_attest_lite/services/core/include/attest/
Dattest_service_auth.h39 int32_t CheckExpireTime(AuthStatus* authStatus, uint64_t currentTime);
/test/ostest/wukong/common/src/
Dwukong_logger.cpp131 time_t currentTime = time(0); in Print() local
132 char *timeChar = ctime(&currentTime); in Print()
/test/xts/acts/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/
DVideoPlayerHLSBitrateTest.test.js101 let startTime = videoPlayer.currentTime;
108 let endTime = videoPlayer.currentTime;
/test/xts/acts/multimedia/media/media_js_standard/avPlayer/entry/src/main/ets/test/
DAVPlayerDataSrcNoSeekAPITest.test.js554 console.info(TAG + 'test currentTime is:' + avPlayer.currentTime);
558 expect(avPlayer.currentTime - 0).assertLess(DELTA_TIME);
560 … expect(avPlayer.currentTime - videoInfor[srcCount].PREV_FRAME).assertLess(DELTA_TIME);
565 … expect(avPlayer.currentTime - videoInfor[srcCount].PREV_FRAME).assertLess(DELTA_TIME);
567 … expect(avPlayer.currentTime - videoInfor[srcCount].NEXT_FRAME).assertLess(DELTA_TIME);
572 … expect(avPlayer.currentTime - videoInfor[srcCount].NEXT_FRAME).assertLess(DELTA_TIME);
574 expect(avPlayer.currentTime - seekTime).assertLess(DELTA_TIME);
595 expect(avPlayer.currentTime - seekDoneTime).assertLess(DELTA_TIME);
607 let newTime = avPlayer.currentTime;
653 let startTime = avPlayer.currentTime;
DAVPlayerHlsFuncTest.test.js93 expect(avPlayer.currentTime).assertEqual(0);
98 expect(avPlayer.currentTime).assertEqual(0)
/test/xts/device_attest_lite/services/core/include/
Dattest_type.h105 uint64_t currentTime; member

12