Lines Matching refs:Vibrator
146 void Vibrator::createPwleMaxLevelLimitMap() { in createPwleMaxLevelLimitMap()
148 Vibrator::getCapabilities(&capabilities); in createPwleMaxLevelLimitMap()
192 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator() function in aidl::android::hardware::vibrator::Vibrator
267 ndk::ScopedAStatus Vibrator::getCapabilities(int32_t *_aidl_return) { in getCapabilities()
285 ndk::ScopedAStatus Vibrator::off() { in off()
296 ndk::ScopedAStatus Vibrator::on(int32_t timeoutMs, in on()
310 ndk::ScopedAStatus Vibrator::perform(Effect effect, EffectStrength strength, in perform()
317 ndk::ScopedAStatus Vibrator::getSupportedEffects(std::vector<Effect> *_aidl_return) { in getSupportedEffects()
323 ndk::ScopedAStatus Vibrator::setAmplitude(float amplitude) { in setAmplitude()
336 ndk::ScopedAStatus Vibrator::setExternalControl(bool enabled) { in setExternalControl()
378 ndk::ScopedAStatus Vibrator::getCompositionDelayMax(int32_t *maxDelayMs) { in getCompositionDelayMax()
384 ndk::ScopedAStatus Vibrator::getCompositionSizeMax(int32_t *maxSize) { in getCompositionSizeMax()
390 ndk::ScopedAStatus Vibrator::getSupportedPrimitives(std::vector<CompositePrimitive> *supported) { in getSupportedPrimitives()
401 ndk::ScopedAStatus Vibrator::getPrimitiveDuration(CompositePrimitive primitive, in getPrimitiveDuration()
420 ndk::ScopedAStatus Vibrator::compose(const std::vector<CompositeEffect> &composite, in compose()
465 ndk::ScopedAStatus Vibrator::on(uint32_t timeoutMs, uint32_t effectIndex, in on()
478 mAsyncHandle = std::async(&Vibrator::waitForComplete, this, callback); in on()
483 ndk::ScopedAStatus Vibrator::setEffectAmplitude(float amplitude, float maximum) { in setEffectAmplitude()
494 ndk::ScopedAStatus Vibrator::setGlobalAmplitude(bool set) { in setGlobalAmplitude()
506 ndk::ScopedAStatus Vibrator::getSupportedAlwaysOnEffects(std::vector<Effect> *_aidl_return) { in getSupportedAlwaysOnEffects()
511 ndk::ScopedAStatus Vibrator::alwaysOnEnable(int32_t id, Effect effect, EffectStrength strength) { in alwaysOnEnable()
538 ndk::ScopedAStatus Vibrator::alwaysOnDisable(int32_t id) { in alwaysOnDisable()
551 ndk::ScopedAStatus Vibrator::getResonantFrequency(float *resonantFreqHz) { in getResonantFrequency()
562 ndk::ScopedAStatus Vibrator::getQFactor(float *qFactor) { in getQFactor()
573 ndk::ScopedAStatus Vibrator::getFrequencyResolution(float *freqResolutionHz) { in getFrequencyResolution()
575 Vibrator::getCapabilities(&capabilities); in getFrequencyResolution()
584 ndk::ScopedAStatus Vibrator::getFrequencyMinimum(float *freqMinimumHz) { in getFrequencyMinimum()
586 Vibrator::getCapabilities(&capabilities); in getFrequencyMinimum()
595 ndk::ScopedAStatus Vibrator::getBandwidthAmplitudeMap(std::vector<float> *_aidl_return) { in getBandwidthAmplitudeMap()
598 Vibrator::getCapabilities(&capabilities); in getBandwidthAmplitudeMap()
608 ndk::ScopedAStatus Vibrator::getPwlePrimitiveDurationMax(int32_t *durationMs) { in getPwlePrimitiveDurationMax()
610 Vibrator::getCapabilities(&capabilities); in getPwlePrimitiveDurationMax()
619 ndk::ScopedAStatus Vibrator::getPwleCompositionSizeMax(int32_t *maxSize) { in getPwleCompositionSizeMax()
621 Vibrator::getCapabilities(&capabilities); in getPwleCompositionSizeMax()
635 ndk::ScopedAStatus Vibrator::getSupportedBraking(std::vector<Braking> *supported) { in getSupportedBraking()
637 Vibrator::getCapabilities(&capabilities); in getSupportedBraking()
649 ndk::ScopedAStatus Vibrator::setPwle(const std::string &pwleQueue) { in setPwle()
696 ndk::ScopedAStatus Vibrator::composePwle(const std::vector<PrimitivePwle> &composite, in composePwle()
809 mAsyncHandle = std::async(&Vibrator::waitForComplete, this, callback); in composePwle()
814 bool Vibrator::isUnderExternalControl() { in isUnderExternalControl()
818 binder_status_t Vibrator::dump(int fd, const char **args, uint32_t numArgs) { in dump()
857 ndk::ScopedAStatus Vibrator::getSimpleDetails(Effect effect, EffectStrength strength, in getSimpleDetails()
910 ndk::ScopedAStatus Vibrator::getCompoundDetails(Effect effect, EffectStrength strength, in getCompoundDetails()
958 ndk::ScopedAStatus Vibrator::getPrimitiveDetails(CompositePrimitive primitive, in getPrimitiveDetails()
998 ndk::ScopedAStatus Vibrator::setEffectQueue(const std::string &effectQueue) { in setEffectQueue()
1008 ndk::ScopedAStatus Vibrator::performEffect(Effect effect, EffectStrength strength, in performEffect()
1046 ndk::ScopedAStatus Vibrator::performEffect(uint32_t effectIndex, uint32_t volLevel, in performEffect()
1063 void Vibrator::waitForComplete(std::shared_ptr<IVibratorCallback> &&callback) { in waitForComplete()
1075 uint32_t Vibrator::intensityToVolLevel(float intensity, uint32_t effectIndex) { in intensityToVolLevel()
1106 bool Vibrator::findHapticAlsaDevice(int *card, int *device) { in findHapticAlsaDevice()
1126 bool Vibrator::hasHapticAlsaDevice() { in hasHapticAlsaDevice()
1142 bool Vibrator::enableHapticPcmAmp(struct pcm **haptic_pcm, bool enable, int card, int device) { in enableHapticPcmAmp()