Searched defs:read (Results 51 - 75 of 129) sorted by relevance

123456

/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp159 bool FileHandle::read(void* pMemBuffer, size_t pStartOffset, size_t pLength) { function in class:mcld::FileHandle
/frameworks/native/libs/gui/
H A DSensorEventQueue.cpp68 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { function in class:android::SensorEventQueue
/frameworks/native/opengl/libs/EGL/
H A Degl_object.cpp107 config(config), read(0), draw(0), cnx(cnx), version(version) {
111 read = NULL;
115 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) { argument
116 this->read = read;
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp92 virtual status_t read( function in class:DummySource
109 // read() much faster.
/frameworks/av/media/libnbaio/
H A DNBLog.cpp299 size_t remaining = avail; // remaining = number of bytes left to read
301 size_t read = mSize - front; // read = number of bytes that have been read so far local
302 if (read > remaining) {
303 read = remaining;
308 memcpy(copy, &mShared->mBuffer[front], read);
309 if (front + read == mSize) {
310 if ((remaining -= read) > 0) {
312 memcpy(&copy[read], mShare
[all...]
/frameworks/av/media/libstagefright/
H A DAACExtractor.cpp49 virtual status_t read(
91 // or 0 if the size can't be read due to an error in the header or a read failure.
286 status_t AACSource::read( function in class:android::AACSource
H A DAMRExtractor.cpp47 virtual status_t read(
256 status_t AMRSource::read( function in class:android::AMRSource
H A DAudioSource.cpp234 status_t AudioSource::read( function in class:android::AudioSource
H A DCameraSourceTimeLapse.cpp119 // not skip the next frame as we want read() to get a get a frame
206 status_t CameraSourceTimeLapse::read( function in class:android::CameraSourceTimeLapse
208 ALOGV("read");
210 mLastReadStatus = CameraSource::read(buffer, options);
212 // mQuickStop may have turned to true while read was blocked.
266 ALOGV("dataCallbackTimestamp timelapse: forced read");
H A DDRMExtractor.cpp46 virtual status_t read(
126 status_t DRMSource::read(MediaBuffer **buffer, const ReadOptions *options) { function in class:android::DRMSource
129 if ((err = mOriginalMediaSource->read(buffer, options)) != OK) {
H A DJPEGSource.cpp110 status_t JPEGSource::read( function in class:android::JPEGSource
H A DMidiExtractor.cpp47 virtual status_t read(
116 status_t MidiSource::read( function in class:android::MidiSource
119 ALOGV("MidiSource::read");
132 ALOGV("MidiSource::read %p done", this);
H A DSimpleDecodingSource.cpp170 status_t SimpleDecodingSource::read( function in class:SimpleDecodingSource
242 res = mSource->read(&in_buf, options);
305 // abort read on stop
H A DSurfaceMediaSource.cpp270 status_t SurfaceMediaSource::read( function in class:android::SurfaceMediaSource
272 ALOGV("read");
295 err = item.mFence->waitForever("SurfaceMediaSource::read");
297 ALOGW("read: failed to wait for buffer fence: %d", err);
327 ALOGE("read: acquire failed with error code %d", err);
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp215 status_t AACEncoder::read( function in class:android::AACEncoder
243 if (mSource->read(&mInputBuffer, options) != OK) {
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java32 * opened FileDescriptor that can be used to read the data, as well as the
98 * Returns the FileDescriptor that can be used to read the data in the
143 * should be read to the end of the file.
218 public int read() throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
220 int result = read(buffer, 0, 1);
225 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
229 int res = super.read(buffer, offset, count);
234 return super.read(buffer, offset, count);
238 public int read(byte[] buffer) throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
239 return read(buffe
[all...]
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java49 /** file descriptor array received during a previous read */
56 * need to read ancillary data.
82 public int read() throws IOException { method in class:LocalSocketImpl.SocketInputStream
95 public int read(byte[] b) throws IOException { method in class:LocalSocketImpl.SocketInputStream
96 return read(b, 0, b.length);
101 public int read(byte[] b, int off, int len) throws IOException { method in class:LocalSocketImpl.SocketInputStream
119 * need to read ancillary data.
567 * method can only return a non-null after a read operation.
/frameworks/base/core/java/android/os/
H A DMemoryFile.java33 * After a file is purged, attempts to read or write the file will
97 * After this method has been called, read and write operations through this object
191 * @param buffer byte array to read bytes into.
192 * @param srcOffset offset into the memory file to read from.
193 * @param destOffset offset into the byte array buffer to read into.
194 * @param count number of bytes to read.
195 * @return number of bytes read.
201 throw new IOException("Can't read from deactivated memory file.");
291 public int read() throws IOException { method in class:MemoryFile.MemoryInputStream
295 int result = read(mSingleByt
303 public int read(byte buffer[], int offset, int count) throws IOException { method in class:MemoryFile.MemoryInputStream
[all...]
/frameworks/base/core/java/android/util/jar/
H A DStrictJarFile.java279 public int read() throws IOException { method in class:StrictJarFile.JarFileInputStream
284 int r = super.read();
304 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:StrictJarFile.JarFileInputStream
309 int r = super.read(buffer, byteOffset, byteCount);
356 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:StrictJarFile.ZipInflaterInputStream
359 i = super.read(buffer, byteOffset, byteCount);
416 @Override public int read() throws IOException { method in class:StrictJarFile.RAFStream
420 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:StrictJarFile.RAFStream
427 int count = sharedRaf.read(buffer, byteOffset, byteCount);
/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
372 reader.read(bis);
/frameworks/base/core/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.cpp28 virtual size_t read(void* buffer, size_t size) { function in class:JavaInputStreamAdaptor
34 If we see that value, we need to call read(), which will
44 // if read returned 0, we're at EOF
65 // read the bytes
81 SkDebugf("---- read threw an exception\n");
87 if (n < 0) { // n == 0 should not be possible, see InputStream read() specifications.
97 SkDebugf("---- read:GetByteArrayRegion threw an exception\n");
152 while ((len = stream->read(data + streamLen,
270 gInputStream_readMethodID = getMethodIDCheck(env, inputStream_Clazz, "read", "([BII)I");
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DFileRotatorTest.java98 // first combine should have empty read, but still write data.
103 // second combine should replace contents; should read existing data,
201 // assert that we read original data, and that it's still intact after
225 // and make sure that we can read something from a legit file
419 public void read(InputStream in) throws IOException { method in class:FileRotatorTest.RecordingReader
/frameworks/base/libs/androidfw/
H A DZipUtils.cpp102 /* read as much as we can */
110 const unsigned long nextSize = reader.read(&nextBuffer, getSize);
113 ALOGD("inflate read failed (%ld vs %ld)\n", nextSize, getSize);
162 long read(unsigned char** nextBuffer, long readSize) const { function in class:FileReader
182 long read(unsigned char** nextBuffer, long readSize) const { function in class:FdReader
184 return TEMP_FAILURE_RETRY(::read(mFd, mReadBuf, readSize));
200 long read(unsigned char** nextBuffer, long /*readSize*/) { function in class:BufferReader
/frameworks/base/libs/hwui/debug/
H A Dnullegl.cpp128 EGLSurface read, EGLContext ctx) {
127 eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java55 * there are no array copies or synchronization involved to read back written data.
135 public final int read() { method in class:SerializedFrame.DirectByteInputStream
140 public final int read(byte[] b, int off, int len) { method in class:SerializedFrame.DirectByteInputStream

Completed in 2628 milliseconds

123456