Searched refs:read (Results 76 - 100 of 423) sorted by relevance

1234567891011>>

/frameworks/av/media/mtp/
H A DMtpObjectInfo.h53 void read(MtpDataPacket& packet);
H A DMtpStorageInfo.cpp46 void MtpStorageInfo::read(MtpDataPacket& packet) { function in class:android::MtpStorageInfo
49 // read the device info
H A DMtpDevice.cpp316 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 DStreamingZipInflater.h41 // read 'count' bytes of uncompressed data from the current position. outBuf may
43 ssize_t read(void* outBuf, size_t count);
H A DAsset.h18 // 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 DStreamingZipInflater.cpp97 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 DTestHelpers.h54 ssize_t nRead = ::read(receiveFd, buf, 1);
/frameworks/compile/libbcc/lib/Support/
H A DSha1Util.cpp43 ssize_t nread = file.read(buf, sizeof(buf));
/frameworks/compile/linkloader/include/
H A DELFSectionHeaderTable.h45 static ELFSectionHeaderTableTy *read(Archiver &AR, ELFObjectTy *owner);
H A DELFSectionProgBits.h36 static ELFSectionProgBits *read(Archiver &AR,
/frameworks/compile/slang/
H A Dslangdata.py55 buf = sys.stdin.read(1024)
/frameworks/native/libs/utils/tests/
H A DTestHelpers.h54 ssize_t nRead = ::read(receiveFd, buf, 1);
/frameworks/wilhelm/tests/sandbox/
H A Dgetch.c48 if ((r = read(0, &c, sizeof(c))) < 0) {
/frameworks/base/media/tests/omxjpegdecoder/
H A DStreamSource.cpp43 ssize_t result = mStream->read(data, size);
/frameworks/base/obex/javax/obex/
H A DServerOperation.java94 * @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 DSoundPoolThread.cpp38 const SoundPoolMsg SoundPoolThread::read() { function in class:android::SoundPoolThread
84 SoundPoolMsg msg = read();
H A DIEffectClient.cpp120 data.read(cmd, cmdSize);
126 data.read(resp, replySize);
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/
H A DMP4Source.cpp51 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 DELFSectionHeaderTable.hxx36 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 DVideoEditorSRC.cpp112 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 DMemoryFileTest.java35 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 DSkipCutBuffer.cpp64 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 DHttpResponseCacheTest.java121 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 DSocketTest.java79 assertEquals(0xa5, s1.getInputStream().read());
82 assertEquals(0x5a, s.getInputStream().read());
123 sock.getInputStream().read();
/frameworks/av/drm/common/
H A DReadWriteUtils.cpp47 if (length == read(fd, (void*) bytes, length)) {
69 if (length != read(fd, (void*) *buffer, length)) {

Completed in 457 milliseconds

1234567891011>>