Home
last modified time | relevance | path

Searched refs:EnforcingUser (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DTetherUtilTest.java131 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()
DRestrictedLockUtilsTest.java91 UserManager.EnforcingUser enforcingUser = new UserManager.EnforcingUser(mUserId, in checkIfRestrictionEnforced_deviceOwner()
109 UserManager.EnforcingUser enforcingUser = new UserManager.EnforcingUser(mUserId, in checkIfRestrictionEnforced_profileOwner()
/frameworks/base/core/java/android/os/
DUserManager.aidl20 parcelable UserManager.EnforcingUser;
DUserManager.java1833 public List<EnforcingUser> getUserRestrictionSources( in getUserRestrictionSources()
3154 public static final class EnforcingUser implements Parcelable { class in UserManager
3161 public EnforcingUser( in EnforcingUser() method in UserManager.EnforcingUser
3167 private EnforcingUser(Parcel in) { in EnforcingUser() method in UserManager.EnforcingUser
3172 …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];
DIUserManager.aidl72 … List<UserManager.EnforcingUser> getUserRestrictionSources(String restrictionKey, int userHandle); in getUserRestrictionSources()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java71 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()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java95 final List<UserManager.EnforcingUser> enforcingUsers = in checkIfRestrictionEnforced()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java2255 doAnswer((Answer<List<UserManager.EnforcingUser>>) invocation -> Collections.singletonList( in testCreateAdminSupportIntent()
2256 new UserManager.EnforcingUser( in testCreateAdminSupportIntent()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java11298 final List<UserManager.EnforcingUser> sources = mUserManager in createUserRestrictionSupportIntent()
11311 final UserManager.EnforcingUser enforcingUser = sources.get(0); in createUserRestrictionSupportIntent()
/frameworks/base/api/
Dsystem-current.txt5542 …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;
/frameworks/base/config/
Dpreloaded-classes2919 android.os.UserManager$EnforcingUser$1