Home
last modified time | relevance | path

Searched refs:numPresets (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaEqualizerTest.java199 short numPresets = mEqualizer.getNumberOfPresets(); in test1_2Presets() local
200 assertTrue(msg + ": getNumberOfPresets failed", numPresets >= MIN_NUMBER_OF_PRESETS); in test1_2Presets()
201 mEqualizer.usePreset((short)(numPresets - 1)); in test1_2Presets()
203 assertEquals(msg + ": usePreset failed", preset, (short)(numPresets - 1)); in test1_2Presets()
/frameworks/wilhelm/src/android/
Dandroid_Effect.cpp296 uint16_t numPresets = 0; in android_eq_init() local
298 EQ_PARAM_GET_NUM_OF_PRESETS, 0, &numPresets)) { in android_eq_init()
299 ieq->mThis->mEngine->mEqNumPresets = numPresets; in android_eq_init()
300 ieq->mNumPresets = numPresets; in android_eq_init()
305 if ((0 < numPresets) && (NULL == ieq->mThis->mEngine->mEqPresetNames)) { in android_eq_init()
306 ieq->mThis->mEngine->mEqPresetNames = (char **)new char *[numPresets]; in android_eq_init()
307 for(uint32_t i = 0 ; i < numPresets ; i++) { in android_eq_init()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEqualizerTest.java149 short numPresets = mEqualizer.getNumberOfPresets(); in onCreate() local
152 … mParameters[5] = new PresetParam(mEqualizer, (short)0, (short)(numPresets-1), seekBar, textView); in onCreate()