Home
last modified time | relevance | path

Searched refs:Ringtone (Results 1 – 25 of 30) sorted by relevance

12

/packages/services/Telecomm/src/com/android/server/telecom/
DAsyncRingtonePlayer.java21 import android.media.Ringtone;
58 private Ringtone mRingtone;
90 public void play(@NonNull Supplier<Pair<Uri, Ringtone>> ringtoneInfoSupplier, in play() argument
91 BiConsumer<Pair<Uri, Ringtone>, Boolean> ringtoneConsumer, in play()
215 Supplier<Pair<Uri, Ringtone>> ringtoneInfoSupplier =
216 (Supplier<Pair<Uri, Ringtone>>) args.arg1;
217 BiConsumer<Pair<Uri, Ringtone>, Boolean> ringtoneConsumer =
218 (BiConsumer<Pair<Uri, Ringtone>, Boolean>) args.arg2;
233 Ringtone ringtone = null;
312 private void setRingtone(@Nullable Ringtone ringtone) {
DRingtoneFactory.java25 import android.media.Ringtone;
61 public Pair<Uri, Ringtone> getRingtone(Call incomingCall, in getRingtone()
74 Ringtone ringtone = null; in getRingtone()
132 public Pair<Uri, Ringtone> getHapticOnlyRingtone() { in getHapticOnlyRingtone()
139 Ringtone ringtone = RingtoneManager.getRingtone( in getHapticOnlyRingtone()
DRinger.java32 import android.media.Ringtone;
417 Supplier<Pair<Uri, Ringtone>> ringtoneInfoSupplier; in startRinging()
451 BiConsumer<Pair<Uri, Ringtone>, Boolean> afterRingtoneLogic = in startRinging()
452 (Pair<Uri, Ringtone> ringtoneInfo, Boolean stopped) -> { in startRinging()
455 Ringtone ringtone = null; in startRinging()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeSettingsRingtoneManager.java21 import android.media.Ringtone;
46 private final Map<Integer, Ringtone> mGroupToRingtoneMap = new HashMap<>();
50 private Ringtone mCurrentRingtone;
88 Ringtone nextRingtone = lazyLoadRingtone(group, usage); in playAudioFeedback()
115 private Ringtone lazyLoadRingtone(int group, int usage) { in lazyLoadRingtone()
117 Ringtone ringtone = RingtoneManager.getRingtone(mContext, getRingtoneUri(usage)); in lazyLoadRingtone()
DRingtonePreferenceController.java23 import android.media.Ringtone;
72 String summary = Ringtone.getTitle(getContext(), ringtoneUri, in updateSummary()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/
DShadowRingtoneManager.java20 import android.media.Ringtone;
28 private static Ringtone sRingtone;
32 public static void setRingtone(Ringtone ringtone) { in setRingtone()
44 public static Ringtone getRingtone(Context context, Uri ringtoneUri) { in getRingtone()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowRingtoneManager.java20 import android.media.Ringtone;
33 private static Ringtone sRingtone;
36 public static void setRingtone(Ringtone ringtone) { in setRingtone()
41 protected static Ringtone getRingtone(final Context context, Uri ringtoneUri) { in getRingtone()
DShadowRingtone.java20 import android.media.Ringtone;
30 @Implements(Ringtone.class)
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DRingerTest.java48 import android.media.Ringtone;
422 Ringtone mockRingtone = ensureRingtoneMocked(); in testNoVibrateDueToAudioCoupledHaptics()
468 Ringtone mockRingtone = ensureRingtoneMocked(); in testVibrateButNoRingForSilentRingtone()
509 Ringtone mockRingtone = ensureRingtoneMocked(); in testAudioCoupledHapticsForSilentRingtone()
532 Ringtone mockRingtone = ensureRingtoneMocked(); in testCustomVibrationForRingtone()
549 Ringtone mockRingtone = ensureRingtoneMocked(); in testRingAndNoVibrate()
567 Ringtone mockRingtone = ensureRingtoneMocked(); in testRingWithRampingRinger()
600 Ringtone mockRingtone = ensureRingtoneMocked(); in testRingAndVibrateForAllowedCallInDndMode()
617 Ringtone mockRingtone = ensureRingtoneMocked(); in testDelayRingerForBtHfpDevices()
642 Ringtone mockRingtone = ensureRingtoneMocked(); in testUnblockRingerForStopCommand()
[all …]
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingPlaySoundPreferenceController.java24 import android.media.Ringtone;
46 private Ringtone mRingtone;
108 void setRingtone(Ringtone ringtone) { in setRingtone()
/packages/apps/Settings/src/com/android/settings/notification/
DDefaultNotificationTonePreference.java22 import android.media.Ringtone;
58 return Ringtone.getTitle(mUserContext, uri, false /* followSettingsUri */, in updateRingtoneName()
DRingtonePreferenceControllerBase.java20 import android.media.Ringtone;
59 summary = Ringtone.getTitle( in updateSummary()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertReminder.java33 import android.media.Ringtone;
69 private static Ringtone sPlayReminderRingtone;
110 Ringtone r = RingtoneManager.getRingtone(this, notificationUri); in playAlertReminderSound()
/packages/apps/Settings/src/com/android/settings/notification/app/
DNotificationSoundPreference.java22 import android.media.Ringtone;
79 return Ringtone.getTitle(getContext(), uri, false /* followSettingsUri */, in updateRingtoneName()
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
DSettingsUtil.java23 import android.media.Ringtone;
86 final Ringtone ringtone = RingtoneManager.getRingtone(context, ringtoneUri); in updateRingtoneName()
/packages/apps/Dialer/java/com/android/dialer/util/
DSettingsUtil.java22 import android.media.Ringtone;
87 final Ringtone ringtone = RingtoneManager.getRingtone(context, ringtoneUri); in getRingtoneName()
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncRingtonePlayer.kt24 import android.media.Ringtone in <lambda>()
383 private var mRingtone: Ringtone? = null in <lambda>()
399 mSetVolumeMethod = Ringtone::class.java.getDeclaredMethod("setVolume", in <lambda>()
405 mSetLoopingMethod = Ringtone::class.java.getDeclaredMethod("setLooping", in <lambda>()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPeopleOptionsItemData.java20 import android.media.Ringtone;
95 final Ringtone ringtone = RingtoneManager.getRingtone(mContext, ringtoneUri); in bind()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/sound/
DVolumeSettingsRingtoneManagerTest.java32 import android.media.Ringtone;
60 private Ringtone mRingtone;
/packages/apps/DeskClock/src/com/android/deskclock/data/
DRingtoneModel.kt30 import android.media.Ringtone
170 val ringtone: Ringtone? = RingtoneManager.getRingtone(mContext, uri) in getRingtoneTitle()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DCarAudioZoneVolumeFragment.java29 import android.media.Ringtone;
78 private Ringtone mRingtone;
312 Ringtone ringtone = in startRingtone()
/packages/apps/Car/Notification/src/com/android/car/notification/
DBeeper.java28 import android.media.Ringtone;
145 private Ringtone mRingtone;
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DBeeperTest.java27 import android.media.Ringtone;
64 private Ringtone mRingtone;
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingPlaySoundPreferenceControllerTest.java35 import android.media.Ringtone;
69 @Mock private Ringtone mRingtone;
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApplicationSettingsActivity.java23 import android.media.Ringtone;
177 final Ringtone tone = RingtoneManager.getRingtone(mRingtonePreference.getContext(), in updateSoundSummary()

12