Lines Matching defs:status

131     status_t status;
132 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType);
133 if (status != NO_ERROR) {
134 ALOGE("Unable to query output sample rate for stream type %d; status %d",
135 streamType, status);
136 return status;
139 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType);
140 if (status != NO_ERROR) {
141 ALOGE("Unable to query output frame count for stream type %d; status %d",
142 streamType, status);
143 return status;
146 status = AudioSystem::getOutputLatency(&afLatency, streamType);
147 if (status != NO_ERROR) {
148 ALOGE("Unable to query output latency for stream type %d; status %d",
149 streamType, status);
150 return status;
507 status_t status = createTrack_l();
509 if (status != NO_ERROR) {
515 return status;
604 status_t status = NO_ERROR;
606 status = mAudioTrack->start();
607 if (status == DEAD_OBJECT) {
612 status = restoreTrack_l("start");
617 if (status == NO_ERROR) {
630 ALOGE("start() status %d", status);
642 return status;
839 status_t status = AudioSystem::getSamplingRate(mOutput, &sampleRate);
840 if (status == NO_ERROR) {
1201 status_t status = mAudioTrack->attachAuxEffect(effectId);
1202 if (status == NO_ERROR) {
1205 return status;
1237 status_t status;
1238 status = AudioSystem::getOutputForAttr(attr, &output,
1243 if (status != NO_ERROR || output == AUDIO_IO_HANDLE_NONE) {
1254 status = AudioSystem::getLatency(output, &mAfLatency);
1255 if (status != NO_ERROR) {
1256 ALOGE("getLatency(%d) failed status %d", output, status);
1261 status = AudioSystem::getFrameCount(output, &mAfFrameCount);
1262 if (status != NO_ERROR) {
1263 ALOGE("getFrameCount(output=%d) status %d", output, status);
1269 status = AudioSystem::getFrameCountHAL(output, &afFrameCountHAL);
1270 if (status != NO_ERROR) {
1271 ALOGE("getFrameCountHAL(output=%d) status %d", output, status);
1276 status = AudioSystem::getSamplingRate(output, &mAfSampleRate);
1277 if (status != NO_ERROR) {
1278 ALOGE("getSamplingRate(output=%d) status %d", output, status);
1338 status = BAD_VALUE;
1408 &status);
1412 if (status != NO_ERROR) {
1413 ALOGE("AudioFlinger could not create track, status: %d", status);
1562 if (status == NO_ERROR) {
1563 status = NO_INIT;
1565 return status;
1612 status_t status = NO_ERROR;
1628 if (status == DEAD_OBJECT) {
1631 status = restoreTrack_l("obtainBuffer");
1632 if (status != NO_ERROR) {
1642 if (status == NOT_ENOUGH_DATA) {
1651 status = -EINTR;
1667 status = proxy->obtainBuffer(&buffer, requested, elapsed);
1668 } while (((status == DEAD_OBJECT) || (status == NOT_ENOUGH_DATA)) && (tryCounter-- > 0));
1676 return status;
1709 // FIXME ignoring status
1810 status_t status __unused = restoreTrack_l("processAudioBuffer");
1811 // FIXME unused status
1914 status_t status = proxy->waitStreamEndDone(&timeout);
1915 switch (status) {
1919 if (status != DEAD_OBJECT) {
1935 if (waitStreamEnd && status != DEAD_OBJECT) {
2229 ALOGW("restoreTrack_l() failed status %d", result);
2292 const status_t status = restoreTrack_l("getTimestampExtended");
2293 if (status != OK) {
2303 status_t status = mProxy->getTimestamp(timestamp);
2304 LOG_ALWAYS_FATAL_IF(status != OK, "status %d not allowed from proxy getTimestamp", status);
2348 const status_t status = restoreTrack_l("getTimestamp");
2349 if (status != OK) {
2359 status_t status;
2362 status = mAudioTrack->getTimestamp(timestamp);
2366 status = mProxy->getTimestamp(&ets);
2367 if (status == OK) {
2369 status = ets.getBestTimestamp(&timestamp, &location);
2371 if (status == OK) {
2408 if (status == INVALID_OPERATION) {
2409 status = WOULD_BLOCK;
2412 if (status != NO_ERROR) {
2413 ALOGV_IF(status != WOULD_BLOCK, "getTimestamp error:%#x", status);
2414 return status;
2483 // TODO Remove when timestamp is updated to contain pipeline status info.
2505 if (status == NO_ERROR) {
2542 return status;
2588 snprintf(buffer, 255, " sample rate(%u), speed(%f), status(%d)\n",
2625 status_t status = NO_ERROR;
2631 status = AudioSystem::addAudioDeviceCallback(callback, mOutput);
2634 return status;