/frameworks/base/core/java/android/preference/ |
D | RingtonePreference.java | 24 import android.media.RingtoneManager; 69 RingtoneManager.TYPE_RINGTONE); in RingtonePreference() 151 Intent intent = new Intent(RingtoneManager.ACTION_RINGTONE_PICKER); in onClick() 170 ringtonePickerIntent.putExtra(RingtoneManager.EXTRA_RINGTONE_EXISTING_URI, in onPrepareRingtonePickerIntent() 173 ringtonePickerIntent.putExtra(RingtoneManager.EXTRA_RINGTONE_SHOW_DEFAULT, mShowDefault); in onPrepareRingtonePickerIntent() 175 ringtonePickerIntent.putExtra(RingtoneManager.EXTRA_RINGTONE_DEFAULT_URI, in onPrepareRingtonePickerIntent() 176 RingtoneManager.getDefaultUri(getRingtoneType())); in onPrepareRingtonePickerIntent() 179 ringtonePickerIntent.putExtra(RingtoneManager.EXTRA_RINGTONE_SHOW_SILENT, mShowSilent); in onPrepareRingtonePickerIntent() 180 ringtonePickerIntent.putExtra(RingtoneManager.EXTRA_RINGTONE_TYPE, mRingtoneType); in onPrepareRingtonePickerIntent() 181 ringtonePickerIntent.putExtra(RingtoneManager.EXTRA_RINGTONE_TITLE, getTitle()); in onPrepareRingtonePickerIntent() [all …]
|
D | SeekBarVolumizer.java | 30 import android.media.RingtoneManager; 306 mRingtone = RingtoneManager.getRingtone(mContext, mDefaultUri); in onInitSample()
|
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/ |
D | RingtonePickerActivity.java | 29 import android.media.RingtoneManager; 81 private RingtoneManager mRingtoneManager; 187 mType = intent.getIntExtra(RingtoneManager.EXTRA_RINGTONE_TYPE, -1); in onCreate() 194 mHasDefaultItem = intent.getBooleanExtra(RingtoneManager.EXTRA_RINGTONE_SHOW_DEFAULT, true); in onCreate() 195 mUriForDefaultItem = intent.getParcelableExtra(RingtoneManager.EXTRA_RINGTONE_DEFAULT_URI); in onCreate() 197 if (mType == RingtoneManager.TYPE_NOTIFICATION) { in onCreate() 199 } else if (mType == RingtoneManager.TYPE_ALARM) { in onCreate() 201 } else if (mType == RingtoneManager.TYPE_RINGTONE) { in onCreate() 210 mHasSilentItem = intent.getBooleanExtra(RingtoneManager.EXTRA_RINGTONE_SHOW_SILENT, true); in onCreate() 213 RingtoneManager.EXTRA_RINGTONE_AUDIO_ATTRIBUTES_FLAGS, in onCreate() [all …]
|
D | RingtoneOverlayService.java | 21 import android.media.RingtoneManager; 109 RingtoneManager.setActualDefaultRingtoneUri(this, in set() 110 RingtoneManager.getDefaultType(settingUri), uri); in set()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 30 import android.media.RingtoneManager; 265 RingtoneManager.setActualDefaultRingtoneUri(mContext, ringtoneType, ringtoneUri); in setRingtone() 271 return RingtoneManager.TYPE_RINGTONE; in getRingtoneType() 273 return RingtoneManager.TYPE_NOTIFICATION; in getRingtoneType() 275 return RingtoneManager.TYPE_ALARM; in getRingtoneType()
|
/frameworks/base/media/java/android/media/ |
D | RingtoneManager.java | 77 public class RingtoneManager { class 272 public RingtoneManager(Activity activity) { in RingtoneManager() method in RingtoneManager 286 public RingtoneManager(Activity activity, boolean includeParentRingtones) { in RingtoneManager() method in RingtoneManager 300 public RingtoneManager(Context context) { in RingtoneManager() method in RingtoneManager 313 public RingtoneManager(Context context, boolean includeParentRingtones) { in RingtoneManager() method in RingtoneManager 542 final RingtoneManager rm = new RingtoneManager(context); in getValidRingtoneUri() 1141 RingtoneManager.setActualDefaultRingtoneUri(context, type, ringtoneUri); in ensureDefaultRingtones()
|
D | Ringtone.java | 242 Uri actualUri = RingtoneManager.getActualDefaultRingtoneUri(context, in getTitle() 243 RingtoneManager.getDefaultType(uri)); in getTitle() 464 int ringtoneType = RingtoneManager.getDefaultType(mUri); in playFallbackRingtone() 466 RingtoneManager.getActualDefaultRingtoneUri(mContext, ringtoneType) != null) { in playFallbackRingtone()
|
D | ExternalRingtonesCursorWrapper.java | 38 if (index == RingtoneManager.URI_COLUMN_INDEX) { in getString()
|
D | MediaPlayer.java | 1064 final int type = RingtoneManager.getDefaultType(uri); in setDataSource() 1065 final Uri cacheUri = RingtoneManager.getCacheForType(type, context.getUserId()); in setDataSource() 1066 final Uri actualUri = RingtoneManager.getActualDefaultRingtoneUri(context, type); in setDataSource()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DockObserver.java | 25 import android.media.RingtoneManager; 207 final Ringtone sfx = RingtoneManager.getRingtone( in handleDockStateChange()
|
/frameworks/base/core/java/com/android/internal/accessibility/ |
D | AccessibilityShortcutController.java | 38 import android.media.RingtoneManager; 612 return RingtoneManager.getRingtone(ctx, uri); in getRingtone()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 31 import android.media.RingtoneManager; 821 final Ringtone sfx = RingtoneManager.getRingtone(mContext, soundUri); in playChargingStartedFeedback()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 39 import android.media.RingtoneManager; 803 RingtoneManager.ACTION_RINGTONE_PICKER, userId), in grantDefaultSystemHandlerPermissions()
|
/frameworks/base/api/ |
D | lint-baseline.txt | 894 RequiresPermission: android.media.RingtoneManager#getCursor(): 896 RequiresPermission: android.media.RingtoneManager#getValidRingtoneUri(android.content.Context):
|
D | system-current.txt | 4317 public class RingtoneManager {
|
D | current.txt | 27416 public class RingtoneManager { 27417 ctor public RingtoneManager(android.app.Activity); 27418 ctor public RingtoneManager(android.content.Context);
|
/frameworks/base/config/ |
D | preloaded-classes | 3872 android.media.RingtoneManager
|
D | boot-image-profile.txt | 13366 HSPLandroid/media/RingtoneManager;->getActualDefaultRingtoneUri(Landroid/content/Context;I)Landroid… 13367 HSPLandroid/media/RingtoneManager;->getCacheForType(II)Landroid/net/Uri; 13368 HSPLandroid/media/RingtoneManager;->getDefaultType(Landroid/net/Uri;)I 13369 HSPLandroid/media/RingtoneManager;->getRingtone(Landroid/content/Context;Landroid/net/Uri;ILandroid… 44059 Landroid/media/RingtoneManager;
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 4265 public class RingtoneManager {
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 15621 public class RingtoneManager { 15622 ctor public RingtoneManager(android.app.Activity); 15623 ctor public RingtoneManager(android.content.Context);
|