/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 53 * 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 D | H2BGraphicBufferProducer.cpp | 73 * \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 D | MPEG2PSExtractor.cpp | 51 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 D | ExifParser.java | 30 * 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 D | MmsServiceBroker.java | 145 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 D | AudioStreamRecord.cpp | 229 // 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 D | adb.cpp | 91 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 D | rsAllocation.h | 138 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 D | SineSource.cpp | 62 status_t SineSource::read( function in class:android::SineSource
|
/frameworks/av/include/media/nbaio/ |
H A D | NBAIO.h | 23 // 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 D | AudioSource.h | 58 virtual status_t read(
|
H A D | CameraSourceTimeLapse.h | 53 // 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 D | IMediaSource.cpp | 116 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 D | AudioBufferProviderSource.cpp | 49 ssize_t AudioBufferProviderSource::read(void *buffer, size_t count) function in class:android::AudioBufferProviderSource
|
H A D | SourceAudioBufferProvider.cpp | 75 // read from source 76 ssize_t actual = mSource->read(mAllocated, buffer->frameCount);
|
/frameworks/av/media/libnbaio/include_mono/media/nbaio/ |
H A D | NBAIO.h | 23 // 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 D | AudioSource.h | 58 virtual status_t read(
|
H A D | CameraSourceTimeLapse.h | 53 // 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 D | AnotherPacketSource.h | 41 virtual status_t read(
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
H A D | TypefaceCreatePerfTest.java | 93 while ((n = in.read(buf)) != -1) {
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | AtomicFile.java | 57 // 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 D | KernelCpuProcReader.java | 40 * 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 D | android_ddm_DdmHandleNativeHeap.cpp | 61 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, bytes, sizeof(bytes)))) > 0) {
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | MacAuthenticatedInputStreamTest.java | 111 while (is.read() != -1) { 115 fail("read too many bytes");
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmUtils.java | 38 /* 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);
|