Home
last modified time | relevance | path

Searched refs:strength (Results 1 – 25 of 96) sorted by relevance

1234

/hardware/interfaces/audio/effect/5.0/
DIBassBoostEffect.hal24 * Returns whether setting bass boost strength is supported.
34 * Sets bass boost strength.
36 * @param strength strength of the effect. The valid range for strength
37 * strength is [0, 1000], where 0 per mille designates the
42 setStrength(uint16_t strength) generates (Result retval);
45 * Gets virtualization strength.
47 getStrength() generates (Result retval, uint16_t strength);
DIVirtualizerEffect.hal24 * Returns whether setting virtualization strength is supported.
34 * Sets virtualization strength.
36 * @param strength strength of the effect. The valid range for strength
37 * strength is [0, 1000], where 0 per mille designates the
42 setStrength(uint16_t strength) generates (Result retval);
45 * Gets virtualization strength.
47 getStrength() generates (Result retval, uint16_t strength);
/hardware/interfaces/audio/effect/6.0/
DIBassBoostEffect.hal24 * Returns whether setting bass boost strength is supported.
34 * Sets bass boost strength.
36 * @param strength strength of the effect. The valid range for strength
37 * strength is [0, 1000], where 0 per mille designates the
42 setStrength(uint16_t strength) generates (Result retval);
45 * Gets virtualization strength.
47 getStrength() generates (Result retval, uint16_t strength);
DIVirtualizerEffect.hal24 * Returns whether setting virtualization strength is supported.
34 * Sets virtualization strength.
36 * @param strength strength of the effect. The valid range for strength
37 * strength is [0, 1000], where 0 per mille designates the
42 setStrength(uint16_t strength) generates (Result retval);
45 * Gets virtualization strength.
47 getStrength() generates (Result retval, uint16_t strength);
/hardware/interfaces/audio/effect/4.0/
DIBassBoostEffect.hal24 * Returns whether setting bass boost strength is supported.
34 * Sets bass boost strength.
36 * @param strength strength of the effect. The valid range for strength
37 * strength is [0, 1000], where 0 per mille designates the
42 setStrength(uint16_t strength) generates (Result retval);
45 * Gets virtualization strength.
47 getStrength() generates (Result retval, uint16_t strength);
DIVirtualizerEffect.hal24 * Returns whether setting virtualization strength is supported.
34 * Sets virtualization strength.
36 * @param strength strength of the effect. The valid range for strength
37 * strength is [0, 1000], where 0 per mille designates the
42 setStrength(uint16_t strength) generates (Result retval);
45 * Gets virtualization strength.
47 getStrength() generates (Result retval, uint16_t strength);
/hardware/interfaces/audio/effect/2.0/
DIBassBoostEffect.hal24 * Returns whether setting bass boost strength is supported.
34 * Sets bass boost strength.
36 * @param strength strength of the effect. The valid range for strength
37 * strength is [0, 1000], where 0 per mille designates the
42 setStrength(uint16_t strength) generates (Result retval);
45 * Gets virtualization strength.
47 getStrength() generates (Result retval, uint16_t strength);
DIVirtualizerEffect.hal24 * Returns whether setting virtualization strength is supported.
34 * Sets virtualization strength.
36 * @param strength strength of the effect. The valid range for strength
37 * strength is [0, 1000], where 0 per mille designates the
42 setStrength(uint16_t strength) generates (Result retval);
45 * Gets virtualization strength.
47 getStrength() generates (Result retval, uint16_t strength);
/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
116 amplitude = strengthToAmplitude(strength, &status); 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);
67 static uint8_t strengthToAmplitude(EffectStrength strength, Status* status);
/hardware/qcom/audio/post_proc/
Dvirtualizer.c48 ALOGV("%s: strength: %d", __func__, context->strength); in virtualizer_get_strength()
49 return context->strength; in virtualizer_get_strength()
52 int virtualizer_set_strength(virtualizer_context_t *context, uint32_t strength) in virtualizer_set_strength() argument
54 ALOGV("%s: strength: %d", __func__, strength); in virtualizer_set_strength()
55 context->strength = strength; in virtualizer_set_strength()
57 offload_virtualizer_set_strength(&(context->offload_virt), strength); in virtualizer_set_strength()
126 uint32_t strength; in virtualizer_set_parameter() local
135 strength = (uint32_t)(*(int16_t *)value); in virtualizer_set_parameter()
136 virtualizer_set_strength(virt_ctxt, strength); in virtualizer_set_parameter()
229 if (virt_ctxt->ctl && virt_ctxt->strength) in virtualizer_enable()
Dbass_boost.c48 ALOGV("%s: strength: %d", __func__, context->strength); in bassboost_get_strength()
49 return context->strength; in bassboost_get_strength()
52 int bassboost_set_strength(bassboost_context_t *context, uint32_t strength) in bassboost_set_strength() argument
54 ALOGV("%s: strength: %d", __func__, strength); in bassboost_set_strength()
55 context->strength = strength; in bassboost_set_strength()
57 offload_bassboost_set_strength(&(context->offload_bass), strength); in bassboost_set_strength()
126 uint32_t strength; in bassboost_set_parameter() local
135 strength = (uint32_t)(*(int16_t *)value); in bassboost_set_parameter()
136 bassboost_set_strength(bass_ctxt, strength); in bassboost_set_parameter()
229 if (bass_ctxt->ctl && bass_ctxt->strength) in bassboost_enable()
Deffect_api.c110 int strength) in offload_bassboost_set_strength() argument
113 bassboost->strength = strength; in offload_bassboost_set_strength()
147 *p_param_values++ = bassboost->strength; in offload_bassboost_send_params()
186 int strength) in offload_virtualizer_set_strength() argument
189 virtualizer->strength = strength; in offload_virtualizer_set_strength()
230 *p_param_values++ = virtualizer->strength; in offload_virtualizer_send_params()
Deffect_api.h36 int strength);
56 int strength);
/hardware/interfaces/vibrator/1.2/vts/functional/
DVtsHalVibratorV1_2TargetTest.cpp75 for (const auto& strength : hidl_enum_range<EffectStrength>()) { in TEST_P() local
76 EXPECT_OK(vibrator->perform_1_2(effect, strength, validatePerformEffect)); in TEST_P()
105 EffectStrength strength = *std::prev(hidl_enum_range<EffectStrength>().end()); in TEST_P() local
106 EffectStrength badStrength = static_cast<EffectStrength>(static_cast<int32_t>(strength) + 1); in TEST_P()
114 EffectStrength strength = *hidl_enum_range<EffectStrength>().begin(); in TEST_P() local
115 EffectStrength badStrength = static_cast<EffectStrength>(static_cast<int32_t>(strength) - 1); in TEST_P()
/hardware/interfaces/vibrator/1.3/vts/functional/
DVtsHalVibratorV1_3TargetTest.cpp88 for (const auto& strength : hidl_enum_range<EffectStrength>()) { in TEST_P() local
89 EXPECT_OK(vibrator->perform_1_3(effect, strength, validatePerformEffect)); in TEST_P()
118 EffectStrength strength = *std::prev(hidl_enum_range<EffectStrength>().end()); in TEST_P() local
119 EffectStrength badStrength = static_cast<EffectStrength>(static_cast<int32_t>(strength) + 1); in TEST_P()
128 EffectStrength strength = *hidl_enum_range<EffectStrength>().begin(); in TEST_P() local
129 EffectStrength badStrength = static_cast<EffectStrength>(static_cast<int32_t>(strength) - 1); in TEST_P()
/hardware/interfaces/vibrator/aidl/vts/
DVtsHalVibratorTargetTest.cpp121 for (EffectStrength strength : kEffectStrengths) { in TEST_P() local
123 Status status = vibrator->perform(effect, strength, nullptr /*callback*/, &lengthMs); in TEST_P()
126 EXPECT_TRUE(status.isOk()) << toString(effect) << " " << toString(strength); in TEST_P()
131 << toString(effect) << " " << toString(strength); in TEST_P()
148 for (EffectStrength strength : kEffectStrengths) { in TEST_P() local
154 Status status = vibrator->perform(effect, strength, callback, &lengthMs); in TEST_P()
176 for (EffectStrength strength : kEffectStrengths) { in TEST_P() local
179 Status status = vibrator->perform(effect, strength, callback, &lengthMs); in TEST_P()
188 for (EffectStrength strength : kEffectStrengths) { in TEST_P() local
190 Status status = vibrator->perform(effect, strength, nullptr /*callback*/, &lengthMs); in TEST_P()
[all …]
/hardware/interfaces/vibrator/1.1/vts/functional/
DVtsHalVibratorV1_1TargetTest.cpp97 EffectStrength strength = *std::prev(hidl_enum_range<EffectStrength>().end()); in TEST_P() local
98 EffectStrength badStrength = static_cast<EffectStrength>(static_cast<int32_t>(strength) + 1); in TEST_P()
106 EffectStrength strength = *hidl_enum_range<EffectStrength>().begin(); in TEST_P() local
107 EffectStrength badStrength = static_cast<EffectStrength>(static_cast<int32_t>(strength) - 1); in TEST_P()
/hardware/interfaces/vibrator/aidl/default/
DVibrator.cpp60 ndk::ScopedAStatus Vibrator::perform(Effect effect, EffectStrength strength, in perform() argument
68 if (strength != EffectStrength::LIGHT && strength != EffectStrength::MEDIUM && in perform()
69 strength != EffectStrength::STRONG) { in perform()
185 ndk::ScopedAStatus Vibrator::alwaysOnEnable(int32_t id, Effect effect, EffectStrength strength) { in alwaysOnEnable() argument
193 << toString(strength); in alwaysOnEnable()
/hardware/interfaces/vibrator/1.0/vts/functional/
DVtsHalVibratorV1_0TargetTest.cpp100 EffectStrength strength = *std::prev(hidl_enum_range<EffectStrength>().end()); in TEST_P() local
101 EffectStrength badStrength = static_cast<EffectStrength>(static_cast<int32_t>(strength) + 1); in TEST_P()
109 EffectStrength strength = *hidl_enum_range<EffectStrength>().begin(); in TEST_P() local
110 EffectStrength badStrength = static_cast<EffectStrength>(static_cast<int32_t>(strength) - 1); in TEST_P()
/hardware/interfaces/vibrator/aidl/android/hardware/vibrator/
DIVibrator.aidl100 int perform(in Effect effect, in EffectStrength strength, in IVibratorCallback callback); in perform() argument
215 void alwaysOnEnable(in int id, in Effect effect, in EffectStrength strength); in alwaysOnEnable() argument
/hardware/interfaces/vibrator/aidl/aidl_api/android.hardware.vibrator/1/android/hardware/vibrator/
DIVibrator.aidl24 …are.vibrator.Effect effect, in android.hardware.vibrator.EffectStrength strength, in android.hardw… in perform() argument
34 … in android.hardware.vibrator.Effect effect, in android.hardware.vibrator.EffectStrength strength); in alwaysOnEnable() argument
/hardware/interfaces/vibrator/aidl/aidl_api/android.hardware.vibrator/current/android/hardware/vibrator/
DIVibrator.aidl24 …are.vibrator.Effect effect, in android.hardware.vibrator.EffectStrength strength, in android.hardw… in perform() argument
34 … in android.hardware.vibrator.Effect effect, in android.hardware.vibrator.EffectStrength strength); in alwaysOnEnable() argument
/hardware/interfaces/vibrator/aidl/default/include/vibrator-impl/
DVibrator.h31 ndk::ScopedAStatus perform(Effect effect, EffectStrength strength,
45 ndk::ScopedAStatus alwaysOnEnable(int32_t id, Effect effect, EffectStrength strength) override;
/hardware/qcom/sm8150/display/include/
Ddisplay_color_processing.h81 uint32_t strength; member

1234