Searched refs:mRingtoneUri (Results 1 – 3 of 3) sorted by relevance
57 private Uri mRingtoneUri; field in DefaultRingtonePreferenceTest86 mRingtoneUri = Uri.parse("content://none"); in setUp()91 when(mContentResolver.getType(mRingtoneUri)).thenReturn(null); in onSaveRingtone_nullMimeType_shouldNotSetRingtone()93 mDefaultRingtonePreference.onSaveRingtone(mRingtoneUri); in onSaveRingtone_nullMimeType_shouldNotSetRingtone()95 verify(mDefaultRingtonePreference, never()).setActualDefaultRingtoneUri(mRingtoneUri); in onSaveRingtone_nullMimeType_shouldNotSetRingtone()100 when(mContentResolver.getType(mRingtoneUri)).thenReturn("text/plain"); in onSaveRingtone_notAudioMimeType_shouldNotSetRingtone()102 mDefaultRingtonePreference.onSaveRingtone(mRingtoneUri); in onSaveRingtone_notAudioMimeType_shouldNotSetRingtone()104 verify(mDefaultRingtonePreference, never()).setActualDefaultRingtoneUri(mRingtoneUri); in onSaveRingtone_notAudioMimeType_shouldNotSetRingtone()109 mRingtoneUri = Uri.parse("content://" + OTHER_USER_ID + "@ringtone"); in onSaveRingtone_notManagedProfile_shouldNotSetRingtone()110 when(mContentResolver.getType(mRingtoneUri)).thenReturn("audio/*"); in onSaveRingtone_notManagedProfile_shouldNotSetRingtone()[all …]
54 private Uri mRingtoneUri; field in PeopleOptionsItemData75 mRingtoneUri = null; in bind()101 mRingtoneUri = ringtoneUri; in bind()149 return mRingtoneUri; in getRingtoneUri()
201 final String mRingtoneUri; field in MessageNotificationState.ConversationLineInfo242 mRingtoneUri = ringtoneUri; in ConversationLineInfo()1109 return mConvList.mConvInfos.get(0).mRingtoneUri; in getRingtoneUri()