Searched refs:createForUser (Results 1 – 5 of 5) sorted by relevance
229 UidRange.createForUser(primaryUser.id), in testRestrictedProfilesAreAddedToVpn()230 UidRange.createForUser(restrictedProfileA.id) in testRestrictedProfilesAreAddedToVpn()243 UidRange.createForUser(primaryUser.id) in testManagedProfilesAreNotAddedToVpn()256 UidRange.createForUser(primaryUser.id) in testAddUserToVpnOnlyAddsOneUser()263 final UidRange user = UidRange.createForUser(primaryUser.id); in testUidWhiteAndBlacklist()312 final UidRange user = UidRange.createForUser(primaryUser.id); in testLockdownChangingPackage()347 final UidRange user = UidRange.createForUser(primaryUser.id); in testLockdownWhitelist()440 final UidRange user = UidRange.createForUser(primaryUser.id); in testLockdownAddingAProfile()441 final UidRange profile = UidRange.createForUser(tempProfile.id); in testLockdownAddingAProfile()477 eq(true), aryEq(new UidRange[] {UidRange.createForUser(primaryUser.id)})); in testLockdownRuleRepeatability()[all …]
539 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(MOCK_USER1)); in testUidFilteringDuringPackageInstallAndUninstall()
43 public static UidRange createForUser(int userId) { in createForUser() method in UidRange
1378 final UidRange userRange = UidRange.createForUser(userHandle);1391 ranges.add(UidRange.createForUser(userHandle));1400 final UidRange userRange = UidRange.createForUser(userHandle);
6657 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testFullyRoutedVpnResultsInInterfaceFilteringRules()6684 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testLegacyVpnDoesNotResultInInterfaceFilteringRule()6700 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testLocalIpv4OnlyVpnDoesNotResultInInterfaceFilteringRule()6715 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testVpnHandoverChangesInterfaceFilteringRule()6766 final UidRange vpnRange = UidRange.createForUser(VPN_USER); in testUidUpdateChangesInterfaceFilteringRule()6917 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in setupConnectionOwnerUid()