Home
last modified time | relevance | path

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

/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalController.h74 HalResult<T> doWithRetry(const HalFunction<HalResult<T>>& halFn, const char* functionName) { in doWithRetry() argument
75 return apply(halFn, HalResult<T>::unsupported(), functionName); in doWithRetry()
93 T apply(const HalFunction<T>& halFn, T defaultValue, const char* functionName) { in apply() argument
105 T result = halFn(hal.get()); in apply()
113 return halFn(hal.get()); in apply()
DVibratorManagerHalController.h80 HalResult<T> apply(hal_fn<T>& halFn, const char* functionName);
/frameworks/native/services/vibratorservice/
DVibratorManagerHalController.cpp56 HalResult<T> ManagerHalController::apply(ManagerHalController::hal_fn<T>& halFn, in apply() argument
73 HalResult<T> ret = processHalResult(halFn(hal), functionName); in apply()
75 ret = processHalResult(halFn(hal), functionName); in apply()
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp80 const vibrator::HalFunction<vibrator::HalResult<R>>& halFn) { in halCall() argument
81 return controller.doWithRetry<R>(halFn, "benchmark"); in halCall()