Home
last modified time | relevance | path

Searched refs:getRingtone (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/media/java/android/media/
DRingtoneManager.java474 public Ringtone getRingtone(int position) { in getRingtone() method in RingtoneManager
479 mPreviousRingtone = getRingtone(mContext, getRingtoneUri(position), inferStreamType()); in getRingtone()
664 public static Ringtone getRingtone(final Context context, Uri ringtoneUri) { in getRingtone() method in RingtoneManager
666 return getRingtone(context, ringtoneUri, -1); in getRingtone()
683 public static Ringtone getRingtone( in getRingtone() method in RingtoneManager
687 return getRingtone(context, ringtoneUri, -1 /* streamType */, volumeShaperConfig); in getRingtone()
702 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { in getRingtone() method in RingtoneManager
703 return getRingtone(context, ringtoneUri, streamType, null /* volumeShaperConfig */); in getRingtone()
719 private static Ringtone getRingtone( in getRingtone() method in RingtoneManager
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioManagerTest.java98 int getRingtone = mAudioManager.getRingerMode(); in validateSetRingTone() local
101 return (getRingtone == AudioManager.RINGER_MODE_NORMAL); in validateSetRingTone()
103 return (getRingtone == i); in validateSetRingTone()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java349 final Ringtone tone = mFrameworkObjectProvider.getRingtone(mContext, in playNotificationTone()
516 public Ringtone getRingtone(Context ctx, Uri uri) { in getRingtone() method in AccessibilityShortcutController.FrameworkObjectProvider
517 return RingtoneManager.getRingtone(ctx, uri); in getRingtone()
/frameworks/base/services/core/java/com/android/server/
DDockObserver.java207 final Ringtone sfx = RingtoneManager.getRingtone( in handleDockStateChange()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java306 mRingtone = RingtoneManager.getRingtone(mContext, mDefaultUri); in onInitSample()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java156 when(mFrameworkObjectProvider.getRingtone(eq(mContext), any())).thenReturn(mRingtone); in setUp()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java804 final Ringtone sfx = RingtoneManager.getRingtone(mContext, soundUri); in playChargingStartedFeedback()
/frameworks/base/config/
Dboot-image-profile.txt9752 HSPLandroid/media/RingtoneManager;->getRingtone(Landroid/content/Context;Landroid/net/Uri;)Landroid…
9753 HSPLandroid/media/RingtoneManager;->getRingtone(Landroid/content/Context;Landroid/net/Uri;ILandroid…
9754 HPLandroid/media/RingtoneManager;->getRingtone(Landroid/content/Context;Landroid/net/Uri;Landroid/m…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt15629 method public android.media.Ringtone getRingtone(int);
15630 … method public static android.media.Ringtone getRingtone(android.content.Context, android.net.Uri);
/frameworks/base/api/
Dcurrent.txt26140 method public android.media.Ringtone getRingtone(int);
26141 … method public static android.media.Ringtone getRingtone(android.content.Context, android.net.Uri);