HomeSort by relevance Sort by last modified time
    Searched refs:mRingtoneManager (Results 1 - 2 of 2) sorted by null

  /cts/tests/tests/media/src/android/media/cts/
RingtoneManagerTest.java 43 private RingtoneManager mRingtoneManager;
59 mRingtoneManager = new RingtoneManager(mActivity);
120 Cursor c = mRingtoneManager.getCursor();
123 assertNotNull(mRingtoneManager.getRingtone(0));
126 Uri uri = mRingtoneManager.getRingtoneUri(expectedPosition);
127 assertEquals(expectedPosition, mRingtoneManager.getRingtonePosition(uri));
146 mRingtoneManager.setType(RingtoneManager.TYPE_ALARM);
147 assertEquals(AudioManager.STREAM_ALARM, mRingtoneManager.inferStreamType());
148 Cursor c = mRingtoneManager.getCursor();
150 Ringtone r = mRingtoneManager.getRingtone(0)
    [all...]
  /packages/providers/MediaProvider/src/com/android/providers/media/
RingtonePickerActivity.java 82 private RingtoneManager mRingtoneManager;
223 setVolumeControlStream(mRingtoneManager.inferStreamType());
280 return mRingtoneManager.addCustomExternalRingtone(params[0], mType);
309 if (ringtone != null && mRingtoneManager.isCustomRingtone(ringtone.getUri())) {
323 if(mRingtoneManager.deleteExternalRingtone(deletedRingtoneUri)) {
369 setCheckedItem(getListPosition(mRingtoneManager.getRingtonePosition(mExistingUri)));
451 mRingtoneManager = new RingtoneManager(mTargetContext, /* includeParentRingtones */ true);
453 mRingtoneManager.setType(mType);
455 mCursor = new LocalizedCursor(mRingtoneManager.getCursor(), getResources(), COLUMN_LABEL);
462 return mRingtoneManager.getRingtone(ringtoneManagerPosition)
    [all...]

Completed in 807 milliseconds