Home
last modified time | relevance | path

Searched refs:halFn (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalController.h96 HalResult<T> doWithRetry(const HalFunction<HalResult<T>>& halFn, const char* functionName) { in doWithRetry() argument
97 return doWithRetry<T>(halFn, HalResult<T>::unsupported(), functionName); in doWithRetry()
115 HalResult<T> doWithRetry(const HalFunction<HalResult<T>>& halFn, HalResult<T> defaultValue, in doWithRetry() argument
127 HalResult<T> result = doOnce(hal.get(), halFn, functionName); in doWithRetry()
130 result = doOnce(hal.get(), halFn, functionName); in doWithRetry()
136 HalResult<T> doOnce(HalWrapper* hal, const HalFunction<HalResult<T>>& halFn, in doOnce() argument
138 HalResult<T> result = halFn(hal); in doOnce()
DVibratorManagerHalController.h80 HalResult<T> apply(hal_fn<T>& halFn, const char* functionName);
/frameworks/native/services/vibratorservice/
DVibratorManagerHalController.cpp54 HalResult<T> ManagerHalController::apply(ManagerHalController::hal_fn<T>& halFn, in apply() argument
71 HalResult<T> result = processHalResult(halFn(hal), functionName); in apply()
77 result = processHalResult(halFn(hal), functionName); in apply()
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp170 bool shouldSkipWithError(const vibrator::HalFunction<vibrator::HalResult<R>>& halFn, in shouldSkipWithError() argument
172 return shouldSkipWithError(mController.doWithRetry<R>(halFn, label), state); in shouldSkipWithError()