Home
last modified time | relevance | path

Searched refs:getSharedUserGrantTimes (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DUserGrantTimeStateTest.java39 assertThat(state.getSharedUserGrantTimes()).hasSize(1); in testSharedUser_setSharedUserTime_containsSharedUser()
40 assertThat(state.getSharedUserGrantTimes().get(sharedName)).isEqualTo(Instant.EPOCH); in testSharedUser_setSharedUserTime_containsSharedUser()
DGrantTimePersistenceUnitTest.java218 assertThat(initialState.getSharedUserGrantTimes()) in assertRestoredStateIsCorrect()
219 .isEqualTo(restoredState.getSharedUserGrantTimes()); in assertRestoredStateIsCorrect()
DFirstGrantTimeUnitTest.java322 assertThat(state.getSharedUserGrantTimes()).isEmpty(); in testWriteStagedData_getStagedStateForCurrentPackage_returnsCorrectState()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DUserGrantTimeState.java66 Map<String, Instant> getSharedUserGrantTimes() { in getSharedUserGrantTimes() method in UserGrantTimeState
DFirstGrantTimeManager.java562 new ArraySet<>(recordedState.getSharedUserGrantTimes().keySet()); in removeInvalidSharedUsersFromGrantTimeStateForUser()
572 recordedState.getSharedUserGrantTimes().keySet().removeAll(recordedButNotValid); in removeInvalidSharedUsersFromGrantTimeStateForUser()
697 grantTimeState.getSharedUserGrantTimes().entrySet()) { in populateFromUserGrantTimeState()
DGrantTimeXmlHelper.java149 userGrantTimeState.getSharedUserGrantTimes().entrySet()) { in writeGrantTimes()