Searched refs:isWithinGracePeriodForUser (Results 1 – 3 of 3) sorted by relevance
87 assertTrue(mGracePeriodObserver.isWithinGracePeriodForUser(oldUser)); in testGracePeriod()91 assertFalse(mGracePeriodObserver.isWithinGracePeriodForUser(oldUser)); in testGracePeriod()
941 doReturn(true).when(mGracePeriodObserver).isWithinGracePeriodForUser(ui.id); in createUnexpiredUser()949 doReturn(false).when(mGracePeriodObserver).isWithinGracePeriodForUser(ui.id); in createRestrictedUser()
2256 || mGracePeriodObserver.isWithinGracePeriodForUser(userId); in shouldRunAsFgUserJob()2590 public boolean isWithinGracePeriodForUser(int userId) { in isWithinGracePeriodForUser() method in GracePeriodObserver