Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java186 UidRange.createForUser(primaryUser.id), in testRestrictedProfilesAreAddedToVpn()
187 UidRange.createForUser(restrictedProfileA.id) in testRestrictedProfilesAreAddedToVpn()
200 UidRange.createForUser(primaryUser.id) in testManagedProfilesAreNotAddedToVpn()
213 UidRange.createForUser(primaryUser.id) in testAddUserToVpnOnlyAddsOneUser()
220 final UidRange user = UidRange.createForUser(primaryUser.id); in testUidWhiteAndBlacklist()
245 final UidRange user = UidRange.createForUser(primaryUser.id); in testLockdownChangingPackage()
287 final UidRange user = UidRange.createForUser(primaryUser.id); in testLockdownAddingAProfile()
288 final UidRange profile = UidRange.createForUser(tempProfile.id); in testLockdownAddingAProfile()
324 eq(true), aryEq(new UidRange[] {UidRange.createForUser(primaryUser.id)})); in testLockdownRuleRepeatability()
333 eq(false), aryEq(new UidRange[] {UidRange.createForUser(primaryUser.id)})); in testLockdownRuleRepeatability()
[all …]
/frameworks/base/core/java/android/net/
DUidRange.java41 public static UidRange createForUser(int userId) { in createForUser() method in UidRange
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1213 final UidRange userRange = UidRange.createForUser(userHandle); in addUserToRanges()
1226 ranges.add(UidRange.createForUser(userHandle)); in addUserToRanges()
1235 final UidRange userRange = UidRange.createForUser(userHandle); in uidRangesForUser()