Home
last modified time | relevance | path

Searched refs:readBuffer (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/services/audioflinger/
DFastCapture.cpp36 readBuffer(NULL), readBufferState(-1), format(Format_Invalid), sampleRate(0), in FastCapture()
72 delete[] readBuffer; in onExit()
128 delete[] readBuffer; in onStateChange()
129 readBuffer = NULL; in onStateChange()
136 readBuffer = new short[frameCount * channelCount]; in onStateChange()
164 ALOG_ASSERT(readBuffer != NULL); in onWork()
167 ssize_t framesRead = inputSource->read(readBuffer, frameCount, in onWork()
186 ALOG_ASSERT(readBuffer != NULL); in onWork()
190 memset(readBuffer, 0, frameCount * channelCount * sizeof(short)); in onWork()
194 ssize_t framesWritten = pipeSink->write(readBuffer, readBufferState); in onWork()
DFastCapture.h67 short *readBuffer; variable
/frameworks/base/core/java/android/content/pm/
DManifestDigest.java75 byte[] readBuffer = new byte[8192]; in fromInputStream()
76 while (dis.read(readBuffer, 0, readBuffer.length) != -1) { in fromInputStream()
/frameworks/base/packages/PrintSpooler/jni/
Dcom_android_printspooler_util_BitmapSerializeUtils.cpp49 char* readBuffer = static_cast<char*>(buffer); in readAllBytes() local
52 ssize_t readByteCount = read(fd, readBuffer, remainingBytes); in readAllBytes()
62 readBuffer += readByteCount; in readAllBytes()
/frameworks/av/media/libstagefright/
DFLACExtractor.cpp106 MediaBuffer *readBuffer() { in readBuffer() function in android::FLACParser
107 return readBuffer(false, 0LL); in readBuffer()
109 MediaBuffer *readBuffer(FLAC__uint64 sample) { in readBuffer() function in android::FLACParser
110 return readBuffer(true, sample); in readBuffer()
148 MediaBuffer *readBuffer(bool doSeek, FLAC__uint64 sample);
647 MediaBuffer *FLACParser::readBuffer(bool doSeek, FLAC__uint64 sample) in readBuffer() function in android::FLACParser
769 buffer = mParser->readBuffer(sample); in read()
772 buffer = mParser->readBuffer(); in read()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp819 readBuffer(trackType, timeUs, &actualTimeUs, formatChange); in onMessageReceived()
820 readBuffer(counterpartType, -1, NULL, formatChange); in onMessageReceived()
915 readBuffer(type, timeUs, &subTimeUs); in fetchTextData()
946 readBuffer(type, -1, &nextSubTimeUs); in sendTextData()
1331 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, &actualTimeUs); in doSeek()
1338 readBuffer(MEDIA_TRACK_TYPE_AUDIO, seekTimeUs); in doSeek()
1448 readBuffer(trackType); in onReadBuffer()
1457 void NuPlayer::GenericSource::readBuffer( in readBuffer() function in android::NuPlayer::GenericSource
DGenericSource.h195 void readBuffer(
/frameworks/native/services/inputflinger/
DEventHub.cpp705 struct input_event readBuffer[bufferSize]; in getEvents() local
810 int32_t readSize = read(device->fd, readBuffer, in getEvents()
830 struct input_event& iev = readBuffer[i]; in getEvents()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java540 private byte[] readBuffer() { in readBuffer() method in CameraStreamer.CamFrameHandlerGB
612 ByteBuffer pixels = ByteBuffer.wrap(readBuffer()); in grabFrame()
/frameworks/native/opengl/libagl/
Degl.cpp608 gl->rasterizer.procs.readBuffer(gl, &buffer); in bindReadSurface()
699 gl->rasterizer.procs.readBuffer(gl, &buffer); in bindReadSurface()
768 gl->rasterizer.procs.readBuffer(gl, &pbuffer); in bindReadSurface()