Searched refs:baseTime (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_RawContactsTest.java | 253 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactUpdate_updatesContactUpdatedTimestamp() local 260 assertTrue(newTime > baseTime); in testRawContactUpdate_updatesContactUpdatedTimestamp() 269 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactPsuedoDelete_hasDeleteLogForContact() local 273 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, baseTime); in testRawContactPsuedoDelete_hasDeleteLogForContact() 282 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactDelete_hasDeleteLogForContact() local 286 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, baseTime); in testRawContactDelete_hasDeleteLogForContact()
|
D | ContactsContract_DataTest.java | 572 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataInsert_updatesContactLastUpdatedTimestamp() local 578 assertTrue(newTime > baseTime); in testDataInsert_updatesContactLastUpdatedTimestamp() 589 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataDelete_updatesContactLastUpdatedTimestamp() local 595 assertTrue(newTime > baseTime); in testDataDelete_updatesContactLastUpdatedTimestamp() 668 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataUpdate_updatesContactLastUpdatedTimestamp() local 677 baseTime + ". But was " + newTime, newTime > baseTime); in testDataUpdate_updatesContactLastUpdatedTimestamp()
|
D | ContactsProvider2_AccountRemovalTest.java | 239 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, contactId); in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated() local 243 while (ContactUtil.queryContactLastUpdatedTimestamp(mResolver, contactId) == baseTime) { in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
|
D | ContactsContract_ContactsTest.java | 249 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testContactUpdate_updatesContactUpdatedTimestamp() local 258 assertTrue(newTime > baseTime); in testContactUpdate_updatesContactUpdatedTimestamp()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | LayoutAnimationControllerTest.java | 295 long baseTime = animation.getStartTime() + animation.getStartOffset(); 296 animation.getTransformation(baseTime, transformation); 299 animation.getTransformation(baseTime + step * 1, transformation); 301 animation.getTransformation(baseTime + step * 2, transformation); 303 animation.getTransformation(baseTime + step * 3, transformation); 305 animation.getTransformation(baseTime + step * 4, transformation);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | TimeTest.java | 1836 Instant baseTime = Instant.ofEpochSecond(0); in testSetMillis_utc() local 1839 t.set(baseTime.plus(1, ChronoUnit.SECONDS).toEpochMilli()); in testSetMillis_utc() 1845 t.set(baseTime.plus(2, ChronoUnit.SECONDS).toEpochMilli()); in testSetMillis_utc() 1849 t.set(baseTime.plus(1, ChronoUnit.MINUTES).toEpochMilli()); in testSetMillis_utc() 1853 t.set(baseTime.plus(1, ChronoUnit.DAYS).plus(1, ChronoUnit.SECONDS).toEpochMilli()); in testSetMillis_utc()
|