Searched refs:enforcingUsers (Results 1 – 9 of 9) sorted by relevance
149 final List<UserManager.EnforcingUser> enforcingUsers = new ArrayList<>(); in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly() local150 enforcingUsers.add(new UserManager.EnforcingUser(fakeWorkProfileId, in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()157 enforcingUsers); in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()174 final List<UserManager.EnforcingUser> enforcingUsers = new ArrayList<>(); in workProfileDisallowShareLocationOff_getAllUserLocationServices() local178 enforcingUsers); in workProfileDisallowShareLocationOff_getAllUserLocationServices()207 List<UserManager.EnforcingUser> enforcingUsers = new ArrayList<>(); in withUserRestriction_shouldDisableLocationAccuracy() local208 enforcingUsers.add(new UserManager.EnforcingUser(userId, in withUserRestriction_shouldDisableLocationAccuracy()215 enforcingUsers); in withUserRestriction_shouldDisableLocationAccuracy()
194 List<UserManager.EnforcingUser> enforcingUsers = new ArrayList<>(); in setRestriction_getShareLocationEnforcedAdmin_shouldReturnEnforcedAdmin() local197 enforcingUsers.add(new UserManager.EnforcingUser(userId, in setRestriction_getShareLocationEnforcedAdmin_shouldReturnEnforcedAdmin()199 enforcingUsers.add(new UserManager.EnforcingUser(userId, in setRestriction_getShareLocationEnforcedAdmin_shouldReturnEnforcedAdmin()203 .thenReturn(enforcingUsers); in setRestriction_getShareLocationEnforcedAdmin_shouldReturnEnforcedAdmin()
119 List<UserManager.EnforcingUser> enforcingUsers = new ArrayList<>(); in testUpdateStateWithAdminTimeoutsAndRestriction() local122 enforcingUsers.add(new UserManager.EnforcingUser(userId, in testUpdateStateWithAdminTimeoutsAndRestriction()124 enforcingUsers.add(new UserManager.EnforcingUser(userId, in testUpdateStateWithAdminTimeoutsAndRestriction()128 .thenReturn(enforcingUsers); in testUpdateStateWithAdminTimeoutsAndRestriction()
102 List<EnforcingUser> enforcingUsers = in getUserRestrictionSources() local104 return enforcingUsers == null ? Collections.emptyList() : enforcingUsers; in getUserRestrictionSources()
153 List<UserManager.EnforcingUser> enforcingUsers = new ArrayList<>(); in onClick_modifyAccountsIsDisallowed_shouldNotStartConfirmDialog() local154 enforcingUsers.add(new UserManager.EnforcingUser(userId, in onClick_modifyAccountsIsDisallowed_shouldNotStartConfirmDialog()161 enforcingUsers); in onClick_modifyAccountsIsDisallowed_shouldNotStartConfirmDialog()
139 List<UserManager.EnforcingUser> enforcingUsers = new ArrayList<>(); in setupIsTetherAvailable() local142 .thenReturn(enforcingUsers); in setupIsTetherAvailable()
156 List<UserManager.EnforcingUser> enforcingUsers = new ArrayList<>(); in setupIsTetherAvailable() local159 .thenReturn(enforcingUsers); in setupIsTetherAvailable()
282 final List<UserManager.EnforcingUser> enforcingUsers = Collections.singletonList( in isEnabled_canBeDisabledByAdmin() local289 enforcingUsers); in isEnabled_canBeDisabledByAdmin()
231 final List<UserManager.EnforcingUser> enforcingUsers = Collections.singletonList( in withDisallowRemoveUser_ShouldDisableRemoveUser() local238 enforcingUsers); in withDisallowRemoveUser_ShouldDisableRemoveUser()