/packages/services/Telecomm/src/com/android/server/telecom/ |
D | RingtoneFactory.java | 67 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()
|
D | AsyncRingtonePlayer.java | 171 if (Uri.EMPTY.equals(incomingCall.getRingtone())) { 185 mRingtone = factory.getRingtone(incomingCall, volumeShaperConfig); 187 Uri ringtoneUri = incomingCall.getRingtone();
|
D | Ringer.java | 384 Ringtone ringtone = factory.getRingtone(call); in getVibrationEffectForCall() 538 boolean isRingtonePresent = !(mRingtoneFactory.getRingtone(call) == null); in getRingerAttributes()
|
D | Call.java | 2610 Uri getRingtone() { in getRingtone() method in Call
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | RingerTest.java | 279 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/ |
D | AsyncRingtonePlayer.java | 492 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/ |
D | RingtonePickerActivity.java | 466 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/ |
D | ShadowRingtoneManager.java | 41 protected static Ringtone getRingtone(final Context context, Uri ringtoneUri) { in getRingtone() method in ShadowRingtoneManager
|
/packages/apps/PhoneCommon/src/com/android/phone/common/util/ |
D | SettingsUtil.java | 86 final Ringtone ringtone = RingtoneManager.getRingtone(context, ringtoneUri); in updateRingtoneName()
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | SettingsUtil.java | 87 final Ringtone ringtone = RingtoneManager.getRingtone(context, ringtoneUri); in getRingtoneName()
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | VolumeSettingsRingtoneManager.java | 115 Ringtone ringtone = RingtoneManager.getRingtone(mContext, getRingtoneUri(usage)); in lazyLoadRingtone()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | PeopleOptionsItemData.java | 95 final Ringtone ringtone = RingtoneManager.getRingtone(mContext, ringtoneUri); in bind()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertReminder.java | 106 Ringtone r = RingtoneManager.getRingtone(this, notificationUri); in playAlertReminderSound()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | RingtoneModel.kt | 169 val ringtone: Ringtone? = RingtoneManager.getRingtone(mContext, uri) in getRingtoneTitle()
|
D | RingtoneModel.java | 180 final Ringtone ringtone = RingtoneManager.getRingtone(mContext, uri); in getRingtoneTitle()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | Beeper.java | 282 mRingtone = RingtoneManager.getRingtone(getContextForForegroundUser(), mBeepUri); in playViaRingtoneManager()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApplicationSettingsActivity.java | 177 final Ringtone tone = RingtoneManager.getRingtone(mRingtonePreference.getContext(), in updateSoundSummary()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | GeneralPreferences.java | 328 Ringtone ring = RingtoneManager.getRingtone(getActivity(), Uri.parse(uri)); in getRingtoneTitleFromUri()
|
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/ |
D | BugReportService.java | 546 Ringtone ringtone = RingtoneManager.getRingtone(getApplicationContext(), notification); in playNotificationSound()
|