Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DUserInfo.java100 public static final int FLAG_MANAGED_PROFILE = 0x00000020; field in UserInfo
170 FLAG_MANAGED_PROFILE,
299 FLAG_GUEST | FLAG_RESTRICTED | FLAG_MANAGED_PROFILE | FLAG_DEMO; in getDefaultUserType()
304 case FLAG_MANAGED_PROFILE: return UserManager.USER_TYPE_PROFILE_MANAGED; in getDefaultUserType()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java25 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE;
216 mUserManagerService.putUserInfo(createUser(100, FLAG_MANAGED_PROFILE, null)); in testUpgradeIfNecessaryLP_9()
298 .setDefaultUserInfoPropertyFlags(FLAG_MANAGED_PROFILE) in testUpgradeProfileType_updateTypeAndFlags()
322 assertTrue((mUserManagerService.getUserInfo(userId).flags & FLAG_MANAGED_PROFILE) == 0); in testUpgradeProfileType_updateTypeAndFlags()
335 .setDefaultUserInfoPropertyFlags(FLAG_MANAGED_PROFILE) in testUpgradeProfileType_updateRestrictions()
DUserManagerServiceUserTypeTest.java23 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE;
237 () -> UserInfo.getDefaultUserType(FLAG_MANAGED_PROFILE | FLAG_GUEST)); in testGetDefaultUserType()
DUserManagerServiceCreateProfileTest.java329 int flags = UserInfo.FLAG_MANAGED_PROFILE; in addProfile()
DUserManagerTest.java578 int requiredFlags = UserInfo.FLAG_MANAGED_PROFILE | UserInfo.FLAG_PROFILE; in testAddManagedProfile()
DBaseShortcutManagerTest.java776 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE), 0);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DUserTrackerImplTest.kt197 UserInfo.FLAG_MANAGED_PROFILE, in <lambda>()
222 UserInfo.FLAG_MANAGED_PROFILE or UserInfo.FLAG_QUIET_MODE, in <lambda>()
247 UserInfo.FLAG_MANAGED_PROFILE, in <lambda>()
334 UserInfo.FLAG_MANAGED_PROFILE, in <lambda>()
DUserTrackerImplReceiveTest.kt89 UserInfo.FLAG_MANAGED_PROFILE, in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeFactory.java23 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE;
136 .setDefaultUserInfoPropertyFlags(FLAG_MANAGED_PROFILE) in getDefaultTypeProfileManaged()
DUserManagerService.java240 UserInfo.FLAG_MANAGED_PROFILE
3200 if ((userData.info.flags & UserInfo.FLAG_MANAGED_PROFILE) == 0) { in upgradeIfNecessaryLP()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java168 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.java196 profileId, null, null, UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE); in installChildProfile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java21 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE;
429 new UserInfo(10, /* name */ null, /* flags */ FLAG_MANAGED_PROFILE))); in disclosure_orgOwnedDeviceWithManagedProfile_noOrganizationName()
457 new UserInfo(10, /* name */ null, FLAG_MANAGED_PROFILE))); in disclosure_orgOwnedDeviceWithManagedProfile_withOrganizationName()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyDialogControllerTest.kt741 UserInfo(ENT_USER_ID, "", UserInfo.FLAG_MANAGED_PROFILE) in <lambda>()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java92 MANAGED_PROFILE_INFO.flags = UserInfo.FLAG_MANAGED_PROFILE;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DUserInteractorTest.kt838 /* flags= */ UserInfo.FLAG_MANAGED_PROFILE in <lambda>()
/frameworks/base/core/api/
Dtest-current.txt913 field @Deprecated public static final int FLAG_MANAGED_PROFILE = 32; // 0x20
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt13413 Landroid/content/pm/UserInfo;->FLAG_MANAGED_PROFILE:I