Searched refs:isManagedProfile (Results 1 - 25 of 43) sorted by relevance

12

/frameworks/base/core/java/android/content/pm/
H A DUserInfo.java148 public boolean isManagedProfile() { method in class:UserInfo
198 return !isManagedProfile();
212 if (isManagedProfile() || isGuest() || isRestricted()) {
H A DLauncherApps.java417 if (UserHandle.myUserId() != target.getIdentifier() && mUserManager.isManagedProfile()) {
429 if (mUserManager.isManagedProfile()) {
/frameworks/base/core/java/android/util/
H A DIconDrawableFactory.java52 return appInfo.isInstantApp() || mUm.isManagedProfile(userId);
78 if (mUm.isManagedProfile(userId)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DManagedProfileControllerImpl.java84 if (ui.isManagedProfile()) {
H A DPhoneStatusBarPolicy.java476 if (ui.isManagedProfile() && ui.isQuietModeEnabled()) {
491 boolean isManagedProfile = mUserManager.isManagedProfile(userId);
494 if (isManagedProfile &&
/frameworks/base/core/java/android/os/
H A DIUserManager.aidl88 boolean isManagedProfile(int userId);
H A DUserManager.java1051 public boolean isManagedProfile() { method in class:UserManager
1058 mIsManagedProfileCached = mService.isManagedProfile(UserHandle.myUserId());
1075 public boolean isManagedProfile(@UserIdInt int userId) { method in class:UserManager
1077 return isManagedProfile();
1080 return mService.isManagedProfile(userId);
/frameworks/base/services/core/java/com/android/server/locksettings/
H A DLockSettingsService.java259 if (!mUserManager.getUserInfo(managedUserId).isManagedProfile()) {
425 if (!user.isManagedProfile()) {
545 if (isSecure && profile.isManagedProfile()) {
554 if (mUserManager.getUserInfo(userId).isManagedProfile()) {
712 if (userInfo.isManagedProfile() && mStorage.hasChildProfileLock(userInfo.id)) {
1108 if (!mUserManager.getUserInfo(userId).isManagedProfile()) {
1123 return userInfo.isManagedProfile()
1130 if (mUserManager.getUserInfo(userId).isManagedProfile()) {
1138 if (!profile.isManagedProfile()) {
1172 if (mUserManager.getUserInfo(userId).isManagedProfile()) {
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java931 if (!isManagedProfile(userHandle)) {
947 return isManagedProfile(userHandle) && hasSeparateChallenge(userHandle);
954 return isManagedProfile(userHandle) && !hasSeparateChallenge(userHandle);
961 return isManagedProfile(userHandle)
982 private boolean isManagedProfile(int userHandle) { method in class:LockPatternUtils
984 return info != null && info.isManagedProfile();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DUtils.java82 if (info.isManagedProfile()) {
101 if (user.isManagedProfile()) {
H A DRestrictedLockUtils.java151 if (UserManager.get(context).getUserInfo(userId).isManagedProfile()) {
324 if (uInfo.isManagedProfile()) {
465 if (userInfo.isManagedProfile()) {
525 if (userInfo.isManagedProfile()) {
/frameworks/base/core/java/com/android/internal/app/
H A DIntentForwarderActivity.java193 if (userInfo.isManagedProfile()) return userInfo.id;
H A DResolverActivity.java418 boolean originIsManaged = originUserInfo != null ? originUserInfo.isManagedProfile()
420 boolean targetIsManaged = userManager.isManagedProfile();
564 if (userInfo != null && userInfo.isManagedProfile()) {
1531 if (userManager.isManagedProfile()) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DUserAdapter.java57 if (userInfo.isManagedProfile()) {
/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerService.java765 if (profile == null || !profile.isManagedProfile()) {
802 if (info == null || !info.isManagedProfile()) {
931 public boolean isManagedProfile(int userId) { method in class:UserManagerService
942 return userInfo != null && userInfo.isManagedProfile();
2396 final boolean isManagedProfile = (flags & UserInfo.FLAG_MANAGED_PROFILE) != 0;
2412 if (isManagedProfile && !canAddMoreManagedProfiles(parentId, false)) {
2416 if (!isGuest && !isManagedProfile && !isDemo && isUserLimitReached()) {
2452 && !isGuest && !isManagedProfile && getPrimaryUser() == null) {
2479 if (isManagedProfile && parentId != UserHandle.USER_NULL) {
2489 if (isManagedProfile) {
[all...]
H A DLauncherAppsService.java243 if (callingUserInfo.isManagedProfile()) {
691 if (mUm.isManagedProfile(listeningUser.getIdentifier())) {
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DBaseSettingsProviderTest.java318 if (!user.isPrimary() && !user.isManagedProfile()) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsTaskLoadPlan.java93 if (user.isManagedProfile() && user.isQuietModeEnabled()) {
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceMigrationTest.java280 when(getServices().userManager.isManagedProfile(eq(10))).thenReturn(true);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java1966 if (profileOwner == null || !mUserManager.isManagedProfile(userId)) {
3507 if (!userInfo.isManagedProfile()) {
4319 if (!isManagedProfile(userHandle)) {
4321 if (userInfo.isManagedProfile()) {
4602 if (userInfo.isManagedProfile()) {
4799 if (userInfo.isManagedProfile()){
5341 } else if (isManagedProfile(userId)) {
5375 } else if (isManagedProfile(userId)) {
5471 if (isManagedProfile(userHandle) && !isSeparateProfileChallengeEnabled(userHandle)) {
6412 if (isManagedProfile(userHandl
7385 private boolean isManagedProfile(int userHandle) { method in class:DevicePolicyManagerService
9933 public boolean isManagedProfile(ComponentName admin) { method in class:DevicePolicyManagerService
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DManagedServices.java1107 if (!mUserProfiles.isManagedProfile(userId)) {
1162 public boolean isManagedProfile(int userId) { method in class:ManagedServices.UserProfiles
1165 return user != null && user.isManagedProfile();
/frameworks/base/core/java/android/provider/
H A DCallLog.java828 return userInfo != null && !userInfo.isManagedProfile();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSecurityControllerImpl.java186 if (userInfo.isManagedProfile()) {
/frameworks/base/services/core/java/com/android/server/am/
H A DUserController.java287 if (mInjector.getUserManager().isManagedProfile(userId)) {
367 if (getUserInfo(userId).isManagedProfile()) {
392 if (info.isManagedProfile()) {
845 if (foreground && userInfo.isManagedProfile()) {
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java1285 if (!isManagedProfile(user.getIdentifier())) {
1348 if (isManagedProfile(user.getIdentifier())) {
1356 if (isManagedProfile(user.getIdentifier())) {
2546 private boolean isManagedProfile(int userId) { method in class:ApplicationPackageManager
2547 return getUserManager().isManagedProfile(userId);

Completed in 2534 milliseconds

12