/frameworks/base/opengl/libs/GLES2_dbg/test/ |
H A D | test_server.cpp | 71 glesv2debugger::Message msg, cmd, read; local 79 Read(read); 80 EXPECT_EQ(msg.context_id(), read.context_id()); 81 EXPECT_EQ(msg.function(), read.function()); 82 EXPECT_EQ(msg.expect_response(), read.expect_response()); 83 EXPECT_EQ(msg.type(), read.type()); 120 glesv2debugger::Message read; local 122 Read(read); 123 EXPECT_EQ(reinterpret_cast<int>(dbg), read.context_id()); 124 EXPECT_FALSE(read 181 glesv2debugger::Message msg, read; local 213 glesv2debugger::Message read; local [all...] |
H A D | test_socket.cpp | 125 glesv2debugger::Message msg, read, cmd; local 134 Read(read); 135 EXPECT_EQ(read.glFinish, read.function()); 136 EXPECT_EQ(read.BeforeCall, read.type()); 137 EXPECT_NE(arg0, read.arg0()); 138 EXPECT_NE((int &)arg7, read.arg7()); 139 EXPECT_NE(arg8, read.arg8()); 154 glesv2debugger::Message msg, read, cm local 198 glesv2debugger::Message msg, read, cmd; local 266 glesv2debugger::Message msg, read, cmd; local 357 glesv2debugger::Message msg, read, cmd; local 429 glesv2debugger::Message msg, read, cmd; local [all...] |
/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/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/base/libs/gui/ |
H A D | LayerState.cpp | 45 status_t layer_state_t::read(const Parcel& input) function in class:android::layer_state_t 52 err = transparentRegion.read(buf); 58 input.read(this, size); 67 status_t ComposerState::read(const Parcel& input) { function in class:android::ComposerState 69 return state.read(input);
|
H A D | Sensor.cpp | 155 size_t read(void const* buffer, size_t offset, String8* value, int32_t len) { function in namespace:android 161 size_t read(void const* buffer, size_t offset, float* value) { function in namespace:android 167 size_t read(void const* buffer, size_t offset, int32_t* value) { function in namespace:android 177 offset += read(buffer, offset, &len); 178 offset += read(buffer, offset, &mName, len); 179 offset += read(buffer, offset, &len); 180 offset += read(buffer, offset, &mVendor, len); 181 offset += read(buffer, offset, &mHandle); 182 offset += read(buffer, offset, &mType); 183 offset += read(buffe [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/base/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);
|
H A D | MtpDeviceInfo.h | 47 void read(MtpDataPacket& packet);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | SmsHeader.java | 127 int id = inStream.read(); 128 int length = inStream.read(); 134 concatRef.refNumber = inStream.read(); 135 concatRef.msgCount = inStream.read(); 136 concatRef.seqNumber = inStream.read(); 145 concatRef.refNumber = (inStream.read() << 8) | inStream.read(); 146 concatRef.msgCount = inStream.read(); 147 concatRef.seqNumber = inStream.read(); 156 portAddrs.destPort = inStream.read(); [all...] |
/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/base/core/java/android/speech/srec/ |
H A D | UlawEncoderInputStream.java | 141 public int read(byte[] buf, int offset, int length) throws IOException { method in class:UlawEncoderInputStream 146 int n = mIn.read(mBuf, mBufCount, Math.min(length * 2, mBuf.length - mBufCount)); 163 public int read(byte[] buf) throws IOException { method in class:UlawEncoderInputStream 164 return read(buf, 0, buf.length); 168 public int read() throws IOException { method in class:UlawEncoderInputStream 169 int n = read(mOneByte, 0, 1);
|
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/jni/android/graphics/ |
H A D | Utils.cpp | 31 size_t AssetStreamAdaptor::read(void* buffer, size_t size) { function in class:AssetStreamAdaptor 53 amount = fAsset->read(buffer, size); 55 SkDebugf("---- fAsset->read(%d) returned %d\n", size, amount);
|
/frameworks/base/libs/rs/ |
H A D | rsFifo.h | 40 size_t virtual read(void *data, size_t bytes) = 0;
|
H A D | rsFifoSocket.h | 39 size_t virtual read(void *data, size_t bytes);
|