Home
last modified time | relevance | path

Searched refs:FLAG_MANAGED_PROFILE (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DUserInfo.java97 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/
DUserManagerServiceUserInfoTest.java23 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE;
184 mUserManagerService.putUserInfo(createUser(100, FLAG_MANAGED_PROFILE, null)); in testUpgradeIfNecessaryLP_9()
DUserManagerServiceUserTypeTest.java23 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE;
198 () -> UserInfo.getDefaultUserType(FLAG_MANAGED_PROFILE | FLAG_GUEST)); in testGetDefaultUserType()
DUserManagerServiceCreateProfileTest.java328 int flags = UserInfo.FLAG_MANAGED_PROFILE; in addProfile()
DUserManagerTest.java379 int requiredFlags = UserInfo.FLAG_MANAGED_PROFILE | UserInfo.FLAG_PROFILE; in testAddManagedProfile()
DBaseShortcutManagerTest.java698 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE), 0);
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeFactory.java23 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE;
105 .setDefaultUserInfoPropertyFlags(FLAG_MANAGED_PROFILE) in getDefaultTypeProfileManaged()
DUserManagerService.java220 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/
DKeyguardIndicationControllerTest.java19 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/
DSecurityControllerTest.java138 UserInfo.FLAG_MANAGED_PROFILE)); in testWorkAccount()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java318 UserInfo userInfo = new UserInfo(userId, "profile", UserInfo.FLAG_MANAGED_PROFILE); in setUpManagedProfile()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java199 profileId, null, null, UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE); in installChildProfile()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java20 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/
DIntentForwarderActivityTest.java93 MANAGED_PROFILE_INFO.flags = UserInfo.FLAG_MANAGED_PROFILE;