Home
last modified time | relevance | path

Searched refs:GRANT_TIME_TO_START_ACCESS_DATE_PERIOD (Results 1 – 2 of 2) sorted by relevance

/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/migration/
DHealthConnectPermissionsMigrationTest.java59 private static final Period GRANT_TIME_TO_START_ACCESS_DATE_PERIOD = Period.ofDays(30); field in HealthConnectPermissionsMigrationTest
99 assertThat(firstGrantTime.minus(GRANT_TIME_TO_START_ACCESS_DATE_PERIOD).toEpochMilli()) in testMigratePermissions_permissionFirstGrantTimeMigrated()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DHealthConnectPermissionHelper.java53 private static final Period GRANT_TIME_TO_START_ACCESS_DATE_PERIOD = Period.ofDays(30); field in HealthConnectPermissionHelper
263 .map(grantTime -> grantTime.minus(GRANT_TIME_TO_START_ACCESS_DATE_PERIOD)) in getHealthDataStartDateAccess()