Lines Matching refs:strength
162 static uint8_t convertEffectStrength(EffectStrength strength) { in convertEffectStrength() argument
165 switch (strength) { in convertEffectStrength()
178 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() argument
179 return performWrapper(effect, strength, _hidl_cb); in perform()
182 Return<void> Vibrator::perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength, in perform_1_1() argument
184 return performWrapper(effect, strength, _hidl_cb); in perform_1_1()
187 Return<void> Vibrator::perform_1_2(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform_1_2() argument
188 return performWrapper(effect, strength, _hidl_cb); in perform_1_2()
192 Return<void> Vibrator::performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb) { in performWrapper() argument
199 if (strength < *validStrengthRange.begin() || strength > *std::prev(validStrengthRange.end())) { in performWrapper()
203 return performEffect(static_cast<Effect>(effect), strength, _hidl_cb); in performWrapper()
206 Return<void> Vibrator::performEffect(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in performEffect() argument
231 mScale << convertEffectStrength(strength) << std::endl; in performEffect()