/frameworks/base/services/tests/VpnTests/java/com/android/server/ |
D | VpnTestBase.java | 20 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE; 69 FLAG_MANAGED_PROFILE);
|
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 110 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/ |
D | WorkTileAutoAddableTest.kt | 22 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/ |
D | UserManagerServiceUserInfoTest.java | 26 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()
|
D | UserManagerServiceCreateProfileTest.java | 332 int flags = UserInfo.FLAG_MANAGED_PROFILE; in addProfile()
|
D | UserManagerServiceUserTypeTest.java | 23 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE; 308 () -> UserInfo.getDefaultUserType(FLAG_MANAGED_PROFILE | FLAG_GUEST)); in testGetDefaultUserType()
|
D | UserManagerTest.java | 1078 int requiredFlags = UserInfo.FLAG_MANAGED_PROFILE | UserInfo.FLAG_PROFILE; in testAddManagedProfile()
|
D | BaseShortcutManagerTest.java | 778 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE), 0);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | UserTrackerImplTest.kt | 248 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>()
|
D | UserTrackerImplReceiveTest.kt | 105 UserInfo.FLAG_MANAGED_PROFILE, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 171 UserInfo.FLAG_MANAGED_PROFILE)); in testWorkAccount()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserTypeFactory.java | 25 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE; 178 .setDefaultUserInfoPropertyFlags(FLAG_MANAGED_PROFILE) in getDefaultTypeProfileManaged()
|
D | UserManagerService.java | 290 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/ |
D | KeyguardIndicationControllerTest.java | 20 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/ |
D | RestrictedLockUtilsTest.java | 329 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 | 279 profileId, null, null, UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE); in installChildProfile()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationAttentionHelperTest.java | 2641 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/ |
D | PrivacyDialogControllerTest.kt | 770 UserInfo(ENT_USER_ID, "", UserInfo.FLAG_MANAGED_PROFILE) in <lambda>()
|
D | PrivacyDialogControllerV2Test.kt | 790 UserInfo(ENT_USER_ID, "", UserInfo.FLAG_MANAGED_PROFILE) in <lambda>()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 103 MANAGED_PROFILE_INFO.flags = UserInfo.FLAG_MANAGED_PROFILE;
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/ |
D | TrustManagerServiceTest.java | 802 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/ |
D | UserSwitcherInteractorTest.kt | 977 /* flags= */ UserInfo.FLAG_MANAGED_PROFILE in <lambda>()
|
/frameworks/base/core/api/ |
D | test-current.txt | 1205 field @Deprecated public static final int FLAG_MANAGED_PROFILE = 32; // 0x20
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 13413 Landroid/content/pm/UserInfo;->FLAG_MANAGED_PROFILE:I
|