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.java189 UidRange.createForUser(primaryUser.id), in testRestrictedProfilesAreAddedToVpn()
190 UidRange.createForUser(restrictedProfileA.id) in testRestrictedProfilesAreAddedToVpn()
203 UidRange.createForUser(primaryUser.id) in testManagedProfilesAreNotAddedToVpn()
216 UidRange.createForUser(primaryUser.id) in testAddUserToVpnOnlyAddsOneUser()
223 final UidRange user = UidRange.createForUser(primaryUser.id); in testUidWhiteAndBlacklist()
272 final UidRange user = UidRange.createForUser(primaryUser.id); in testLockdownChangingPackage()
307 final UidRange user = UidRange.createForUser(primaryUser.id); in testLockdownWhitelist()
395 final UidRange user = UidRange.createForUser(primaryUser.id); in testLockdownAddingAProfile()
396 final UidRange profile = UidRange.createForUser(tempProfile.id); in testLockdownAddingAProfile()
432 eq(true), aryEq(new UidRange[] {UidRange.createForUser(primaryUser.id)})); in testLockdownRuleRepeatability()
[all …]
DPermissionMonitorTest.java465 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.java1241 final UidRange userRange = UidRange.createForUser(userHandle); in addUserToRanges()
1254 ranges.add(UidRange.createForUser(userHandle)); in addUserToRanges()
1263 final UidRange userRange = UidRange.createForUser(userHandle); in uidRangesForUser()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java6383 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testFullyRoutedVpnResultsInInterfaceFilteringRules()
6409 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testLegacyVpnDoesNotResultInInterfaceFilteringRule()
6424 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testLocalIpv4OnlyVpnDoesNotResultInInterfaceFilteringRule()
6437 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testVpnHandoverChangesInterfaceFilteringRule()
6486 final UidRange vpnRange = UidRange.createForUser(VPN_USER); in testUidUpdateChangesInterfaceFilteringRule()