Searched refs:fromFailedStatus (Results 1 – 1 of 1) sorted by relevance
102 return status.isOk() ? HalResult<T>::ok(data) : fromFailedStatus<T>(status); in fromStatus()108 : fromFailedStatus<T>(status); in fromStatus()123 return (status == android::OK) ? HalResult<void>::ok() : fromFailedStatus<void>(status); in fromStatus()127 return status.isOk() ? HalResult<void>::ok() : fromFailedStatus<void>(status); in fromStatus()132 : fromFailedStatus<void>(status); in fromStatus()142 static HalResult<T> fromFailedStatus(status_t status) { in fromFailedStatus() function149 static HalResult<T> fromFailedStatus(binder::Status status) { in fromFailedStatus() function163 static HalResult<T> fromFailedStatus(hardware::vibrator::V1_0::Status status) { in fromFailedStatus() function