Home
last modified time | relevance | path

Searched refs:numberOfDays (Results 1 – 3 of 3) sorted by relevance

/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/util/
DHostSideTestUtil.java67 public static void increaseDeviceTimeByDays(ITestDevice device, int numberOfDays) in increaseDeviceTimeByDays() argument
71 device.setDate(Date.from(deviceDate.plus(numberOfDays, ChronoUnit.DAYS))); in increaseDeviceTimeByDays()
74 + deviceDate.plus(numberOfDays, ChronoUnit.DAYS).toEpochMilli() in increaseDeviceTimeByDays()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/logging/
DHealthConnectDailyLogsStatsTests.java351 private void increaseDeviceTimeByDays(int numberOfDays) throws Exception { in increaseDeviceTimeByDays() argument
356 getDevice().setDate(Date.from(deviceDate.plus(numberOfDays, ChronoUnit.DAYS))); in increaseDeviceTimeByDays()
360 + deviceDate.plus(numberOfDays, ChronoUnit.DAYS).toEpochMilli() in increaseDeviceTimeByDays()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/logging/
DDailyLoggingServiceTest.java336 private long subtractDaysFromInstantNow(int numberOfDays) { in subtractDaysFromInstantNow() argument
337 return Instant.now().minus(numberOfDays, ChronoUnit.DAYS).toEpochMilli(); in subtractDaysFromInstantNow()