Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DRingtoneManager.java476 public Ringtone getRingtone(int position) { in getRingtone() method in RingtoneManager
482 getRingtone(mContext, getRingtoneUri(position), inferStreamType(), true); in getRingtone()
766 public static Ringtone getRingtone(final Context context, Uri ringtoneUri) { in getRingtone() method in RingtoneManager
768 return getRingtone(context, ringtoneUri, -1, true); in getRingtone()
785 public static Ringtone getRingtone( in getRingtone() method in RingtoneManager
789 return getRingtone(context, ringtoneUri, -1 /* streamType */, volumeShaperConfig, true); in getRingtone()
795 public static Ringtone getRingtone(final Context context, Uri ringtoneUri, in getRingtone() method in RingtoneManager
799 return getRingtone(context, ringtoneUri, -1 /* streamType */, volumeShaperConfig, in getRingtone()
806 public static Ringtone getRingtone(final Context context, Uri ringtoneUri, in getRingtone() method in RingtoneManager
810 Ringtone ringtone = getRingtone(context, ringtoneUri, -1 /* streamType */, in getRingtone()
[all …]
/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/packages/SoundPicker/src/com/android/soundpicker/
DRingtonePickerActivity.java482 private Ringtone getRingtone(int ringtoneManagerPosition) { in getRingtone() method in RingtonePickerActivity
486 return mRingtoneManager.getRingtone(ringtoneManagerPosition); in getRingtone()
552 mDefaultRingtone = RingtoneManager.getRingtone(this, mUriForDefaultItem); in run()
564 ringtone = mRingtoneManager.getRingtone(getRingtoneManagerPosition(mSampleRingtonePos)); in run()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java477 Ringtone tone = mFrameworkObjectProvider.getRingtone(mContext, ringtoneUri); in playNotificationTone()
479 tone = mFrameworkObjectProvider.getRingtone(mContext, in playNotificationTone()
867 public Ringtone getRingtone(Context ctx, Uri uri) { in getRingtone() method in AccessibilityShortcutController.FrameworkObjectProvider
868 return RingtoneManager.getRingtone(ctx, uri); in getRingtone()
/frameworks/base/services/core/java/com/android/server/
DDockObserver.java309 final Ringtone sfx = RingtoneManager.getRingtone( in handleDockStateChange()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java346 mRingtone = RingtoneManager.getRingtone(mContext, mDefaultUri); in onInitSample()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java1008 final Ringtone sfx = RingtoneManager.getRingtone(mContext, soundUri); in playChargingStartedFeedback()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java180 when(mFrameworkObjectProvider.getRingtone(eq(mContext), any())).thenReturn(mRingtone); in setUp()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/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/core/api/
Dcurrent.txt24939 method public android.media.Ringtone getRingtone(int);
24940 … method public static android.media.Ringtone getRingtone(android.content.Context, android.net.Uri);