Searched refs:t2 (Results 1 – 4 of 4) sorted by relevance
/test/dittosuite/src/ |
D | timespec_utils.cpp | 54 bool operator==(const timespec& t1, const timespec& t2) { in operator ==() argument 55 return t1.tv_sec == t2.tv_sec && t1.tv_nsec == t2.tv_nsec; in operator ==() 58 bool operator!=(const timespec& t1, const timespec& t2) { in operator !=() argument 59 return !(t1 == t2); in operator !=() 62 bool operator<(const timespec& t1, const timespec& t2) { in operator <() argument 63 return ((t1.tv_sec < t2.tv_sec) || (t1.tv_sec == t2.tv_sec && t1.tv_nsec < t2.tv_nsec)); in operator <() 66 bool operator<=(const timespec& t1, const timespec& t2) { in operator <=() argument 67 return t1 == t2 || t1 < t2; in operator <=() 70 bool operator>(const timespec& t1, const timespec& t2) { in operator >() argument 71 return !(t1 <= t2); in operator >() [all …]
|
/test/dittosuite/include/ditto/ |
D | timespec_utils.h | 30 bool operator==(const timespec& t1, const timespec& t2); 31 bool operator!=(const timespec& t1, const timespec& t2); 32 bool operator<(const timespec& t1, const timespec& t2); 33 bool operator<=(const timespec& t1, const timespec& t2); 34 bool operator>(const timespec& t1, const timespec& t2); 35 bool operator>=(const timespec& t1, const timespec& t2); 36 timespec operator-(const timespec& t1, const timespec& t2); 37 timespec operator+(const timespec& t1, const timespec& t2); 39 timespec operator/(const timespec& t1, const timespec& t2);
|
/test/cts-root/hostsidetests/packageinstaller/src/com/android/cts_root/packageinstaller/host/ |
D | SessionCleanUpHostTest.java | 188 Instant t2 = t1.plusMillis(TimeUnit.DAYS.toMillis(1)); in testSessionCleanUp_LowStorage() local 192 getDevice().setDate(Date.from(t2)); in testSessionCleanUp_LowStorage() 220 Instant t2 = t1.plusMillis(MAX_TIME_SINCE_UPDATE_MILLIS); in expireSessions() local 223 getDevice().setDate(Date.from(t2)); in expireSessions()
|
/test/cts-root/hostsidetests/rollback/src/com/android/cts_root/rollback/host/ |
D | RollbackManagerHostTest.java | 393 Instant t2 = t1.plusMillis(MAX_TIME_SINCE_UPDATE_MILLIS); in testExpireSession() local 396 getDevice().setDate(Date.from(t2)); in testExpireSession()
|