Searched refs:ringtoneManager (Results 1 – 3 of 3) sorted by relevance
153 final RingtoneManager ringtoneManager = new RingtoneManager(getContext()); in getRingtoneTitle() local154 ringtoneManager.setType(RingtoneManager.TYPE_NOTIFICATION); in getRingtoneTitle()155 final Cursor cursor = ringtoneManager.getCursor(); in getRingtoneTitle()179 final RingtoneManager ringtoneManager = new RingtoneManager(getContext()); in getRingtoneUri() local180 ringtoneManager.setType(RingtoneManager.TYPE_NOTIFICATION); in getRingtoneUri()181 final Cursor cursor = ringtoneManager.getCursor(); in getRingtoneUri()
68 final RingtoneManager ringtoneManager = new RingtoneManager(getContext()); in loadInBackground() local69 ringtoneManager.setType(STREAM_ALARM); in loadInBackground()73 systemRingtoneCursor = ringtoneManager.getCursor(); in loadInBackground()106 final Uri ringtoneUri = ringtoneManager.getRingtoneUri(i); in loadInBackground()
147 final RingtoneManager ringtoneManager = new RingtoneManager(mContext); in loadRingtoneTitles() local148 ringtoneManager.setType(STREAM_ALARM); in loadRingtoneTitles()151 try (Cursor cursor = ringtoneManager.getCursor()) { in loadRingtoneTitles()154 final Uri ringtoneUri = ringtoneManager.getRingtoneUri(cursor.getPosition()); in loadRingtoneTitles()