Home
last modified time | relevance | path

Searched refs:getOtherArg (Results 1 – 2 of 2) sorted by relevance

/hardware/google/pixel/vibrator/drv2624/bench/
Dbenchmark.cpp87 auto getOtherArg(const ::benchmark::State &state, std::size_t index) const { in getOtherArg() function in aidl::android::hardware::vibrator::VibratorBench
160 return static_cast<Effect>(getOtherArg(state, 0)); in getEffect()
164 return static_cast<EffectStrength>(getOtherArg(state, 1)); in getStrength()
/hardware/interfaces/vibrator/bench/
Dbenchmark.cpp75 auto getOtherArg(const State& state, std::size_t index) const { return state.range(index + 0); } in getOtherArg() function in BaseBench
172 return static_cast<Effect>(this->getOtherArg(state, 0)); in getEffect()
176 return static_cast<EffectStrength>(this->getOtherArg(state, 1)); in getStrength()
588 return static_cast<Aidl::Effect>(this->getOtherArg(state, 0)); in getEffect()
592 return static_cast<Aidl::EffectStrength>(this->getOtherArg(state, 1)); in getStrength()
719 return static_cast<Aidl::CompositePrimitive>(this->getOtherArg(state, 0)); in getPrimitive()