Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DRingtonePreferenceController.java48 mRingtoneManager.setType(getPreference().getRingtoneType()); in onCreateInternal()
71 preference.getRingtoneType()); in updateSummary()
89 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.java65 RingtoneManager.setActualDefaultRingtoneUri(mUserContext, getRingtoneType(), ringtoneUri); in setActualDefaultRingtoneUri()
70 return RingtoneManager.getActualDefaultRingtoneUri(mUserContext, getRingtoneType()); in onRestoreRingtone()
DRingtonePreference.java98 public int getRingtoneType() { in getRingtoneType() method in RingtonePreference
170 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()
DPhoneRingtonePreferenceControllerTest.java70 assertThat(mController.getRingtoneType()).isEqualTo(RingtoneManager.TYPE_RINGTONE); in getRingtoneType_shouldReturnRingtone()
DRingtonePreferenceControllerBaseTest.java79 public int getRingtoneType() { in getRingtoneType() method in RingtonePreferenceControllerBaseTest.RingtonePreferenceControllerBaseTestable
/packages/apps/Settings/tests/unit/src/com/android/settings/
DDefaultRingtonePreferenceTest.java71 when(mDefaultRingtonePreference.getRingtoneType()) in setUp()