Searched refs:EnforcingUser (Results 1 – 11 of 11) sorted by relevance
131 List<UserManager.EnforcingUser> enforcingUsers = new ArrayList<>(); in setupIsTetherAvailable()135 enforcingUsers.add(new UserManager.EnforcingUser(userId, in setupIsTetherAvailable()137 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()
20 parcelable UserManager.EnforcingUser;
1833 public List<EnforcingUser> getUserRestrictionSources( in getUserRestrictionSources()3154 public static final class EnforcingUser implements Parcelable { class in UserManager3161 public EnforcingUser( in EnforcingUser() method in UserManager.EnforcingUser3167 private EnforcingUser(Parcel in) { in EnforcingUser() method in UserManager.EnforcingUser3172 …c static final @android.annotation.NonNull Creator<EnforcingUser> CREATOR = new Creator<EnforcingU…3174 public EnforcingUser createFromParcel(Parcel in) {3175 return new EnforcingUser(in);3179 public EnforcingUser[] newArray(int size) {3180 return new EnforcingUser[size];
72 … List<UserManager.EnforcingUser> getUserRestrictionSources(String restrictionKey, int userHandle); in getUserRestrictionSources()
71 import android.os.UserManager.EnforcingUser;1590 List<EnforcingUser> enforcingUsers = getUserRestrictionSources(restrictionKey, userId); in getUserRestrictionSource()1600 public List<EnforcingUser> getUserRestrictionSources( in getUserRestrictionSources()1609 final List<EnforcingUser> result = new ArrayList<>(); in getUserRestrictionSources()1613 result.add(new EnforcingUser( in getUserRestrictionSources()1637 private EnforcingUser getEnforcingUserLocked(@UserIdInt int userId) { in getEnforcingUserLocked()1640 return new EnforcingUser(userId, source); in getEnforcingUserLocked()
95 final List<UserManager.EnforcingUser> enforcingUsers = in checkIfRestrictionEnforced()
2255 doAnswer((Answer<List<UserManager.EnforcingUser>>) invocation -> Collections.singletonList( in testCreateAdminSupportIntent()2256 new UserManager.EnforcingUser( in testCreateAdminSupportIntent()
11298 final List<UserManager.EnforcingUser> sources = mUserManager in createUserRestrictionSupportIntent()11311 final UserManager.EnforcingUser enforcingUser = sources.get(0); in createUserRestrictionSupportIntent()
5542 …permission.MANAGE_USERS) public java.util.List<android.os.UserManager.EnforcingUser> getUserRestri…5568 public static final class UserManager.EnforcingUser implements android.os.Parcelable {5573 …ll public static final android.os.Parcelable.Creator<android.os.UserManager.EnforcingUser> CREATOR;
2919 android.os.UserManager$EnforcingUser$1