Searched refs:newTime (Results 1 – 5 of 5) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpLeaseRepositoryTest.java | 412 final long newTime = TEST_TIME + 100; in testRequestLease_InitReboot() local 413 when(mClock.elapsedRealtime()).thenReturn(newTime); in testRequestLease_InitReboot() 418 assertEquals(newTime + TEST_LEASE_TIME_MS, lease.getExpTime()); in testRequestLease_InitReboot() 453 final long newTime = TEST_TIME + 100; in testRequestLease_Renewing() local 454 when(mClock.elapsedRealtime()).thenReturn(newTime); in testRequestLease_Renewing() 459 assertEquals(newTime + TEST_LEASE_TIME_MS, lease.getExpTime()); in testRequestLease_Renewing() 467 final long newTime = TEST_TIME + 100; in testRequestLease_RenewingUnknownAddr() local 468 when(mClock.elapsedRealtime()).thenReturn(newTime); in testRequestLease_RenewingUnknownAddr() 472 assertEquals(newTime + TEST_LEASE_TIME_MS, lease.getExpTime()); in testRequestLease_RenewingUnknownAddr()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelper.java | 2738 Time newTime = new Time(); in upgradeToVersion62() local 2758 newTime.clear(tz); in upgradeToVersion62() 2759 newTime.set(oldTime.getDay(), oldTime.getMonth(), oldTime.getYear()); in upgradeToVersion62() 2760 newTime.normalize(); in upgradeToVersion62() 2761 dtstart = newTime.toMillis(); in upgradeToVersion62() 2766 newTime.clear(tz); in upgradeToVersion62() 2767 newTime.set(oldTime.getDay(), oldTime.getMonth(), oldTime.getYear()); in upgradeToVersion62() 2768 newTime.normalize(); in upgradeToVersion62() 2769 dtend = newTime.toMillis(); in upgradeToVersion62()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthByWeekFragment.java | 457 long newTime = mSelectedDay.normalize(true); in setMonthDisplayed() local 458 if (newTime != controller.getTime() && mUserScrolled) { in setMonthDisplayed() 460 controller.setTime(newTime + offset); in setMonthDisplayed()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.kt | 883 val newTime: CharSequence = in <lambda>() constant 887 oldTime, newTime) in <lambda>()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsProvider2Test.java | 8515 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testContactUpdate_updatesContactUpdatedTimestamp() local 8516 assertTrue(newTime > baseTime); in testContactUpdate_updatesContactUpdatedTimestamp() 8544 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactUpdate_updatesContactUpdatedTimestamp() local 8545 assertTrue(newTime > baseTime); in testRawContactUpdate_updatesContactUpdatedTimestamp() 8592 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataInsert_updatesContactLastUpdatedTimestamp() local 8593 assertTrue(newTime > baseTime); in testDataInsert_updatesContactLastUpdatedTimestamp() 8610 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataDelete_updatesContactLastUpdatedTimestamp() local 8611 assertTrue(newTime > baseTime); in testDataDelete_updatesContactLastUpdatedTimestamp() 8630 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataUpdate_updatesContactLastUpdatedTimestamp() local 8631 assertTrue(newTime > baseTime); in testDataUpdate_updatesContactLastUpdatedTimestamp()
|