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.cpp60 auto getOtherArg(const State& state, std::size_t index) const { return state.range(index + 0); } in getOtherArg() function in BaseBench
135 return static_cast<Effect>(this->getOtherArg(state, 0)); in getEffect()
139 return static_cast<EffectStrength>(this->getOtherArg(state, 1)); in getStrength()
414 return static_cast<Aidl::Effect>(this->getOtherArg(state, 0)); in getEffect()
418 return static_cast<Aidl::EffectStrength>(this->getOtherArg(state, 1)); in getStrength()
506 return static_cast<Aidl::CompositePrimitive>(this->getOtherArg(state, 0)); in getPrimitive()