Lines Matching refs:status

119     status_t status;
147 status = NO_ERROR;
149 status = ALREADY_EXISTS;
153 return status;
347 status_t status;
353 status = NO_INIT;
359 status = DEAD_OBJECT;
423 status = mEffectInterface->command(EFFECT_CMD_SET_CONFIG,
428 if (status == 0) {
429 status = cmdStatus;
432 if (status == 0 &&
460 mStatus = status;
461 return status;
472 status_t status = mEffectInterface->command(EFFECT_CMD_INIT,
477 if (status == 0) {
478 status = cmdStatus;
480 return status;
502 status_t status;
505 status = start_l();
506 if (status == NO_ERROR) {
513 return status;
526 status_t status = mEffectInterface->command(EFFECT_CMD_ENABLE,
531 if (status == 0) {
532 status = cmdStatus;
534 if (status == 0) {
537 return status;
556 status_t status = mEffectInterface->command(EFFECT_CMD_DISABLE,
561 if (status == NO_ERROR) {
562 status = cmdStatus;
564 if (status == NO_ERROR) {
565 status = remove_effect_from_hal_l();
567 return status;
665 status_t status = mEffectInterface->command(cmdCode,
670 if (cmdCode != EFFECT_CMD_GET_PARAM && status == NO_ERROR) {
679 return status;
695 status_t status = AudioSystem::setEffectEnabled(mId, enabled);
696 if (enabled && status != NO_ERROR) {
697 return status;
799 status_t status = NO_ERROR;
813 status = mEffectInterface->command(EFFECT_CMD_SET_VOLUME,
818 if (controller && status == NO_ERROR && size == sizeof(volume)) {
823 return status;
836 status_t status = NO_ERROR;
842 status = mEffectInterface->command(cmd,
848 return status;
857 status_t status = NO_ERROR;
861 status = mEffectInterface->command(EFFECT_CMD_SET_AUDIO_MODE,
866 if (status == NO_ERROR) {
867 status = cmdStatus;
870 return status;
879 status_t status = NO_ERROR;
882 status = mEffectInterface->command(EFFECT_CMD_SET_AUDIO_SOURCE,
888 return status;
924 status_t status = NO_ERROR;
932 status = mEffectInterface->command(EFFECT_CMD_OFFLOAD,
937 if (status == NO_ERROR) {
938 status = cmdStatus;
940 mOffloaded = (status == NO_ERROR) ? offloaded : false;
943 status = INVALID_OPERATION;
947 ALOGV("setOffloaded() offloaded %d io %d status %d", offloaded, io, status);
948 return status;
1220 status_t status = effect->setEnabled(true);
1221 if (status != NO_ERROR) {
1243 return status;
1267 status_t status = effect->setEnabled(false);
1278 return status;
1390 status_t status = NO_ERROR;
1399 status = BAD_VALUE;
1407 status = NO_MEMORY;
1424 status = BAD_VALUE;
1430 status = ret;
1442 return status;
1665 status_t lStatus = effect->status();