Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DRingtonePreferenceController.java64 getPreference().getRingtoneType()); in updateState()
86 getPreference().getRingtoneType(), ringtoneUri); in processActivityResult()
98 ringtonePreference.getRingtoneType()); in onPrepareRingtonePickerIntent()
105 ringtonePreference.getRingtoneType()); in onPrepareRingtonePickerIntent()
DRingtonePreference.java60 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DRingtonePreferenceControllerBase.java54 mContext, getRingtoneType()); in updateSummary()
68 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
/packages/apps/Settings/src/com/android/settings/notification/
DRingtonePreferenceControllerBase.java54 mContext, getRingtoneType()); in updateSummary()
68 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.java89 public int getRingtoneType() { in getRingtoneType() method in RingtonePreferenceControllerBaseTest.RingtonePreferenceControllerBaseTestable