Home
last modified time | relevance | path

Searched refs:setPackageGrantTime (Results 1 – 4 of 4) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DFirstGrantTimeUnitTest.java149 currentGrantTimeState.setPackageGrantTime(SELF_PACKAGE_NAME, instant1); in testSetFirstGrantTimeForAnApp_expectOtherAppsGrantTimesRemained()
150 currentGrantTimeState.setPackageGrantTime(anotherPackage, instant2); in testSetFirstGrantTimeForAnApp_expectOtherAppsGrantTimesRemained()
205 currentGrantTimeState.setPackageGrantTime(SELF_PACKAGE_NAME, now); in testOnPermissionsChangedCalledWhileDeviceIsLocked_getGrantTimeNotNullAfterUnlock()
345 state.setPackageGrantTime(SELF_PACKAGE_NAME, currentTime); in setupGrantTimeState()
351 backupState.setPackageGrantTime(SELF_PACKAGE_NAME, stagedTime); in setupGrantTimeState()
DUserGrantTimeStateTest.java47 state.setPackageGrantTime(packageName, Instant.EPOCH); in testPackage_setPackage_containsSetPackageTime()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DUserGrantTimeState.java70 void setPackageGrantTime(@NonNull String packageName, @Nullable Instant time) { in setPackageGrantTime() method in UserGrantTimeState
DFirstGrantTimeManager.java517 grantTimeState.setPackageGrantTime(packageName, Instant.now()); in setPackageGrantTimeIfNotRecorded()