Home
last modified time | relevance | path

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

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DRestrictionsSetTest.java149 List<UserManager.EnforcingUser> enforcingUsers = mRestrictionsSet.getEnforcingUsers( in testGetEnforcingUsers_hasEnforcingUser()
152 UserManager.EnforcingUser enforcingUser1 = enforcingUsers.get(0); in testGetEnforcingUsers_hasEnforcingUser()
167 List<UserManager.EnforcingUser> enforcingUsers = mRestrictionsSet.getEnforcingUsers( in testGetEnforcingUsers_hasMultipleEnforcingUsers()
171 for (UserManager.EnforcingUser enforcingUser : enforcingUsers) { in testGetEnforcingUsers_hasMultipleEnforcingUsers()
190 List<UserManager.EnforcingUser> enforcingUsers = mRestrictionsSet.getEnforcingUsers( in testGetEnforcingUsers_noEnforcingUsers()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DTetherUtilTest.java124 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()
DRestrictedLockUtilsTest.java91 UserManager.EnforcingUser enforcingUser = new UserManager.EnforcingUser(mUserId, in checkIfRestrictionEnforced_deviceOwner()
115 UserManager.EnforcingUser enforcingUser = new UserManager.EnforcingUser(mUserId, in checkIfRestrictionEnforced_profileOwner()
/frameworks/base/services/core/java/com/android/server/pm/
DRestrictionsSet.java159 public @NonNull List<UserManager.EnforcingUser> getEnforcingUsers(String restriction, in getEnforcingUsers()
161 final List<UserManager.EnforcingUser> result = new ArrayList<>(); in getEnforcingUsers()
163 result.add(new UserManager.EnforcingUser(userId, in getEnforcingUsers()
168 result.add(new UserManager.EnforcingUser(UserHandle.USER_ALL, in getEnforcingUsers()
DUserManagerService.java121 import android.os.UserManager.EnforcingUser;
3400 List<EnforcingUser> enforcingUsers = getUserRestrictionSources(restrictionKey, userId); in getUserRestrictionSource()
3410 public List<EnforcingUser> getUserRestrictionSources( in getUserRestrictionSources()
3419 final List<EnforcingUser> result = new ArrayList<>(); in getUserRestrictionSources()
3423 result.add(new EnforcingUser( in getUserRestrictionSources()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManagerInternal.java26 import android.os.UserManager.EnforcingUser;
329 public abstract List<EnforcingUser> getUserRestrictionSources(String restriction, in getUserRestrictionSources()
/frameworks/base/core/java/android/os/
DUserManager.aidl20 parcelable UserManager.EnforcingUser;
DUserManager.java3971 public List<EnforcingUser> getUserRestrictionSources( in getUserRestrictionSources()
6665 public static final class EnforcingUser implements Parcelable { class in UserManager
6672 public EnforcingUser( in EnforcingUser() method in UserManager.EnforcingUser
6678 private EnforcingUser(Parcel in) { in EnforcingUser() method in UserManager.EnforcingUser
6683 …c static final @android.annotation.NonNull Creator<EnforcingUser> CREATOR = new Creator<EnforcingU…
6685 public EnforcingUser createFromParcel(Parcel in) {
6686 return new EnforcingUser(in);
6690 public EnforcingUser[] newArray(int size) {
6691 return new EnforcingUser[size];
DIUserManager.aidl92 List<UserManager.EnforcingUser> getUserRestrictionSources(String restrictionKey, int userId); in getUserRestrictionSources()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java45 import android.os.UserManager.EnforcingUser;
179 final List<UserManager.EnforcingUser> enforcingUsers = in checkIfRestrictionEnforced()
199 final EnforcingUser enforcingUser = enforcingUsers.get(0); in checkIfRestrictionEnforced()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1414 final List<UserManager.EnforcingUser> sources = mUserManager in hasUserRestriction()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java440 import android.os.UserManager.EnforcingUser;
16105 public List<EnforcingUser> getUserRestrictionSources(String restriction, in getUserRestrictionSources()
16116 List<EnforcingUser> enforcingUsers = new ArrayList(); in getUserRestrictionSources()
16142 private List<EnforcingUser> getEnforcingUsers(Set<EnforcingAdmin> admins) { in getEnforcingUsers()
16143 List<EnforcingUser> enforcingUsers = new ArrayList(); in getEnforcingUsers()
16148 enforcingUsers.add(new EnforcingUser(admin.getUserId(), in getEnforcingUsers()
16151 enforcingUsers.add(new EnforcingUser(admin.getUserId(), in getEnforcingUsers()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java2966 doAnswer((Answer<List<UserManager.EnforcingUser>>) invocation -> Collections.singletonList( in testCreateAdminSupportIntent()
2967 new UserManager.EnforcingUser( in testCreateAdminSupportIntent()
/frameworks/base/boot/
Dpreloaded-classes6368 android.os.UserManager$EnforcingUser$1
6369 android.os.UserManager$EnforcingUser
Dboot-image-profile.txt28768 Landroid/os/UserManager$EnforcingUser$1;
28769 Landroid/os/UserManager$EnforcingUser;
/frameworks/base/config/
Dpreloaded-classes6372 android.os.UserManager$EnforcingUser$1
6373 android.os.UserManager$EnforcingUser
Dboot-image-profile.txt38902 Landroid/os/UserManager$EnforcingUser$1;
38903 Landroid/os/UserManager$EnforcingUser;
/frameworks/base/core/api/
Dsystem-current.txt11257 …permission.QUERY_USERS}) public java.util.List<android.os.UserManager.EnforcingUser> getUserRestri…
11311 public static final class UserManager.EnforcingUser implements android.os.Parcelable {
11316 …ll public static final android.os.Parcelable.Creator<android.os.UserManager.EnforcingUser> CREATOR;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt39382 Landroid/os/UserManager$EnforcingUser;-><init>(II)V
39383 Landroid/os/UserManager$EnforcingUser;-><init>(Landroid/os/Parcel;)V
39384 Landroid/os/UserManager$EnforcingUser;->userId:I
39385 Landroid/os/UserManager$EnforcingUser;->userRestrictionSource:I