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/
DRestrictionsSetTest.java147 List<UserManager.EnforcingUser> enforcingUsers = mRestrictionsSet.getEnforcingUsers( in testGetEnforcingUsers_hasEnforcingUser()
150 UserManager.EnforcingUser enforcingUser1 = enforcingUsers.get(0); in testGetEnforcingUsers_hasEnforcingUser()
164 List<UserManager.EnforcingUser> enforcingUsers = mRestrictionsSet.getEnforcingUsers( in testGetEnforcingUsers_hasMultipleEnforcingUsers()
168 for (UserManager.EnforcingUser enforcingUser : enforcingUsers) { in testGetEnforcingUsers_hasMultipleEnforcingUsers()
187 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()
109 UserManager.EnforcingUser enforcingUser = new UserManager.EnforcingUser(mUserId, in checkIfRestrictionEnforced_profileOwner()
/frameworks/base/services/core/java/com/android/server/pm/
DRestrictionsSet.java141 public @NonNull List<UserManager.EnforcingUser> getEnforcingUsers(String restriction, in getEnforcingUsers()
143 final List<UserManager.EnforcingUser> result = new ArrayList<>(); in getEnforcingUsers()
152 private UserManager.EnforcingUser getEnforcingUser(@UserIdInt int userId, in getEnforcingUser()
157 return new UserManager.EnforcingUser(userId, source); in getEnforcingUser()
DUserManagerService.java85 import android.os.UserManager.EnforcingUser;
2343 List<EnforcingUser> enforcingUsers = getUserRestrictionSources(restrictionKey, userId); in getUserRestrictionSource()
2353 public List<EnforcingUser> getUserRestrictionSources( in getUserRestrictionSources()
2362 final List<EnforcingUser> result = new ArrayList<>(); in getUserRestrictionSources()
2366 result.add(new EnforcingUser( in getUserRestrictionSources()
/frameworks/base/core/java/android/os/
DUserManager.aidl20 parcelable UserManager.EnforcingUser;
DUserManager.java3009 public List<EnforcingUser> getUserRestrictionSources( in getUserRestrictionSources()
5370 public static final class EnforcingUser implements Parcelable { class in UserManager
5377 public EnforcingUser( in EnforcingUser() method in UserManager.EnforcingUser
5383 private EnforcingUser(Parcel in) { in EnforcingUser() method in UserManager.EnforcingUser
5388 …c static final @android.annotation.NonNull Creator<EnforcingUser> CREATOR = new Creator<EnforcingU…
5390 public EnforcingUser createFromParcel(Parcel in) {
5391 return new EnforcingUser(in);
5395 public EnforcingUser[] newArray(int size) {
5396 return new EnforcingUser[size];
DIUserManager.aidl84 List<UserManager.EnforcingUser> getUserRestrictionSources(String restrictionKey, int userId); in getUserRestrictionSources()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java102 final List<UserManager.EnforcingUser> enforcingUsers = in checkIfRestrictionEnforced()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1393 final List<UserManager.EnforcingUser> sources = mUserManager in hasUserRestriction()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java13499 List<UserManager.EnforcingUser> sources = mUserManager
13528 final UserManager.EnforcingUser enforcingUser = sources.get(0);
13571 private List<UserManager.EnforcingUser> getDevicePolicySources(
13572 List<UserManager.EnforcingUser> sources) {
13574 List<UserManager.EnforcingUser> realSources = new ArrayList<>(sizeBefore);
13576 UserManager.EnforcingUser source = sources.get(i);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java2959 doAnswer((Answer<List<UserManager.EnforcingUser>>) invocation -> Collections.singletonList( in testCreateAdminSupportIntent()
2960 new UserManager.EnforcingUser( in testCreateAdminSupportIntent()
/frameworks/base/boot/
Dpreloaded-classes5924 android.os.UserManager$EnforcingUser$1
5925 android.os.UserManager$EnforcingUser
Dboot-image-profile.txt28410 Landroid/os/UserManager$EnforcingUser$1;
28411 Landroid/os/UserManager$EnforcingUser;
/frameworks/base/core/api/
Dsystem-current.txt9810 …permission.QUERY_USERS}) public java.util.List<android.os.UserManager.EnforcingUser> getUserRestri…
9861 public static final class UserManager.EnforcingUser implements android.os.Parcelable {
9866 …ll public static final android.os.Parcelable.Creator<android.os.UserManager.EnforcingUser> CREATOR;
/frameworks/base/config/
Dpreloaded-classes5928 android.os.UserManager$EnforcingUser$1
5929 android.os.UserManager$EnforcingUser
Dboot-image-profile.txt38378 Landroid/os/UserManager$EnforcingUser$1;
38379 Landroid/os/UserManager$EnforcingUser;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt40025 Landroid/os/UserManager$EnforcingUser;-><init>(II)V
40026 Landroid/os/UserManager$EnforcingUser;-><init>(Landroid/os/Parcel;)V
40027 Landroid/os/UserManager$EnforcingUser;->userId:I
40028 Landroid/os/UserManager$EnforcingUser;->userRestrictionSource:I
/frameworks/base/services/
Dart-profile36095 PLcom/android/server/pm/RestrictionsSet;->getEnforcingUser(II)Landroid/os/UserManager$EnforcingUser;