Home
last modified time | relevance | path

Searched refs:createForUser (Results 1 – 6 of 6) 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.java499 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.java6665 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testFullyRoutedVpnResultsInInterfaceFilteringRules()
6692 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testLegacyVpnDoesNotResultInInterfaceFilteringRule()
6708 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testLocalIpv4OnlyVpnDoesNotResultInInterfaceFilteringRule()
6723 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testVpnHandoverChangesInterfaceFilteringRule()
6774 final UidRange vpnRange = UidRange.createForUser(VPN_USER); in testUidUpdateChangesInterfaceFilteringRule()
6925 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in setupConnectionOwnerUid()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt45335 Landroid/net/UidRange;->createForUser(I)Landroid/net/UidRange;