Searched refs:currentGrantTimeState (Results 1 – 1 of 1) sorted by relevance
148 UserGrantTimeState currentGrantTimeState = new UserGrantTimeState(DEFAULT_VERSION); in testSetFirstGrantTimeForAnApp_expectOtherAppsGrantTimesRemained() local149 currentGrantTimeState.setPackageGrantTime(SELF_PACKAGE_NAME, instant1); in testSetFirstGrantTimeForAnApp_expectOtherAppsGrantTimesRemained()150 currentGrantTimeState.setPackageGrantTime(anotherPackage, instant2); in testSetFirstGrantTimeForAnApp_expectOtherAppsGrantTimesRemained()152 .thenReturn(currentGrantTimeState); in testSetFirstGrantTimeForAnApp_expectOtherAppsGrantTimesRemained()203 UserGrantTimeState currentGrantTimeState = new UserGrantTimeState(DEFAULT_VERSION); in testOnPermissionsChangedCalledWhileDeviceIsLocked_getGrantTimeNotNullAfterUnlock() local205 currentGrantTimeState.setPackageGrantTime(SELF_PACKAGE_NAME, now); in testOnPermissionsChangedCalledWhileDeviceIsLocked_getGrantTimeNotNullAfterUnlock()207 .thenReturn(currentGrantTimeState); in testOnPermissionsChangedCalledWhileDeviceIsLocked_getGrantTimeNotNullAfterUnlock()