Searched refs:profileUserId (Results 1 – 6 of 6) sorted by relevance
288 final int profileUserId; in isValidRingtoneUri() local290 profileUserId = mUserId; in isValidRingtoneUri()294 profileUserId = userIdFromUri; in isValidRingtoneUri()297 final UserHandle parent = userManager.getProfileParent(UserHandle.of(profileUserId)); in isValidRingtoneUri()300 "isValidRingtoneUri for URI:" + ringtoneUri + " failed: user " + profileUserId in isValidRingtoneUri()314 if (!(userManager.isManagedProfile(profileUserId) || userManager.getUserProperties( in isValidRingtoneUri()315 UserHandle.of(profileUserId)).isMediaSharedWithParent())) { in isValidRingtoneUri()317 + " failed: user " + profileUserId + " is not a cloned or managed profile"); in isValidRingtoneUri()
118 public void setProfileUserId(int profileUserId) { in setProfileUserId() argument119 mProfileUserId = profileUserId; in setProfileUserId()
115 final int profileUserId = Utils.getManagedProfileId(mUserManager, UserHandle.myUserId()); in getLocationServices() local118 (profileUserId != UserHandle.USER_NULL in getLocationServices()119 && mLocationEnabler.getShareLocationEnforcedAdmin(profileUserId) != null) in getLocationServices()
115 final int profileUserId =119 if (profileUserId != UserHandle.USER_NULL) {
150 final int profileUserId =154 if (profileUserId != UserHandle.USER_NULL) {
548 int profileUserId = Utils.getManagedProfileId(mUserManager, mUserId); in addPreferences() local555 && profileUserId != UserHandle.USER_NULL) { in addPreferences()571 extras.putInt(Intent.EXTRA_USER_ID, profileUserId); in addPreferences()