Home
last modified time | relevance | path

Searched refs:parentUser (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java95 UserHandle parentUser; in getSettingsForProfileGroup() local
99 parentUser = parentUserInfo.getUserHandle(); in getSettingsForProfileGroup()
101 parentUser = user; in getSettingsForProfileGroup()
106 parentUser.getIdentifier()); in getSettingsForProfileGroup()
108 settings = new UsbProfileGroupSettingsManager(mContext, parentUser, this, in getSettingsForProfileGroup()
110 mSettingsByProfileGroup.put(parentUser.getIdentifier(), settings); in getSettingsForProfileGroup()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallFinish.java213 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/
DUninstallAppProgress.java246 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/
DRestrictedLockUtilsInternal.java114 final UserInfo parentUser = um.getProfileParent(adminUserId); in checkIfRestrictionEnforced() local
115 return (parentUser != null && parentUser.id == userId) in checkIfRestrictionEnforced()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java2328 int parentUser = (ui != null) ? ui.id : UserHandle.USER_NULL; in checkIfCallerIsForegroundUser() local
2333 valid = (callingUser == foregroundUser) || parentUser == foregroundUser in checkIfCallerIsForegroundUser()
2337 + callingUser + " parentUser=" + parentUser + " foregroundUser=" in checkIfCallerIsForegroundUser()
/frameworks/base/core/java/android/accounts/
DAccountManager.java1899 public void addSharedAccountsFromParentUser(UserHandle parentUser, UserHandle user) {
1901 mService.addSharedAccountsFromParentUser(parentUser.getIdentifier(),
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java5266 UserInfo parentUser = new UserInfo(); in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword() local
5267 parentUser.id = DpmMockContext.CALLER_USER_HANDLE + 10; in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword()
5269 .thenReturn(parentUser.id); in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword()
5275 parentUser.id, in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8819 UserInfo parentUser = mUserManager.getProfileParent(userHandle); in getProfileParentId() local
8820 return parentUser != null ? parentUser.id : userHandle; in getProfileParentId()