Searched refs:ringtoneUri (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | RingtoneManager.java | 436 public int getRingtonePosition(Uri ringtoneUri) { in getRingtonePosition() argument 438 if (ringtoneUri == null) return -1; in getRingtonePosition() 456 if (ringtoneUri.equals(ContentUris.withAppendedId(currentUri, cursor in getRingtonePosition() 601 public static Ringtone getRingtone(final Context context, Uri ringtoneUri) { in getRingtone() argument 603 return getRingtone(context, ringtoneUri, -1); in getRingtone() 616 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { in getRingtone() argument 622 r.setUri(ringtoneUri); in getRingtone() 625 Log.e(TAG, "Failed to open ringtone " + ringtoneUri + ": " + ex); in getRingtone() 661 public static void setActualDefaultRingtoneUri(Context context, int type, Uri ringtoneUri) { in setActualDefaultRingtoneUri() argument 667 ringtoneUri != null ? ringtoneUri.toString() : null, context.getUserId()); in setActualDefaultRingtoneUri() [all …]
|
D | MediaScanner.java | 1100 final Uri ringtoneUri = ContentUris.withAppendedId(uri, rowId); 1102 RingtoneManager.getDefaultType(settingUri), ringtoneUri);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 210 Uri ringtoneUri = null; in setRingtone() 212 ringtoneUri = null; in setRingtone() 215 ringtoneUri = mContext.getContentResolver().uncanonicalize(canonicalUri); in setRingtone() 216 if (ringtoneUri == null) { in setRingtone() 223 RingtoneManager.setActualDefaultRingtoneUri(mContext, ringtoneType, ringtoneUri); in setRingtone() 227 final Uri ringtoneUri = Uri.parse(value); in getCanonicalRingtoneValue() local 228 final Uri canonicalUri = mContext.getContentResolver().canonicalize(ringtoneUri); in getCanonicalRingtoneValue()
|
/frameworks/base/core/java/android/preference/ |
D | RingtonePreference.java | 185 protected void onSaveRingtone(Uri ringtoneUri) { in onSaveRingtone() argument 186 persistString(ringtoneUri != null ? ringtoneUri.toString() : ""); in onSaveRingtone()
|