Searched refs:FLAG_MANAGED_PROFILE (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 97 public static final int FLAG_MANAGED_PROFILE = 0x00000020; field in UserInfo 151 FLAG_MANAGED_PROFILE, 271 FLAG_GUEST | FLAG_RESTRICTED | FLAG_MANAGED_PROFILE | FLAG_DEMO; in getDefaultUserType() 276 case FLAG_MANAGED_PROFILE: return UserManager.USER_TYPE_PROFILE_MANAGED; in getDefaultUserType()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserInfoTest.java | 23 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE; 184 mUserManagerService.putUserInfo(createUser(100, FLAG_MANAGED_PROFILE, null)); in testUpgradeIfNecessaryLP_9()
|
D | UserManagerServiceUserTypeTest.java | 23 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE; 198 () -> UserInfo.getDefaultUserType(FLAG_MANAGED_PROFILE | FLAG_GUEST)); in testGetDefaultUserType()
|
D | UserManagerServiceCreateProfileTest.java | 328 int flags = UserInfo.FLAG_MANAGED_PROFILE; in addProfile()
|
D | UserManagerTest.java | 379 int requiredFlags = UserInfo.FLAG_MANAGED_PROFILE | UserInfo.FLAG_PROFILE; in testAddManagedProfile()
|
D | BaseShortcutManagerTest.java | 698 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE), 0);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserTypeFactory.java | 23 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE; 105 .setDefaultUserInfoPropertyFlags(FLAG_MANAGED_PROFILE) in getDefaultTypeProfileManaged()
|
D | UserManagerService.java | 220 UserInfo.FLAG_MANAGED_PROFILE 2690 if ((userData.info.flags & UserInfo.FLAG_MANAGED_PROFILE) == 0) { in upgradeIfNecessaryLP()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 19 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE; 273 new UserInfo(10, /* name */ null, /* flags */ FLAG_MANAGED_PROFILE))); in disclosure_orgOwnedDeviceWithManagedProfile_noOwnerName() 329 new UserInfo(10, /* name */ null, FLAG_MANAGED_PROFILE))); in disclosure_orgOwnedDeviceWithManagedProfile_withOwnerName()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 138 UserInfo.FLAG_MANAGED_PROFILE)); in testWorkAccount()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedLockUtilsTest.java | 318 UserInfo userInfo = new UserInfo(userId, "profile", UserInfo.FLAG_MANAGED_PROFILE); in setUpManagedProfile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 199 profileId, null, null, UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE); in installChildProfile()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 20 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE; 129 static final UserInfo managedProfileA = new UserInfo(45, "ManagedA", FLAG_MANAGED_PROFILE);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 93 MANAGED_PROFILE_INFO.flags = UserInfo.FLAG_MANAGED_PROFILE;
|