/frameworks/wilhelm/src/android/include/ |
H A D | AacAdtsExtractor.h | 51 virtual status_t read(
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
H A D | InputStreamSource.java | 72 while ((bytesRead = mInputStream.read(buffer)) > 0) { 79 "InputStreamSource: Could not read stream: " + exception.getMessage() + "!");
|
/frameworks/av/media/libstagefright/ |
H A D | DRMExtractor.cpp | 46 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 D | MPEG2TSExtractor.cpp | 50 virtual status_t read( 93 status_t MPEG2TSSource::read( function in class:android::MPEG2TSSource 115 return mImpl->read(out, options);
|
H A D | MPEG2PSExtractor.cpp | 49 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 D | 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(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 D | android_backup_BackupHelperDispatcher.cpp | 53 amt = read(fd, &flattenedHeader.headerSize, sizeof(flattenedHeader.headerSize)); 69 amt = read(fd, &flattenedHeader.version, 108 amt = read(fd, buf, flattenedHeader.nameLength);
|
H A D | android_ddm_DdmHandleNativeHeap.cpp | 80 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 D | NetworkStatsCollectionTest.java | 69 // 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 D | rsAllocation.h | 101 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 D | rsAllocation.h | 98 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 D | utils.c | 76 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 D | AudioResamplerSinc.cpp | 254 // 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 D | Telephony.java | 104 * 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 D | AudioRecord.java | 37 * 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 D | audioloop.cpp | 86 while (decoder->read(&buffer) == OK) {
|
/frameworks/av/include/media/nbaio/ |
H A D | NBAIO.h | 23 // 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 D | SurfaceMediaSource.h | 79 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 D | DummyVideoSource.cpp | 118 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 D | SourceAudioBufferProvider.cpp | 67 // read from source 68 ssize_t actual = mSource->read(mAllocated, buffer->frameCount, pts);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | FullBackup.java | 72 * 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 D | AtomicFile.java | 89 // 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 D | JniUtil.java | 115 // 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 D | FilePart.java | 224 while ((len = instream.read(tmp)) >= 0) {
|
/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 148 int amt = stream.read(data, pos, data.length-pos);
|