Home
last modified time | relevance | path

Searched refs:effect (Results 1 – 25 of 156) sorted by relevance

1234567

/hardware/qcom/audio/voice_processing/
Dvoice_processing.c171 static int effect_set_state(struct effect_s *effect, uint32_t state) in effect_set_state() argument
174 ALOGV("effect_set_state() id %d, new %d old %d", effect->id, state, effect->state); in effect_set_state()
177 switch(effect->state) { in effect_set_state()
179 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state()
185 BAD_STATE_ABORT(effect->state, state); in effect_set_state()
189 switch(effect->state) { in effect_set_state()
199 BAD_STATE_ABORT(effect->state, state); in effect_set_state()
203 switch(effect->state) { in effect_set_state()
209 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state()
215 BAD_STATE_ABORT(effect->state, state); in effect_set_state()
[all …]
/hardware/interfaces/vibrator/1.3/example/
DVibrator.cpp67 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() argument
68 return perform<decltype(effect)>(effect, strength, _hidl_cb); in perform()
73 Return<void> Vibrator::perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength, in perform_1_1() argument
75 return perform<decltype(effect)>(effect, strength, _hidl_cb); in perform_1_1()
80 Return<void> Vibrator::perform_1_2(V1_2::Effect effect, EffectStrength strength, in perform_1_2() argument
82 return perform<decltype(effect)>(effect, strength, _hidl_cb); in perform_1_2()
103 Return<void> Vibrator::perform_1_3(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform_1_3() argument
104 return perform<decltype(effect)>(effect, strength, _hidl_cb); in perform_1_3()
109 Return<void> Vibrator::perform(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() argument
114 ALOGI("Perform: Effect %s\n", effectToName(effect).c_str()); in perform()
[all …]
DVibrator.h40 Return<void> perform(V1_0::Effect effect, EffectStrength strength,
44 Return<void> perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength,
48 Return<void> perform_1_2(V1_2::Effect effect, EffectStrength strength,
54 Return<void> perform_1_3(Effect effect, EffectStrength strength, perform_cb _hidl_cb) override;
57 Return<void> perform(Effect effect, EffectStrength strength, perform_cb _hidl_cb);
59 Return<void> perform(T effect, EffectStrength strength, perform_cb _hidl_cb);
65 static const std::string effectToName(Effect effect);
66 static uint32_t effectToMs(Effect effect, Status* status);
/hardware/interfaces/audio/effect/all-versions/default/
DAndroid.bp2 name: "android.hardware.audio.effect-impl_default",
49 name: "android.hardware.audio.effect@2.0-impl",
50 defaults: ["android.hardware.audio.effect-impl_default"],
54 "android.hardware.audio.effect@2.0",
65 name: "android.hardware.audio.effect@4.0-impl",
66 defaults: ["android.hardware.audio.effect-impl_default"],
70 "android.hardware.audio.effect@4.0",
81 name: "android.hardware.audio.effect@5.0-impl",
82 defaults: ["android.hardware.audio.effect-impl_default"],
86 "android.hardware.audio.effect@5.0",
DAudioBufferManager.h20 #include PATH(android/hardware/audio/effect/FILE_VERSION/types.h)
30 using ::android::hardware::audio::effect::CPP_VERSION::AudioBuffer;
36 namespace effect {
63 using ::android::hardware::audio::effect::CPP_VERSION::implementation::AudioBufferWrapper;
73 friend class hardware::audio::effect::CPP_VERSION::implementation::AudioBufferWrapper;
DConversions.h20 #include PATH(android/hardware/audio/effect/FILE_VERSION/types.h)
29 namespace effect {
33 using ::android::hardware::audio::effect::CPP_VERSION::EffectDescriptor;
/hardware/interfaces/audio/effect/5.0/
DIEffectsFactory.hal17 package android.hardware.audio.effect@5.0;
27 * @return result list of effect descriptors.
32 * Returns a descriptor of a particular effect.
35 * @return result effect descriptor.
40 * Creates an effect engine of the specified type. To release the effect
41 * engine, it is necessary to release references to the returned effect
44 * @param uid effect uuid.
45 * @param session audio session to which this effect instance will be
49 * @param ioHandle identifies the output or input stream this effect is
52 * @return result the interface for the created effect.
[all …]
DIEffect.hal17 package android.hardware.audio.effect@5.0;
24 * Initialize effect engine--all configurations return to default.
47 * Reset the effect engine. Keep configuration but resets state and buffer
72 * effect implementation must set EFFECT_FLAG_DEVICE_IND flag in its
85 * effect engine. The effect implementation must set EFFECT_FLAG_VOLUME_CTRL
86 * flag in its descriptor to receive this command. The effect engine must
87 * return the volume that should be applied before the effect is
88 * processed. The overall volume (the volume actually applied by the effect
102 * Notify the effect of the volume change. The effect implementation must
115 * Set the audio mode. The effect implementation must set
[all …]
Dtypes.hal17 package android.hardware.audio.effect@5.0;
33 * Definitions for flags field of effect descriptor.
50 * | | | 3 exclusive (only effect in the insert chain)
84 * | | | accelerated effect processor, reads back
88 * | | | function is transparent. The effect interface
89 * | | | is only used to control the effect engine.
102 * | Effect offload | 22 | 0 The effect cannot be offloaded to an audio DSP
103 * | supported | | 1 The effect can be offloaded to an audio DSP
105 * | Process | 23 | 0 The effect implements a process function.
106 * | function | | 1 The effect does not implement a process
[all …]
/hardware/interfaces/audio/effect/4.0/
DIEffectsFactory.hal17 package android.hardware.audio.effect@4.0;
27 * @return result list of effect descriptors.
32 * Returns a descriptor of a particular effect.
35 * @return result effect descriptor.
40 * Creates an effect engine of the specified type. To release the effect
41 * engine, it is necessary to release references to the returned effect
44 * @param uid effect uuid.
45 * @param session audio session to which this effect instance will be
49 * @param ioHandle identifies the output or input stream this effect is
52 * @return result the interface for the created effect.
[all …]
DIEffect.hal17 package android.hardware.audio.effect@4.0;
24 * Initialize effect engine--all configurations return to default.
47 * Reset the effect engine. Keep configuration but resets state and buffer
72 * effect implementation must set EFFECT_FLAG_DEVICE_IND flag in its
85 * effect engine. The effect implementation must set EFFECT_FLAG_VOLUME_CTRL
86 * flag in its descriptor to receive this command. The effect engine must
87 * return the volume that should be applied before the effect is
88 * processed. The overall volume (the volume actually applied by the effect
102 * Notify the effect of the volume change. The effect implementation must
115 * Set the audio mode. The effect implementation must set
[all …]
Dtypes.hal17 package android.hardware.audio.effect@4.0;
33 * Definitions for flags field of effect descriptor.
50 * | | | 3 exclusive (only effect in the insert chain)
83 * | | | accelerated effect processor, reads back
87 * | | | function is transparent. The effect interface
88 * | | | is only used to control the effect engine.
101 * | Effect offload | 22 | 0 The effect cannot be offloaded to an audio DSP
102 * | supported | | 1 The effect can be offloaded to an audio DSP
104 * | Process | 23 | 0 The effect implements a process function.
105 * | function | | 1 The effect does not implement a process
[all …]
/hardware/interfaces/audio/effect/2.0/
DIEffectsFactory.hal17 package android.hardware.audio.effect@2.0;
27 * @return result list of effect descriptors.
32 * Returns a descriptor of a particular effect.
35 * @return result effect descriptor.
40 * Creates an effect engine of the specified type. To release the effect
41 * engine, it is necessary to release references to the returned effect
44 * @param uid effect uuid.
45 * @param session audio session to which this effect instance will be
49 * @param ioHandle identifies the output or input stream this effect is
52 * @return result the interface for the created effect.
[all …]
DIEffect.hal17 package android.hardware.audio.effect@2.0;
24 * Initialize effect engine--all configurations return to default.
49 * Reset the effect engine. Keep configuration but resets state and buffer
75 * effect implementation must set EFFECT_FLAG_DEVICE_IND flag in its
89 * effect engine. The effect implementation must set EFFECT_FLAG_VOLUME_CTRL
90 * flag in its descriptor to receive this command. The effect engine must
91 * return the volume that should be applied before the effect is
92 * processed. The overall volume (the volume actually applied by the effect
107 * Notify the effect of the volume change. The effect implementation must
120 * Set the audio mode. The effect implementation must set
[all …]
Dtypes.hal17 package android.hardware.audio.effect@2.0;
33 * Definitions for flags field of effect descriptor.
50 * | | | 3 exclusive (only effect in the insert chain)
83 * | | | accelerated effect processor, reads back
87 * | | | function is transparent. The effect interface
88 * | | | is only used to control the effect engine.
101 * | Effect offload | 22 | 0 The effect cannot be offloaded to an audio DSP
102 * | supported | | 1 The effect can be offloaded to an audio DSP
104 * | Process | 23 | 0 The effect implements a process function.
105 * | function | | 1 The effect does not implement a process
[all …]
/hardware/interfaces/audio/effect/all-versions/vts/functional/
DVtsHalAudioEffectTargetTest.cpp21 #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()
[all …]
/hardware/interfaces/audio/
DREADME10 |-- common <== code common to audio core and effect API
14 | `-- all_versions <== code common to all version of both core and effect API
15 | |-- default <== implementation shared code between core and effect impl
27 `-- effect <== idem for the effect API
/hardware/interfaces/vibrator/1.2/vts/functional/
DVtsHalVibratorV1_2TargetTest.cpp89 for (const auto& effect : hidl_enum_range<Effect>()) { in TEST_F() local
91 EXPECT_OK(vibrator->perform_1_2(effect, strength, validatePerformEffect)); in TEST_F()
100 Effect effect = *std::prev(hidl_enum_range<Effect>().end()); in TEST_F() local
101 Effect badEffect = static_cast<Effect>(static_cast<int32_t>(effect) + 1); in TEST_F()
110 Effect effect = *hidl_enum_range<Effect>().begin(); in TEST_F() local
111 Effect badEffect = static_cast<Effect>(static_cast<int32_t>(effect) - 1); in TEST_F()
/hardware/interfaces/vibrator/1.3/vts/functional/
DVtsHalVibratorV1_3TargetTest.cpp102 for (const auto& effect : hidl_enum_range<Effect>()) { in TEST_F() local
104 EXPECT_OK(vibrator->perform_1_3(effect, strength, validatePerformEffect)); in TEST_F()
113 Effect effect = *std::prev(hidl_enum_range<Effect>().end()); in TEST_F() local
114 Effect badEffect = static_cast<Effect>(static_cast<int32_t>(effect) + 1); in TEST_F()
123 Effect effect = *hidl_enum_range<Effect>().begin(); in TEST_F() local
124 Effect badEffect = static_cast<Effect>(static_cast<int32_t>(effect) - 1); in TEST_F()
/hardware/interfaces/
Dcurrent.txt15 fa8fbae3d1da3c264e4f3110728076abc09b4e65f12af6ae136367328de988ab android.hardware.audio.effect@2.0:…
16 ca4752545d54547ff069eae161af7550cb5f5a7e8b60316ddd132a30906a68e7 android.hardware.audio.effect@2.0:…
17 d2b8af988dc66f514d886bcee44b440d8034bc2a762f7161717ef3c956073067 android.hardware.audio.effect@2.0:…
18 611bc09c75e796f3512b1ca6be508b0a9ba996759b8a2c60507784ff58076229 android.hardware.audio.effect@2.0:…
19 36a57369dfdc75180e8b64ae80b1970db8f6d9085dbff6ca931715038cc056e1 android.hardware.audio.effect@2.0:…
20 d2aa2df6d189c580f5be8460fa0ff4134d9c05a383f3204659baee426a6f0edf android.hardware.audio.effect@2.0:…
21 217f9161983a48d3bf3faeb158f868aa8bf0ce25889e4ee3d2bab1a2e8d33e77 android.hardware.audio.effect@2.0:…
22 c2b38bc07991e880c83ca8cb88181411eeef708b8b936aedd2f2e0acade7df69 android.hardware.audio.effect@2.0:…
23 2ff9f9704be5f167745b4de790e9dafc3cc4719e2f6e2e5497085e679853cfe7 android.hardware.audio.effect@2.0:…
24 c31447fb02dbc8b56c359941dad22f416511860173c5c5fd278d1bf2312b13de android.hardware.audio.effect@2.0:…
[all …]
/hardware/interfaces/prebuilt_hashes/
D28.txt15 fa8fbae3d1da3c264e4f3110728076abc09b4e65f12af6ae136367328de988ab android.hardware.audio.effect@2.0:…
16 ca4752545d54547ff069eae161af7550cb5f5a7e8b60316ddd132a30906a68e7 android.hardware.audio.effect@2.0:…
17 d2b8af988dc66f514d886bcee44b440d8034bc2a762f7161717ef3c956073067 android.hardware.audio.effect@2.0:…
18 611bc09c75e796f3512b1ca6be508b0a9ba996759b8a2c60507784ff58076229 android.hardware.audio.effect@2.0:…
19 36a57369dfdc75180e8b64ae80b1970db8f6d9085dbff6ca931715038cc056e1 android.hardware.audio.effect@2.0:…
20 d2aa2df6d189c580f5be8460fa0ff4134d9c05a383f3204659baee426a6f0edf android.hardware.audio.effect@2.0:…
21 217f9161983a48d3bf3faeb158f868aa8bf0ce25889e4ee3d2bab1a2e8d33e77 android.hardware.audio.effect@2.0:…
22 c2b38bc07991e880c83ca8cb88181411eeef708b8b936aedd2f2e0acade7df69 android.hardware.audio.effect@2.0:…
23 2ff9f9704be5f167745b4de790e9dafc3cc4719e2f6e2e5497085e679853cfe7 android.hardware.audio.effect@2.0:…
24 c31447fb02dbc8b56c359941dad22f416511860173c5c5fd278d1bf2312b13de android.hardware.audio.effect@2.0:…
[all …]
D26.txt15 fa8fbae3d1da3c264e4f3110728076abc09b4e65f12af6ae136367328de988ab android.hardware.audio.effect@2.0:…
16 ca4752545d54547ff069eae161af7550cb5f5a7e8b60316ddd132a30906a68e7 android.hardware.audio.effect@2.0:…
17 d2b8af988dc66f514d886bcee44b440d8034bc2a762f7161717ef3c956073067 android.hardware.audio.effect@2.0:…
18 611bc09c75e796f3512b1ca6be508b0a9ba996759b8a2c60507784ff58076229 android.hardware.audio.effect@2.0:…
19 36a57369dfdc75180e8b64ae80b1970db8f6d9085dbff6ca931715038cc056e1 android.hardware.audio.effect@2.0:…
20 d2aa2df6d189c580f5be8460fa0ff4134d9c05a383f3204659baee426a6f0edf android.hardware.audio.effect@2.0:…
21 217f9161983a48d3bf3faeb158f868aa8bf0ce25889e4ee3d2bab1a2e8d33e77 android.hardware.audio.effect@2.0:…
22 c2b38bc07991e880c83ca8cb88181411eeef708b8b936aedd2f2e0acade7df69 android.hardware.audio.effect@2.0:…
23 2ff9f9704be5f167745b4de790e9dafc3cc4719e2f6e2e5497085e679853cfe7 android.hardware.audio.effect@2.0:…
24 c31447fb02dbc8b56c359941dad22f416511860173c5c5fd278d1bf2312b13de android.hardware.audio.effect@2.0:…
[all …]
/hardware/interfaces/vibrator/1.0/
Dtypes.hal29 * A single click effect.
31 * This effect should produce a sharp, crisp click sensation.
35 * A double click effect.
37 * This effect should produce two sequential sharp, crisp click sensations with a minimal
/hardware/interfaces/vibrator/1.2/
Dtypes.hal26 * A thud effect.
28 * This effect should solid feeling bump, like the depression of a heavy mechanical button.
32 * A pop effect.
34 * A short, quick burst effect.
39 * A heavy click effect.
/hardware/interfaces/audio/common/all-versions/default/service/
DAndroid.mk48 android.hardware.audio.effect@2.0 \
49 android.hardware.audio.effect@4.0 \
50 android.hardware.audio.effect@5.0 \

1234567