Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaEqualizerTest.java185 short numPresets = mEqualizer.getNumberOfPresets(); in test1_2Presets() local
186 assertTrue(msg + ": getNumberOfPresets failed", numPresets >= MIN_NUMBER_OF_PRESETS); in test1_2Presets()
187 mEqualizer.usePreset((short)(numPresets - 1)); in test1_2Presets()
189 assertEquals(msg + ": usePreset failed", preset, (short)(numPresets - 1)); in test1_2Presets()
/frameworks/wilhelm/src/android/
Dandroid_Effect.cpp309 uint16_t numPresets = 0; in android_eq_init() local
311 EQ_PARAM_GET_NUM_OF_PRESETS, 0, &numPresets)) { in android_eq_init()
312 ieq->mThis->mEngine->mEqNumPresets = numPresets; in android_eq_init()
313 ieq->mNumPresets = numPresets; in android_eq_init()
318 if ((0 < numPresets) && (NULL == ieq->mThis->mEngine->mEqPresetNames)) { in android_eq_init()
319 ieq->mThis->mEngine->mEqPresetNames = (char **)new char *[numPresets]; in android_eq_init()
320 for(uint32_t i = 0 ; i < numPresets ; i++) { in android_eq_init()
/frameworks/av/media/libaudioclient/tests/
Daudioeffect_analyser.cpp242 int numPresets = *((uint16_t*)((int32_t*)eqParam->data + 1)); in TEST() local
295 for (auto preset = 0; preset < numPresets; preset++) { in TEST()
341 EXPECT_EQ(numPresetsOk, numPresets) << msg; in TEST()
/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()