Lines Matching refs:write

158     //  For example, one HAL implementation returns an error from a large write,
975 write(fd, buffer, strlen(buffer));
1760 write(fd, result.string(), result.length());
1804 write(fd, result.string(), result.size());
1814 dprintf(fd, " Last write occurred (msecs): %llu\n",
1818 dprintf(fd, " Blocked in write: %s\n", mInWrite ? "yes" : "no");
2690 // If an NBAIO sink is present, use it to write the normal mixer's submix
2695 ATRACE_BEGIN("write");
2706 ssize_t framesWritten = mNormalSink->write((char *)mSinkBuffer + offset, count);
2718 ALOGW_IF(mWriteAckSequence & 1, "threadLoop_write(): out of sequence write request");
2726 bytesWritten = mOutput->write((char *)mSinkBuffer + offset, mBytesRemaining);
2730 // do not wait for async callback in case of error of full write
2981 nsecs_t lastWriteFinished = -1; // time last server write completed
3081 // use the time before we called the HAL write - it is a bit more accurate
3229 // Simulate write to HAL when suspended (e.g. BT SCO phone call).
3238 // only process effects if we're going to write
3248 // to be called while waiting for async write callback
3275 // mSleepTimeUs == 0 means we must write to audio hardware
3280 // set to -1, which properly results in no throttling after the first write.
3301 // write blocked detection
3306 ALOGW("write blocked for %llu msecs, %d delayed writes, thread %p",
3345 // Throttle must be attributed to the previous mixer loop's write time
3836 // FIXME workaround for first HAL write being CPU bound on some devices
3837 ATRACE_BEGIN("write");
3838 mOutput->write((char *)mSinkBuffer, 0);
3919 // discard any pending drain or write ack by incrementing sequence
3963 // buffer size, then write 0s to the output
4556 // effect chain as in this case the mixer will not write to the sink or mix buffer
5096 // do not write to HAL when paused
5492 // Need to continue write that was interrupted
5501 // resume an interrupted write
5503 // enable write to audio HAL
5689 // discard any pending drain or write ack by incrementing sequence
5765 outputTracks[i]->write(mSinkBuffer, writeFrames);
5952 // create a Pipe for FastCapture to write to, and for us and fast tracks to read from
6338 (void) mTeeSink->write((uint8_t*)mRsmpInBuffer + rear * mFrameSize, framesRead);
6921 write(fd, result.string(), result.size());