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

123456

/frameworks/base/media/java/android/media/
H A DResampleInputStream.java49 // helper for bytewise read()
71 public int read() throws IOException { method in class:ResampleInputStream
72 int rtn = read(mOneByte, 0, 1);
77 public int read(byte[] b) throws IOException { method in class:ResampleInputStream
78 return read(b, 0, b.length);
82 public int read(byte[] b, int offset, int length) throws IOException { method in class:ResampleInputStream
95 // read until we have enough data for at least one output sample
103 int n = mInputStream.read(mBuf, mBufCount, mBuf.length - mBufCount);
/frameworks/ex/framesequence/jni/
H A DStream.cpp28 jmethodID read; member in struct:__anon1156
51 size_t read = doRead(mPeekBuffer + mPeekOffset, size - peek_remaining); local
53 mPeekSize = peek_remaining + read;
60 size_t Stream::read(void* buffer, size_t size) { function in class:Stream
101 gInputStreamClassInfo.read, mByteArray, 0, requested);
122 gInputStreamClassInfo.read = env->GetMethodID(inputStreamClazz, "read", "([BII)I");
124 if (!gInputStreamClassInfo.read || !gInputStreamClassInfo.reset) {
/frameworks/native/opengl/libs/EGL/
H A Degl_object.cpp90 config(config), read(0), draw(0), cnx(cnx), version(version) {
94 read = NULL;
98 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) { argument
99 this->read = read;
/frameworks/rs/
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/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp109 status_t RepeaterSource::read( function in class:android::RepeaterSource
184 status_t err = mSource->read(&buffer);
186 ALOGV("read mbuf %p", buffer);
/frameworks/av/media/mtp/
H A DMtpProperty.cpp126 bool MtpProperty::read(MtpDataPacket& packet) { function in class:android::MtpProperty
/frameworks/base/packages/PrintSpooler/jni/
H A Dcom_android_printspooler_util_BitmapSerializeUtils.cpp52 ssize_t readByteCount = read(fd, readBuffer, remainingBytes);
85 bool read = readAllBytes(fd, (void*) &readInfo, sizeof(AndroidBitmapInfo)); local
86 if (!read) {
87 throwIllegalStateException(env, (char*) "Cannot read bitmap info");
117 read = readAllBytes(fd, (void*) pixels, byteCount);
118 if (!read) {
119 throwIllegalStateException(env, (char*) "Cannot read bitmap pixels");
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DCountedDataInputStream.java44 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream
45 int r = in.read(b);
51 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream
52 int r = in.read(b, off, len);
58 public int read() throws IOException { method in class:CountedDataInputStream
59 int r = in.read();
83 int r = read(b, off, len);
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsXmlV1.java181 * @param parser The parser from which to read events.
184 public static void read(XmlPullParser parser, IntervalStats statsOut) method in class:UsageStatsXmlV1
/frameworks/base/tools/aapt/
H A DZipEntry.cpp47 /* read the CDE */
48 result = mCDE.read(fp);
50 ALOGD("mCDE.read failed\n");
64 result = mLFH.read(fp);
66 ALOGD("mLFH.read failed\n");
76 * We *might* need to read the Data Descriptor at this point and
402 status_t ZipEntry::LocalFileHeader::read(FILE* fp) function in class:ZipEntry::LocalFileHeader
536 status_t ZipEntry::CentralDirEntry::read(FILE* fp) function in class:ZipEntry::CentralDirEntry
590 /* read "extra field" */
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp164 bool FileHandle::read(void* pMemBuffer, size_t pStartOffset, size_t pLength) function in class:FileHandle
/frameworks/native/libs/gui/
H A DSensorEventQueue.cpp64 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { function in class:android::SensorEventQueue
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp85 virtual status_t read( function in class:DummySource
102 // 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(
250 status_t AMRSource::read( function in class:android::AMRSource
H A DAudioSource.cpp214 status_t AudioSource::read( function in class:android::AudioSource
H A DCameraSourceTimeLapse.cpp117 // not skip the next frame as we want read() to get a get a frame
204 status_t CameraSourceTimeLapse::read( function in class:android::CameraSourceTimeLapse
206 ALOGV("read");
208 mLastReadStatus = CameraSource::read(buffer, options);
210 // mQuickStop may have turned to true while read was blocked.
264 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 DSurfaceMediaSource.cpp278 status_t SurfaceMediaSource::read( function in class:android::SurfaceMediaSource
280 ALOGV("read");
303 err = item.mFence->waitForever("SurfaceMediaSource::read");
305 ALOGW("read: failed to wait for buffer fence: %d", err);
335 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
245 if (mSource->read(&mInputBuffer, options) != OK) {
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp143 status_t AnotherPacketSource::read( function in class:android::AnotherPacketSource
H A DMPEG2TSExtractor.cpp49 virtual status_t read(
84 status_t MPEG2TSSource::read( function in class:android::MPEG2TSSource
106 return mImpl->read(out, options);
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.cpp65 status_t TimedTextSRTSource::read( function in class:android::TimedTextSRTSource

Completed in 370 milliseconds

123456