Searched refs:read (Results 101 - 125 of 456) sorted by relevance

1234567891011>>

/frameworks/multidex/library/src/android/support/multidex/
H A DZipUtil.java92 // 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 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));
H A DELFSectionSymTab.hxx88 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 DIGraphicBufferProducer.cpp70 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 DIGraphicBufferConsumer.cpp94 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 DNBLog.cpp299 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(&copy[read], mShare
[all...]
H A DLibsndfileSource.cpp46 ssize_t LibsndfileSource::read(void *buffer, size_t count) function in class:android::LibsndfileSource
55 // Detect EOF by zero frames read, not by mFramesUntilEOF as it could be inaccurate
62 // We didn't read any frames during the current loop cycle, so disable
63 // further looping to prevent the caller from busy waiting at read().
/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/base/libs/androidfw/
H A DZipUtils.cpp102 /* 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/opt/bitmap/src/com/android/bitmap/util/
H A DInputStreamBuffer.java26 * 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 DInputStreamBuffer.java26 * 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 DMtpDevice.cpp316 if (info->read(mData))
351 if (info->read(mData))
392 if (info->read(mData))
478 int count = read(srcFD, buffer, sizeof(buffer));
556 if (property->read(mData))
577 if (property->read(mData))
627 // queue up a read request
641 // wait for pending read before failing
650 // wait for read to complete
652 int read local
752 int read = mData.readDataWait(mDevice); local
[all...]
/frameworks/av/media/libstagefright/
H A DSkipCutBuffer.cpp64 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 DFileBridge.java97 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 DHttpResponseCacheTest.java121 assertEquals('A', c1.getInputStream().read());
127 assertEquals('A', c2.getInputStream().read());
130 assertEquals('A', c3.getInputStream().read());
/frameworks/base/include/androidfw/
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/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/media/libmedia/
H A DIHDCP.cpp115 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 DIEffectClient.cpp120 data.read(cmd, cmdSize);
126 data.read(resp, replySize);
/frameworks/av/drm/common/
H A DReadWriteUtils.cpp47 if (length == read(fd, (void*) bytes, length)) {
69 if (length != read(fd, (void*) *buffer, length)) {
/frameworks/av/media/libstagefright/timedtext/
H A DTimedText3GPPSource.cpp41 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 DSmsMessage.java541 dis.read(addr.origBytes, 0, length); // digits
558 dis.read(env.bearerData, 0, bearerDataLength);
613 dis.read(parameterData, 0, parameterLen);
615 addr.digitMode = addrBis.read(1);
616 addr.numberMode = addrBis.read(1);
619 numberType = addrBis.read(3);
623 addr.numberPlan = addrBis.read(4);
626 addr.numberOfDigits = addrBis.read(8);
634 b = (byte) (0xF & addrBis.read(4));
642 b = (byte) (0xFF & addrBis.read(
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduParser.java902 pduDataStream.read(partData, 0, dataLength);
969 int temp = pduDataStream.read();
977 temp = pduDataStream.read();
1005 int temp = pduDataStream.read();
1033 int temp = pduDataStream.read();
1092 int temp = pduDataStream.read();
1195 int temp = pduDataStream.read();
1209 temp = pduDataStream.read();
1228 int temp = pduDataStream.read();
1248 int temp = pduDataStream.read();
[all...]
/frameworks/av/include/media/stagefright/
H A DMediaSource.h39 // Any blocking read call returns immediately with a result of NO_INIT.
59 virtual status_t read(
62 // Options that modify read() behaviour. The default is to
102 // until a subsequent read-with-seek. Currently only supported by
109 // are to be returned exclusively in response to read calls.
111 // first read() call.
/frameworks/av/media/img_utils/src/
H A DFileInput.cpp48 ssize_t FileInput::read(uint8_t* buf, size_t offset, size_t count) { function in class:android::img_utils::FileInput
50 ALOGE("%s: Could not read file %s, file not open.", __FUNCTION__, mPath.string());

Completed in 2637 milliseconds

1234567891011>>