Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java90 UserHandle parentUser; in getSettingsForProfileGroup() local
94 parentUser = parentUserInfo.getUserHandle(); in getSettingsForProfileGroup()
96 parentUser = user; in getSettingsForProfileGroup()
101 parentUser.getIdentifier()); in getSettingsForProfileGroup()
103 settings = new UsbProfileGroupSettingsManager(mContext, parentUser, this); in getSettingsForProfileGroup()
104 mSettingsByProfileGroup.put(parentUser.getIdentifier(), settings); in getSettingsForProfileGroup()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java106 final UserInfo parentUser = um.getProfileParent(adminUserId); in checkIfRestrictionEnforced() local
107 return (parentUser != null && parentUser.id == userId) in checkIfRestrictionEnforced()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java1989 int parentUser = (ui != null) ? ui.id : UserHandle.USER_NULL; in checkIfCallerIsForegroundUser() local
1994 valid = (callingUser == foregroundUser) || parentUser == foregroundUser in checkIfCallerIsForegroundUser()
1998 + callingUser + " parentUser=" + parentUser + " foregroundUser=" in checkIfCallerIsForegroundUser()
/frameworks/base/core/java/android/accounts/
DAccountManager.java1868 public void addSharedAccountsFromParentUser(UserHandle parentUser, UserHandle user) {
1870 mService.addSharedAccountsFromParentUser(parentUser.getIdentifier(),
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8057 UserInfo parentUser = mUserManager.getProfileParent(userHandle); in getProfileParentId() local
8058 return parentUser != null ? parentUser.id : userHandle; in getProfileParentId()