Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java202 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testGetProfileParent()
217 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testAddManagedProfile()
219 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testAddManagedProfile()
232 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testAddManagedProfile_withDisallowedPackages()
241 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId, PACKAGES); in testAddManagedProfile_withDisallowedPackages()
255 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId, PACKAGES); in testAddManagedProfile_disallowedPackagesInstalledLater()
294 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testCreateProfileForUser_disallowAddManagedProfile()
311 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testCreateProfileForUserEvenWhenDisallowed()
327 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testCreateProfileForUser_disallowAddUser()
364 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testGetUserCreationTime()
DUserLifecycleStressTest.java73 UserInfo.FLAG_MANAGED_PROFILE, mActivityManager.getCurrentUser()); in stopManagedProfileStressTest()
DUserManagerServiceCreateProfileTest.java223 int flags = UserInfo.FLAG_MANAGED_PROFILE; in addProfile()
DBaseShortcutManagerTest.java676 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE), 0);
/frameworks/base/core/java/android/content/pm/
DUserInfo.java72 public static final int FLAG_MANAGED_PROFILE = 0x00000020; field in UserInfo
149 return (flags & FLAG_MANAGED_PROFILE) == FLAG_MANAGED_PROFILE; in isManagedProfile()
/frameworks/base/core/tests/coretests/src/android/content/
DManagedUserContentResolverTest.java42 UserInfo.FLAG_MANAGED_PROFILE, UserHandle.myUserId()); in createUser()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java176 UserInfo.FLAG_MANAGED_PROFILE, mAm.getCurrentUser()); in managedProfileUnlock()
227 UserInfo.FLAG_MANAGED_PROFILE, mAm.getCurrentUser()); in managedProfileStopped()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java56 final File user11dir = getServices().addUser(11, UserInfo.FLAG_MANAGED_PROFILE); in testMigration()
276 final File user10dir = getServices().addUser(10, UserInfo.FLAG_MANAGED_PROFILE); in testMigration3_managedProfileOwner()
DDevicePolicyManagerTest.java4959 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_adminAndProfileMigrated()
4971 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_profileNotMigrated()
4983 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_adminAndProfileNotMigrated()
5127 getServices().addUser(userId, UserInfo.FLAG_MANAGED_PROFILE, UserHandle.USER_SYSTEM); in addManagedProfile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java135 UserInfo.FLAG_MANAGED_PROFILE)); in testWorkAccount()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java159 profileId, null, null, UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE); in installChildProfile()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java294 UserInfo userInfo = new UserInfo(userId, "profile", UserInfo.FLAG_MANAGED_PROFILE); in setUpManagedProfile()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java69 MANAGED_PROFILE_INFO.flags = UserInfo.FLAG_MANAGED_PROFILE;
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java20 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE;
119 static final UserInfo managedProfileA = new UserInfo(45, "ManagedA", FLAG_MANAGED_PROFILE);
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DRecentTasksTest.java160 QUIET_USER_INFO.flags = UserInfo.FLAG_MANAGED_PROFILE | UserInfo.FLAG_QUIET_MODE; in setUp()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java198 UserInfo.FLAG_MANAGED_PROFILE
2590 String restriction = ((flags & UserInfo.FLAG_MANAGED_PROFILE) != 0) in createUserInternal()
2609 final boolean isManagedProfile = (flags & UserInfo.FLAG_MANAGED_PROFILE) != 0; in createUserInternalUnchecked()
DPackageManagerShellCommand.java2024 flags |= UserInfo.FLAG_MANAGED_PROFILE; in runCreateUser()