Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DRingtoneManager.java511 public int getRingtonePosition(Uri ringtoneUri) { in getRingtonePosition() argument
512 if (ringtoneUri == null) return -1; in getRingtonePosition()
513 final long ringtoneId = ContentUris.parseId(ringtoneUri); in getRingtonePosition()
664 public static Ringtone getRingtone(final Context context, Uri ringtoneUri) { in getRingtone() argument
666 return getRingtone(context, ringtoneUri, -1); in getRingtone()
684 final Context context, Uri ringtoneUri, in getRingtone() argument
687 return getRingtone(context, ringtoneUri, -1 /* streamType */, volumeShaperConfig); in getRingtone()
702 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { in getRingtone() argument
703 return getRingtone(context, ringtoneUri, streamType, null /* volumeShaperConfig */); in getRingtone()
720 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/base/core/java/android/preference/
DRingtonePreference.java194 protected void onSaveRingtone(Uri ringtoneUri) { in onSaveRingtone() argument
195 persistString(ringtoneUri != null ? ringtoneUri.toString() : ""); in onSaveRingtone()
/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/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...