Home
last modified time | relevance | path

Searched refs:createForUser (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java229 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 …]
DPermissionMonitorTest.java539 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(MOCK_USER1)); in testUidFilteringDuringPackageInstallAndUninstall()
/frameworks/base/core/java/android/net/
DUidRange.java43 public static UidRange createForUser(int userId) { in createForUser() method in UidRange
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1378 final UidRange userRange = UidRange.createForUser(userHandle);
1391 ranges.add(UidRange.createForUser(userHandle));
1400 final UidRange userRange = UidRange.createForUser(userHandle);
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java6657 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()