/frameworks/base/services/core/java/com/android/server/ |
D | SystemService.java | 155 mManagedProfile = userInfo.isManagedProfile(); in TargetUser() 173 public boolean isManagedProfile() { in isManagedProfile() method in SystemService.TargetUser 214 if (!isFull() && !isManagedProfile()) return; in dump() 221 if (isManagedProfile()) { in dump()
|
D | MasterClearReceiver.java | 147 if (userManager.isManagedProfile(userId)) { in wipeUser()
|
/frameworks/base/core/java/android/content/pm/ |
D | CrossProfileApps.java | 241 final int stringRes = mUserManager.isManagedProfile(userHandle.getIdentifier()) in getProfileSwitchingLabel() 263 final boolean isManagedProfile = in getProfileSwitchingIconDrawable() 264 mUserManager.isManagedProfile(userHandle.getIdentifier()); in getProfileSwitchingIconDrawable() 265 if (isManagedProfile) { in getProfileSwitchingIconDrawable()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/ |
D | LockscreenSmartspaceControllerTest.kt | 128 mockUserInfo(userHandlePrimary, isManagedProfile = false), 129 mockUserInfo(userHandleManaged, isManagedProfile = true), 130 mockUserInfo(userHandleSecondary, isManagedProfile = false) 465 private fun mockUserInfo(userHandle: UserHandle, isManagedProfile: Boolean): UserInfo { in mockUserInfo() 468 `when`(userInfo.isManagedProfile).thenReturn(isManagedProfile) in mockUserInfo()
|
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/user/ |
D | TvUserManager.java | 121 public boolean isManagedProfile() { in isManagedProfile() method in TvUserManager 122 return mUserManager.isManagedProfile(mUserId); in isManagedProfile()
|
D | ITvUserManager.java | 54 boolean isManagedProfile(); in isManagedProfile() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | Utils.java | 102 static boolean isManagedProfile(Context context, int userId) { in isManagedProfile() method in Utils 104 return userManager.isManagedProfile(userId); in isManagedProfile()
|
D | AuthCredentialView.java | 225 final boolean isManagedProfile = Utils.isManagedProfile(mContext, mEffectiveUserId); in onAttachedToWindow() 227 if (isManagedProfile) { in onAttachedToWindow() 400 } else if (userToBeWiped.isManagedProfile()) { in getUserTypeForWipe()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | CrossProfileAppsTest.java | 89 when(mUserManager.isManagedProfile(PERSONAL_PROFILE.getIdentifier())).thenReturn(false); in initUsers() 90 when(mUserManager.isManagedProfile(MANAGED_PROFILE.getIdentifier())).thenReturn(true); in initUsers()
|
/frameworks/opt/tv/tvsystem/api/ |
D | current.txt | 52 method public boolean isManagedProfile(); 63 method public boolean isManagedProfile();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayController.java | 245 boolean isManagedProfile = mUserManager.isManagedProfile( 248 if (!mDeviceProvisionedController.isCurrentUserSetup() && isManagedProfile) { 250 + " was received. Deferring... Managed profile? " + isManagedProfile); 520 if (userInfo.isManagedProfile()) { in updateThemeOverlays()
|
/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/applications/ |
D | AppUtils.java | 62 return context.getSystemService(UserManager.class).isManagedProfile(userId) in getAppContentDescription()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 823 if (!isManagedProfile(userHandle)) { in setSeparateProfileChallengeEnabled() 839 return isManagedProfile(userHandle) && hasSeparateChallenge(userHandle); in isSeparateProfileChallengeEnabled() 846 return isManagedProfile(userHandle) && !hasSeparateChallenge(userHandle); in isManagedProfileWithUnifiedChallenge() 853 return isManagedProfile(userHandle) in isSeparateProfileChallengeAllowed() 867 private boolean isManagedProfile(int userHandle) { in isManagedProfile() method in LockPatternUtils 869 return info != null && info.isManagedProfile(); in isManagedProfile()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 358 if (!mUserManager.getUserInfo(managedUserId).isManagedProfile()) { in tieManagedProfileLockIfNecessary() 610 if (!user.isManagedProfile()) { in maybeShowEncryptionNotificationForUser() 743 && mUserManager.getUserInfo(userId).isManagedProfile() in ensureProfileKeystoreUnlocked() 764 if (mUserManager.getUserInfo(userId).isManagedProfile()) { in onUnlockUser() 1031 if (user.isManagedProfile() && !getSeparateProfileChallengeEnabledInternal(user.id)) { in migrateProfileLockKeys() 1409 if (mUserManager.getUserInfo(userId).isManagedProfile()) { in unlockUser() 1418 if (!profile.isManagedProfile()) continue; in unlockUser() 1455 if (mUserManager.getUserInfo(userId).isManagedProfile()) { in getDecryptedPasswordsForAllTiedProfiles() 1463 if (!profile.isManagedProfile()) { in getDecryptedPasswordsForAllTiedProfiles() 1497 if (mUserManager.getUserInfo(userId).isManagedProfile()) { in synchronizeUnifiedWorkChallengeForProfiles() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ManagedProfileControllerImpl.java | 97 if (ui.isManagedProfile()) { in reloadManagedProfiles()
|
D | PhoneStatusBarPolicy.java | 520 boolean isManagedProfile = mUserManager.isManagedProfile(userId); in updateManagedProfile() 523 if (isManagedProfile && (!mKeyguardStateController.isShowing() in updateManagedProfile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | BackupManagerServiceTest.java | 309 when(mUserInfoMock.isManagedProfile()).thenReturn(true); in setBackupServiceActive_forManagedProfileAndCallerSystemUid_serviceCreated() 319 when(mUserInfoMock.isManagedProfile()).thenReturn(true); in setBackupServiceActive_forManagedProfileAndCallerRootUid_serviceCreated() 329 when(mUserInfoMock.isManagedProfile()).thenReturn(true); in setBackupServiceActive_forManagedProfileAndCallerNonRootNonSystem_throws()
|
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/ |
D | RingtonePickerActivity.java | 227 /* isManagedProfile = */ UserManager.get(this).isManagedProfile(mPickerUserId)); in onCreate() 725 public BadgedRingtoneAdapter(Context context, Cursor cursor, boolean isManagedProfile) { in BadgedRingtoneAdapter() argument 727 mIsManagedProfile = isManagedProfile; in BadgedRingtoneAdapter()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 161 if (UserManager.get(context).getUserInfo(userId).isManagedProfile()) { in checkIfKeyguardFeaturesDisabled() 358 if (uInfo.isManagedProfile()) { in getManagedProfileId() 568 if (userInfo.isManagedProfile()) { in checkForLockSetting()
|
D | Utils.java | 125 if (info.isManagedProfile()) { in getUserLabel() 144 if (user.isManagedProfile()) { in getUserIcon()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 102 boolean isManagedProfile(int userId); in isManagedProfile() method
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 909 if (isManagedProfile(userHandle)) { 919 if (isManagedProfile(userHandle)) { 2203 if (profileOwner == null || !mUserManager.isManagedProfile(userId)) { in maybeSetDefaultProfileOwnerUserRestrictions() 2539 Preconditions.checkCallAuthorization(isManagedProfile(userHandle), in getActiveAdminUncheckedLocked() 2709 Preconditions.checkCallingUser(isManagedProfile(getCallerIdentity().getUserId())); in getActiveAdminOrCheckPermissionForCallerLocked() 4007 if (isManagedProfile(userHandle)) { 4029 } else if (userInfo.isManagedProfile()) { 4585 Preconditions.checkArgument(!isManagedProfile(userId)); 4638 Preconditions.checkCallingUser(isManagedProfile(profileUserId)); 4673 Preconditions.checkCallingUser(isManagedProfile(caller.getUserId())); [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileAppsServiceImpl.java | 722 return isManagedProfile(mInjector.getCallingUserId()); 725 private boolean isManagedProfile(@UserIdInt int userId) { 727 -> mContext.getSystemService(UserManager.class).isManagedProfile(userId));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
D | PrivacyDialogController.kt | 174 ui.isManagedProfile, in showDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/ |
D | LockscreenSmartspaceController.kt | 280 if (userInfo.isManagedProfile) { in <lambda>()
|