Lines Matching refs:strength
152 static uint8_t convertEffectStrength(EffectStrength strength) { in convertEffectStrength() argument
155 switch (strength) { in convertEffectStrength()
168 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() argument
169 return performWrapper(effect, strength, _hidl_cb); in perform()
172 Return<void> Vibrator::perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength, in perform_1_1() argument
174 return performWrapper(effect, strength, _hidl_cb); in perform_1_1()
177 Return<void> Vibrator::perform_1_2(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform_1_2() argument
178 return performWrapper(effect, strength, _hidl_cb); in perform_1_2()
182 Return<void> Vibrator::performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb) { in performWrapper() argument
189 if (strength < *validStrengthRange.begin() || strength > *std::prev(validStrengthRange.end())) { in performWrapper()
193 return performEffect(static_cast<Effect>(effect), strength, _hidl_cb); in performWrapper()
196 Return<void> Vibrator::performEffect(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in performEffect() argument
221 mHwApi.scale << convertEffectStrength(strength) << std::endl; in performEffect()