Searched defs:read (Results 26 - 50 of 129) sorted by relevance

123456

/frameworks/av/media/libnbaio/
H A DMonoPipeReader.cpp46 ssize_t MonoPipeReader::read(void *buffer, size_t count) function in class:android::MonoPipeReader
/frameworks/base/media/jni/soundpool/
H A DSoundPoolThread.cpp38 const SoundPoolMsg SoundPoolThread::read() { function in class:android::SoundPoolThread
84 SoundPoolMsg msg = read();
/frameworks/base/obex/javax/obex/
H A DPrivateInputStream.java54 * Creates an input stream for the <code>Operation</code> to read from
65 * Returns the number of bytes that can be read (or skipped over) from this
69 * @return the number of bytes that can be read from this input stream
85 * @return the byte read from the input stream or -1 if it reaches the end of
90 public synchronized int read() throws IOException { method in class:PrivateInputStream
101 public int read(byte[] b) throws IOException { method in class:PrivateInputStream
102 return read(b, 0, b.length);
106 public synchronized int read(byte[] b, int offset, int length) throws IOException { method in class:PrivateInputStream
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsXml.java58 public static void read(AtomicFile file, IntervalStats statsOut) throws IOException { method in class:UsageStatsXml
63 read(in, statsOut);
90 static void read(InputStream in, IntervalStats statsOut) throws IOException { method in class:UsageStatsXml
99 UsageStatsXmlV1.read(parser, statsOut);
H A DUsageStatsXmlV1.java180 * @param parser The parser from which to read events.
183 public static void read(XmlPullParser parser, IntervalStats statsOut) method in class:UsageStatsXmlV1
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DTriData.java96 public void read(String fileName) { method in class:TriData
/frameworks/av/media/libstagefright/
H A DSkipCutBuffer.cpp87 size_t copied = read(dst, buffer->size());
119 size_t copied = read(dst, buffer->capacity());
162 size_t SkipCutBuffer::read(char *dst, size_t num) { function in class:android::SkipCutBuffer
/frameworks/av/media/libstagefright/rtsp/
H A DVideoSource.h57 virtual status_t read( function in class:android::VideoSource
64 // printf("VideoSource::read\n");
78 // printf("VideoSource::read - returning buffer\n");
79 // LOG(INFO)("VideoSource::read - returning buffer");
/frameworks/base/core/java/android/hardware/
H A DSerialPort.java84 * @param buffer to read into
85 * @return number of bytes read
87 public int read(ByteBuffer buffer) throws IOException { method in class:SerialPort
/frameworks/base/core/java/android/service/persistentdata/
H A DPersistentDataBlockManager.java40 * Clients can read the currently written block by invoking
41 * {@link PersistentDataBlockManager#read()}.
95 public byte[] read() { method in class:PersistentDataBlockManager
97 return sService.read();
/frameworks/base/core/java/android/util/
H A DBase64InputStream.java24 * An InputStream that does Base64 decoding on the data read through
39 * An InputStream that performs Base64 decoding on the data read
42 * @param in the InputStream to read the source data from
51 * Performs Base64 encoding or decoding on the data read from the
54 * @param in the InputStream to read the source data from
108 public int read() throws IOException { method in class:Base64InputStream
119 public int read(byte[] b, int off, int len) throws IOException { method in class:Base64InputStream
139 int bytesRead = in.read(inputBuffer);
/frameworks/base/core/jni/android/graphics/
H A DUtils.cpp52 size_t AssetStreamAdaptor::read(void* buffer, size_t size) { function in class:AssetStreamAdaptor
74 amount = fAsset->read(buffer, size);
76 SkDebugf("---- fAsset->read(%d) returned %d\n", size, amount);
104 const off64_t len = asset->read(data->writable_data(), size);
106 SkDebugf("---- copyAsset: asset->read(%d) returned %d\n", size, len);
/frameworks/base/libs/androidfw/
H A DStreamingZipInflater.cpp116 mInflateState.avail_in = 0; // set when a chunk is read in
131 * a. if there is no input data to decode, read some into the input buffer
136 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { function in class:StreamingZipInflater
154 // if we don't have any data to decode, read some in. If we're working
194 // not try to read any further, so just wind things up.
213 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead));
240 read(NULL, absoluteInputPosition);
242 read(NULL, absoluteInputPosition - mOutCurPosition);
/frameworks/base/media/java/android/media/
H A DAmrInputStream.java49 // helper for bytewise read()
63 public int read() throws IOException { method in class:AmrInputStream
64 int rtn = read(mOneByte, 0, 1);
69 public int read(byte[] b) throws IOException { method in class:AmrInputStream
70 return read(b, 0, b.length);
74 public int read(byte[] b, int offset, int length) throws IOException { method in class:AmrInputStream
85 int n = mInputStream.read(mBuf, i, SAMPLES_PER_FRAME * 2 - i);
H A DResampleInputStream.java49 // helper for bytewise read()
71 public int read() throws IOException { method in class:ResampleInputStream
72 int rtn = read(mOneByte, 0, 1);
77 public int read(byte[] b) throws IOException { method in class:ResampleInputStream
78 return read(b, 0, b.length);
82 public int read(byte[] b, int offset, int length) throws IOException { method in class:ResampleInputStream
95 // read until we have enough data for at least one output sample
103 int n = mInputStream.read(mBuf, mBufCount, mBuf.length - mBufCount);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDocumentStack.java102 public void read(DataInputStream in) throws IOException { method in class:DocumentStack
110 root.read(in);
115 doc.read(in);
/frameworks/ex/framesequence/jni/
H A DStream.cpp28 jmethodID read; member in struct:__anon1266
51 size_t read = doRead(mPeekBuffer + mPeekOffset, size - peek_remaining); local
53 mPeekSize = peek_remaining + read;
60 size_t Stream::read(void* buffer, size_t size) { function in class:Stream
129 gInputStreamClassInfo.read, mByteArray, 0, requested);
150 gInputStreamClassInfo.read = env->GetMethodID(inputStreamClazz, "read", "([BII)I");
152 if (!gInputStreamClassInfo.read || !gInputStreamClassInfo.reset) {
/frameworks/rs/
H A DrsFifoSocket.cpp76 size_t FifoSocket::read(void *data, size_t bytes) { function in class:FifoSocket
81 //ALOGE("read %p %i", data, bytes);
84 //ALOGE("read ret %i bytes %i", ret, bytes);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp109 status_t RepeaterSource::read( function in class:android::RepeaterSource
184 status_t err = mSource->read(&buffer);
186 ALOGV("read mbuf %p", buffer);
/frameworks/av/media/mtp/
H A DMtpProperty.cpp126 bool MtpProperty::read(MtpDataPacket& packet) { function in class:android::MtpProperty
/frameworks/base/core/java/android/util/jar/
H A DStrictJarManifest.java87 read(Streams.readFully(is));
109 read(manifestBytes);
178 * Merges name/attribute pairs read from the input stream {@code is} into this manifest.
181 * The {@code InputStream} to read from.
185 public void read(InputStream is) throws IOException { method in class:StrictJarManifest
186 read(Streams.readFullyNoClose(is));
189 private void read(byte[] buf) throws IOException { method in class:StrictJarManifest
/frameworks/base/packages/PrintSpooler/jni/
H A Dcom_android_printspooler_util_BitmapSerializeUtils.cpp52 ssize_t readByteCount = read(fd, readBuffer, remainingBytes);
66 "File closed before all bytes were read. %zu/%zu remaining", remainingBytes,
92 bool read = readAllBytes(fd, (void*) &readInfo, sizeof(AndroidBitmapInfo)); local
93 if (!read) {
94 throwIllegalStateException(env, (char*) "Cannot read bitmap info");
124 read = readAllBytes(fd, (void*) pixels, byteCount);
125 if (!read) {
126 throwIllegalStateException(env, (char*) "Cannot read bitmap pixels");
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DNetworkPolicyEditor.java57 public void read() { method in class:NetworkPolicyEditor
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DCountedDataInputStream.java44 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream
45 int r = in.read(b);
51 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream
52 int r = in.read(b, off, len);
58 public int read() throws IOException { method in class:CountedDataInputStream
59 int r = in.read();
83 int r = read(b, off, len);
/frameworks/base/tools/aapt/
H A DZipEntry.cpp47 /* read the CDE */
48 result = mCDE.read(fp);
50 ALOGD("mCDE.read failed\n");
64 result = mLFH.read(fp);
66 ALOGD("mLFH.read failed\n");
76 * We *might* need to read the Data Descriptor at this point and
384 status_t ZipEntry::LocalFileHeader::read(FILE* fp) function in class:ZipEntry::LocalFileHeader
518 status_t ZipEntry::CentralDirEntry::read(FILE* fp) function in class:ZipEntry::CentralDirEntry
572 /* read "extra field" */

Completed in 906 milliseconds

123456