Searched refs:parentUser (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
D | FakeUserInfoHelper.java | 71 public void setCurrentUserId(int parentUser) { in setCurrentUserId() argument 72 setCurrentUserIds(parentUser, new int[]{parentUser}); in setCurrentUserId() 75 public void setCurrentUserIds(int parentUser, int[] currentProfileUserIds) { in setCurrentUserIds() argument 76 Preconditions.checkArgument(ArrayUtils.contains(currentProfileUserIds, parentUser)); in setCurrentUserIds() 78 mCurrentUserId = parentUser; in setCurrentUserIds() 79 mProfiles.put(parentUser, in setCurrentUserIds()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbSettingsManager.java | 92 UserHandle parentUser; in getSettingsForProfileGroup() local 96 parentUser = parentUserInfo.getUserHandle(); in getSettingsForProfileGroup() 98 parentUser = user; in getSettingsForProfileGroup() 103 parentUser.getIdentifier()); in getSettingsForProfileGroup() 105 settings = new UsbProfileGroupSettingsManager(mContext, parentUser, this, in getSettingsForProfileGroup() 107 mSettingsByProfileGroup.put(parentUser.getIdentifier(), settings); in getSettingsForProfileGroup()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallFinish.java | 213 UserInfo parentUser = userManager.getProfileParent(profileId); in isProfileOfOrSame() local 214 return parentUser != null && parentUser.id == userId; in isProfileOfOrSame()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAppProgress.java | 246 UserInfo parentUser = userManager.getProfileParent(profileId); in isProfileOfOrSame() local 247 return parentUser != null && parentUser.id == userId; in isProfileOfOrSame()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 131 final UserInfo parentUser = um.getProfileParent(adminUserId); in checkIfRestrictionEnforced() local 132 return (parentUser != null && parentUser.id == userId) in checkIfRestrictionEnforced()
|
/frameworks/base/core/java/android/accounts/ |
D | AccountManager.java | 2012 public void addSharedAccountsFromParentUser(UserHandle parentUser, UserHandle user) { 2014 mService.addSharedAccountsFromParentUser(parentUser.getIdentifier(),
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 3627 final UserHandle parentUser = UserHandle.of(getProfileParentId(userHandle)); 3628 clearOrgOwnedProfileOwnerUserRestrictions(parentUser); 3629 clearOrgOwnedProfileOwnerDeviceWidePolicies(parentUser.getIdentifier()); 4589 final int parentUser = getProfileParentId(profileUserId); 4590 enforceUserUnlocked(parentUser); 4595 int complexity = getAggregatedPasswordComplexityLocked(parentUser, true); 4596 PasswordMetrics minMetrics = getPasswordMinimumMetricsUnchecked(parentUser, true); 4598 PasswordMetrics metrics = mLockSettingsInternal.getUserPasswordMetrics(parentUser); 6843 final UserHandle parentUser = UserHandle.of(getProfileParentId(userId)); 6845 () -> clearOrgOwnedProfileOwnerUserRestrictions(parentUser)); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 6903 UserInfo parentUser = new UserInfo(); in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword() local 6904 parentUser.id = CALLER_USER_HANDLE + 10; in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword() 6906 .thenReturn(parentUser.id); in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword() 6912 .getUserPasswordMetrics(parentUser.id)) in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword()
|