/frameworks/av/media/libnbaio/ |
H A D | AudioBufferProviderSource.cpp | 49 ssize_t AudioBufferProviderSource::read(void *buffer, size_t count) function in class:android::AudioBufferProviderSource
|
H A D | AudioStreamInSource.cpp | 75 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 D | MtpDevHandle.cpp | 45 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 D | FdBuffer.cpp | 52 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 D | SoundPoolThread.cpp | 38 const SoundPoolMsg SoundPoolThread::read() { function in class:android::SoundPoolThread 84 SoundPoolMsg msg = read();
|
/frameworks/base/obex/javax/obex/ |
H A D | PrivateInputStream.java | 54 * 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 D | UsageStatsXml.java | 58 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 D | TriData.java | 96 public void read(String fileName) {
method in class:TriData
|
/frameworks/av/media/libstagefright/ |
H A D | SkipCutBuffer.cpp | 87 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 D | VideoSource.h | 57 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 D | SerialPort.java | 84 * @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 D | PersistentDataBlockManager.java | 44 * 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 D | Base64InputStream.java | 24 * 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 D | Utils.cpp | 52 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 D | StreamingZipInflater.cpp | 116 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 D | AmrInputStream.java | 50 // 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 D | ResampleInputStream.java | 49 // 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 D | AbstractStatsBase.java | 31 * <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 D | Stream.cpp | 28 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 D | rsFifoSocket.cpp | 76 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 D | TypefaceCompatUtil.java | 113 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 D | EmojiRepo.java | 45 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 D | EmojiRepo.java | 45 read(context); 53 private static void read(Context context) throws IOException { method in class:EmojiRepo
|
/frameworks/av/media/libaaudio/src/client/ |
H A D | AudioStreamInternalCapture.cpp | 40 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 D | FifoBuffer.cpp | 120 fifo_frames_t FifoBuffer::read(void *buffer, fifo_frames_t numFrames) { function in class:FifoBuffer 185 fifo_frames_t framesRead = read(buffer, numFrames);
|