Home
last modified time | relevance | path

Searched refs:RESTRICTED_PROFILE_A (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/VpnTests/java/com/android/server/
DVpnTestBase.java64 protected static final UserInfo RESTRICTED_PROFILE_A = new UserInfo(40, "RestrictedA", field in VpnTestBase
71 RESTRICTED_PROFILE_A.restrictedProfileParentId = PRIMARY_USER.id;
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/
DVpnTest.java472 setMockedUsers(PRIMARY_USER, SECONDARY_USER, RESTRICTED_PROFILE_A, RESTRICTED_PROFILE_B); in testRestrictedProfilesAreAddedToVpn()
481 assertEquals(rangeSet(PRIMARY_USER_RANGE, uidRangeForUser(RESTRICTED_PROFILE_A.id)), in testRestrictedProfilesAreAddedToVpn()
498 setMockedUsers(PRIMARY_USER, RESTRICTED_PROFILE_A, MANAGED_PROFILE_A); in testAddUserToVpnOnlyAddsOneUser()
837 setMockedUsers(PRIMARY_USER, RESTRICTED_PROFILE_A); in testOnUserAddedAndRemoved_restrictedUser()
838 vpn.onUserAdded(RESTRICTED_PROFILE_A.id); in testOnUserAddedAndRemoved_restrictedUser()
841 rangeSet(PRIMARY_USER_RANGE, uidRangeForUser(RESTRICTED_PROFILE_A.id)); in testOnUserAddedAndRemoved_restrictedUser()
847 vpn.onUserRemoved(RESTRICTED_PROFILE_A.id); in testOnUserAddedAndRemoved_restrictedUser()
858 final Range<Integer> restrictedUserRange = uidRangeForUser(RESTRICTED_PROFILE_A.id); in testOnUserAddedAndRemoved_restrictedUserLockdown()
869 setMockedUsers(PRIMARY_USER, RESTRICTED_PROFILE_A); in testOnUserAddedAndRemoved_restrictedUserLockdown()
870 vpn.onUserAdded(RESTRICTED_PROFILE_A.id); in testOnUserAddedAndRemoved_restrictedUserLockdown()
[all …]