Searched refs:read (Results 176 - 200 of 423) sorted by relevance

1234567891011>>

/frameworks/wilhelm/src/android/include/
H A DAacAdtsExtractor.h51 virtual status_t read(
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DInputStreamSource.java72 while ((bytesRead = mInputStream.read(buffer)) > 0) {
79 "InputStreamSource: Could not read stream: " + exception.getMessage() + "!");
/frameworks/av/media/libstagefright/
H A DDRMExtractor.cpp46 virtual status_t read(
126 status_t DRMSource::read(MediaBuffer **buffer, const ReadOptions *options) { function in class:android::DRMSource
129 if ((err = mOriginalMediaSource->read(buffer, options)) != OK) {
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp50 virtual status_t read(
93 status_t MPEG2TSSource::read( function in class:android::MPEG2TSSource
115 return mImpl->read(out, options);
H A DMPEG2PSExtractor.cpp49 virtual status_t read(
80 virtual status_t read(
604 status_t MPEG2PSExtractor::Track::read( function in class:android::MPEG2PSExtractor::Track
623 return mSource->read(buffer, options);
689 status_t MPEG2PSExtractor::WrappedTrack::read( function in class:android::MPEG2PSExtractor::WrappedTrack
691 return mTrack->read(buffer, options);
/frameworks/base/core/java/android/os/
H A DMemoryFile.java33 * 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(mSingleByt
298 public int read(byte buffer[], int offset, int count) throws IOException { method in class:MemoryFile.MemoryInputStream
[all...]
/frameworks/base/core/jni/
H A Dandroid_backup_BackupHelperDispatcher.cpp53 amt = read(fd, &flattenedHeader.headerSize, sizeof(flattenedHeader.headerSize));
69 amt = read(fd, &flattenedHeader.version,
108 amt = read(fd, buf, flattenedHeader.nameLength);
H A Dandroid_ddm_DdmHandleNativeHeap.cpp80 amount = read(fd, ptr, MAPS_FILE_SIZE);
90 ALOGD("**** read %d bytes from '%s'", (int) header.mapSize, path);
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DNetworkStatsCollectionTest.java69 // verify that history read correctly
82 // and read back into structure, verifying that totals are same
83 collection.read(new ByteArrayInputStream(bos.toByteArray()));
95 // verify that history read correctly
108 // and read back into structure, verifying that totals are same
109 collection.read(new ByteArrayInputStream(bos.toByteArray()));
121 // verify that history read correctly
134 // and read back into structure, verifying that totals are same
135 collection.read(new ByteArrayInputStream(bos.toByteArray()));
/frameworks/rs/
H A DrsAllocation.h101 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
102 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
104 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face,
/frameworks/support/renderscript/v8/rs_support/
H A DrsAllocation.h98 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
99 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
101 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face,
/frameworks/native/cmds/dumpstate/
H A Dutils.c76 read(fd, cmdline, sizeof(cmdline));
98 if (read(fd, buffer, sizeof(buffer)) < 0) {
99 printf("Failed to read '%s' (%s)\n", path, strerror(errno));
171 int ret = read(fd, buffer, sizeof(buffer));
459 len = read(fd, data, sizeof(data) - 1);
484 read(ifd, &ie, sizeof(ie));
/frameworks/av/services/audioflinger/
H A DAudioResamplerSinc.cpp254 // Not critical now since the read functions are fast, but would be important if read was slow.
302 // read one frame
303 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
305 // read 2 frames
306 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
312 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
319 // Always read-in the first samples from the input buffer
338 read<CHANNELS>(impulse, phaseFraction, in, inputIndex);
343 // read firs
374 void AudioResamplerSinc::read( function in class:android::AudioResamplerSinc
[all...]
/frameworks/opt/telephony/src/java/android/provider/
H A DTelephony.java104 * Has the message been read
107 public static final String READ = "read";
215 * @param read true if the message has been read, false if not
221 Long date, boolean read, boolean deliveryReport) {
223 date, read, deliveryReport, -1L);
235 * @param read true if the message has been read, false if not
242 Long date, boolean read, boolean deliveryReport, long threadId) {
249 values.put(READ, read
219 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
240 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
344 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioRecord.java37 * the following three methods: {@link #read(byte[],int, int)}, {@link #read(short[], int, int)}
38 * or {@link #read(ByteBuffer, int)}. The choice of which method to use will be based
43 * been read yet. Data should be read from the audio hardware in chunks of sizes inferior to
211 * to during the recording. New audio data can be read from this buffer in smaller chunks
575 * @return the number of bytes that were read or or {@link #ERROR_INVALID_OPERATION}
580 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes) { method in class:AudioRecord
599 * @return the number of shorts that were read or or {@link #ERROR_INVALID_OPERATION}
604 public int read(shor method in class:AudioRecord
628 public int read(ByteBuffer audioBuffer, int sizeInBytes) { method in class:AudioRecord
[all...]
/frameworks/av/cmds/stagefright/
H A Daudioloop.cpp86 while (decoder->read(&buffer) == OK) {
/frameworks/av/include/media/nbaio/
H A DNBAIO.h23 // elsewhere. Implementations _should_ be non-blocking for all methods, especially read() and
38 OVERRUN = 0x80000011, // availableToRead(), read(), or readVia() detected lost input due
234 // Number of frames read successfully since construction.
245 // Estimate of number of frames that could be read successfully now.
246 // When a read() is actually attempted, the implementation is permitted to return a smaller or
250 // OVERRUN One or more frames were lost due to overrun, try again to read more recent data.
251 // WOULD_BLOCK Determining how many frames can be read without blocking would itself block.
267 // OVERRUN read() has not been called frequently enough, or with enough frames to keep up.
268 // One or more frames were lost due to overrun, try again to read more recent data.
269 virtual ssize_t read(voi
[all...]
/frameworks/av/include/media/stagefright/
H A DSurfaceMediaSource.h79 virtual status_t read(MediaBuffer **buffer,
94 // set by the most recent call to read()
133 // waiting to read more frames. So if on the client side,
171 // separately. Buffers are added to this list in read, and removed from
/frameworks/av/libvideoeditor/lvpp/
H A DDummyVideoSource.cpp118 status_t DummyVideoSource::read( function in class:android::DummyVideoSource
122 ALOGV("read: E");
136 ALOGV("read: EOS reached");
149 ALOGV("read: jpg 1st frame timeUs = %lld, begin cut time = %ld",
160 ALOGV("read: jpg frame timeUs = %lld", mFrameTimeUs);
/frameworks/av/media/libnbaio/
H A DSourceAudioBufferProvider.cpp67 // read from source
68 ssize_t actual = mSource->read(mAllocated, buffer->frameCount, pts);
/frameworks/base/core/java/android/app/backup/
H A DFullBackup.java72 * read from it in this case.
97 // Canonically a directory has no associated content, so we don't need to read
124 int got = in.read(buffer, 0, toRead);
126 Log.w(TAG, "Incomplete read: expected " + size + " but got "
/frameworks/base/core/java/android/util/
H A DAtomicFile.java89 // Rename the current file so it may be used as a backup during the next read
124 * commit the new data. The next attempt to read the atomic file
185 * opening for read. You should call close() on the FileInputStream when
213 int amt = stream.read(data, pos, data.length-pos);
/frameworks/base/core/java/android/webkit/
H A DJniUtil.java115 // exactly match the URL we have permission to read.
126 while ((n = is.read(buffer)) != -1) {
156 // have permission to read.
/frameworks/base/core/java/com/android/internal/http/multipart/
H A DFilePart.java224 while ((len = instream.read(tmp)) >= 0) {
/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
148 int amt = stream.read(data, pos, data.length-pos);

Completed in 260 milliseconds

1234567891011>>