Searched refs:read (Results 251 - 275 of 642) sorted by relevance

<<11121314151617181920>>

/frameworks/base/media/java/android/media/
H A DAudioRecord.java53 * the following three methods: {@link #read(byte[],int, int)}, {@link #read(short[], int, int)}
54 * or {@link #read(ByteBuffer, int)}. The choice of which method to use will be based
59 * been read yet. Data should be read from the audio hardware in chunks of sizes inferior to
142 * The read mode indicating the read operation will block until all data
143 * requested has been read.
148 * The read mode indicating the read operatio
1072 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { method in class:AudioRecord
1103 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, method in class:AudioRecord
1145 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { method in class:AudioRecord
1175 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, method in class:AudioRecord
1222 public int read(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, method in class:AudioRecord
1273 public int read(@NonNull ByteBuffer audioBuffer, int sizeInBytes) { method in class:AudioRecord
1306 public int read(@NonNull ByteBuffer audioBuffer, int sizeInBytes, @ReadMode int readMode) { method in class:AudioRecord
[all...]
/frameworks/native/libs/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.cpp73 * \param[in] index The index of the file descriptor in \p nh to read from. This
237 FlattenableUtils::read(buffer, size, numFdsInHandle);
417 FlattenableUtils::read(buffer, size, numRects);
487 FlattenableUtils::read(buffer, size, t->timestamp);
489 FlattenableUtils::read(buffer, size, lIsAutoTimestamp);
492 FlattenableUtils::read(buffer, size, lDataSpace);
495 FlattenableUtils::read(buffer, size, lCrop);
502 FlattenableUtils::read(buffer, size, lScalingMode);
504 FlattenableUtils::read(buffer, size, t->transform);
505 FlattenableUtils::read(buffe
[all...]
/frameworks/av/media/extractors/mpeg2/
H A DMPEG2PSExtractor.cpp51 virtual status_t read(
82 virtual status_t read(
664 status_t MPEG2PSExtractor::Track::read( function in class:android::MPEG2PSExtractor::Track
683 return mSource->read(buffer, options);
749 status_t MPEG2PSExtractor::WrappedTrack::read( function in class:android::MPEG2PSExtractor::WrappedTrack
751 return mTrack->read(buffer, options);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifParser.java30 * InputStream, the caller can request which IFD's to read via
228 read(mDataAboveIfd0);
420 * tag will have already been read except for tags of undefined type. For
421 * tags of undefined type, call one of the read methods to get the value.
424 * @see #read(byte[])
425 * @see #read(byte[], int, int)
683 read(buf);
800 protected int read(byte[] buffer, int offset, int length) throws IOException { method in class:ExifParser
801 return mTiffStream.read(buffer, offset, length);
805 * Equivalent to read(buffe
807 protected int read(byte[] buffer) throws IOException { method in class:ExifParser
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DMmsServiceBroker.java145 long timestampMillis, boolean seen, boolean read) throws RemoteException {
151 long timestampSecs, boolean seen, boolean read) throws RemoteException {
375 long timestampMillis, boolean seen, boolean read) throws RemoteException {
383 callingPkg, address, type, text, timestampMillis, seen, read);
388 String messageId, long timestampSecs, boolean seen, boolean read)
397 callingPkg, contentUri, messageId, timestampSecs, seen, read);
374 importTextMessage(String callingPkg, String address, int type, String text, long timestampMillis, boolean seen, boolean read) argument
387 importMultimediaMessage(String callingPkg, Uri contentUri, String messageId, long timestampSecs, boolean seen, boolean read) argument
/frameworks/av/media/libaaudio/src/legacy/
H A DAudioStreamRecord.cpp229 // If we don't have a callback then we will read into an internal short array
230 // and then convert into the app float array in read().
386 aaudio_result_t AudioStreamRecord::read(void *buffer, function in class:AudioStreamRecord
411 // Perform conversion using multiple read()s if necessary.
416 bytesActuallyRead = mAudioRecord->read(mFormatConversionBufferI16.get(), bytesToRead, blocking);
432 bytesActuallyRead = mAudioRecord->read(buffer, numBytes, blocking);
/frameworks/base/tools/bit/
H A Dadb.cpp91 ssize_t amt = read(fd, &byte, 1);
134 ssize_t amt = read(fd, buf+pos, size-pos);
187 amt = read(fd, scratch, amt);
/frameworks/rs/
H A DrsAllocation.h138 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
139 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
141 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
/frameworks/av/cmds/stagefright/
H A DSineSource.cpp62 status_t SineSource::read( function in class:android::SineSource
/frameworks/av/include/media/nbaio/
H A DNBAIO.h23 // elsewhere. Implementations _should_ be non-blocking for all methods, especially read() and
41 OVERRUN = (UNKNOWN_ERROR + 0x101), // availableToRead(), read(), or readVia() detected
242 // Number of frames read successfully since construction.
253 // Estimate of number of frames that could be read successfully now.
254 // When a read() is actually attempted, the implementation is permitted to return a smaller or
258 // OVERRUN One or more frames were lost due to overrun, try again to read more recent data.
259 // WOULD_BLOCK Determining how many frames can be read without blocking would itself block.
273 // OVERRUN read() has not been called frequently enough, or with enough frames to keep up.
274 // One or more frames were lost due to overrun, try again to read more recent data.
275 virtual ssize_t read(voi
[all...]
/frameworks/av/include/media/stagefright/
H A DAudioSource.h58 virtual status_t read(
H A DCameraSourceTimeLapse.h53 // If the frame capture interval is large, read will block for a long time.
55 // mediaRecorder waits until the read returns, causing a long wait for
56 // stop() to return. To avoid this, we can make read() return a copy of the
57 // last read frame with the same time stamp frequently. This keeps the
58 // read() call from blocking too long. Calling this function quickly
59 // captures another frame, keeps its copy, and enables this mode of read()
98 // mQuickStop is set to true if we use quick read() returns, otherwise it is set
99 // to false. Once in this mode read() return a copy of the last read frame
103 // Forces the next frame passed to dataCallbackTimestamp() to be read
[all...]
/frameworks/av/media/libmedia/
H A DIMediaSource.cpp116 virtual status_t read(MediaBufferBase **buffer, function in class:android::BpMediaSource
121 ALOGV("read status %d, bufferCount %u, sinceStop %u",
179 reply.read(buf->data(), len);
322 // Get max number of buffers to read.
329 // Get read options, if any.
335 && data.read((void *)&opts, len) == NO_ERROR;
344 ret = read((MediaBufferBase **)&buf, useOptions ? &opts : nullptr);
/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp49 ssize_t AudioBufferProviderSource::read(void *buffer, size_t count) function in class:android::AudioBufferProviderSource
H A DSourceAudioBufferProvider.cpp75 // read from source
76 ssize_t actual = mSource->read(mAllocated, buffer->frameCount);
/frameworks/av/media/libnbaio/include_mono/media/nbaio/
H A DNBAIO.h23 // elsewhere. Implementations _should_ be non-blocking for all methods, especially read() and
41 OVERRUN = (UNKNOWN_ERROR + 0x101), // availableToRead(), read(), or readVia() detected
242 // Number of frames read successfully since construction.
253 // Estimate of number of frames that could be read successfully now.
254 // When a read() is actually attempted, the implementation is permitted to return a smaller or
258 // OVERRUN One or more frames were lost due to overrun, try again to read more recent data.
259 // WOULD_BLOCK Determining how many frames can be read without blocking would itself block.
273 // OVERRUN read() has not been called frequently enough, or with enough frames to keep up.
274 // One or more frames were lost due to overrun, try again to read more recent data.
275 virtual ssize_t read(voi
[all...]
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DAudioSource.h58 virtual status_t read(
H A DCameraSourceTimeLapse.h53 // If the frame capture interval is large, read will block for a long time.
55 // mediaRecorder waits until the read returns, causing a long wait for
56 // stop() to return. To avoid this, we can make read() return a copy of the
57 // last read frame with the same time stamp frequently. This keeps the
58 // read() call from blocking too long. Calling this function quickly
59 // captures another frame, keeps its copy, and enables this mode of read()
98 // mQuickStop is set to true if we use quick read() returns, otherwise it is set
99 // to false. Once in this mode read() return a copy of the last read frame
103 // Forces the next frame passed to dataCallbackTimestamp() to be read
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.h41 virtual status_t read(
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
H A DTypefaceCreatePerfTest.java93 while ((n = in.read(buf)) != -1) {
/frameworks/base/core/java/com/android/internal/os/
H A DAtomicFile.java57 // Rename the current file so it may be used as a backup during the next read
157 int amt = stream.read(data, pos, data.length-pos);
H A DKernelCpuProcReader.java40 * KernelCpuProcReader reuses a {@link ByteBuffer} to store data read from proc files.
42 * A KernelCpuProcReader instance keeps an error counter. When the number of read errors within that
43 * instance accumulates to 5, this instance will reject all further read requests.
48 * the last read timestamp, {@link #readBytes()} will return previous result.
121 while (fc.read(mBuffer) == mBuffer.capacity()) {
/frameworks/base/core/jni/
H A Dandroid_ddm_DdmHandleNativeHeap.cpp61 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, bytes, sizeof(bytes)))) > 0) {
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DMacAuthenticatedInputStreamTest.java111 while (is.read() != -1) {
115 fail("read too many bytes");
/frameworks/base/drm/java/android/drm/
H A DDrmUtils.java38 /* Should be used when we need to read from local file */
44 /* Should be used when we need to read from local file */
54 // read the entire data
55 bufferedStream.read(data);

Completed in 371 milliseconds

<<11121314151617181920>>