Lines Matching defs:status

132     status_t status;
160 status = NO_ERROR;
162 status = ALREADY_EXISTS;
166 return status;
495 status_t status;
501 status = NO_INIT;
507 status = DEAD_OBJECT;
583 status = mEffectInterface->command(EFFECT_CMD_SET_CONFIG,
588 if (status == NO_ERROR) {
589 status = cmdStatus;
593 if (status != NO_ERROR &&
608 status = mEffectInterface->command(EFFECT_CMD_SET_CONFIG,
613 if (status == NO_ERROR) {
614 status = cmdStatus;
620 if (status == NO_ERROR) {
624 if (status != NO_ERROR) {
629 status = mEffectInterface->command(EFFECT_CMD_SET_CONFIG,
634 if (status == NO_ERROR) {
635 status = cmdStatus;
637 if (status == NO_ERROR) {
641 ALOGE("%s failed %d with int16_t (as well as float)", __func__, status);
646 if (status == NO_ERROR) {
684 mStatus = status;
686 return status;
697 status_t status = mEffectInterface->command(EFFECT_CMD_INIT,
702 if (status == 0) {
703 status = cmdStatus;
705 return status;
727 status_t status;
730 status = start_l();
731 if (status == NO_ERROR) {
738 return status;
751 status_t status = mEffectInterface->command(EFFECT_CMD_ENABLE,
756 if (status == 0) {
757 status = cmdStatus;
759 if (status == 0) {
762 return status;
781 status_t status = mEffectInterface->command(EFFECT_CMD_DISABLE,
786 if (status == NO_ERROR) {
787 status = cmdStatus;
789 if (status == NO_ERROR) {
790 status = remove_effect_from_hal_l();
792 return status;
890 status_t status = mEffectInterface->command(cmdCode,
895 if (cmdCode != EFFECT_CMD_GET_PARAM && status == NO_ERROR) {
904 return status;
920 status_t status = AudioSystem::setEffectEnabled(mId, enabled);
921 if (enabled && status != NO_ERROR) {
922 return status;
1098 status_t status = NO_ERROR;
1112 status = mEffectInterface->command(EFFECT_CMD_SET_VOLUME,
1117 if (controller && status == NO_ERROR && size == sizeof(volume)) {
1122 return status;
1135 status_t status = NO_ERROR;
1141 status = mEffectInterface->command(cmd,
1147 return status;
1156 status_t status = NO_ERROR;
1160 status = mEffectInterface->command(EFFECT_CMD_SET_AUDIO_MODE,
1165 if (status == NO_ERROR) {
1166 status = cmdStatus;
1169 return status;
1178 status_t status = NO_ERROR;
1181 status = mEffectInterface->command(EFFECT_CMD_SET_AUDIO_SOURCE,
1187 return status;
1223 status_t status = NO_ERROR;
1231 status = mEffectInterface->command(EFFECT_CMD_OFFLOAD,
1236 if (status == NO_ERROR) {
1237 status = cmdStatus;
1239 mOffloaded = (status == NO_ERROR) ? offloaded : false;
1242 status = INVALID_OPERATION;
1246 ALOGV("setOffloaded() offloaded %d io %d status %d", offloaded, io, status);
1247 return status;
1529 status_t status = effect->setEnabled(true);
1530 if (status != NO_ERROR) {
1552 return status;
1576 status_t status = effect->setEnabled(false);
1587 return status;
1716 status_t status = NO_ERROR;
1725 status = BAD_VALUE;
1733 status = NO_MEMORY;
1750 status = BAD_VALUE;
1756 status = ret;
1768 return status;
1988 status_t lStatus = effect->status();