Home
last modified time | relevance | path

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

/frameworks/base/services/tests/VpnTests/java/com/android/server/
DVpnTestBase.java20 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE;
69 FLAG_MANAGED_PROFILE);
/frameworks/base/core/java/android/content/pm/
DUserInfo.java110 public static final int FLAG_MANAGED_PROFILE = 0x00000020; field in UserInfo
208 FLAG_MANAGED_PROFILE,
345 FLAG_GUEST | FLAG_RESTRICTED | FLAG_MANAGED_PROFILE | FLAG_DEMO; in getDefaultUserType()
350 case FLAG_MANAGED_PROFILE: return UserManager.USER_TYPE_PROFILE_MANAGED; in getDefaultUserType()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DWorkTileAutoAddableTest.kt22 import android.content.pm.UserInfo.FLAG_MANAGED_PROFILE
194 UserInfo(10, "", FLAG_PROFILE or FLAG_MANAGED_PROFILE or FLAG_DISABLED)
195 private val USER_INFO_WORK_ENABLED = UserInfo(10, "", FLAG_PROFILE or FLAG_MANAGED_PROFILE)
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java26 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE;
288 mUserManagerService.putUserInfo(createUser(100, FLAG_MANAGED_PROFILE, null)); in testUpgradeIfNecessaryLP_9()
409 .setDefaultUserInfoPropertyFlags(FLAG_MANAGED_PROFILE) in testUpgradeProfileType_updateTypeAndFlags()
433 assertTrue((mUserManagerService.getUserInfo(userId).flags & FLAG_MANAGED_PROFILE) == 0); in testUpgradeProfileType_updateTypeAndFlags()
446 .setDefaultUserInfoPropertyFlags(FLAG_MANAGED_PROFILE) in testUpgradeProfileType_updateRestrictions()
DUserManagerServiceCreateProfileTest.java332 int flags = UserInfo.FLAG_MANAGED_PROFILE; in addProfile()
DUserManagerServiceUserTypeTest.java23 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE;
308 () -> UserInfo.getDefaultUserType(FLAG_MANAGED_PROFILE | FLAG_GUEST)); in testGetDefaultUserType()
DUserManagerTest.java1078 int requiredFlags = UserInfo.FLAG_MANAGED_PROFILE | UserInfo.FLAG_PROFILE; in testAddManagedProfile()
DBaseShortcutManagerTest.java778 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE), 0);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DUserTrackerImplTest.kt248 UserInfo.FLAG_MANAGED_PROFILE, in <lambda>()
274 UserInfo.FLAG_MANAGED_PROFILE or UserInfo.FLAG_QUIET_MODE, in <lambda>()
300 UserInfo.FLAG_MANAGED_PROFILE, in <lambda>()
423 UserInfo.FLAG_MANAGED_PROFILE, in <lambda>()
DUserTrackerImplReceiveTest.kt105 UserInfo.FLAG_MANAGED_PROFILE, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java171 UserInfo.FLAG_MANAGED_PROFILE)); in testWorkAccount()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeFactory.java25 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE;
178 .setDefaultUserInfoPropertyFlags(FLAG_MANAGED_PROFILE) in getDefaultTypeProfileManaged()
DUserManagerService.java290 UserInfo.FLAG_MANAGED_PROFILE
4458 if ((userData.info.flags & UserInfo.FLAG_MANAGED_PROFILE) == 0) { in upgradeIfNecessaryLP()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java20 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE;
230 new UserInfo(10, /* name */ null, /* flags */ FLAG_MANAGED_PROFILE))); in disclosure_orgOwnedDeviceWithManagedProfile_noOrganizationName()
258 new UserInfo(10, /* name */ null, FLAG_MANAGED_PROFILE))); in disclosure_orgOwnedDeviceWithManagedProfile_withOrganizationName()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java329 UserInfo userInfo = new UserInfo(userId, "profile", UserInfo.FLAG_MANAGED_PROFILE); in setUpManagedProfile()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java279 profileId, null, null, UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE); in installChildProfile()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAttentionHelperTest.java2641 UserInfo.FLAG_PROFILE | UserInfo.FLAG_MANAGED_PROFILE, in testBeepVolume_politeNotif_workProfile()
2642 UserInfo.getDefaultUserType(UserInfo.FLAG_MANAGED_PROFILE)))); in testBeepVolume_politeNotif_workProfile()
2683 UserInfo.FLAG_PROFILE | UserInfo.FLAG_MANAGED_PROFILE, in testBeepVolume_politeNotif_workProfile_disabled()
2684 UserInfo.getDefaultUserType(UserInfo.FLAG_MANAGED_PROFILE)))); in testBeepVolume_politeNotif_workProfile_disabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyDialogControllerTest.kt770 UserInfo(ENT_USER_ID, "", UserInfo.FLAG_MANAGED_PROFILE) in <lambda>()
DPrivacyDialogControllerV2Test.kt790 UserInfo(ENT_USER_ID, "", UserInfo.FLAG_MANAGED_PROFILE) in <lambda>()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java103 MANAGED_PROFILE_INFO.flags = UserInfo.FLAG_MANAGED_PROFILE;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/
DTrustManagerServiceTest.java802 UserInfo profile = new UserInfo(PROFILE_USER_ID, "profile", UserInfo.FLAG_MANAGED_PROFILE); in setupMocksForProfile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DUserSwitcherInteractorTest.kt977 /* flags= */ UserInfo.FLAG_MANAGED_PROFILE in <lambda>()
/frameworks/base/core/api/
Dtest-current.txt1205 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