Searched refs:newTime (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/hardware/src/android/hardware/consumerir/cts/ |
D | ConsumerIrTest.java | 94 long newTime = SystemClock.elapsedRealtimeNanos(); in test_timing() local 96 totalXmitTimeNanos, newTime - currentTime); in test_timing() 97 assertTrue(msg, newTime - currentTime >= totalXmitTimeNanos * (1.0 - margin)); in test_timing() 98 assertTrue(msg, newTime - currentTime <= totalXmitTimeNanos * (1.0 + margin)); in test_timing() 103 newTime = SystemClock.elapsedRealtimeNanos(); in test_timing() 105 totalXmitTimeNanos, newTime - currentTime); in test_timing() 106 assertTrue(msg, newTime - currentTime >= totalXmitTimeNanos * (1.0 - margin)); in test_timing() 107 assertTrue(msg, newTime - currentTime <= totalXmitTimeNanos * (1.0 + margin)); in test_timing()
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_DataTest.java | 577 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataInsert_updatesContactLastUpdatedTimestamp() local 578 assertTrue(newTime > baseTime); in testDataInsert_updatesContactLastUpdatedTimestamp() 594 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataDelete_updatesContactLastUpdatedTimestamp() local 595 assertTrue(newTime > baseTime); in testDataDelete_updatesContactLastUpdatedTimestamp() 675 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataUpdate_updatesContactLastUpdatedTimestamp() local 677 baseTime + ". But was " + newTime, newTime > baseTime); in testDataUpdate_updatesContactLastUpdatedTimestamp()
|
D | ContactsContract_RawContactsTest.java | 259 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactUpdate_updatesContactUpdatedTimestamp() local 260 assertTrue(newTime > baseTime); in testRawContactUpdate_updatesContactUpdatedTimestamp()
|
D | ContactsContract_ContactsTest.java | 257 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testContactUpdate_updatesContactUpdatedTimestamp() local 258 assertTrue(newTime > baseTime); in testContactUpdate_updatesContactUpdatedTimestamp()
|