Searched refs:read (Results 151 - 175 of 423) sorted by relevance

1234567891011>>

/frameworks/av/include/media/stagefright/
H A DCameraSourceTimeLapse.h45 // If the frame capture interval is large, read will block for a long time.
47 // mediaRecorder waits until the read returns, causing a long wait for
48 // stop() to return. To avoid this, we can make read() return a copy of the
49 // last read frame with the same time stamp frequently. This keeps the
50 // read() call from blocking too long. Calling this function quickly
51 // captures another frame, keeps its copy, and enables this mode of read()
90 // mQuickStop is set to true if we use quick read() returns, otherwise it is set
91 // to false. Once in this mode read() return a copy of the last read frame
95 // Forces the next frame passed to dataCallbackTimestamp() to be read
[all...]
/frameworks/av/media/libnbaio/
H A DPipeReader.cpp49 // read() is not multi-thread safe w.r.t. itself, so no mutex or atomic op needed to read mFront
62 ssize_t PipeReader::read(void *buffer, size_t count, int64_t readPTS) function in class:android::PipeReader
69 // but it will be caught at next read()
80 // We could re-read the rear pointer here to detect the corruption, but why bother?
/frameworks/av/media/libstagefright/rtsp/
H A DVideoSource.h57 virtual status_t read( function in class:android::VideoSource
64 // printf("VideoSource::read\n");
78 // printf("VideoSource::read - returning buffer\n");
79 // LOG(INFO)("VideoSource::read - returning buffer");
/frameworks/av/media/mtp/
H A DMtpObjectInfo.cpp58 void MtpObjectInfo::read(MtpDataPacket& packet) { function in class:android::MtpObjectInfo
H A DMtpProperty.h86 void read(MtpDataPacket& packet);
/frameworks/base/core/java/android/os/
H A DRecoverySystem.java193 // method here if that function didn't read the entire
281 int read = raf.read(buffer, 0, size);
282 sig.update(buffer, 0, read);
283 soFar += read;
/frameworks/base/core/java/com/android/internal/util/
H A DFileRotator.java69 public void read(InputStream in) throws IOException; method in interface:FileRotator.Reader
197 public void read(InputStream in) throws IOException {
198 reader.read(in);
241 // read existing data
291 // read file when it overlaps
367 reader.read(bis);
H A DMemInfoReader.java70 int len = is.read(mBuffer);
/frameworks/base/core/jni/
H A Dandroid_server_Watchdog.cpp43 while ((nBytes = read(stackFd, buf, sizeof(buf))) > 0) {
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java277 if ((code = in.read()) != NO_ERROR) {
287 if ((i = in.read()) == -1) {
290 if ((j = in.read()) == -1) {
295 if ((j = in.read(value, i, value.length - i)) == -1) {
/frameworks/base/services/java/com/android/server/
H A DRandomBlock.java56 int result = in.read(retval.block, total, BLOCK_SIZE - total);
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsRecorder.java263 * with anything read from disk, and write combined set to disk. Clears the
279 public void read(InputStream in) throws IOException { method in class:NetworkStatsRecorder.CombiningRewriter
280 mCollection.read(in);
314 public void read(InputStream in) throws IOException { method in class:NetworkStatsRecorder.RemoveUidRewriter
315 mTemp.read(in);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/
H A DForwarder.java95 while ((length = is.read(buffer)) > 0) {
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
H A DLargeAssetTest.java74 int num = is.read(buf, 0, 4);
76 Log.e(TAG, "Wanted 4 bytes but read " + num);
/frameworks/compile/libbcc/tools/build/
H A Dgen-sha1-stamp.py31 buf = f.read(1024)
/frameworks/compile/mclinker/include/mcld/Support/
H A DFileHandle.h92 bool read(void* pMemBuffer, size_t pStartOffset, size_t pLength);
/frameworks/native/include/binder/
H A DParcel.h141 status_t read(void* outData, size_t len) const;
160 status_t read(Flattenable& val) const;
163 status_t read(LightFlattenable<T>& val) const;
168 // response headers. Callers should use this to read & parse the
297 status_t Parcel::read(LightFlattenable<T>& val) const { function in class:android::Parcel
/frameworks/native/libs/gui/
H A DIGraphicBufferAlloc.cpp58 result = reply.read(*graphicBuffer);
60 // here we don't even have to read the BufferReference from
H A DISensorServer.cpp58 reply.read(s);
/frameworks/native/opengl/libs/EGL/
H A Degl_display.cpp334 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL);
352 EGLSurface draw, EGLSurface read, EGLContext ctx,
360 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL);
369 c->onMakeCurrent(draw, read);
351 makeCurrent(egl_context_t* c, egl_context_t* cur_c, EGLSurface draw, EGLSurface read, EGLContext ctx, EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx) argument
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp36 while ((n = q->read(buffer, 8)) > 0) {
/frameworks/rs/
H A DrsFifoSocket.cpp78 size_t FifoSocket::read(void *data, size_t bytes) { function in class:FifoSocket
83 //ALOGE("read %p %i", data, bytes);
86 //ALOGE("read ret %i bytes %i", ret, bytes);
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DScriptC.java82 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
/frameworks/support/renderscript/v8/rs_support/
H A DrsFifoSocket.cpp76 size_t FifoSocket::read(void *data, size_t bytes) { function in class:FifoSocket
81 //ALOGE("read %p %i", data, bytes);
84 //ALOGE("read ret %i bytes %i", ret, bytes);
/frameworks/support/volley/tests/src/com/android/volley/toolbox/
H A DImageRequestTest.java93 while ((count = in.read(buffer)) != -1) {

Completed in 420 milliseconds

1234567891011>>