/ohos5.0/drivers/peripheral/usb/test/moduletest/common/ |
H A D | usb_host_serial_func_test.cpp | 59 double startTs = GetNowTs(); variable 77 double startTs = GetNowTs(); variable 96 double startTs = GetNowTs(); variable 98 startTs = GetNowTs(); 126 double startTs = GetNowTs(); variable 147 double startTs = GetNowTs(); variable 170 double startTs = GetNowTs(); variable 205 double startTs; variable 207 startTs = GetNowTs(); 286 double startTs; variable [all …]
|
H A D | usb_host_raw_api_func_test.cpp | 54 double startTs = GetNowTs(); variable 61 EXPECT_TRUE(HasLog(wlog, startTs)) << "ErrInfo: cannot find sync write log"; 82 double startTs = GetNowTs(); variable 90 EXPECT_TRUE(HasLog(wlog, startTs)) << "ErrInfo: cannot find sync write log"; 117 double startTs; variable 119 startTs = GetNowTs(); 143 double startTs = GetNowTs(); variable 149 EXPECT_TRUE(HasLog(wlog, startTs)) << "ErrInfo: cannot find async write log"; 170 double startTs = GetNowTs(); variable 204 double startTs; variable [all …]
|
H A D | usb_device_serial_func_test.cpp | 56 double startTs = GetNowTs(); variable 62 EXPECT_TRUE(HasLog(wlog, startTs, WLOG_FILE)); 63 EXPECT_TRUE(HasLog(rlog, startTs, RLOG_FILE)); 82 double startTs = GetNowTs(); variable 89 EXPECT_TRUE(HasLog(wlog, startTs, WLOG_FILE)); 90 EXPECT_TRUE(HasLog(rlog, startTs, RLOG_FILE)); 108 double startTs = GetNowTs(); variable 115 EXPECT_TRUE(HasLog(wlog, startTs, WLOG_FILE)); 116 EXPECT_TRUE(HasLog(rlog, startTs, RLOG_FILE)); 138 double startTs = GetNowTs(); variable [all …]
|
H A D | usb_utils.cpp | 25 bool HasLog(const string &target, double startTs, const string &file) in HasLog() argument 42 if ((logTs - startTs) >= 0) { in HasLog() 151 double GetTsFromLog(const string &target, double startTs, const string &file) in GetTsFromLog() argument 161 if ((logTs - startTs) >= 0) { in GetTsFromLog()
|
H A D | usb_utils.h | 43 extern bool HasLog(const std::string &target, double startTs, const std::string &file = "/data/acm_… 47 extern double GetTsFromLog(const std::string &target, double startTs, const std::string &file);
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | track_animation_state.cpp | 181 auto startTs = timestamps->GetValueAt(lo); in UpdateIndex() local 183 if (progress < startTs || progress > endTs) { in UpdateIndex() 189 startTs = timestamps->GetValueAt(mid); in UpdateIndex() 191 if (IsBetween(progress, startTs, endTs, mid >= endIndex)) { in UpdateIndex() 196 if (progress < startTs) { in UpdateIndex()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/ |
H A D | nstackx_dfile_session.h | 134 struct timespec startTs; member
|
H A D | nstackx_dfile_transfer.h | 146 struct timespec startTs; member
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_dfile_transfer.c | 858 ClockGetTime(CLOCK_MONOTONIC, &dFileTrans->startTs); in ReceiveFileDataPrepare() 1027 uint32_t spendTime = GetTimeDiffMs(&endTs, &dFileTrans->startTs); in CalculateRecvRate()
|
H A D | nstackx_dfile_session.c | 133 ClockGetTime(CLOCK_MONOTONIC, &session->startTs); in CalculateSessionTransferRatePrepare() 295 uint32_t spendTime = GetTimeDiffMs(&endTs, &session->startTs); in CalculateSessionTransferRate()
|