/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DurableUtils.java | 43 d.read(new DataInputStream(in)); 64 Log.w(TAG, "Failed to read", e); 95 if (in.read() != 0) {
|
/frameworks/multidex/library/src/android/support/multidex/ |
H A D | ZipUtil.java | 92 // which we've already read. 113 length = raf.read(buffer, 0, length); 121 length = raf.read(buffer, 0, length);
|
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
H A D | ELFSectionHeaderTable.hxx | 36 ELFSectionHeaderTable<Bitwidth>::read(Archiver &AR, ELFObjectTy *owner) { function in class:ELFSectionHeaderTable 38 // Archiver is in bad state before calling read function. 57 ELFSectionHeaderTy::read(AR, owner, i));
|
H A D | ELFSectionSymTab.hxx | 88 ELFSectionSymTab<Bitwidth>::read(Archiver &AR, function in class:ELFSectionSymTab 103 st->table.push_back(ELFSymbolTy::read(AR, owner, i)); 107 // Unable to read the table.
|
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferProducer.cpp | 70 result = reply.read(**buf); 110 reply.read(**fence); 148 reply.read(**outBuffer); 153 reply.read(**outFence); 346 data.read(*buffer.get()); 368 data.read(*fence.get()); 429 parcel.read(*this); 479 FlattenableUtils::read(buffer, size, timestamp); 480 FlattenableUtils::read(buffer, size, isAutoTimestamp); 481 FlattenableUtils::read(buffe [all...] |
H A D | IGraphicBufferConsumer.cpp | 94 FlattenableUtils::read(buffer, size, i); 152 FlattenableUtils::read(buffer, size, flags); 173 FlattenableUtils::read(buffer, size, mCrop); 174 FlattenableUtils::read(buffer, size, mTransform); 175 FlattenableUtils::read(buffer, size, mScalingMode); 176 FlattenableUtils::read(buffer, size, mTimestamp); 178 FlattenableUtils::read(buffer, size, mFrameNumber); 179 FlattenableUtils::read(buffer, size, mBuf); 226 result = reply.read(*buffer); 446 data.read(*buffe [all...] |
/frameworks/av/media/libnbaio/ |
H A D | NBLog.cpp | 299 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(©[read], mShare [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | MemoryFileTest.java | 35 throw new Exception("readBytes did not read back what writeBytes wrote"); 90 is.read(buffer); 96 is.read(buffer); 121 // Tests for the IndexOutOfBoundsException cases in read(). 131 is.read(buffer, offset, count); 146 "read() with negative offset should throw IndexOutOfBoundsException"); 152 "read() with negative length should throw IndexOutOfBoundsException"); 158 "read() with offset outside buffer should throw IndexOutOfBoundsException"); 164 "read() with offset + count outside buffer should throw IndexOutOfBoundsException"); 167 // Test behavior of read() a [all...] |
/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
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | PersistentDataBlockService.java | 58 * {@link android.service.persistentdata.IPersistentDataBlockService}.read(byte[] data) 191 public byte[] read() { 211 int read = inputStream.read(data, 0, totalDataSize); 212 if (read < totalDataSize) { 214 Slog.e(TAG, "failed to read entire data block. bytes read: " + 215 read + "/" + totalDataSize); 221 Slog.e(TAG, "failed to read data", e);
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | InputStreamBuffer.java | 26 * Wrapper for {@link InputStream} that allows you to read bytes from it like a byte[]. An 91 * @param autoAdvance Determines the behavior when you need to read an index that is beyond 293 int read = -1; 295 read = mInputStream.read(mBuffer, mFilled, mBuffer.length - mFilled); 299 if (read != -1) { 300 mFilled = mFilled + read;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | InputStreamBuffer.java | 26 * Wrapper for {@link InputStream} that allows you to read bytes from it like a byte[]. An 91 * @param autoAdvance Determines the behavior when you need to read an index that is beyond 293 int read = -1; 295 read = mInputStream.read(mBuffer, mFilled, mBuffer.length - mFilled); 299 if (read != -1) { 300 mFilled = mFilled + read;
|
/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 316 info->read(mData); 349 info->read(mData); 388 info->read(mData); 472 int count = read(srcFD, buffer, sizeof(buffer)); 550 property->read(mData); 569 property->read(mData); 617 // queue up a read request 631 // wait for pending read before failing 640 // wait for read to complete 642 int read local 742 int read = mData.readDataWait(mDevice); local [all...] |
H A D | MtpDataPacket.h | 98 int read(int fd); 106 int read(struct usb_request *request);
|
/frameworks/av/media/libstagefright/ |
H A D | SkipCutBuffer.cpp | 64 size_t copied = read(dst, buffer->size()); 91 size_t copied = read(dst, buffer->capacity()); 134 size_t SkipCutBuffer::read(char *dst, size_t num) { function in class:android::SkipCutBuffer
|
/frameworks/base/core/java/android/os/ |
H A D | FileBridge.java | 97 while (IoBridge.read(mServer, temp, 0, MSG_LENGTH) == MSG_LENGTH) { 103 int n = IoBridge.read(mServer, temp, 0, Math.min(temp.length, len)); 168 if (IoBridge.read(mClient, mTemp, 0, MSG_LENGTH) == MSG_LENGTH) {
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
H A D | HttpResponseCacheTest.java | 121 assertEquals('A', c1.getInputStream().read()); 127 assertEquals('A', c2.getInputStream().read()); 130 assertEquals('A', c3.getInputStream().read());
|
/frameworks/base/include/androidfw/ |
H A D | Asset.h | 18 // Class providing access to a read-only asset. Asset objects are NOT 35 * Instances of this class provide read-only operations on a byte stream. 56 /* read chunks, and seek forward and backward */ 59 /* read sequentially, with an occasional forward seek */ 62 /* caller plans to ask for a read-only buffer with all data */ 68 * bytes read, 0 on EOF, or -1 on error. 70 virtual ssize_t read(void* buf, size_t count) = 0; 90 * Get the total amount of data that can be read. 95 * Get the total amount of data that can be read from the current position. 100 * Open a new file descriptor that can be used to read thi [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | SocketTest.java | 79 assertEquals(0xa5, s1.getInputStream().read()); 82 assertEquals(0x5a, s.getInputStream().read()); 123 sock.getInputStream().read();
|
/frameworks/av/media/libmedia/ |
H A D | IHDCP.cpp | 115 reply.read(outData, size); 140 reply.read(outData, size); 163 reply.read(outData, size); 248 data.read(inData, size); 272 data.read(*graphicBuffer); 302 data.read(inData, size);
|
H A D | IEffectClient.cpp | 120 data.read(cmd, cmdSize); 126 data.read(resp, replySize);
|
/frameworks/av/drm/common/ |
H A D | ReadWriteUtils.cpp | 47 if (length == read(fd, (void*) bytes, length)) { 69 if (length != read(fd, (void*) *buffer, length)) {
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedText3GPPSource.cpp | 41 status_t TimedText3GPPSource::read( function in class:android::TimedText3GPPSource 45 status_t err = mSource->read(&textBuffer, options);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | SmsMessage.java | 539 dis.read(addr.origBytes, 0, length); // digits 556 dis.read(env.bearerData, 0, bearerDataLength); 611 dis.read(parameterData, 0, parameterLen); 613 addr.digitMode = addrBis.read(1); 614 addr.numberMode = addrBis.read(1); 617 numberType = addrBis.read(3); 621 addr.numberPlan = addrBis.read(4); 624 addr.numberOfDigits = addrBis.read(8); 632 b = (byte) (0xF & addrBis.read(4)); 640 b = (byte) (0xFF & addrBis.read( [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | PduParser.java | 898 pduDataStream.read(partData, 0, dataLength); 965 int temp = pduDataStream.read(); 973 temp = pduDataStream.read(); 1001 int temp = pduDataStream.read(); 1029 int temp = pduDataStream.read(); 1088 int temp = pduDataStream.read(); 1191 int temp = pduDataStream.read(); 1205 temp = pduDataStream.read(); 1224 int temp = pduDataStream.read(); 1244 int temp = pduDataStream.read(); [all...] |