/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 237 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()
|
D | UserLifecycleStressTest.java | 74 UserInfo.FLAG_MANAGED_PROFILE, mActivityManager.getCurrentUser()); in stopManagedProfileStressTest()
|
D | UserManagerServiceCreateProfileTest.java | 224 int flags = UserInfo.FLAG_MANAGED_PROFILE; in addProfile()
|
D | BaseShortcutManagerTest.java | 681 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE), 0);
|
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 78 public static final int FLAG_MANAGED_PROFILE = 0x00000020; field in UserInfo 110 FLAG_MANAGED_PROFILE, 217 return (flags & FLAG_MANAGED_PROFILE) == FLAG_MANAGED_PROFILE; in isManagedProfile()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ManagedUserContentResolverTest.java | 43 UserInfo.FLAG_MANAGED_PROFILE, UserHandle.myUserId()); in createUser()
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | UserLifecycleTests.java | 219 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/ |
D | DevicePolicyManagerServiceMigrationTest.java | 56 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()
|
D | DevicePolicyManagerTest.java | 5024 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_adminAndProfileMigrated() 5036 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_profileNotMigrated() 5048 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_adminAndProfileNotMigrated() 5492 getServices().addUser(userId, UserInfo.FLAG_MANAGED_PROFILE, UserHandle.USER_SYSTEM); in addManagedProfile()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 136 UserInfo.FLAG_MANAGED_PROFILE)); in testWorkAccount()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 185 profileId, null, null, UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE); in installChildProfile()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedLockUtilsTest.java | 318 UserInfo userInfo = new UserInfo(userId, "profile", UserInfo.FLAG_MANAGED_PROFILE); in setUpManagedProfile()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 20 import static android.content.pm.UserInfo.FLAG_MANAGED_PROFILE; 129 static final UserInfo managedProfileA = new UserInfo(45, "ManagedA", FLAG_MANAGED_PROFILE);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 89 MANAGED_PROFILE_INFO.flags = UserInfo.FLAG_MANAGED_PROFILE;
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentTasksTest.java | 127 QUIET_USER_INFO.flags = UserInfo.FLAG_MANAGED_PROFILE | UserInfo.FLAG_QUIET_MODE; in setUp()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 207 UserInfo.FLAG_MANAGED_PROFILE 2752 String restriction = ((flags & UserInfo.FLAG_MANAGED_PROFILE) != 0) in createUserInternal()
|
D | PackageManagerShellCommand.java | 2427 flags |= UserInfo.FLAG_MANAGED_PROFILE; in runCreateUser()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 16300 Landroid/content/pm/UserInfo;->FLAG_MANAGED_PROFILE:I
|