Searched refs:written (Results 1 - 11 of 11) sorted by relevance
/frameworks/av/media/libnbaio/ |
H A D | Pipe.cpp | 51 size_t written = mMaxFrames - rear; local 52 if (CC_LIKELY(written > count)) { 53 written = count; 55 memcpy((char *) mBuffer + (rear << mBitShift), buffer, written << mBitShift); 56 if (CC_UNLIKELY(rear + written == mMaxFrames)) { 57 if (CC_UNLIKELY((count -= written) > rear)) { 61 memcpy(mBuffer, (char *) buffer + (written << mBitShift), count << mBitShift); 62 written += count; 65 android_atomic_release_store(written + mRear, &mRear); 66 mFramesWritten += written; [all...] |
H A D | MonoPipe.cpp | 105 size_t written = avail; local 106 if (CC_LIKELY(written > count)) { 107 written = count; 111 if (part1 > written) { 112 part1 = written; 117 size_t part2 = written - part1; 122 android_atomic_release_store(written + mRear, &mRear); 123 totalFramesWritten += written; 128 count -= written; 129 buffer = (char *) buffer + (written << mBitShif [all...] |
H A D | NBLog.cpp | 179 size_t written = mSize - rear; // written = number of bytes that have been written so far local 182 if (written > need) { 183 written = need; 188 for (i = 0; i < written; ++i) { 191 if (rear + written == mSize && (need -= written) > 0) { 193 mShared->mBuffer[i] = entry->readAt(written + i); 195 written [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | BlockingAudioTrack.java | 202 int written = audioTrack.write(bytes, count, bytes.length); 203 if (written <= 0) { 206 count += written;
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioTrack.cpp | 519 ssize_t written = 0; local 522 written = track->write(data + offsetInBytes, sizeInBytes); 530 written = sizeInBytes; 545 // even though we wrote 2*sizeInBytes, we only report sizeInBytes as written to hide 547 written = sizeInBytes; 550 return written; 585 jint written = writeToTrack(lpTrack, javaAudioFormat, cAudioData, offsetInBytes, sizeInBytes); local 590 // (int)written, (int)(sizeInBytes), (int)offsetInBytes); 591 return written;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 624 uint32_t written; local 625 if (mAudioSink->getFramesWritten(&written) == OK) { 626 mNumFramesWritten = written;
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 385 status_t VideoEditorPlayer::VeAudioOutput::getFramesWritten(uint32_t *written) const { 388 *written = mNumFramesWritten;
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 1003 // timing out when a loop has been set and we have already written upto loop end 1110 ssize_t written = 0; local 1120 // out of buffers, return #bytes written 1139 written += toWrite; 1144 return written;
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 363 ssize_t written = TEMP_FAILURE_RETRY(write(fd, data + offset, size)); local 364 if (written < 0) { 369 size -= (size_t)written; 370 offset += written;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1717 status_t MediaPlayerService::AudioCache::getFramesWritten(uint32_t *written) const 1719 if (written == 0) return BAD_VALUE; 1720 *written = mSize;
|
/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 474 int written = mData.write(mRequestOut, buffer, count); local
|
Completed in 243 milliseconds