/test/xts/device_attest_lite/test/unittest/src/ |
D | attest_mock.h | 70 long long currentTime; member 76 long long currentTime; member 83 long long currentTime; member 94 long long currentTime; member
|
D | attest_mock.c | 74 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/ |
D | VideoPlayerFuncPromiseTest.test.js | 87 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 …]
|
D | VideoPlayerFuncCallbackTest.test.js | 260 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/ |
D | HttpPlayerFuncPromiseTest.test.js | 93 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/ |
D | SysTestKit.js | 64 let currentTime = new Date().getTime(); 68 currentTime = time; 73 return currentTime;
|
/test/xts/acts/time/timeTest/entry/src/main/ets/test/ |
D | systemTimeCommonEvent.test.ets | 62 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)
|
D | systemTimeTest.ets | 30 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/ |
D | attest_service_challenge.c | 34 challengeResult->currentTime = 0; in CreateChallengeResult() 99 challenge->currentTime = GetObjectItemValueNumber(jsonStr, "currentTime"); in ParseChallengeResult() 100 if (isnan((double)challenge->currentTime)) { in ParseChallengeResult()
|
D | attest_service_auth.c | 53 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/ |
D | attest_service_challenge.c | 34 challengeResult->currentTime = 0; in CreateChallengeResult() 99 challenge->currentTime = GetObjectItemValueNumber(jsonStr, "currentTime"); in ParseChallengeResult() 100 if (isnan((double)challenge->currentTime)) { in ParseChallengeResult()
|
D | attest_service_auth.c | 51 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/ |
D | record_input.cpp | 153 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/ |
D | PlayerLocalTestAudioFUNC.test.js | 198 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);
|
D | PlayerLocalTestAudioAPI.test.js | 152 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/ |
D | attest_service_auth.h | 39 int32_t CheckAuthResult(AuthStatus* authStatus, uint64_t currentTime);
|
/test/xts/device_attest_lite/services/core/include/attest/ |
D | attest_service_auth.h | 39 int32_t CheckAuthResult(AuthStatus* authStatus, uint64_t currentTime);
|
/test/testfwk/arkxtest/uitest/record/ |
D | ui_record.h | 113 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/ |
D | VideoPlayerHLSBitrateTest.test.js | 101 let startTime = videoPlayer.currentTime; 108 let endTime = videoPlayer.currentTime;
|
/test/ostest/wukong/common/src/ |
D | wukong_logger.cpp | 131 time_t currentTime = time(0); in Print() local 132 char *timeChar = ctime(¤tTime); in Print()
|
D | wukong_util.cpp | 94 time_t currentTime = time(0); in WuKongUtil() local 97 if (currentTime > 0) { in WuKongUtil() 98 tm *timePtr = localtime(¤tTime); in WuKongUtil()
|
/test/xts/device_attest_lite/services/core/include/ |
D | attest_type.h | 99 uint64_t currentTime; member
|
/test/xts/device_attest/services/core/include/ |
D | attest_type.h | 114 uint64_t currentTime; member
|
/test/xts/acts/multimedia/media/media_js_standard/avPlayer/entry/src/main/ets/test/ |
D | AVPlayerHlsFuncTest.test.js | 93 expect(avPlayer.currentTime).assertEqual(0); 98 expect(avPlayer.currentTime).assertEqual(0)
|
/test/xts/acts/multimedia/media/media_js_standard/ |
D | AudioPlayerTestBase.js | 43 expect(audioPlayer.currentTime).assertEqual(0);
|