Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DRingtoneManager.java525 Uri ringtoneUri; in getRingtoneUriForRestore() local
529 ringtoneUri = contentResolver.uncanonicalize(canonicalUri); in getRingtoneUriForRestore()
530 if (ringtoneUri != null) { in getRingtoneUriForRestore()
532 ringtoneUri = contentResolver.canonicalize(ringtoneUri); in getRingtoneUriForRestore()
533 return ringtoneUri; in getRingtoneUriForRestore()
584 ringtoneUri = ContentUris.withAppendedId(baseUri, cursor.getLong(0)); in getRingtoneUriForRestore()
592 ringtoneUri = contentResolver.canonicalize(ringtoneUri); in getRingtoneUriForRestore()
593 Log.v(TAG, "Find a valid result: " + ringtoneUri); in getRingtoneUriForRestore()
594 return ringtoneUri; in getRingtoneUriForRestore()
609 public int getRingtonePosition(Uri ringtoneUri) { in getRingtonePosition() argument
[all …]
/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()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java365 Uri ringtoneUri = null; in setRingtone() local
367 ringtoneUri = in setRingtone()
376 Log.v(TAG, "setActualDefaultRingtoneUri type: " + ringtoneType + ", uri: " + ringtoneUri); in setRingtone()
377 RingtoneManager.setActualDefaultRingtoneUri(mContext, ringtoneType, ringtoneUri); in setRingtone()
394 final Uri ringtoneUri = Uri.parse(value); in getCanonicalRingtoneValue() local
395 final Uri canonicalUri = mContext.getContentResolver().canonicalize(ringtoneUri); in getCanonicalRingtoneValue()
DSettingsProvider.java2037 final Uri ringtoneUri = Uri.parse(value);
2041 try (InputStream in = openRingtone(getContext(), ringtoneUri);
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/
DRingtonePickerActivity.java296 protected void onPostExecute(Uri ringtoneUri) { in onActivityResult()
297 if (ringtoneUri != null) { in onActivityResult()
598 private void setSuccessResultWithRingtone(Uri ringtoneUri) { in setSuccessResultWithRingtone() argument
600 new Intent().putExtra(RingtoneManager.EXTRA_RINGTONE_PICKED_URI, ringtoneUri)); in setSuccessResultWithRingtone()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java475 final Uri ringtoneUri = Uri.parse("file://" in playNotificationTone() local
477 Ringtone tone = mFrameworkObjectProvider.getRingtone(mContext, ringtoneUri); in playNotificationTone()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...