/frameworks/av/media/mtp/ |
H A D | MtpObjectInfo.h | 53 void read(MtpDataPacket& packet);
|
H A D | MtpStorageInfo.cpp | 46 void MtpStorageInfo::read(MtpDataPacket& packet) { function in class:android::MtpStorageInfo 49 // read the device info
|
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...] |
/frameworks/base/include/androidfw/ |
H A D | StreamingZipInflater.h | 41 // read 'count' bytes of uncompressed data from the current position. outBuf may 43 ssize_t read(void* outBuf, size_t count);
|
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/libs/androidfw/ |
H A D | StreamingZipInflater.cpp | 97 mInflateState.avail_in = 0; // set when a chunk is read in 112 * a. if there is no input data to decode, read some into the input buffer 117 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { function in class:StreamingZipInflater 135 // if we don't have any data to decode, read some in. If we're working 175 // not try to read any further, so just wind things up. 194 ssize_t didRead = ::read(mFd, mInBuf, toRead); 220 read(NULL, absoluteInputPosition); 222 read(NULL, absoluteInputPosition - mOutCurPosition);
|
/frameworks/base/libs/androidfw/tests/ |
H A D | TestHelpers.h | 54 ssize_t nRead = ::read(receiveFd, buf, 1);
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | Sha1Util.cpp | 43 ssize_t nread = file.read(buf, sizeof(buf));
|
/frameworks/compile/linkloader/include/ |
H A D | ELFSectionHeaderTable.h | 45 static ELFSectionHeaderTableTy *read(Archiver &AR, ELFObjectTy *owner);
|
H A D | ELFSectionProgBits.h | 36 static ELFSectionProgBits *read(Archiver &AR,
|
/frameworks/compile/slang/ |
H A D | slangdata.py | 55 buf = sys.stdin.read(1024)
|
/frameworks/native/libs/utils/tests/ |
H A D | TestHelpers.h | 54 ssize_t nRead = ::read(receiveFd, buf, 1);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | getch.c | 48 if ((r = read(0, &c, sizeof(c))) < 0) {
|
/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | StreamSource.cpp | 43 ssize_t result = mStream->read(data, size);
|
/frameworks/base/obex/javax/obex/ |
H A D | ServerOperation.java | 94 * @param in the input stream to read from 153 int length = in.read(); 154 length = (length << 8) + in.read(); 169 bytesReceived = in.read(data); 172 bytesReceived += in.read(data, bytesReceived, data.length - bytesReceived); 391 int headerID = mInput.read(); 392 int length = mInput.read(); 393 length = (length << 8) + mInput.read(); 401 // First three bytes already read, compensating for this 402 bytesReceived = mInput.read(tem [all...] |
/frameworks/av/media/libmedia/ |
H A D | SoundPoolThread.cpp | 38 const SoundPoolMsg SoundPoolThread::read() { function in class:android::SoundPoolThread 84 SoundPoolMsg msg = read();
|
H A D | IEffectClient.cpp | 120 data.read(cmd, cmdSize); 126 data.read(resp, replySize);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/ |
H A D | MP4Source.cpp | 51 n = mListener->read(buffer, skipBytes, &extra); 73 ssize_t n = mListener->read( 89 ALOGV("read %ld bytes at offset %lld", n, mPosition);
|
/frameworks/compile/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));
|
/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/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/av/media/libstagefright/ |
H A D | SkipCutBuffer.cpp | 64 size_t copied = read(dst, buffer->size()); 91 size_t copied = read(dst, buffer->capacity()); 133 size_t SkipCutBuffer::read(char *dst, size_t num) { function in class:android::SkipCutBuffer
|
/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/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/drm/common/ |
H A D | ReadWriteUtils.cpp | 47 if (length == read(fd, (void*) bytes, length)) { 69 if (length != read(fd, (void*) *buffer, length)) {
|