Searched refs:NotificationSoundPreference (Results 1 – 3 of 3) sorted by relevance
105 mController.updateState(mock(NotificationSoundPreference.class)); in testNoCrashIfNoOnResume()106 mController.onPreferenceChange(mock(NotificationSoundPreference.class), Uri.EMPTY); in testNoCrashIfNoOnResume()107 mController.handlePreferenceTreeClick(mock(NotificationSoundPreference.class)); in testNoCrashIfNoOnResume()163 NotificationSoundPreference pref = mock(NotificationSoundPreference.class); in testDisplayPreference_savesPreference()179 Preference pref = new NotificationSoundPreference(mContext, attributeSet); in testUpdateState_disabledByAdmin()195 NotificationSoundPreference pref = new NotificationSoundPreference(mContext, attributeSet); in testUpdateState_configurable()211 NotificationSoundPreference pref = in testOnPreferenceChange()212 new NotificationSoundPreference(mContext, attributeSet); in testOnPreferenceChange()223 NotificationSoundPreference pref = mock(NotificationSoundPreference.class); in testOnPreferenceTreeClick_incorrectPref()233 NotificationSoundPreference pref = in testOnPreferenceTreeClick_correctPref()[all …]
44 private NotificationSoundPreference mPreference;85 NotificationSoundPreference pref = (NotificationSoundPreference) preference; in updateState()103 NotificationSoundPreference pref = (NotificationSoundPreference) preference; in handlePreferenceTreeClick()
32 public class NotificationSoundPreference extends RingtonePreference { class37 public NotificationSoundPreference(Context context, AttributeSet attrs) { in NotificationSoundPreference() method in NotificationSoundPreference