Home
last modified time | relevance | path

Searched refs:newTime (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/consumerir/cts/
DConsumerIrTest.java91 long newTime = SystemClock.elapsedRealtimeNanos(); in test_timing() local
93 totalXmitTimeNanos, newTime - currentTime); in test_timing()
94 assertTrue(msg, newTime - currentTime >= totalXmitTimeNanos * (1.0 - margin)); in test_timing()
95 assertTrue(msg, newTime - currentTime <= totalXmitTimeNanos * (1.0 + margin)); in test_timing()
100 newTime = SystemClock.elapsedRealtimeNanos(); in test_timing()
102 totalXmitTimeNanos, newTime - currentTime); in test_timing()
103 assertTrue(msg, newTime - currentTime >= totalXmitTimeNanos * (1.0 - margin)); in test_timing()
104 assertTrue(msg, newTime - currentTime <= totalXmitTimeNanos * (1.0 + margin)); in test_timing()
/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_DataTest.java543 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataInsert_updatesContactLastUpdatedTimestamp() local
544 assertTrue(newTime > baseTime); in testDataInsert_updatesContactLastUpdatedTimestamp()
560 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataDelete_updatesContactLastUpdatedTimestamp() local
561 assertTrue(newTime > baseTime); in testDataDelete_updatesContactLastUpdatedTimestamp()
641 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataUpdate_updatesContactLastUpdatedTimestamp() local
643 baseTime + ". But was " + newTime, newTime > baseTime); in testDataUpdate_updatesContactLastUpdatedTimestamp()
DContactsContract_RawContactsTest.java185 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactUpdate_updatesContactUpdatedTimestamp() local
186 assertTrue(newTime > baseTime); in testRawContactUpdate_updatesContactUpdatedTimestamp()
DContactsContract_ContactsTest.java164 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId);
165 assertTrue(newTime > baseTime);
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dgbemu.js7515 var newTime = dateObj.getTime();
7516 …var timeElapsed = newTime - this.lastIteration; //Get the numnber of milliseconds since this last…
7517 this.lastIteration = newTime;