Home
last modified time | relevance | path

Searched refs:profileUserId (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DRingtonePreference.java288 final int profileUserId; in isValidRingtoneUri() local
290 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()
DRestrictedListPreference.java118 public void setProfileUserId(int profileUserId) { in setProfileUserId() argument
119 mProfileUserId = profileUserId; in setProfileUserId()
/packages/apps/Settings/src/com/android/settings/location/
DLocationInjectedServiceBasePreferenceController.java115 final int profileUserId = Utils.getManagedProfileId(mUserManager, UserHandle.myUserId()); in getLocationServices() local
118 (profileUserId != UserHandle.USER_NULL in getLocationServices()
119 && mLocationEnabler.getShareLocationEnforcedAdmin(profileUserId) != null) in getLocationServices()
/packages/apps/Settings/src/com/android/settings/privacy/
DPrivacyDashboardFragment.java115 final int profileUserId =
119 if (profileUserId != UserHandle.USER_NULL) {
/packages/apps/Settings/src/com/android/settings/safetycenter/
DMoreSecurityPrivacyFragment.java150 final int profileUserId =
154 if (profileUserId != UserHandle.USER_NULL) {
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java548 int profileUserId = Utils.getManagedProfileId(mUserManager, mUserId); in addPreferences() local
555 && profileUserId != UserHandle.USER_NULL) { in addPreferences()
571 extras.putInt(Intent.EXTRA_USER_ID, profileUserId); in addPreferences()