Lines Matching refs:fromStatus
64 HalResult<T> HalResult<T>::fromStatus(V1_0::Status status, T data) { in fromStatus() function in android::vibrator::HalResult
84 return ret.isOk() ? HalResult<T>::fromStatus(status, data) in fromReturn()
90 HalResult<void> HalResult<void>::fromStatus(status_t status) { in fromStatus() function in android::vibrator::HalResult
97 HalResult<void> HalResult<void>::fromStatus(binder::Status status) { in fromStatus() function in android::vibrator::HalResult
110 HalResult<void> HalResult<void>::fromStatus(V1_0::Status status) { in fromStatus() function in android::vibrator::HalResult
272 return HalResult<void>::fromStatus(IInterface::asBinder(getHal())->pingBinder()); in ping()
294 auto ret = HalResult<void>::fromStatus(getHal()->on(timeout.count(), cb)); in on()
303 return HalResult<void>::fromStatus(getHal()->off()); in off()
307 return HalResult<void>::fromStatus(getHal()->setAmplitude(amplitude)); in setAmplitude()
311 return HalResult<void>::fromStatus(getHal()->setExternalControl(enabled)); in setExternalControl()
315 return HalResult<void>::fromStatus(getHal()->alwaysOnEnable(id, effect, strength)); in alwaysOnEnable()
319 return HalResult<void>::fromStatus(getHal()->alwaysOnDisable(id)); in alwaysOnDisable()
333 auto ret = HalResult<milliseconds>::fromStatus(result, length); in performEffect()
360 return HalResult<milliseconds>::fromStatus(getHal()->compose(primitives, cb), duration); in performComposedEffect()
367 return HalResult<void>::fromStatus(getHal()->composePwle(primitives, cb)); in performPwleEffect()
373 return HalResult<Capabilities>::fromStatus(result, static_cast<Capabilities>(capabilities)); in getCapabilitiesInternal()
379 return HalResult<std::vector<Effect>>::fromStatus(result, supportedEffects); in getSupportedEffectsInternal()
385 return HalResult<std::vector<Braking>>::fromStatus(result, supportedBraking); in getSupportedBrakingInternal()
391 return HalResult<std::vector<CompositePrimitive>>::fromStatus(result, supportedPrimitives); in getSupportedPrimitivesInternal()
421 return HalResult<milliseconds>::fromStatus(result, milliseconds(delay)); in getPrimitiveDelayMaxInternal()
427 return HalResult<milliseconds>::fromStatus(result, milliseconds(delay)); in getPrimitiveDurationMaxInternal()
433 return HalResult<int32_t>::fromStatus(result, size); in getCompositionSizeMaxInternal()
439 return HalResult<int32_t>::fromStatus(result, size); in getPwleSizeMaxInternal()
445 return HalResult<float>::fromStatus(result, minFrequency); in getMinFrequencyInternal()
451 return HalResult<float>::fromStatus(result, f0); in getResonantFrequencyInternal()
457 return HalResult<float>::fromStatus(result, frequencyResolution); in getFrequencyResolutionInternal()
463 return HalResult<float>::fromStatus(result, qFactor); in getQFactorInternal()
469 return HalResult<std::vector<float>>::fromStatus(result, amplitudes); in getMaxAmplitudesInternal()
498 auto ret = HalResult<void>::fromStatus(result.withDefault(V1_0::Status::UNKNOWN_ERROR)); in on()
508 return HalResult<void>::fromStatus(result.withDefault(V1_0::Status::UNKNOWN_ERROR)); in off()
515 return HalResult<void>::fromStatus(result.withDefault(V1_0::Status::UNKNOWN_ERROR)); in setAmplitude()
632 return HalResult<void>::fromStatus(result.withDefault(V1_0::Status::UNKNOWN_ERROR)); in setExternalControl()