Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DRingtoneFactory.java67 public Ringtone getRingtone(Call incomingCall, in getRingtone() method in RingtoneFactory
73 Uri ringtoneUri = incomingCall.getRingtone(); in getRingtone()
78 ringtone = RingtoneManager.getRingtone(userContext, ringtoneUri, volumeShaperConfig); in getRingtone()
94 ringtone = RingtoneManager.getRingtone( in getRingtone()
106 public Ringtone getRingtone(Call incomingCall) { in getRingtone() method in RingtoneFactory
107 return getRingtone(incomingCall, null); in getRingtone()
DAsyncRingtonePlayer.java171 if (Uri.EMPTY.equals(incomingCall.getRingtone())) {
185 mRingtone = factory.getRingtone(incomingCall, volumeShaperConfig);
187 Uri ringtoneUri = incomingCall.getRingtone();
DRinger.java384 Ringtone ringtone = factory.getRingtone(call); in getVibrationEffectForCall()
538 boolean isRingtonePresent = !(mRingtoneFactory.getRingtone(call) == null); in getRingerAttributes()
DCall.java2610 Uri getRingtone() { in getRingtone() method in Call
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DRingerTest.java279 when(mockRingtoneFactory.getRingtone(any(Call.class))).thenReturn(null); in testVibrateButNoRingForNullRingtone()
297 when(mockRingtoneFactory.getRingtone(any(Call.class))).thenReturn(mockRingtone); in testVibrateButNoRingForSilentRingtone()
316 when(mockRingtoneFactory.getRingtone(nullable(Call.class))).thenReturn(mockRingtone); in testStopRingingBeforeHapticsLookupComplete()
342 when(mockRingtoneFactory.getRingtone(any(Call.class))).thenReturn(mockRingtone); in testCustomVibrationForRingtone()
393 when(mockRingtoneFactory.getRingtone(any(Call.class))).thenReturn(mockRingtone); in testSilentRingWithHfpStillAcquiresFocus1()
411 when(mockRingtoneFactory.getRingtone(any(Call.class))).thenReturn(null); in testSilentRingWithHfpStillAcquiresFocus2()
427 when(mockRingtoneFactory.getRingtone(any(Call.class))).thenReturn(mockRingtone); in ensureRingerIsAudible()
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncRingtonePlayer.java492 mRingtone = RingtoneManager.getRingtone(context, ringtoneUri);
497 mRingtone = RingtoneManager.getRingtone(context, ringtoneUri);
515 mRingtone = RingtoneManager.getRingtone(context, ringtoneUri);
523 mRingtone = RingtoneManager.getRingtone(context, getFallbackRingtoneUri(context));
/packages/providers/MediaProvider/src/com/android/providers/media/
DRingtonePickerActivity.java466 private Ringtone getRingtone(int ringtoneManagerPosition) { in getRingtone() method in RingtonePickerActivity
470 return mRingtoneManager.getRingtone(ringtoneManagerPosition); in getRingtone()
536 mDefaultRingtone = RingtoneManager.getRingtone(this, mUriForDefaultItem); in run()
548 ringtone = mRingtoneManager.getRingtone(getRingtoneManagerPosition(mSampleRingtonePos)); in run()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowRingtoneManager.java41 protected static Ringtone getRingtone(final Context context, Uri ringtoneUri) { in getRingtone() method in ShadowRingtoneManager
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
DSettingsUtil.java86 final Ringtone ringtone = RingtoneManager.getRingtone(context, ringtoneUri); in updateRingtoneName()
/packages/apps/Dialer/java/com/android/dialer/util/
DSettingsUtil.java87 final Ringtone ringtone = RingtoneManager.getRingtone(context, ringtoneUri); in getRingtoneName()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeSettingsRingtoneManager.java115 Ringtone ringtone = RingtoneManager.getRingtone(mContext, getRingtoneUri(usage)); in lazyLoadRingtone()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPeopleOptionsItemData.java95 final Ringtone ringtone = RingtoneManager.getRingtone(mContext, ringtoneUri); in bind()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertReminder.java106 Ringtone r = RingtoneManager.getRingtone(this, notificationUri); in playAlertReminderSound()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DRingtoneModel.kt169 val ringtone: Ringtone? = RingtoneManager.getRingtone(mContext, uri) in getRingtoneTitle()
DRingtoneModel.java180 final Ringtone ringtone = RingtoneManager.getRingtone(mContext, uri); in getRingtoneTitle()
/packages/apps/Car/Notification/src/com/android/car/notification/
DBeeper.java282 mRingtone = RingtoneManager.getRingtone(getContextForForegroundUser(), mBeepUri); in playViaRingtoneManager()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApplicationSettingsActivity.java177 final Ringtone tone = RingtoneManager.getRingtone(mRingtonePreference.getContext(), in updateSoundSummary()
/packages/apps/Calendar/src/com/android/calendar/
DGeneralPreferences.java328 Ringtone ring = RingtoneManager.getRingtone(getActivity(), Uri.parse(uri)); in getRingtoneTitleFromUri()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugReportService.java546 Ringtone ringtone = RingtoneManager.getRingtone(getApplicationContext(), notification); in playNotificationSound()