Searched refs:ShadowRingtoneManager (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/sound/ |
D | RingtonePreferenceControllerTest.java | 36 import com.android.car.settings.testutils.ShadowRingtoneManager; 48 @Config(shadows = {ShadowRingtoneManager.class, ShadowRingtone.class}) 82 ShadowRingtoneManager.setActualDefaultRingtoneUri(mContext, TEST_RINGTONE_TYPE, in setUp() 88 ShadowRingtoneManager.reset(); in tearDown() 94 ShadowRingtoneManager.setActualDefaultRingtoneUri(mContext, TEST_RINGTONE_TYPE, TEST_URI); in testRefreshUi_ringtoneTitleSet() 109 ShadowRingtoneManager.setActualDefaultRingtoneUri(mContext, TEST_RINGTONE_TYPE, TEST_URI); in testHandlePreferenceClicked_captureIntent_checkDefaultUri() 154 assertThat(ShadowRingtoneManager.getActualDefaultRingtoneUri(mContext, in testProcessActivityResult_wrongResult_defaultRingtoneNotSet() 162 assertThat(ShadowRingtoneManager.getActualDefaultRingtoneUri(mContext, in testProcessActivityResult_correctResult_nullIntent_defaultRingtoneNotSet() 172 assertThat(ShadowRingtoneManager.getActualDefaultRingtoneUri(mContext, in testProcessActivityResult_correctResult_validIntent_defaultRingtoneSet()
|
D | VolumeSettingsRingtoneManagerTest.java | 38 import com.android.car.settings.testutils.ShadowRingtoneManager; 51 @Config(shadows = {ShadowRingtoneManager.class}) 65 ShadowRingtoneManager.setRingtone(mRingtone); in setUp() 72 ShadowRingtoneManager.reset(); in tearDown()
|
D | VolumeSettingsPreferenceControllerTest.java | 41 import com.android.car.settings.testutils.ShadowRingtoneManager; 53 @Config(shadows = {ShadowRingtoneManager.class}) 90 ShadowRingtoneManager.setRingtone(mRingtone); in setUp() 108 ShadowRingtoneManager.reset(); in tearDown()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowRingtoneManager.java | 32 public class ShadowRingtoneManager { class
|