Searched refs:halFn (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/vibratorservice/include/vibratorservice/ |
D | VibratorHalController.h | 74 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()
|
D | VibratorManagerHalController.h | 80 HalResult<T> apply(hal_fn<T>& halFn, const char* functionName);
|
/frameworks/native/services/vibratorservice/ |
D | VibratorManagerHalController.cpp | 56 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/ |
D | VibratorHalControllerBenchmarks.cpp | 80 const vibrator::HalFunction<vibrator::HalResult<R>>& halFn) { in halCall() argument 81 return controller.doWithRetry<R>(halFn, "benchmark"); in halCall()
|