Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DRingtoneManager.java511 public int getRingtonePosition(Uri ringtoneUri) { in getRingtonePosition() argument
513 if (ringtoneUri == null) return -1; in getRingtonePosition()
514 final long ringtoneId = ContentUris.parseId(ringtoneUri); in getRingtonePosition()
668 public static Ringtone getRingtone(final Context context, Uri ringtoneUri) { in getRingtone() argument
670 return getRingtone(context, ringtoneUri, -1); in getRingtone()
688 final Context context, Uri ringtoneUri, in getRingtone() argument
691 return getRingtone(context, ringtoneUri, -1 /* streamType */, volumeShaperConfig); in getRingtone()
706 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { in getRingtone() argument
707 return getRingtone(context, ringtoneUri, streamType, null /* volumeShaperConfig */); in getRingtone()
724 final Context context, Uri ringtoneUri, int streamType, in getRingtone() argument
[all …]
DMediaScanner.java1187 final Uri ringtoneUri = ContentUris.withAppendedId(uri, rowId);
1189 RingtoneManager.getDefaultType(settingUri), ringtoneUri);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java216 final Uri ringtoneUri; in setRingtone()
218 ringtoneUri = null; in setRingtone()
221 ringtoneUri = mContext.getContentResolver().uncanonicalize(canonicalUri); in setRingtone()
222 if (ringtoneUri == null) { in setRingtone()
229 RingtoneManager.setActualDefaultRingtoneUri(mContext, ringtoneType, ringtoneUri); in setRingtone()
246 final Uri ringtoneUri = Uri.parse(value); in getCanonicalRingtoneValue() local
247 final Uri canonicalUri = mContext.getContentResolver().canonicalize(ringtoneUri); in getCanonicalRingtoneValue()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DVoicemailNotificationSettingsUtil.java66 public static void setRingtoneUri(Context context, Uri ringtoneUri) { in setRingtoneUri() argument
68 String ringtoneUriStr = ringtoneUri != null ? ringtoneUri.toString() : ""; in setRingtoneUri()
/frameworks/base/core/java/android/preference/
DRingtonePreference.java194 protected void onSaveRingtone(Uri ringtoneUri) { in onSaveRingtone() argument
195 persistString(ringtoneUri != null ? ringtoneUri.toString() : ""); in onSaveRingtone()