Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpLeaseRepositoryTest.java424 final long newTime = TEST_TIME + 100; in testRequestLease_InitReboot() local
425 when(mClock.elapsedRealtime()).thenReturn(newTime); in testRequestLease_InitReboot()
430 assertEquals(newTime + TEST_LEASE_TIME_MS, lease.getExpTime()); in testRequestLease_InitReboot()
465 final long newTime = TEST_TIME + 100; in testRequestLease_Renewing() local
466 when(mClock.elapsedRealtime()).thenReturn(newTime); in testRequestLease_Renewing()
471 assertEquals(newTime + TEST_LEASE_TIME_MS, lease.getExpTime()); in testRequestLease_Renewing()
479 final long newTime = TEST_TIME + 100; in testRequestLease_RenewingUnknownAddr() local
480 when(mClock.elapsedRealtime()).thenReturn(newTime); in testRequestLease_RenewingUnknownAddr()
484 assertEquals(newTime + TEST_LEASE_TIME_MS, lease.getExpTime()); in testRequestLease_RenewingUnknownAddr()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DEnergySaverFragment.java172 private void showConfirmChangeSettingDialog(boolean isAttentiveTimer, int newTime) { in showConfirmChangeSettingDialog() argument
179 confirmAttentiveSleepTime(newTime); in showConfirmChangeSettingDialog()
181 confirmNewSleepTime(newTime); in showConfirmChangeSettingDialog()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/metrics/
DTetheringMetrics.java152 final long newTime = timeNow(); in maybeUpdateUpstreamType() local
154 mUpstreamEventList.add(new RecordUpstreamEvent(mCurrentUpStreamStartTime, newTime, in maybeUpdateUpstreamType()
158 mCurrentUpStreamStartTime = newTime; in maybeUpdateUpstreamType()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekFragment.kt437 val newTime: Long = mSelectedDay.normalize(true) in setMonthDisplayed() constant
438 if (newTime != controller?.time && mUserScrolled) { in setMonthDisplayed()
441 controller?.time = (newTime + offset) in setMonthDisplayed()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java2738 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/DeskClock/src/com/android/deskclock/alarms/
DAlarmStateManager.kt883 val newTime: CharSequence = in <lambda>() constant
887 oldTime, newTime) in <lambda>()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java8879 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testContactUpdate_updatesContactUpdatedTimestamp() local
8880 assertTrue(newTime > baseTime); in testContactUpdate_updatesContactUpdatedTimestamp()
8908 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactUpdate_updatesContactUpdatedTimestamp() local
8909 assertTrue(newTime > baseTime); in testRawContactUpdate_updatesContactUpdatedTimestamp()
8956 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataInsert_updatesContactLastUpdatedTimestamp() local
8957 assertTrue(newTime > baseTime); in testDataInsert_updatesContactLastUpdatedTimestamp()
8974 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataDelete_updatesContactLastUpdatedTimestamp() local
8975 assertTrue(newTime > baseTime); in testDataDelete_updatesContactLastUpdatedTimestamp()
8994 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataUpdate_updatesContactLastUpdatedTimestamp() local
8995 assertTrue(newTime > baseTime); in testDataUpdate_updatesContactLastUpdatedTimestamp()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-http-client-1.36.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-http-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...