Lines Matching refs:effect
21 #include PATH(android/hardware/audio/effect/FILE_VERSION/IEffect.h)
22 #include PATH(android/hardware/audio/effect/FILE_VERSION/IEffectsFactory.h)
23 #include PATH(android/hardware/audio/effect/FILE_VERSION/IEqualizerEffect.h)
24 #include PATH(android/hardware/audio/effect/FILE_VERSION/ILoudnessEnhancerEffect.h)
25 #include PATH(android/hardware/audio/effect/FILE_VERSION/types.h)
46 using namespace ::android::hardware::audio::effect::CPP_VERSION;
112 sp<IEffect> effect; in TEST_F() local
118 effect = result; in TEST_F()
123 EXPECT_NE(nullptr, effect.get()); in TEST_F()
178 ASSERT_NE(nullptr, effect.get()); in SetUp()
180 Return<Result> ret = effect->init(); in SetUp()
186 effect.clear(); in TearDown()
202 sp<IEffect> effect; member in AudioEffectHidlTest
212 effect = result; in findAndCreateEffect()
239 Return<void> ret = effect->getConfig([&](Result r, const EffectConfig& conf) { in getChannelCount()
255 Return<Result> ret = effect->close(); in TEST_F()
264 Return<void> ret = effect->getDescriptor([&](Result r, const EffectDescriptor& desc) { in TEST_F()
281 Return<void> ret = effect->getConfig([&](Result r, const EffectConfig& conf) { in TEST_F()
289 Return<Result> ret2 = effect->setConfig(currentConfig, nullptr, nullptr); in TEST_F()
296 Return<void> ret = effect->getConfigReverse([&](Result, const EffectConfig&) {}); in TEST_F()
302 Return<void> ret = effect->getSupportedAuxChannelsConfigs( in TEST_F()
309 Return<void> ret = effect->getAuxChannelsConfig([&](Result, const EffectAuxChannelsConfig&) {}); in TEST_F()
315 Return<Result> ret = effect->setAuxChannelsConfig(EffectAuxChannelsConfig()); in TEST_F()
330 namespace effect { namespace
356 Return<void> ret = effect->getConfig([&](Result r, const EffectConfig& conf) { in TEST_F()
364 Return<Result> ret2 = effect->reset(); in TEST_F()
368 ret = effect->getConfig([&](Result r, const EffectConfig& conf) { in TEST_F()
379 Return<Result> ret = effect->disable(); in TEST_F()
382 ret = effect->enable(); in TEST_F()
385 ret = effect->disable(); in TEST_F()
392 Return<Result> ret = effect->setDevice(mkEnumBitfield(AudioDevice::OUT_SPEAKER)); in TEST_F()
408 effect->setAndGetVolume(volumes, [&](Result r, const hidl_vec<uint32_t>&) { retval = r; }); in TEST_F()
422 Return<Result> ret = effect->volumeChangeNotification(volumes); in TEST_F()
429 Return<Result> ret = effect->setAudioMode(AudioMode::NORMAL); in TEST_F()
436 Return<Result> ret = effect->setConfigReverse(EffectConfig(), nullptr, nullptr); in TEST_F()
442 Return<Result> ret = effect->setInputDevice(mkEnumBitfield(AudioDevice::IN_BUILTIN_MIC)); in TEST_F()
448 Return<Result> ret = effect->setAudioSource(AudioSource::MIC); in TEST_F()
457 Return<Result> ret = effect->offload(offloadParam); in TEST_F()
464 Return<void> ret = effect->prepareForProcessing( in TEST_F()
484 Return<Result> ret2 = effect->setProcessBuffers(buffer, buffer); in TEST_F()
492 effect->command(0, hidl_vec<uint8_t>(), 0, [&](int32_t, const hidl_vec<uint8_t>&) {}); in TEST_F()
498 Return<Result> ret = effect->setParameter(hidl_vec<uint8_t>(), hidl_vec<uint8_t>()); in TEST_F()
505 effect->getParameter(hidl_vec<uint8_t>(), 0, [&](Result, const hidl_vec<uint8_t>&) {}); in TEST_F()
511 Return<void> ret = effect->getSupportedConfigsForFeature( in TEST_F()
519 effect->getCurrentConfigForFeature(0, 0, [&](Result, const hidl_vec<uint8_t>&) {}); in TEST_F()
525 Return<Result> ret = effect->setCurrentConfigForFeature(0, hidl_vec<uint8_t>()); in TEST_F()
534 equalizer = IEqualizerEffect::castFrom(effect); in SetUp()
731 ::android::hardware::audio::effect::CPP_VERSION::IEqualizerEffect::AllProperties; in TEST_F()
780 enhancer = ILoudnessEnhancerEffect::castFrom(effect); in SetUp()