/frameworks/compile/linkloader/include/impl/ |
H A D | ELFSection.hxx | 34 ELFSection<Bitwidth>::read(Archiver &AR, function in class:ELFSection 46 return ELFSectionStrTabTy::read(AR, sh); 49 return ELFSectionSymTabTy::read(AR, owner, sh); 52 return ELFSectionProgBitsTy::read(AR, owner, sh); 55 return ELFSectionNoBitsTy::read(AR, sh); 59 return ELFSectionRelTableTy::read(AR, sh);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothInputStream.java | 50 * reached. Blocks until one byte has been read, the end of the source 53 * @return the byte read or -1 if the end of stream has been reached. 58 public int read() throws IOException { method in class:BluetoothInputStream 60 int ret = mSocket.read(b, 0, 1); 73 * the byte array in which to store the bytes read. 76 * read from this stream. 79 * @return the number of bytes actually read or -1 if the end of the stream 89 public int read(byte[] b, int offset, int length) throws IOException { method in class:BluetoothInputStream 96 return mSocket.read(b, offset, length);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | MacAuthenticatedInputStream.java | 62 public int read() throws IOException { method in class:MacAuthenticatedInputStream 63 final int b = super.read(); 71 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:MacAuthenticatedInputStream 72 int numRead = super.read(buffer, offset, count);
|
H A D | LimitedLengthInputStream.java | 9 * A class that limits the amount of data that is read from an InputStream. When 17 * The end of the stream where we don't want to allow more data to be read. 58 public synchronized int read() throws IOException { method in class:LimitedLengthInputStream 64 return super.read(); 68 public int read(byte[] buffer, int offset, int byteCount) throws IOException { method in class:LimitedLengthInputStream 84 final int numRead = super.read(buffer, offset, byteCount); 91 public int read(byte[] buffer) throws IOException { method in class:LimitedLengthInputStream 92 return read(buffer, 0, buffer.length);
|
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | LocalSocketTest.java | 46 // Test trivial read and write 49 assertEquals(42, ls1.getInputStream().read()); 62 assertEquals(42, ls1.getInputStream().read()); 71 assertEquals(1, ls.getInputStream().read()); 77 countRead = ls.getInputStream().read(buffer, 1, 15); 87 ls.getInputStream().read(buffer, 1, 16); 115 ls.getInputStream().read(buffer, -1, 15); 122 ls.getInputStream().read(buffer, 0, -1); 128 // Try read of length 0 130 countRead = ls1.getInputStream().read(buffe [all...] |
/frameworks/compile/libbcc/lib/Support/ |
H A D | InputFile.cpp | 26 ssize_t InputFile::read(void *pBuf, size_t count) { function in class:InputFile 33 ALOGW("InputFile::read: count = %zu, buffer = %p", count, pBuf); 38 ssize_t read_size = ::read(mFD, pBuf, count); 43 // If the errno is EAGAIN or EINTR, then we try to read again.
|
/frameworks/native/libs/gui/ |
H A D | LayerState.cpp | 39 status_t layer_state_t::read(const Parcel& input) function in class:android::layer_state_t 43 err = input.read(transparentRegion); 49 input.read(this, size); 58 status_t ComposerState::read(const Parcel& input) { function in class:android::ComposerState 60 return state.read(input); 75 status_t DisplayState::read(const Parcel& input) { function in class:android::DisplayState 81 input.read(viewport); 82 input.read(frame);
|
H A D | Sensor.cpp | 147 size_t read(void const* buffer, size_t offset, String8* value, int32_t len) { function in namespace:android 153 size_t read(void const* buffer, size_t offset, float* value) { function in namespace:android 159 size_t read(void const* buffer, size_t offset, int32_t* value) { function in namespace:android 168 offset += read(buffer, offset, &len); 169 offset += read(buffer, offset, &mName, len); 170 offset += read(buffer, offset, &len); 171 offset += read(buffer, offset, &mVendor, len); 172 offset += read(buffer, offset, &mVersion); 173 offset += read(buffer, offset, &mHandle); 174 offset += read(buffe [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ParserFactory.java | 89 // get the size to read. 93 // create the initial buffer and read it. 95 int read = stream.read(buffer); 98 if (read == intSize) { 102 // check if there is more to read (read() does not necessarily read all that 105 if (read + avail > buffer.length) { 108 byte[] moreBuffer = new byte[read [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInputStream.java | 28 * is called, the current entity's header has already been read from the underlying 33 * source, nor read more than {@link #size()} bytes from the stream.</p> 54 * are read from the stream, the output of this method is undefined. 56 * @return The byte read, or undefined if the end of the stream has been reached. 58 public int read() throws IOException { method in class:BackupDataInputStream 71 * @param b Byte array into which the data will be read 74 * @param size The number of bytes to read in this operation. If insufficient 76 * will be read as is available. 77 * @return The number of bytes of data read, or zero if all of the entity's 78 * data has already been read 80 public int read(byte[] b, int offset, int size) throws IOException { method in class:BackupDataInputStream 93 public int read(byte[] b) throws IOException { method in class:BackupDataInputStream [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/ |
H A D | AdbUtils.java | 68 int read = inputStream.read(buf); 69 if (read != ADB_RESPONSE_SIZE || !ADB_OK.equals(new String(buf))) {
|
/frameworks/base/media/java/android/media/ |
H A D | AmrInputStream.java | 51 // helper for bytewise read() 65 public int read() throws IOException { method in class:AmrInputStream 66 int rtn = read(mOneByte, 0, 1); 71 public int read(byte[] b) throws IOException { method in class:AmrInputStream 72 return read(b, 0, b.length); 76 public int read(byte[] b, int offset, int length) throws IOException { method in class:AmrInputStream 87 int n = mInputStream.read(mBuf, i, SAMPLES_PER_FRAME * 2 - i);
|
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/media/mtp/ |
H A D | MtpRequestPacket.cpp | 38 int MtpRequestPacket::read(int fd) { function in class:android::MtpRequestPacket 39 int ret = ::read(fd, mBuffer, mBufferSize);
|
H A D | MtpEventPacket.h | 37 // read our buffer with the given request 38 int read(struct usb_request *request);
|
H A D | MtpRequestPacket.h | 35 int read(int fd);
|
H A D | MtpResponsePacket.h | 37 // read our buffer with the given request 38 int read(struct usb_request *request);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsHeader.java | 126 int id = inStream.read(); 127 int length = inStream.read(); 133 concatRef.refNumber = inStream.read(); 134 concatRef.msgCount = inStream.read(); 135 concatRef.seqNumber = inStream.read(); 144 concatRef.refNumber = (inStream.read() << 8) | inStream.read(); 145 concatRef.msgCount = inStream.read(); 146 concatRef.seqNumber = inStream.read(); 155 portAddrs.destPort = inStream.read(); [all...] |
/frameworks/av/include/media/nbaio/ |
H A D | MonoPipeReader.h | 50 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
|
/frameworks/compile/libbcc/include/bcc/Support/ |
H A D | InputFile.h | 30 ssize_t read(void *pBuf, size_t count);
|
/frameworks/compile/linkloader/include/ |
H A D | ELFSection.h | 37 static ELFSection *read(Archiver &AR, ELFObjectTy *,
|
H A D | ELFSectionNoBits.h | 32 static ELFSectionNoBits *read(Archiver &AR, ELFSectionHeaderTy const *sh);
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | MemoryFileProviderTest.java | 42 int count = in.read(buf); 44 assertEquals(-1, in.read()); 60 int count = in.read(buf); 75 int count = in.read(buf); 77 assertEquals(-1, in.read());
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_object.cpp | 92 config(config), read(0), draw(0), cnx(cnx), version(version) { 96 read = NULL; 100 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) { argument 101 this->read = read;
|
/frameworks/av/media/libstagefright/timedtext/test/ |
H A D | TimedTextSRTSource_test.cpp | 120 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); 126 // read edge cases 127 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); 133 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); 139 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); 145 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); 152 err = mSource->read(&startTimeUs, &endTimeUs, &parcel, &options); 161 err = mSource->read(&startTimeUs, &endTimeUs, &parcel, &options); 165 err = mSource->read(&startTimeUs, &endTimeUs, &parcel, &options); 173 err = mSource->read( [all...] |