HomeSort by relevance Sort by last modified time
    Searched defs:read (Results 826 - 850 of 1637) sorted by null

<<31323334353637383940>>

  /frameworks/av/services/audioflinger/
AudioResamplerSinc.cpp 616 void AudioResamplerSinc::read( function in class:android::AudioResamplerSinc
    [all...]
  /frameworks/base/core/java/android/content/res/
AssetFileDescriptor.java 32 * opened FileDescriptor that can be used to read the data, as well as the
98 * Returns the FileDescriptor that can be used to read the data in the
143 * should be read to the end of the file.
218 public int read() throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
220 int result = read(buffer, 0, 1);
225 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
229 int res = super.read(buffer, offset, count);
234 return super.read(buffer, offset, count);
238 public int read(byte[] buffer) throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
239 return read(buffer, 0, buffer.length)
    [all...]
  /frameworks/base/core/java/android/os/
MemoryFile.java 33 * After a file is purged, attempts to read or write the file will
92 * After this method has been called, read and write operations through this object
186 * @param buffer byte array to read bytes into.
187 * @param srcOffset offset into the memory file to read from.
188 * @param destOffset offset into the byte array buffer to read into.
189 * @param count number of bytes to read.
190 * @return number of bytes read.
196 throw new IOException("Can't read from deactivated memory file.");
286 public int read() throws IOException { method in class:MemoryFile.MemoryInputStream
290 int result = read(mSingleByte, 0, 1)
298 public int read(byte buffer[], int offset, int count) throws IOException { method in class:MemoryFile.MemoryInputStream
    [all...]
  /frameworks/base/core/jni/android/graphics/
CreateJavaOutputStreamAdaptor.cpp 26 virtual size_t read(void* buffer, size_t size) { function in class:JavaInputStreamAdaptor
33 If we see that value, we need to call read(), which will
43 // if read returned 0, we're at EOF
64 // read the bytes
75 SkDebugf("---- read threw an exception\n");
79 if (n < 0) { // n == 0 should not be possible, see InputStream read() specifications.
89 SkDebugf("---- read:GetByteArrayRegion threw an exception\n");
141 while ((len = stream->read(data + streamLen,
249 gInputStream_readMethodID = getMethodIDCheck(env, inputStream_Clazz, "read", "([BII)I");
  /frameworks/base/core/tests/coretests/src/android/os/
MemoryFileTest.java 35 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() at end of fil
    [all...]
  /frameworks/base/libs/androidfw/
Asset.cpp 18 // Provide access to a read-only asset.
135 * always open things read-only it doesn't really matter, so there's
434 * Read a chunk of data.
436 ssize_t _FileAsset::read(void* buf, size_t count) function in class:_FileAsset
445 * On first access, read or map the entire file. The caller has
464 //printf("map read\n");
469 //printf("buf read\n");
473 /* read from the file */
474 //printf("file read\n");
485 * file, so if we don't read the full amount we know something i
760 ssize_t _CompressedAsset::read(void* buf, size_t count) function in class:_CompressedAsset
    [all...]
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
SerializedFrame.java 59 * there are no array copies or synchronization involved to read back written data.
139 public final int read() { method in class:SerializedFrame.DirectByteInputStream
144 public final int read(byte[] b, int off, int len) { method in class:SerializedFrame.DirectByteInputStream
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
DocumentInfo.java 80 public void read(DataInputStream in) throws IOException { method in class:DocumentInfo
RootInfo.java 84 public void read(DataInputStream in) throws IOException { method in class:RootInfo
  /frameworks/base/services/java/com/android/server/updates/
SELinuxPolicyInstallReceiver.java 74 value = (value << 8) | reader.read();
91 stream.read(chunk, 0, length);
  /frameworks/base/tools/preload/
MemoryUsage.java 276 int read; local
278 while ((read = in.read(buffer)) > -1) {
279 out.write(buffer, 0, read);
  /frameworks/rs/cpu_ref/linkloader/include/
ELFHeader.h 151 static ELFHeader *read(Archiver &AR) { function in class:ELFHeader
153 // Archiver is in bad state before calling read function.
160 // Unable to read the structure. Return NULL.
165 // Header read from archiver is not valid. Return NULL.
  /frameworks/rs/cpu_ref/linkloader/include/impl/
ELFObject.hxx 35 ELFObject<Bitwidth>::read(Archiver &AR) { function in class:ELFObject
38 // Read header
39 object->header.reset(ELFHeaderTy::read(AR));
44 // Read section table
45 object->shtab.reset(ELFSectionHeaderTableTy::read(AR, object.get()));
50 // Read each section
58 ELFSectionTy::read(AR, object.get(), (*object->shtab)[i]));
73 ELFSectionTy::read(AR, object.get(), (*object->shtab)[index]));
  /frameworks/wilhelm/src/android/util/
AacAdtsExtractor.cpp 62 SL_LOGE("AacAdtsExtractor:: getFrameSize() returns %d (syncword and header read error)",
75 // the frame size read already contains the size of the ADTS header, so no need to add it here
258 status_t AacAdtsSource::read( function in class:android::AacAdtsSource
270 SL_LOGV("AacAdtsSource::read() offset=%lld", mOffset);
273 SL_LOGV("AacAdtsSource::read() returns EOS");
286 //SL_LOGV("AacAdtsSource::read() readAt returned %u bytes", readSize);
288 SL_LOGW("AacAdtsSource::read() readSize != frameSizeWithoutHeader");
  /hardware/libhardware_legacy/audio/
AudioDumpInterface.cpp 228 // ALOGV("test_cmd_policy command %s read", mPolicyCommands.string());
439 ssize_t AudioStreamInDump::read(void* buffer, ssize_t bytes) function in class:android::AudioStreamInDump
444 ret = mFinalStream->read(buffer, bytes);
483 ALOGV("Opening input read file %s, fh %p", name, mFile);
AudioHardwareGeneric.cpp 343 ssize_t AudioStreamInGeneric::read(void* buffer, ssize_t bytes) function in class:android_audio_legacy::AudioStreamInGeneric
347 ALOGE("Attempt to read from unopened device");
350 return ::read(mFd, buffer, bytes);
  /hardware/qcom/audio/legacy/alsa_sound/
AudioStreamInALSA.cpp 126 ssize_t AudioStreamInALSA::read(void *buffer, ssize_t bytes) function in class:android_audio_legacy::AudioStreamInALSA
130 ALOGV("read:: buffer %p, bytes %d", buffer, bytes);
134 ssize_t read = 0; local
146 ALOGD("read:: mParent->mIncallMode=%d", mParent->mIncallMode);
195 ALOGD("read:: ---- mParent->mIncallMode=%d", mParent->mIncallMode);
288 ALOGE("read:: PCM device open failed");
339 ALOGV("AudioStreamInALSA::read() - copy processed output "
360 ALOGV("AudioStreamInALSA::read() - done processing buffer, "
368 read = mSurroundInputBufferIdx;
370 n = pcm_read(mHandle->handle, &mSurroundInputBuffer[read],
    [all...]
  /hardware/qcom/display/msm8960/liboverlay/
overlayUtils.cpp 50 size_t read(T& r, size_t elem) { function in struct:__anon31621::IOFile
252 (void)fp.read(is3DTV, 1);
265 ALOGE("isPanel3D read fb0 failed");
  /hardware/qcom/display/msm8974/liboverlay/
overlayUtils.cpp 50 size_t read(T& r, size_t elem) { function in struct:__anon31692::IOFile
302 (void)fp.read(is3DTV, 1);
315 ALOGE("isPanel3D read fb0 failed");
  /hardware/qcom/display/msm8x26/liboverlay/
overlayUtils.cpp 50 size_t read(T& r, size_t elem) { function in struct:__anon31758::IOFile
252 (void)fp.read(is3DTV, 1);
265 ALOGE("isPanel3D read fb0 failed");
  /libcore/crypto/src/main/java/org/conscrypt/
HandshakeIODataStream.java 29 * for handshake layer. It provides read and write operations
33 * places the data at the beginning of the pipe, and read methods
39 * reasoned by the following: handshake protocol performs read
43 * The read operations of the stream presented by the methods
53 * 2. the read position should be reseted to marked,
91 // position of the next byte to read
94 // position of the last byte to read + 1
123 * the current read position. The method is usefull when it is needed
134 * read an opaque value;
139 public int read() throws IOException method in class:HandshakeIODataStream
153 public byte[] read(int length) throws IOException { method in class:HandshakeIODataStream
164 public int read(byte[] dst, int offset, int length) throws IOException { method in class:HandshakeIODataStream
    [all...]
  /libcore/luni/src/main/java/java/io/
StreamTokenizer.java 69 * token that has been read. When a single character is read, its value
264 int currentChar = peekChar == -2 ? read() : peekChar;
268 currentChar = read();
287 if ((currentChar = read()) == '\n') {
288 currentChar = read();
296 currentChar = read();
299 currentChar = read();
320 currentChar = read();
344 currentChar = read();
553 private int read() throws IOException { method in class:StreamTokenizer
    [all...]
  /libcore/luni/src/main/java/java/nio/
CharBuffer.java 116 * buffer is read-only.
153 * Returns a read-only buffer that shares its content with this buffer.
156 * buffer is read-only itself. The new buffer's position, limit, capacity
163 * @return a read-only version of this buffer.
235 * the same as this buffer's. The duplicated buffer's read-only property and
288 * increases the position by the number of chars read.
306 * number of chars read.
314 * The number of chars to read, must be no less than zero and no
594 * mark is cleared. The new buffer's read-only property and byte order are
609 * The new buffer's read-only property and byte order are the same as thi
733 public int read(CharBuffer target) throws IOException { method in class:CharBuffer
    [all...]
  /libcore/luni/src/main/java/java/nio/channels/
Channels.java 49 * in non-blocking mode and {@code read} is called.</li>
121 * the Channel to be read.
143 * the Channel to be read.
215 @Override public synchronized int read() throws IOException { method in class:Channels.ChannelInputStream
219 @Override public synchronized int read(byte[] target, int byteOffset, int byteCount) throws IOException { method in class:Channels.ChannelInputStream
222 return channel.read(buffer);
297 public synchronized int read(ByteBuffer target) throws IOException { method in class:Channels.InputStreamChannel
306 readCount = inputStream.read(bytes);
  /libcore/luni/src/main/java/java/util/jar/
JarFile.java 32 * {@code JarFile} is used to read jar entries and their associated data from
48 // The manifest after it has been read from the JAR.
51 // The entry for the MANIFEST.MF file before it is read.
76 public int read() throws IOException { method in class:JarFile.JarFileInputStream
81 int r = super.read();
101 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:JarFile.JarFileInputStream
106 int r = super.read(buffer, byteOffset, byteCount);
149 * If the file cannot be read.
163 * If the file cannot be read.
184 * If the file cannot be read
    [all...]

Completed in 505 milliseconds

<<31323334353637383940>>