Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DRingtoneFactory.java55 public Ringtone getRingtone(Call incomingCall) { in getRingtone() method in RingtoneFactory
60 Uri ringtoneUri = incomingCall.getRingtone(); in getRingtone()
65 ringtone = RingtoneManager.getRingtone(userContext, ringtoneUri); in getRingtone()
81 ringtone = RingtoneManager.getRingtone(contextToUse, defaultRingtoneUri); in getRingtone()
DAsyncRingtonePlayer.java127 if(Uri.EMPTY.equals(incomingCall.getRingtone())) {
136 mRingtone = factory.getRingtone(incomingCall);
138 Uri ringtoneUri = incomingCall.getRingtone();
DRinger.java124 boolean isRingtonePresent = !(mRingtoneFactory.getRingtone(foregroundCall) == null); in startRinging()
DCall.java1881 Uri getRingtone() { in getRingtone() method in Call
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DRingerTest.java142 when(mockRingtoneFactory.getRingtone(any(Call.class))).thenReturn(null); in testVibrateButNoRingForNullRingtone()
156 when(mockRingtoneFactory.getRingtone(any(Call.class))).thenReturn(mockRingtone); in testVibrateButNoRingForSilentRingtone()
183 when(mockRingtoneFactory.getRingtone(any(Call.class))).thenReturn(mockRingtone); in testSilentRingWithHfpStillAcquiresFocus1()
197 when(mockRingtoneFactory.getRingtone(any(Call.class))).thenReturn(null); in testSilentRingWithHfpStillAcquiresFocus2()
210 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.java458 private Ringtone getRingtone(int ringtoneManagerPosition) { in getRingtone() method in RingtonePickerActivity
462 return mRingtoneManager.getRingtone(ringtoneManagerPosition); in getRingtone()
523 mDefaultRingtone = RingtoneManager.getRingtone(this, mUriForDefaultItem); in run()
535 ringtone = mRingtoneManager.getRingtone(getRingtoneManagerPosition(mSampleRingtonePos)); in run()
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
DSettingsUtil.java86 final Ringtone ringtone = RingtoneManager.getRingtone(context, ringtoneUri); in updateRingtoneName()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeLineItem.java68 mRingtone = RingtoneManager.getRingtone(context, ringtoneUri); in VolumeLineItem()
/packages/apps/Dialer/java/com/android/dialer/util/
DSettingsUtil.java87 final Ringtone ringtone = RingtoneManager.getRingtone(context, ringtoneUri); in getRingtoneName()
/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.java98 Ringtone r = RingtoneManager.getRingtone(this, notificationUri); in playAlertReminderSound()
/packages/apps/Email/src/com/android/email/preferences/
DEmailPreferenceMigrator.java157 final String ringtoneUri = ecAccount.getRingtone(); in migrate()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DRingtoneModel.java180 final Ringtone ringtone = RingtoneManager.getRingtone(mContext, uri); in getRingtoneTitle()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApplicationSettingsActivity.java177 final Ringtone tone = RingtoneManager.getRingtone(mRingtonePreference.getContext(), in updateSoundSummary()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java259 mRingtone = RingtoneManager.getRingtone(getActivity(), ringtone); in setRingtone()
798 mRingtone = RingtoneManager.getRingtone(getActivity(), Uri.parse(ringtoneUri)); in loadSettings()
/packages/apps/Calendar/src/com/android/calendar/
DGeneralPreferences.java348 Ringtone ring = RingtoneManager.getRingtone(getActivity(), Uri.parse(uri)); in getRingtoneTitleFromUri()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DAccount.java425 public String getRingtone() { in getRingtone() method in Account