Searched refs:EnforcingUser (Results 1 – 15 of 15) sorted by relevance
145 List<UserManager.EnforcingUser> enforcingUsers = mRestrictionsSet.getEnforcingUsers( in testGetEnforcingUsers_hasEnforcingUser()148 UserManager.EnforcingUser enforcingUser1 = enforcingUsers.get(0); in testGetEnforcingUsers_hasEnforcingUser()162 List<UserManager.EnforcingUser> enforcingUsers = mRestrictionsSet.getEnforcingUsers( in testGetEnforcingUsers_hasMultipleEnforcingUsers()166 for (UserManager.EnforcingUser enforcingUser : enforcingUsers) { in testGetEnforcingUsers_hasMultipleEnforcingUsers()185 List<UserManager.EnforcingUser> enforcingUsers = mRestrictionsSet.getEnforcingUsers( in testGetEnforcingUsers_noEnforcingUsers()
124 List<UserManager.EnforcingUser> enforcingUsers = new ArrayList<>(); in setupIsTetherAvailable()128 enforcingUsers.add(new UserManager.EnforcingUser(userId, in setupIsTetherAvailable()130 enforcingUsers.add(new UserManager.EnforcingUser(userId, in setupIsTetherAvailable()
91 UserManager.EnforcingUser enforcingUser = new UserManager.EnforcingUser(mUserId, in checkIfRestrictionEnforced_deviceOwner()109 UserManager.EnforcingUser enforcingUser = new UserManager.EnforcingUser(mUserId, in checkIfRestrictionEnforced_profileOwner()
139 public @NonNull List<UserManager.EnforcingUser> getEnforcingUsers(String restriction, in getEnforcingUsers()141 final List<UserManager.EnforcingUser> result = new ArrayList<>(); in getEnforcingUsers()150 private UserManager.EnforcingUser getEnforcingUser(@UserIdInt int userId, in getEnforcingUser()155 return new UserManager.EnforcingUser(userId, source); in getEnforcingUser()
80 import android.os.UserManager.EnforcingUser;2002 List<EnforcingUser> enforcingUsers = getUserRestrictionSources(restrictionKey, userId); in getUserRestrictionSource()2012 public List<EnforcingUser> getUserRestrictionSources( in getUserRestrictionSources()2021 final List<EnforcingUser> result = new ArrayList<>(); in getUserRestrictionSources()2025 result.add(new EnforcingUser( in getUserRestrictionSources()
20 parcelable UserManager.EnforcingUser;
2435 public List<EnforcingUser> getUserRestrictionSources( in getUserRestrictionSources()4309 public static final class EnforcingUser implements Parcelable { class in UserManager4316 public EnforcingUser( in EnforcingUser() method in UserManager.EnforcingUser4322 private EnforcingUser(Parcel in) { in EnforcingUser() method in UserManager.EnforcingUser4327 …c static final @android.annotation.NonNull Creator<EnforcingUser> CREATOR = new Creator<EnforcingU…4329 public EnforcingUser createFromParcel(Parcel in) {4330 return new EnforcingUser(in);4334 public EnforcingUser[] newArray(int size) {4335 return new EnforcingUser[size];
76 List<UserManager.EnforcingUser> getUserRestrictionSources(String restrictionKey, int userId); in getUserRestrictionSources()
95 final List<UserManager.EnforcingUser> enforcingUsers = in checkIfRestrictionEnforced()
1265 final List<UserManager.EnforcingUser> sources = mUserManager in hasUserRestriction()
7450 …permission.MANAGE_USERS) public java.util.List<android.os.UserManager.EnforcingUser> getUserRestri…7485 public static final class UserManager.EnforcingUser implements android.os.Parcelable {7490 …ll public static final android.os.Parcelable.Creator<android.os.UserManager.EnforcingUser> CREATOR;
4923 android.os.UserManager$EnforcingUser$14924 android.os.UserManager$EnforcingUser
45148 Landroid/os/UserManager$EnforcingUser$1;45149 Landroid/os/UserManager$EnforcingUser;
8551 …permission.MANAGE_USERS) public java.util.List<android.os.UserManager.EnforcingUser> getUserRestri…8586 public static final class UserManager.EnforcingUser implements android.os.Parcelable {8591 …ll public static final android.os.Parcelable.Creator<android.os.UserManager.EnforcingUser> CREATOR;
25652 PLcom/android/server/pm/RestrictionsSet;->getEnforcingUser(II)Landroid/os/UserManager$EnforcingUser;