Searched refs:newTime (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/hardware/src/android/hardware/consumerir/cts/ |
D | ConsumerIrTest.java | 91 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/ |
D | ContactsContract_DataTest.java | 543 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()
|
D | ContactsContract_RawContactsTest.java | 185 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactUpdate_updatesContactUpdatedTimestamp() local 186 assertTrue(newTime > baseTime); in testRawContactUpdate_updatesContactUpdatedTimestamp()
|
D | ContactsContract_ContactsTest.java | 164 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); 165 assertTrue(newTime > baseTime);
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | gbemu.js | 7515 var newTime = dateObj.getTime(); 7516 …var timeElapsed = newTime - this.lastIteration; //Get the numnber of milliseconds since this last… 7517 this.lastIteration = newTime;
|