Lines Matching refs:effect1
1017 AudioEffect effect1 = null;
1020 effect1 = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER,
1029 assertNotNull(msg + ": could not create AudioEffect", effect1);
1033 assertFalse(msg + ": Effect1 has control", effect1.hasControl());
1034 assertTrue(msg + ": Effect1 can enable",
1035 effect1.setEnabled(true) == AudioEffect.ERROR_INVALID_OPERATION);
1036 assertFalse(msg + ": Effect1 has enabled", effect2.getEnabled());
1045 if (effect1 != null) {
1046 effect1.release();
1060 AudioEffect effect1 = null;
1063 effect1 = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER,
1072 assertNotNull(msg + ": could not create AudioEffect", effect1);
1079 status = effect1.setParameter(Equalizer.PARAM_CURRENT_PRESET, (short)1);
1080 assertEquals(msg + ": Effect1 setParameter did not fail",
1087 assertEquals(msg + ": Effect1 changed parameter",
1098 if (effect1 != null) {
1099 effect1.release();
1138 assertFalse(msg + ": effect control not lost by effect1", mHasControl);