Home
last modified time | relevance | path

Searched refs:mUserContext (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DRingtonePreferenceController.java47 private final Context mUserContext; field in RingtonePreferenceController
53 mUserContext = createPackageContextAsUser(getContext(), UserHandle.myUserId()); in RingtonePreferenceController()
85 RingtoneManager.setActualDefaultRingtoneUri(mUserContext, in processActivityResult()
97 Uri currentRingtone = RingtoneManager.getActualDefaultRingtoneUri(mUserContext, in onPrepareRingtonePickerIntent()
/packages/apps/Settings/src/com/android/settings/
DDefaultRingtonePreference.java46 RingtoneManager.setActualDefaultRingtoneUri(mUserContext, getRingtoneType(), ringtoneUri); in onSaveRingtone()
51 return RingtoneManager.getActualDefaultRingtoneUri(mUserContext, getRingtoneType()); in onRestoreRingtone()
DRingtonePreference.java60 protected Context mUserContext; field in RingtonePreference
80 mUserContext = Utils.createPackageContextAsUser(getContext(), mUserId); in setUserId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DDefaultRingtonePreference.java46 RingtoneManager.setActualDefaultRingtoneUri(mUserContext, getRingtoneType(), ringtoneUri); in onSaveRingtone()
51 return RingtoneManager.getActualDefaultRingtoneUri(mUserContext, getRingtoneType()); in onRestoreRingtone()
DRingtonePreference.java60 protected Context mUserContext; field in RingtonePreference
80 mUserContext = Utils.createPackageContextAsUser(getContext(), mUserId); in setUserId()
/packages/apps/Settings/src/com/android/settings/notification/
DDefaultNotificationTonePreference.java58 return Ringtone.getTitle(mUserContext, uri, false /* followSettingsUri */, in updateRingtoneName()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DDefaultNotificationTonePreference.java58 return Ringtone.getTitle(mUserContext, uri, false /* followSettingsUri */, in updateRingtoneName()