Home
last modified time | relevance | path

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

12

/test/xts/device_attest_lite/test/unittest/src/
Dattest_mock.h70 long long currentTime; member
76 long long currentTime; member
83 long long currentTime; member
94 long long currentTime; member
Dattest_mock.c74 long long currentTime, char* challenge, int errCode) in BuildMockNetworkParaChallenge() argument
80 cJSON_AddNumberToObject(authStatusChallenge, ATTEST_MOCK_NETWORK_PARA_CURRENTTIME, currentTime); in BuildMockNetworkParaChallenge()
97 NetworkMockData->authStatusChange.currentTime, in WriteAuthChangeMock()
117 NetworkMockData->resetNetMockData.currentTime, in WriteResetMock()
141 NetworkMockData->authDevice.currentTime, in WriteAuthMock()
169 NetworkMockData->activeToken.currentTime, in WriteActiveMock()
/test/xts/acts/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/
DVideoPlayerFuncPromiseTest.test.js87 let newTime = videoPlayer.currentTime;
183 let startTime = videoPlayer.currentTime;
189 let endTime = videoPlayer.currentTime;
240 let startTime = videoPlayer.currentTime;
246 let endTime = videoPlayer.currentTime;
249 startTime = videoPlayer.currentTime;
258 startTime = videoPlayer.currentTime;
267 startTime = videoPlayer.currentTime;
276 startTime = videoPlayer.currentTime;
285 startTime = videoPlayer.currentTime;
[all …]
DVideoPlayerFuncCallbackTest.test.js260 let startTime = videoPlayer.currentTime;
266 let endTime = videoPlayer.currentTime;
347 … expect(Math.abs(videoPlayer.currentTime - DURATION_TIME)).assertLess(DELTA_SEEK_TIME);
349 … expect(Math.abs(videoPlayer.currentTime - NEXT_FRAME_TIME)).assertLess(DELTA_SEEK_TIME);
356 … expect(Math.abs(videoPlayer.currentTime - NEXT_FRAME_TIME)).assertLess(DELTA_SEEK_TIME);
358 … expect(Math.abs(videoPlayer.currentTime - PREV_FRAME_TIME)).assertLess(DELTA_SEEK_TIME);
428 let endTime = videoPlayer.currentTime;
456 let startTime = videoPlayer.currentTime;
/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/testfwk/arkxtest/jsunit/src/module/kit/
DSysTestKit.js64 let currentTime = new Date().getTime();
68 currentTime = time;
73 return currentTime;
/test/xts/acts/time/timeTest/entry/src/main/ets/test/
DsystemTimeCommonEvent.test.ets62 let currentTime= new Date().getTime() + 1500
63 await systemTime.setTime(currentTime)
107 let currentTime= new Date().getTime()
108 currentTime = currentTime + (58000- (currentTime % 60000))
109 await systemTime.setTime(currentTime)
DsystemTimeTest.ets30 let currentTime = new Date().getTime()
31 dates = currentTime
215 let currentTime = new Date().getTime() + 2000
216 systemTime.setTime(currentTime, (err, data) => {
272 let currentTime = new Date().getTime() + 2000
273 await systemTime.setTime(currentTime).then(() => {
/test/xts/device_attest_lite/services/core/attest/
Dattest_service_challenge.c34 challengeResult->currentTime = 0; in CreateChallengeResult()
99 challenge->currentTime = GetObjectItemValueNumber(jsonStr, "currentTime"); in ParseChallengeResult()
100 if (isnan((double)challenge->currentTime)) { in ParseChallengeResult()
Dattest_service_auth.c53 uint64_t currentTime = GetCurrentTime(); in IsAuthStatusChg() local
54 if (currentTime == 0) { in IsAuthStatusChg()
59 ret = CheckAuthResult(authStatus, currentTime); in IsAuthStatusChg()
445 int32_t CheckAuthResult(AuthStatus* authStatus, uint64_t currentTime) in CheckAuthResult() argument
454 if (expireTime <= currentTime) { in CheckAuthResult()
472 uint64_t currentTime = challengeResult->currentTime; in GetCurrentTime() local
475 return currentTime; in GetCurrentTime()
/test/xts/device_attest/services/core/attest/
Dattest_service_challenge.c34 challengeResult->currentTime = 0; in CreateChallengeResult()
99 challenge->currentTime = GetObjectItemValueNumber(jsonStr, "currentTime"); in ParseChallengeResult()
100 if (isnan((double)challenge->currentTime)) { in ParseChallengeResult()
Dattest_service_auth.c51 uint64_t currentTime = GetCurrentTime(); in IsAuthStatusChg() local
52 if (currentTime == 0) { in IsAuthStatusChg()
57 ret = CheckAuthResult(authStatus, currentTime); in IsAuthStatusChg()
429 int32_t CheckAuthResult(AuthStatus* authStatus, uint64_t currentTime) in CheckAuthResult() argument
438 if (expireTime <= currentTime) { in CheckAuthResult()
456 uint64_t currentTime = challengeResult->currentTime; in GetCurrentTime() local
459 return currentTime; in GetCurrentTime()
/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.js198 expect(audioPlayer.currentTime).assertEqual(0);
206 console.info('case play currentTime is ' + audioPlayer.currentTime);
217 console.info('case pause currentTime is ' + audioPlayer.currentTime);
235 expect(audioPlayer.currentTime).assertEqual(0);
259 expect(Math.abs(audioPlayer.currentTime - audioPlayer.duration)).assertLess(DELTA_TIME);
372 console.info('case play currentTime is ' + testAudioPlayer.currentTime);
DPlayerLocalTestAudioAPI.test.js152 expect(audioPlayer.currentTime).assertEqual(0);
161 console.info(`case play currentTime is ${audioPlayer.currentTime}`);
173 console.info(`case pause currentTime is ${audioPlayer.currentTime}`);
191 expect(audioPlayer.currentTime).assertEqual(0);
219 expect(Math.abs(audioPlayer.currentTime - audioPlayer.duration)).assertLess(DELTA_TIME);
708 expect(audioPlayer.currentTime).assertEqual(-1);
728 expect(audioPlayer.currentTime).assertEqual(0);
/test/xts/device_attest/services/core/include/attest/
Dattest_service_auth.h39 int32_t CheckAuthResult(AuthStatus* authStatus, uint64_t currentTime);
/test/xts/device_attest_lite/services/core/include/attest/
Dattest_service_auth.h39 int32_t CheckAuthResult(AuthStatus* authStatus, uint64_t currentTime);
/test/testfwk/arkxtest/uitest/record/
Dui_record.h113 int currentTime = GetCurrentMillisecond(); in TimerFunc() local
114 int diff = currentTime - g_touchTime; in TimerFunc()
/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/ostest/wukong/common/src/
Dwukong_logger.cpp131 time_t currentTime = time(0); in Print() local
132 char *timeChar = ctime(&currentTime); in Print()
Dwukong_util.cpp94 time_t currentTime = time(0); in WuKongUtil() local
97 if (currentTime > 0) { in WuKongUtil()
98 tm *timePtr = localtime(&currentTime); in WuKongUtil()
/test/xts/device_attest_lite/services/core/include/
Dattest_type.h99 uint64_t currentTime; member
/test/xts/device_attest/services/core/include/
Dattest_type.h114 uint64_t currentTime; member
/test/xts/acts/multimedia/media/media_js_standard/avPlayer/entry/src/main/ets/test/
DAVPlayerHlsFuncTest.test.js93 expect(avPlayer.currentTime).assertEqual(0);
98 expect(avPlayer.currentTime).assertEqual(0)
/test/xts/acts/multimedia/media/media_js_standard/
DAudioPlayerTestBase.js43 expect(audioPlayer.currentTime).assertEqual(0);

12