Home
last modified time | relevance | path

Searched refs:isManagedProfile (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DUserInfo.java122 public boolean isManagedProfile() { in isManagedProfile() method in UserInfo
135 return !isManagedProfile() || SystemProperties.getBoolean("fw.show_hidden_users", false); in supportsSwitchTo()
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java173 if (userInfo.isManagedProfile()) return userInfo.id; in getManagedProfile()
DResolverActivity.java405 boolean originIsManaged = originUserInfo != null ? originUserInfo.isManagedProfile() in setProfileSwitchMessageId()
407 boolean targetIsManaged = userManager.isManagedProfile(); in setProfileSwitchMessageId()
549 if (userInfo != null && userInfo.isManagedProfile()) { in hasManagedProfile()
1272 if (userManager.isManagedProfile()) { in rebuildList()
DChooserActivity.java721 if (userManager.isManagedProfile()) { in ChooserListAdapter()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java62 if (!user.isPrimary() && !user.isManagedProfile()) { in setContext()
/frameworks/base/core/java/android/os/
DUserManager.java619 public boolean isManagedProfile() { in isManagedProfile() method in UserManager
621 return user != null ? user.isManagedProfile() : false; in isManagedProfile()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java132 assertFalse(mUserManager.isManagedProfile()); in testAddManagedProfile()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1901 if (isManagedProfile(userHandle.getIdentifier())) { in manageNotification()
3392 boolean isManagedProfile = isManagedProfile(userHandle); in wipeDeviceOrUserLocked()
3395 } else if (isManagedProfile) { in wipeDeviceOrUserLocked()
4040 if (isManagedProfile(userHandle)) { in setKeyguardDisabledFeatures()
4074 if (user.isManagedProfile()) { in getKeyguardDisabledFeatures()
4092 if (userInfo.id == userHandle || !userInfo.isManagedProfile()) { in getKeyguardDisabledFeatures()
4719 if(isManagedProfile(userHandle)) { in enforceNotManagedProfile()
4733 private boolean isManagedProfile(int userHandle) { in isManagedProfile() method in DevicePolicyManagerService
4736 return mUserManager.getUserInfo(userHandle).isManagedProfile(); in isManagedProfile()
5017 if (user.isManagedProfile()) { in checkPackagesInPermittedListOrSystem()
[all …]
/frameworks/base/core/java/android/provider/
DCallLog.java616 && !user.isManagedProfile()) { in addCall()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1242 final boolean isManagedProfile = (flags & UserInfo.FLAG_MANAGED_PROFILE) != 0; in createUserInternal()
1254 if (isManagedProfile && !canAddMoreManagedProfiles()) { in createUserInternal()
1257 if (!isGuest && !isManagedProfile && isUserLimitReachedLocked()) { in createUserInternal()
1430 && user.isManagedProfile()) { in removeUser()
DPackageManagerService.java16308 if (userInfo != null && userInfo.isManagedProfile()) { in userNeedsBadging()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java351 mManagedProfileFocused = user != null && user.isManagedProfile(); in profileChanged()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java998 if (userInfo != null && userInfo.isManagedProfile()) { in getUserBadgeForDensity()
1011 if (userInfo != null && userInfo.isManagedProfile()) { in getUserBadgedLabel()
2132 if (userInfo != null && userInfo.isManagedProfile()) { in getBadgeResIdForUser()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java863 if (info == null || info.isManagedProfile()) { in dispatchIntent()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java683 if (user.isManagedProfile()) { in hasNamedWallpaper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java398 if (user != null && user.isManagedProfile()) {
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java5124 if (!oldUser.isManagedProfile()) { in killBackgroundUserProcessesWithRecordAudioPermission()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java19738 if (userInfo.isManagedProfile()) { in switchUser()
19786 if (foreground && userInfo.isManagedProfile()) { in startUser()
/frameworks/base/api/
Dsystem-current.txt25602 method public boolean isManagedProfile();