Searched refs:preset (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | PresetReverbTest.java | 81 for (short preset = FIRST_PRESET; in test1_0Presets() 82 preset <= LAST_PRESET; in test1_0Presets() 83 preset++) { in test1_0Presets() 84 mReverb.setPreset(preset); in test1_0Presets() 85 assertEquals("got incorrect preset", preset, mReverb.getPreset()); in test1_0Presets() 108 short preset = (settings.preset == PresetReverb.PRESET_SMALLROOM) ? in test1_1Properties() local 110 settings.preset = preset; in test1_1Properties() 113 assertEquals("setProperties failed", settings.preset, preset); in test1_1Properties()
|
D | AudioEffectTest.java | 348 short preset = PresetReverb.PRESET_SMALLROOM; in test3_0SetParameterByteArrayByteArray() local 349 if (mEffect.byteArrayToShort(value) == preset) { in test3_0SetParameterByteArrayByteArray() 350 preset = PresetReverb.PRESET_MEDIUMROOM; in test3_0SetParameterByteArrayByteArray() 352 value = mEffect.shortToByteArray(preset); in test3_0SetParameterByteArrayByteArray() 357 assertEquals("get/set Parameter failed", preset, in test3_0SetParameterByteArrayByteArray() 416 short preset = PresetReverb.PRESET_SMALLROOM; in test3_2SetParameterIntShort() local 417 if (value[0] == preset) { in test3_2SetParameterIntShort() 418 preset = PresetReverb.PRESET_MEDIUMROOM; in test3_2SetParameterIntShort() 420 status = mEffect.setParameter(param, preset); in test3_2SetParameterIntShort() 424 assertEquals("get/set Parameter failed", preset, value[0]); in test3_2SetParameterIntShort() [all …]
|
D | EqualizerTest.java | 138 short preset = mEqualizer.getCurrentPreset(); in test1_2Presets() local 139 assertEquals("usePreset failed", preset, (short)(numPresets - 1)); in test1_2Presets() 140 String name = mEqualizer.getPresetName(preset); in test1_2Presets()
|