/frameworks/base/media/java/android/media/ |
H A D | ResampleInputStream.java | 51 // helper for bytewise read() 73 public int read() throws IOException { method in class:ResampleInputStream 74 int rtn = read(mOneByte, 0, 1); 79 public int read(byte[] b) throws IOException { method in class:ResampleInputStream 80 return read(b, 0, b.length); 84 public int read(byte[] b, int offset, int length) throws IOException { method in class:ResampleInputStream 97 // read until we have enough data for at least one output sample 105 int n = mInputStream.read(mBuf, mBufCount, mBuf.length - mBufCount);
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorSRC.cpp | 112 status_t VideoEditorSRC::read( function in class:android::VideoEditorSRC 114 ALOGV("read %p(%p)", this, mSource.get()); 126 ALOGV("read Seek %lld", seekTimeUs); 154 return read(buffer_out, NULL); 179 status_t err = mSource->read(&aBuffer, options); 181 ALOGV("read returns err = %d", err); 186 return read(buffer_out, NULL); 208 // If we don't have any data left, read a new buffer. 221 status_t err = mSource->read(&mBuffer, &options); 230 ALOGV("getNextBuffer: source read returne [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | AnotherPacketSource.cpp | 92 status_t AnotherPacketSource::read( function in class:android::AnotherPacketSource
|
H A D | MPEG2TSExtractor.cpp | 50 virtual status_t read( 93 status_t MPEG2TSSource::read( function in class:android::MPEG2TSSource 115 return mImpl->read(out, options);
|
/frameworks/av/media/mtp/ |
H A D | MtpProperty.cpp | 124 void MtpProperty::read(MtpDataPacket& packet) { function in class:android::MtpProperty
|
/frameworks/base/tools/aapt/ |
H A D | ZipEntry.cpp | 47 /* 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 D | FileHandle.cpp | 175 bool FileHandle::read(void* pMemBuffer, size_t pStartOffset, size_t pLength) function in class:FileHandle 234 // read-only 244 // read and write 249 // can not read/write
|
/frameworks/native/include/binder/ |
H A D | Parcel.h | 141 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/av/cmds/stagefright/ |
H A D | recordvideo.cpp | 84 virtual status_t read( function in class:DummySource 101 // read() much faster.
|
/frameworks/av/media/libstagefright/ |
H A D | AMRExtractor.cpp | 47 virtual status_t read( 250 status_t AMRSource::read( function in class:android::AMRSource
|
H A D | AudioSource.cpp | 215 status_t AudioSource::read( function in class:android::AudioSource
|
H A D | CameraSourceTimeLapse.cpp | 104 // not skip the next frame as we want read() to get a get a frame 191 status_t CameraSourceTimeLapse::read( function in class:android::CameraSourceTimeLapse 193 ALOGV("read"); 195 mLastReadStatus = CameraSource::read(buffer, options); 197 // mQuickStop may have turned to true while read was blocked. 251 ALOGV("dataCallbackTimestamp timelapse: forced read");
|
H A D | DRMExtractor.cpp | 46 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 D | JPEGSource.cpp | 110 status_t JPEGSource::read( function in class:android::JPEGSource
|
H A D | SurfaceMediaSource.cpp | 275 status_t SurfaceMediaSource::read( MediaBuffer **buffer, function in class:android::SurfaceMediaSource 278 ALOGV("read"); 327 ALOGE("read: acquire failed with error code %d", err);
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
H A D | AACEncoder.cpp | 215 status_t AACEncoder::read( function in class:android::AACEncoder 245 if (mSource->read(&mInputBuffer, options) != OK) {
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextSRTSource.cpp | 66 status_t TimedTextSRTSource::read( function in class:android::TimedTextSRTSource
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetFileDescriptor.java | 30 * opened FileDescriptor that can be used to read the data, as well as the 77 * Returns the FileDescriptor that can be used to read the data in the 114 * should be read to the end of the file. 188 public int read() throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream 190 int result = read(buffer, 0, 1); 195 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream 199 int res = super.read(buffer, offset, count); 204 return super.read(buffer, offset, count); 208 public int read(byte[] buffer) throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream 209 return read(buffe [all...] |
/frameworks/base/core/java/android/os/ |
H A D | MemoryFile.java | 33 * After a file is purged, attempts to read or write the file will 92 * After this method has been called, read and write operations through this object 186 * @param buffer byte array to read bytes into. 187 * @param srcOffset offset into the memory file to read from. 188 * @param destOffset offset into the byte array buffer to read into. 189 * @param count number of bytes to read. 190 * @return number of bytes read. 196 throw new IOException("Can't read from deactivated memory file."); 286 public int read() throws IOException { method in class:MemoryFile.MemoryInputStream 290 int result = read(mSingleByt 298 public int read(byte buffer[], int offset, int count) throws IOException { method in class:MemoryFile.MemoryInputStream [all...] |
/frameworks/base/core/java/android/speech/srec/ |
H A D | WaveHeader.java | 177 * @param in {@link java.io.InputStream} to read from. 181 public int read(InputStream in) throws IOException { method in class:WaveHeader 212 if (id.charAt(i) != in.read()) throw new IOException( id + " tag not present"); 217 return in.read() | (in.read() << 8) | (in.read() << 16) | (in.read() << 24); 221 return (short)(in.read() | (in.read() << 8));
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FileRotator.java | 69 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);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | CreateJavaOutputStreamAdaptor.cpp | 40 // read the bytes 51 SkDebugf("---- read threw an exception\n"); 55 if (n < 0) { // n == 0 should not be possible, see InputStream read() specifications. 64 SkDebugf("---- read:GetByteArrayRegion threw an exception\n"); 108 virtual size_t read(void* buffer, size_t size) { function in class:JavaInputStreamAdaptor 115 If we see that value, we need to call read(), which will 125 // if read returned 0, we're at EOF 160 "read", "([BII)I");
|
H A D | Typeface.cpp | 79 virtual size_t read(void* buffer, size_t size) function in class:AssetStream 102 amount = fAsset->read(buffer, size);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
H A D | FileRotatorTest.java | 96 // first combine should have empty read, but still write data. 101 // second combine should replace contents; should read existing data, 199 // assert that we read original data, and that it's still intact after 223 // and make sure that we can read something from a legit file 407 public void read(InputStream in) throws IOException { method in class:FileRotatorTest.RecordingReader
|
/frameworks/base/media/java/android/drm/mobile1/ |
H A D | DrmRawContent.java | 128 * @param len the length of raw data can be read. 192 * Get one InputStream object to read decrypted content. 301 * @see java.io.InputStream#read() 303 public int read() throws IOException { method in class:DrmRawContent.DrmInputStream 306 res = read(b, 0, 1); 315 * @see java.io.InputStream#read(byte) 317 public int read(byte[] b) throws IOException { method in class:DrmRawContent.DrmInputStream 318 return read(b, 0, b.length); 322 * @see java.io.InputStream#read(byte, int, int) 324 public int read(byt method in class:DrmRawContent.DrmInputStream [all...] |