Home
last modified time | relevance | path

Searched refs:RingtoneManager (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/preference/
DRingtonePreference.java24 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 …]
DSeekBarVolumizer.java30 import android.media.RingtoneManager;
306 mRingtone = RingtoneManager.getRingtone(mContext, mDefaultUri); in onInitSample()
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/
DRingtonePickerActivity.java29 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 …]
DRingtoneOverlayService.java21 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/
DSettingsHelper.java30 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/
DRingtoneManager.java77 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()
DRingtone.java242 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()
DExternalRingtonesCursorWrapper.java38 if (index == RingtoneManager.URI_COLUMN_INDEX) { in getString()
DMediaPlayer.java1064 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/
DDockObserver.java25 import android.media.RingtoneManager;
207 final Ringtone sfx = RingtoneManager.getRingtone( in handleDockStateChange()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java38 import android.media.RingtoneManager;
612 return RingtoneManager.getRingtone(ctx, uri); in getRingtone()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java31 import android.media.RingtoneManager;
821 final Ringtone sfx = RingtoneManager.getRingtone(mContext, soundUri); in playChargingStartedFeedback()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java39 import android.media.RingtoneManager;
803 RingtoneManager.ACTION_RINGTONE_PICKER, userId), in grantDefaultSystemHandlerPermissions()
/frameworks/base/api/
Dlint-baseline.txt894 RequiresPermission: android.media.RingtoneManager#getCursor():
896 RequiresPermission: android.media.RingtoneManager#getValidRingtoneUri(android.content.Context):
Dsystem-current.txt4317 public class RingtoneManager {
Dcurrent.txt27416 public class RingtoneManager {
27417 ctor public RingtoneManager(android.app.Activity);
27418 ctor public RingtoneManager(android.content.Context);
/frameworks/base/config/
Dpreloaded-classes3872 android.media.RingtoneManager
Dboot-image-profile.txt13366 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/
Dsystem-current.txt4265 public class RingtoneManager {
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt15621 public class RingtoneManager {
15622 ctor public RingtoneManager(android.app.Activity);
15623 ctor public RingtoneManager(android.content.Context);