Lines Matching refs:Status
46 Return<Status> Vibrator::on(uint32_t timeoutMs) { in on()
50 Return<Status> Vibrator::off() { in off()
58 Return<Status> Vibrator::setAmplitude(uint8_t amplitude) { in setAmplitude()
60 return Status::BAD_VALUE; in setAmplitude()
64 return Status::OK; in setAmplitude()
91 Return<Status> Vibrator::setExternalControl(bool enabled) { in setExternalControl()
94 return Status::UNSUPPORTED_OPERATION; in setExternalControl()
99 return Status::OK; in setExternalControl()
112 Status status = Status::OK; in perform()
117 if (status != Status::OK) { in perform()
124 if (status != Status::OK) { in perform()
139 _hidl_cb(Status::UNSUPPORTED_OPERATION, 0); in perform()
145 Status Vibrator::enable(bool enabled) { in enable()
148 return Status::UNSUPPORTED_OPERATION; in enable()
152 return Status::OK; in enable()
156 Status Vibrator::activate(uint32_t ms) { in activate()
158 Status status = Status::OK; in activate()
162 if (status != Status::OK) { in activate()
173 status = Status::UNKNOWN_ERROR; in activate()
176 if ((status != Status::OK) || !ms) { in activate()
177 Status _status; in activate()
181 if (status == Status::OK) { in activate()
210 uint32_t Vibrator::effectToMs(Effect effect, Status* status) { in effectToMs()
256 *status = Status::UNSUPPORTED_OPERATION; in effectToMs()
260 uint8_t Vibrator::strengthToAmplitude(EffectStrength strength, Status* status) { in strengthToAmplitude()
269 *status = Status::UNSUPPORTED_OPERATION; in strengthToAmplitude()