/frameworks/base/core/java/android/net/ |
H A D | LocalSocketImpl.java | 49 /** 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. 565 * method can only return a non-null after a read operation.
|
/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 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 D | StrictJarFile.java | 322 public int read() throws IOException { method in class:StrictJarFile.JarFileInputStream 327 int r = super.read(); 347 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:StrictJarFile.JarFileInputStream 352 int r = super.read(buffer, byteOffset, byteCount); 399 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:StrictJarFile.ZipInflaterInputStream 402 i = super.read(buffer, byteOffset, byteCount); 454 @Override public int read() throws IOException { method in class:StrictJarFile.FDStream 458 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:StrictJarFile.FDStream 469 int count = IoBridge.read(fd, buffer, byteOffset, byteCount);
|
/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 372 reader.read(bis);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | CreateJavaOutputStreamAdaptor.cpp | 28 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/jni/ |
H A D | android_os_HwBlob.cpp | 132 status_t JHwBlob::read(size_t offset, void *data, size_t size) const { function in class:android::JHwBlob 283 status_t err = blob->read(offset, &x, sizeof(x)); \ 305 status_t err = blob->read(offset, &x, sizeof(x));
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | FileRotatorTest.java | 98 // 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 D | ZipUtils.cpp | 102 /* 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
|
H A D | Asset.cpp | 18 // Provide access to a read-only asset. 148 * always open things read-only it doesn't really matter, so there's 487 ssize_t _FileAsset::read(void* buf, size_t count) function in class:_FileAsset 496 * On first access, read or map the entire file. The caller has 515 //printf("map read\n"); 520 //printf("buf read\n"); 524 /* read from the file */ 525 //printf("file read\n"); 536 * file, so if we don't read the full amount we know something is 602 * Return a read 812 ssize_t _CompressedAsset::read(void* buf, size_t count) function in class:_CompressedAsset [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SerializedFrame.java | 55 * 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
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
H A D | PackageDexUsage.java | 152 public void read() { method in class:PackageDexUsage 153 read((Void) null); 240 read(in); 250 /* package */ void read(Reader reader) throws IOException { method in class:PackageDexUsage
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsXmlV1.java | 288 * @param parser The parser from which to read events. 291 public static void read(XmlPullParser parser, IntervalStats statsOut) method in class:UsageStatsXmlV1
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | EhFrameReader.cpp | 89 bool EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame) { function in class:mcld::EhFrameReader
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.cpp | 317 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL); 335 EGLSurface draw, EGLSurface read, EGLContext /*ctx*/, 343 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL); 352 c->onMakeCurrent(draw, read); 334 makeCurrent(egl_context_t* c, egl_context_t* cur_c, EGLSurface draw, EGLSurface read, EGLContext , EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx) argument
|
H A D | egl_object.h | 164 void onMakeCurrent(EGLSurface draw, EGLSurface read); 169 EGLSurface read; member in class:android::egl_context_t
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
H A D | XmpDepthDecode.java | 56 XMPMeta meta = read(is, false); 133 static XMPMeta read(InputStream is, boolean skipExtendedContent) { method in class:XmpDepthDecode 204 if (is.read() != 0xff || is.read() != M_SOI) { 208 while ((c = is.read()) != -1) { 213 while ((c = is.read()) == 0xff) { 221 // that, so read all data at one time. 227 is.read(section.data, 0, section.data.length); 232 int lh = is.read(); 233 int ll = is.read(); [all...] |
/frameworks/support/emoji/core/src/android/support/text/emoji/ |
H A D | MetadataListReader.java | 66 * @param inputStream InputStream to read emoji metadata from 68 static MetadataList read(InputStream inputStream) throws IOException { method in class:MetadataListReader 73 // allocate a ByteBuffer and read into it since FlatBuffers can read only from a ByteBuffer 75 final int numRead = inputStream.read(buffer.array()); 86 * @param byteBuffer ByteBuffer to read emoji metadata from 88 static MetadataList read(final ByteBuffer byteBuffer) throws IOException { method in class:MetadataListReader 104 static MetadataList read(AssetManager assetManager, String assetPath) method in class:MetadataListReader 107 return read(inputStream); 125 throw new IOException("Cannot read metadat 292 private void read(@IntRange(from = 0, to = UINT32_BYTE_COUNT) final int numOfBytes) method in class:MetadataListReader.InputStreamOpenTypeReader [all...] |
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 62 SL_LOGE("AacAdtsExtractor:: getFrameSize() returns %d (syncword and header read error)", 75 // the frame size read already contains the size of the ADTS header, so no need to add it here 258 status_t AacAdtsSource::read( function in class:android::AacAdtsSource 270 SL_LOGV("AacAdtsSource::read() offset=%lld", mOffset); 273 SL_LOGV("AacAdtsSource::read() returns EOS"); 286 //SL_LOGV("AacAdtsSource::read() readAt returned %u bytes", readSize); 288 SL_LOGW("AacAdtsSource::read() readSize != frameSizeWithoutHeader");
|
/frameworks/av/media/libaaudio/src/core/ |
H A D | AudioStream.h | 220 // A Stream will only implement read() or write() depending on its direction. 227 virtual aaudio_result_t read(void *buffer, function in class:aaudio::AudioStream 320 // These are set by the application thread and then read by the audio pthread.
|
/frameworks/av/media/libaudiohal/ |
H A D | StreamHalLocal.cpp | 265 status_t StreamInHalLocal::read(void *buffer, size_t bytes, size_t *read) { argument 266 ssize_t readResult = mStream->read(mStream, buffer, bytes); 268 *read = readResult; 271 *read = 0;
|
/frameworks/av/media/libmedia/ |
H A D | IMediaSource.cpp | 116 virtual status_t read(MediaBuffer **buffer, const ReadOptions *options) { function in class:android::BpMediaSource 120 ALOGV("read status %d, bufferCount %u, sinceStop %u", 177 reply.read(buf->data(), len); 325 // Get max number of buffers to read. 332 // Get read options, if any. 338 && data.read((void *)&opts, len) == NO_ERROR; 347 ret = read(&buf, useOptions ? &opts : nullptr);
|
/frameworks/av/media/libstagefright/ |
H A D | AudioSource.cpp | 235 status_t AudioSource::read( function in class:android::AudioSource
|
H A D | WAVExtractor.cpp | 70 virtual status_t read( 417 status_t WAVSource::read( function in class:android::WAVSource 465 // so read multiples of 65, and use smaller buffers to account for ~10:1 expansion ratio 471 // read only integral amounts of audio unit frames.
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | AnotherPacketSource.cpp | 166 status_t AnotherPacketSource::read( function in class:android::AnotherPacketSource
|
/frameworks/base/libs/hwui/debug/ |
H A D | nullegl.cpp | 132 EGLSurface read, EGLContext ctx) { 131 eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
|