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

123456

/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp49 ssize_t AudioBufferProviderSource::read(void *buffer, size_t count) function in class:android::AudioBufferProviderSource
H A DAudioStreamInSource.cpp75 ssize_t AudioStreamInSource::read(void *buffer, size_t count) function in class:android::AudioStreamInSource
81 status_t result = mStream->read(buffer, count * mFrameSize, &bytesRead);
/frameworks/av/media/mtp/
H A DMtpDevHandle.cpp45 int read(void *data, int len);
63 int MtpDevHandle::read(void *data, int len) { function in class:MtpDevHandle
64 return ::read(mFd, data, len);
/frameworks/base/cmds/incidentd/src/
H A DFdBuffer.cpp52 FdBuffer::read(int fd, int64_t timeout) function in class:FdBuffer
93 ssize_t amt = ::read(fd, buf + mCurrentWritten, BUFFER_SIZE - mCurrentWritten);
/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);
/frameworks/rs/tests/java_api/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());
120 size_t copied = read(dst, buffer->capacity());
171 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.java44 * Clients can read the currently written block by invoking
45 * {@link PersistentDataBlockManager#read()}.
106 public byte[] read() { method in class:PersistentDataBlockManager
108 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);
101 const off64_t len = asset->read(data->writable_data(), size);
103 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.java50 // helper for bytewise read()
87 public int read() throws IOException { method in class:AmrInputStream
88 int rtn = read(mOneByte, 0, 1);
93 public int read(byte[] b) throws IOException { method in class:AmrInputStream
94 return read(b, 0, b.length);
98 public int read(byte[] b, int offset, int length) throws IOException { method in class:AmrInputStream
117 int n = mInputStream.read(mBuf, numRead, SAMPLES_PER_FRAME * 2 - numRead);
134 // now read encoded data from the encoder (blocking, since we just filled up the
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/services/core/java/com/android/server/pm/
H A DAbstractStatsBase.java31 * <li>Provide an AtomicFile to the actual read/write code
108 protected void read(T data) { method in class:AbstractStatsBase
120 // We use the current time as last-written. read() is called on system server startup
/frameworks/ex/framesequence/jni/
H A DStream.cpp28 jmethodID read; member in struct:__anon1466
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:android::renderscript::FifoSocket
81 //ALOGE("read %p %i", data, bytes);
84 //ALOGE("read ret %i bytes %i", ret, bytes);
/frameworks/support/compat/java/android/support/v4/graphics/
H A DTypefaceCompatUtil.java113 public int read() { method in class:TypefaceCompatUtil.ByteBufferInputStream
121 public int read(byte[] bytes, int off, int len) { method in class:TypefaceCompatUtil.ByteBufferInputStream
147 while ((readLen = is.read(buffer)) != -1) {
/frameworks/support/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/
H A DEmojiRepo.java45 read(context);
53 private static void read(Context context) throws IOException { method in class:EmojiRepo
/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/
H A DEmojiRepo.java45 read(context);
53 private static void read(Context context) throws IOException { method in class:EmojiRepo
/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternalCapture.cpp40 aaudio_result_t AudioStreamInternalCapture::read(void *buffer, int32_t numFrames, function in class:AudioStreamInternalCapture
62 // If the write index passed the read index then consider it an overrun.
70 //ALOGD("AudioStreamInternalCapture::processDataNow() - tried to read %d frames, read %d",
84 case AAUDIO_STREAM_STATE_STARTED: // When do we expect the next read burst to occur?
101 // ALOGD("AudioStreamInternalCapture::readNow finished: now = %llu, read# = %llu, wrote# = %llu",
201 result = read(mCallbackBuffer, mCallbackFrames, timeoutNanos);
203 ALOGE("AudioStreamInternalCapture(): callbackLoop: read() returned %d", result);
205 // Only read some of the frames requested. Must have timed out.
/frameworks/av/media/libaaudio/src/fifo/
H A DFifoBuffer.cpp120 fifo_frames_t FifoBuffer::read(void *buffer, fifo_frames_t numFrames) { function in class:FifoBuffer
185 fifo_frames_t framesRead = read(buffer, numFrames);

Completed in 6381 milliseconds

123456