Searched refs:ResultFromStatus (Results 1 – 1 of 1) sorted by relevance
41 static Result ResultFromStatus(status_t err) { in ResultFromStatus() function148 return ResultFromStatus(mSensorModule->set_operation_mode((uint32_t)mode)); in setOperationMode()153 return ResultFromStatus( in activate()198 _hidl_cb(ResultFromStatus(err), out, dynamicSensorsAdded); in poll()238 return ResultFromStatus( in batch()248 return ResultFromStatus(mSensorDevice->flush(mSensorDevice, sensor_handle)); in flush()260 return ResultFromStatus( in injectSensorData()282 _hidl_cb(ResultFromStatus(err), -1); in registerDirectChannel()324 _hidl_cb(ResultFromStatus(err), -1); in configDirectReport()326 _hidl_cb(err > 0 ? Result::OK : ResultFromStatus(err), err); in configDirectReport()