Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java237 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testGetProfileParent()
252 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testAddManagedProfile()
254 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testAddManagedProfile()
267 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testAddManagedProfile_withDisallowedPackages()
276 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId, PACKAGES); in testAddManagedProfile_withDisallowedPackages()
290 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId, PACKAGES); in testAddManagedProfile_disallowedPackagesInstalledLater()
329 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testCreateProfileForUser_disallowAddManagedProfile()
346 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testCreateProfileForUserEvenWhenDisallowed()
362 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testCreateProfileForUser_disallowAddUser()
399 UserInfo.FLAG_MANAGED_PROFILE, primaryUserId); in testGetUserCreationTime()
DUserLifecycleStressTest.java74 UserInfo.FLAG_MANAGED_PROFILE, mActivityManager.getCurrentUser()); in stopManagedProfileStressTest()
DUserManagerServiceCreateProfileTest.java224 int flags = UserInfo.FLAG_MANAGED_PROFILE; in addProfile()
DBaseShortcutManagerTest.java681 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE), 0);
/frameworks/base/core/java/android/content/pm/
DUserInfo.java74 public static final int FLAG_MANAGED_PROFILE = 0x00000020; field in UserInfo
168 return (flags & FLAG_MANAGED_PROFILE) == FLAG_MANAGED_PROFILE; in isManagedProfile()
/frameworks/base/core/tests/coretests/src/android/content/
DManagedUserContentResolverTest.java43 UserInfo.FLAG_MANAGED_PROFILE, UserHandle.myUserId()); in createUser()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java219 UserInfo.FLAG_MANAGED_PROFILE, mAm.getCurrentUser()); in managedProfileUnlock()
239 UserInfo.FLAG_MANAGED_PROFILE, mAm.getCurrentUser()); in managedProfileUnlock_stopped()
298 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.java4997 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_adminAndProfileMigrated()
5009 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_profileNotMigrated()
5021 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_adminAndProfileNotMigrated()
5465 getServices().addUser(userId, UserInfo.FLAG_MANAGED_PROFILE, UserHandle.USER_SYSTEM); in addManagedProfile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java136 UserInfo.FLAG_MANAGED_PROFILE)); in testWorkAccount()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java180 profileId, null, null, UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE); in installChildProfile()
/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/tests/net/java/com/android/server/connectivity/
DVpnTest.java20 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE;
120 static final UserInfo managedProfileA = new UserInfo(45, "ManagedA", FLAG_MANAGED_PROFILE);
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java89 MANAGED_PROFILE_INFO.flags = UserInfo.FLAG_MANAGED_PROFILE;
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java200 UserInfo.FLAG_MANAGED_PROFILE
2668 String restriction = ((flags & UserInfo.FLAG_MANAGED_PROFILE) != 0) in createUserInternal()
2687 final boolean isManagedProfile = (flags & UserInfo.FLAG_MANAGED_PROFILE) != 0; in createUserInternalUnchecked()
DPackageManagerShellCommand.java2264 flags |= UserInfo.FLAG_MANAGED_PROFILE; in runCreateUser()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentTasksTest.java126 QUIET_USER_INFO.flags = UserInfo.FLAG_MANAGED_PROFILE | UserInfo.FLAG_QUIET_MODE; in setUp()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt17420 Landroid/content/pm/UserInfo;->FLAG_MANAGED_PROFILE:I