Searched refs:setPackageGrantTime (Results 1 – 4 of 4) sorted by relevance
149 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()
47 state.setPackageGrantTime(packageName, Instant.EPOCH); in testPackage_setPackage_containsSetPackageTime()
70 void setPackageGrantTime(@NonNull String packageName, @Nullable Instant time) { in setPackageGrantTime() method in UserGrantTimeState
517 grantTimeState.setPackageGrantTime(packageName, Instant.now()); in setPackageGrantTimeIfNotRecorded()