Lines Matching refs:status

346     snprintf(buffer, SIZE, "Hardware status: %d\n"
453 status_t *status)
541 if (status != NULL) {
542 *status = lStatus;
1034 status_t status;
1189 status_t status;
1199 status = mParamStatus;
1202 status = TIMED_OUT;
1204 return status;
1362 status_t status = mPowerManager->acquireWakeLock(POWERMANAGER_PARTIAL_WAKE_LOCK,
1365 if (status == NO_ERROR) {
1368 ALOGV("acquireWakeLock_l() %s status %d", mName, status);
1685 status_t status = initCheck();
1686 if (status == NO_ERROR) {
1691 return status;
1720 status_t *status)
1868 if (status) {
1869 *status = lStatus;
1947 status_t status = ALREADY_EXISTS;
1967 status = NO_ERROR;
1973 return status;
2845 status_t status = INVALID_OPERATION;
2848 status = mNormalSink->getNextWriteTimestamp(&pts);
2850 status = mOutputSink->getNextWriteTimestamp(&pts);
2853 if (status != NO_ERROR) {
3276 // TODO: use actual buffer filling status instead of latency when available from
3379 // FIXME as a performance optimization, should remember previous zero status
3383 // if any fast tracks, then status is ready
3468 status_t status = NO_ERROR;
3478 status = BAD_VALUE;
3485 status = BAD_VALUE;
3495 status = INVALID_OPERATION;
3532 if (status == NO_ERROR) {
3533 status = mOutput->stream->common.set_parameters(&mOutput->stream->common,
3535 if (!mStandby && status == INVALID_OPERATION) {
3539 status = mOutput->stream->common.set_parameters(&mOutput->stream->common,
3542 if (status == NO_ERROR && reconfig) {
3563 mParamStatus = status;
3566 // already timed out waiting for the status and will never signal the condition.
3897 status_t status = NO_ERROR;
3907 status = INVALID_OPERATION;
3912 if (status == NO_ERROR) {
3913 status = mOutput->stream->common.set_parameters(&mOutput->stream->common,
3915 if (!mStandby && status == INVALID_OPERATION) {
3919 status = mOutput->stream->common.set_parameters(&mOutput->stream->common,
3922 if (status == NO_ERROR && reconfig) {
3930 mParamStatus = status;
3933 // already timed out waiting for the status and will never signal the condition.
4576 status_t status = NO_ERROR;
4596 status = AudioSystem::startOutput(thread->id(), mStreamType, mSessionId);
4601 if (status == NO_ERROR) {
4606 if (status == NO_ERROR) {
4614 status = BAD_VALUE;
4616 return status;
4726 status_t status = DEAD_OBJECT;
4768 status = playbackThread->attachAuxEffect(this, EffectId);
4770 return status;
4784 // first time (mPresentationCompleteFrames == 0) plus the buffer filling status at that time.
5212 // Looks like our output is not on time. Reset our on timed status.
5524 status_t status = Track::start(event, triggerSession);
5525 if (status != NO_ERROR) {
5526 return status;
5531 return status;
5888 status_t *status)
5941 if (status) {
5942 *status = lStatus;
6020 status_t status = initCheck();
6021 ALOGW_IF(status != NO_ERROR,"RecordThread %p could not initialize", this);
6022 return status;
6250 status_t *status)
6284 if (status) {
6285 *status = lStatus;
6296 status_t status = NO_ERROR;
6320 status = -EBUSY;
6324 return status;
6330 status_t status = AudioSystem::startInput(mId);
6332 if (status != NO_ERROR) {
6335 return status;
6349 status = INVALID_OPERATION;
6355 status = BAD_VALUE;
6359 return status;
6364 return status;
6389 // TODO: use actual buffer filling status instead of 2 buffers when info is available
6593 status_t status = NO_ERROR;
6618 status = INVALID_OPERATION;
6631 // Note that status is ignored by the caller for output device
6635 status = BAD_VALUE;
6659 if (status == NO_ERROR) {
6660 status = mInput->stream->common.set_parameters(&mInput->stream->common, keyValuePair.string());
6661 if (status == INVALID_OPERATION) {
6663 status = mInput->stream->common.set_parameters(&mInput->stream->common,
6667 if (status == BAD_VALUE &&
6673 status = NO_ERROR;
6675 if (status == NO_ERROR) {
6684 mParamStatus = status;
6687 // already timed out waiting for the status and will never signal the condition.
6951 status_t status;
6984 status = hwDevHal->open_output_stream(hwDevHal,
6992 ALOGV("openOutput() openOutputStream returned output %p, SamplingRate %d, Format %d, Channels %x, status %d",
6997 status);
6999 if (status == NO_ERROR && outStream != NULL) {
7139 status_t status;
7165 status = inHwHal->open_input_stream(inHwHal, id, *pDevices, &config,
7167 ALOGV("openInput() openInputStream returned input %p, SamplingRate %d, Format %d, Channels %x, status %d",
7172 status);
7177 if (status == BAD_VALUE &&
7183 status = inHwHal->open_input_stream(inHwHal, id, *pDevices, &config, &inStream);
7186 if (status == NO_ERROR && inStream != NULL) {
7474 status_t *status,
7644 if (status != NULL) {
7645 *status = lStatus;
7748 status_t *status
7811 lStatus = effect->status();
7849 if (status != NULL) {
7850 *status = lStatus;
7892 status_t status = chain->addEffect_l(effect);
7893 if (status != NO_ERROR) {
7897 return status;
8090 status_t status = NO_ERROR;
8101 status = INVALID_OPERATION;
8104 status = BAD_VALUE;
8107 return status;
8216 status_t status;
8239 status = NO_ERROR;
8241 status = ALREADY_EXISTS;
8245 return status;
8457 status_t status = (*mEffectInterface)->command(mEffectInterface,
8463 if (status == 0) {
8464 status = cmdStatus;
8467 if (status == 0 &&
8495 return status;
8506 status_t status = (*mEffectInterface)->command(mEffectInterface,
8512 if (status == 0) {
8513 status = cmdStatus;
8515 return status;
8531 status_t status = (*mEffectInterface)->command(mEffectInterface,
8537 if (status == 0) {
8538 status = cmdStatus;
8540 if (status == 0 &&
8551 return status;
8567 status_t status = (*mEffectInterface)->command(mEffectInterface,
8573 if (status == 0) {
8574 status = cmdStatus;
8576 if (status == 0 &&
8587 return status;
8602 status_t status = (*mEffectInterface)->command(mEffectInterface,
8608 if (cmdCode != EFFECT_CMD_GET_PARAM && status == NO_ERROR) {
8617 return status;
8633 status_t status = AudioSystem::setEffectEnabled(mId, enabled);
8634 if (enabled && status != NO_ERROR) {
8635 return status;
8708 status_t status = NO_ERROR;
8724 status = (*mEffectInterface)->command(mEffectInterface,
8730 if (controller && status == NO_ERROR && size == sizeof(volume)) {
8735 return status;
8745 status_t status = NO_ERROR;
8751 status = (*mEffectInterface)->command(mEffectInterface,
8758 return status;
8764 status_t status = NO_ERROR;
8768 status = (*mEffectInterface)->command(mEffectInterface,
8774 if (status == NO_ERROR) {
8775 status = cmdStatus;
8778 return status;
8784 status_t status = NO_ERROR;
8787 status = (*mEffectInterface)->command(mEffectInterface,
8794 return status;
8978 status_t status = mEffect->setEnabled(true);
8979 if (status != NO_ERROR) {
8985 return status;
9003 status_t status = mEffect->setEnabled(false);
9010 return status;
9073 status_t status = NO_ERROR;
9099 status = ret;
9110 return status;