Home
last modified time | relevance | path

Searched refs:getRingtoneType (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DRingtonePreferenceController.java46 mRingtoneManager.setType(getPreference().getRingtoneType()); in onCreateInternal()
57 getPreference().getRingtoneType()); in updateState()
84 args.putInt(RingtoneManager.EXTRA_RINGTONE_TYPE, ringtonePreference.getRingtoneType()); in createRingtonePickerFragment()
DRingtonePreference.java58 public int getRingtoneType() { in getRingtoneType() method in RingtonePreference
/packages/apps/Settings/src/com/android/settings/
DDefaultRingtonePreference.java46 RingtoneManager.setActualDefaultRingtoneUri(mUserContext, getRingtoneType(), ringtoneUri); in onSaveRingtone()
51 return RingtoneManager.getActualDefaultRingtoneUri(mUserContext, getRingtoneType()); in onRestoreRingtone()
DRingtonePreference.java93 public int getRingtoneType() { in getRingtoneType() method in RingtonePreference
165 RingtoneManager.getDefaultUri(getRingtoneType())); in onPrepareRingtonePickerIntent()
/packages/apps/Dialer/java/com/android/dialer/app/settings/
DDefaultRingtonePreference.java57 RingtoneManager.setActualDefaultRingtoneUri(getContext(), getRingtoneType(), ringtoneUri); in onSaveRingtone()
62 return RingtoneManager.getActualDefaultRingtoneUri(getContext(), getRingtoneType()); in onRestoreRingtone()
/packages/apps/Settings/src/com/android/settings/notification/
DRingtonePreferenceControllerBase.java55 mContext, getRingtoneType()); in updateSummary()
70 public abstract int getRingtoneType(); in getRingtoneType() method in RingtonePreferenceControllerBase
DAlarmRingtonePreferenceController.java36 public int getRingtoneType() { in getRingtoneType() method in AlarmRingtonePreferenceController
DPhoneRingtonePreferenceController.java43 public int getRingtoneType() { in getRingtoneType() method in PhoneRingtonePreferenceController
DNotificationRingtonePreferenceController.java43 public int getRingtoneType() { in getRingtoneType() method in NotificationRingtonePreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DAlarmRingtonePreferenceControllerTest.java46 assertThat(mController.getRingtoneType()).isEqualTo(RingtoneManager.TYPE_ALARM); in getRingtoneType_shouldReturnAlarm()
DNotificationRingtonePreferenceControllerTest.java55 assertThat(mController.getRingtoneType()).isEqualTo(RingtoneManager.TYPE_NOTIFICATION); in getRingtoneType_shouldReturnNotification()
DRingtonePreferenceControllerBaseTest.java79 public int getRingtoneType() { in getRingtoneType() method in RingtonePreferenceControllerBaseTest.RingtonePreferenceControllerBaseTestable
DPhoneRingtonePreferenceControllerTest.java70 assertThat(mController.getRingtoneType()).isEqualTo(RingtoneManager.TYPE_RINGTONE); in getRingtoneType_shouldReturnRingtone()