/packages/services/Telecomm/src/com/android/server/telecom/ |
D | AsyncRingtonePlayer.java | 21 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) {
|
D | RingtoneFactory.java | 25 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()
|
D | Ringer.java | 32 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/ |
D | VolumeSettingsRingtoneManager.java | 21 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()
|
D | RingtonePreferenceController.java | 23 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/ |
D | ShadowRingtoneManager.java | 20 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/ |
D | ShadowRingtoneManager.java | 20 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()
|
D | ShadowRingtone.java | 20 import android.media.Ringtone; 30 @Implements(Ringtone.class)
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | RingerTest.java | 48 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/ |
D | AudioSharingPlaySoundPreferenceController.java | 24 import android.media.Ringtone; 46 private Ringtone mRingtone; 108 void setRingtone(Ringtone ringtone) { in setRingtone()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | DefaultNotificationTonePreference.java | 22 import android.media.Ringtone; 58 return Ringtone.getTitle(mUserContext, uri, false /* followSettingsUri */, in updateRingtoneName()
|
D | RingtonePreferenceControllerBase.java | 20 import android.media.Ringtone; 59 summary = Ringtone.getTitle( in updateSummary()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertReminder.java | 33 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/ |
D | NotificationSoundPreference.java | 22 import android.media.Ringtone; 79 return Ringtone.getTitle(getContext(), uri, false /* followSettingsUri */, in updateRingtoneName()
|
/packages/apps/PhoneCommon/src/com/android/phone/common/util/ |
D | SettingsUtil.java | 23 import android.media.Ringtone; 86 final Ringtone ringtone = RingtoneManager.getRingtone(context, ringtoneUri); in updateRingtoneName()
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | SettingsUtil.java | 22 import android.media.Ringtone; 87 final Ringtone ringtone = RingtoneManager.getRingtone(context, ringtoneUri); in getRingtoneName()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AsyncRingtonePlayer.kt | 24 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/ |
D | PeopleOptionsItemData.java | 20 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/ |
D | VolumeSettingsRingtoneManagerTest.java | 32 import android.media.Ringtone; 60 private Ringtone mRingtone;
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | RingtoneModel.kt | 30 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/ |
D | CarAudioZoneVolumeFragment.java | 29 import android.media.Ringtone; 78 private Ringtone mRingtone; 312 Ringtone ringtone = in startRingtone()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | Beeper.java | 28 import android.media.Ringtone; 145 private Ringtone mRingtone;
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
D | BeeperTest.java | 27 import android.media.Ringtone; 64 private Ringtone mRingtone;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingPlaySoundPreferenceControllerTest.java | 35 import android.media.Ringtone; 69 @Mock private Ringtone mRingtone;
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApplicationSettingsActivity.java | 23 import android.media.Ringtone; 177 final Ringtone tone = RingtoneManager.getRingtone(mRingtonePreference.getContext(), in updateSoundSummary()
|