Searched defs:read (Results 101 - 125 of 133) sorted by relevance

123456

/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsCollection.java261 public void read(InputStream in) throws IOException { method in class:NetworkStatsCollection
262 read(new DataInputStream(in));
265 public void read(DataInputStream in) throws IOException { method in class:NetworkStatsCollection
H A DNetworkStatsRecorder.java286 * with anything read from disk, and write combined set to disk. Clears the
302 public void read(InputStream in) throws IOException { method in class:NetworkStatsRecorder.CombiningRewriter
303 mCollection.read(in);
337 public void read(InputStream in) throws IOException { method in class:NetworkStatsRecorder.RemoveUidRewriter
338 mTemp.read(in);
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFObject.hxx38 ELFObject<Bitwidth>::read(Archiver &AR) { function in class:ELFObject
42 object->header.reset(ELFHeaderTy::read(AR));
48 object->shtab.reset(ELFSectionHeaderTableTy::read(AR, object.get()));
61 ELFSectionTy::read(AR, object.get(), (*object->shtab)[i]));
76 ELFSectionTy::read(AR, object.get(), (*object->shtab)[index]));
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp281 // read before stop could be partial.
715 ssize_t AudioRecord::read(void* buffer, size_t userSize) function in class:android::AudioRecord
724 ALOGE("AudioRecord::read(buffer=%p, size=%zu (%zu)", buffer, userSize, userSize);
728 ssize_t read = 0; local
736 if (read > 0) {
746 read += bytesRead;
751 return read;
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp806 status_t CameraSource::read( function in class:android::CameraSource
808 ALOGV("read");
H A DMP3Extractor.cpp63 // If we can't even read these 10 bytes, we might as well bail
120 * The next read position should start from the end of
224 virtual status_t read(
475 status_t MP3Source::read( function in class:android::MP3Source
H A DAVIExtractor.cpp46 virtual status_t read(
71 status_t read(MediaBuffer **buffer);
139 status_t AVIExtractor::AVISource::read( function in class:android::AVIExtractor::AVISource
163 status_t err = mSplitter->read(buffer);
322 status_t AVIExtractor::MP3Splitter::read(MediaBuffer **out) { function in class:android::AVIExtractor::MP3Splitter
H A DFLACExtractor.cpp50 virtual status_t read(
751 status_t FLACSource::read( function in class:android::FLACSource
770 // otherwise read sequentially
846 // no need to read rest of the header, as a premature EOF will be caught later
H A DOggExtractor.cpp54 virtual status_t read(
175 status_t OggSource::read( function in class:android::OggSource
394 ALOGV("failed to read %zu bytes at offset 0x%016llx, got %zd bytes",
508 ALOGV("failed to read %zu bytes at 0x%016llx, got %zd bytes",
518 // We've just read the entire packet.
609 ALOGV("read packet of size %zu\n", packet->range_length());
620 ALOGV("read packet of size %zu\n", packet->range_length());
631 ALOGV("read packet of size %zu\n", packet->range_length());
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp51 virtual status_t read(
82 virtual status_t read(
607 status_t MPEG2PSExtractor::Track::read( function in class:android::MPEG2PSExtractor::Track
626 return mSource->read(buffer, options);
692 status_t MPEG2PSExtractor::WrappedTrack::read( function in class:android::MPEG2PSExtractor::WrappedTrack
694 return mTrack->read(buffer, options);
/frameworks/av/media/mtp/
H A DMtpDevice.cpp316 if (info->read(mData))
351 if (info->read(mData))
392 if (info->read(mData))
478 int count = read(srcFD, buffer, sizeof(buffer));
556 if (property->read(mData))
577 if (property->read(mData))
627 // queue up a read request
641 // wait for pending read before failing
650 // wait for read to complete
652 int read local
752 int read = mData.readDataWait(mDevice); local
[all...]
/frameworks/av/services/audioflinger/
H A DAudioResamplerSinc.cpp517 // Not critical now since the read functions are fast, but would be important if read was slow.
562 // read one frame
563 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
565 // read 2 frames
566 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
572 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
579 // Always read-in the first samples from the input buffer
597 read<CHANNELS>(impulse, phaseFraction, in, inputIndex);
616 * read()
622 void AudioResamplerSinc::read( function in class:android::AudioResamplerSinc
[all...]
/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/usb/java/com/android/server/usb/
H A DUsbSettingsManager.java143 public static DeviceFilter read(XmlPullParser parser) method in class:UsbSettingsManager.DeviceFilter
392 public static AccessoryFilter read(XmlPullParser parser) method in class:UsbSettingsManager.AccessoryFilter
540 DeviceFilter filter = DeviceFilter.read(parser);
543 AccessoryFilter filter = AccessoryFilter.read(parser);
574 Log.wtf(TAG, "Failed to read single-user settings", e);
576 Log.wtf(TAG, "Failed to read single-user settings", e);
676 DeviceFilter filter = DeviceFilter.read(parser);
682 AccessoryFilter filter = AccessoryFilter.read(parser);
927 DeviceFilter filter = DeviceFilter.read(parser);
933 AccessoryFilter filter = AccessoryFilter.read(parse
[all...]
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp139 err = source->read(&mbuf);
229 err = rawSource->read(&buffer, &options);
316 status_t err = rawSource->read(&buffer, &options);
404 virtual status_t read(
470 status_t DetectSyncSource::read( function in class:DetectSyncSource
473 status_t err = mSource->read(buffer, options);
549 err = source->read(&buffer, &options);
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp128 virtual status_t read(
558 status_t MatroskaSource::read( function in class:android::MatroskaSource
/frameworks/base/core/jni/
H A Dandroid_opengl_EGL14.cpp1081 /* EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx ) */
1084 (JNIEnv *_env, jobject _this, jobject dpy, jobject draw, jobject read, jobject ctx) {
1088 EGLSurface read_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, read);
1083 android_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject dpy, jobject draw, jobject read, jobject ctx) argument
H A Dcom_google_android_gles_jni_EGLImpl.cpp470 static jboolean jni_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject display, jobject draw, jobject read, jobject context) { argument
471 if (display == NULL || draw == NULL || read == NULL || context == NULL) {
477 EGLSurface srd = getSurface(_env, read);
/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
217 * to during the recording. New audio data can be read from this buffer in smaller chunks
250 * to during the recording. New audio data can be read from this buffer in smaller chunks
685 * @return the number of bytes that were read or or {@link #ERROR_INVALID_OPERATION}
690 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes) { method in class:AudioRecord
710 * @return the number of shorts that were read o
715 public int read(short[] audioData, int offsetInShorts, int sizeInShorts) { method in class:AudioRecord
742 public int read(ByteBuffer audioBuffer, int sizeInBytes) { method in class:AudioRecord
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
H A DEGL10.java113 boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); argument
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp685 EGLSurface read, EGLContext ctx)
692 // If ctx is not EGL_NO_CONTEXT, read is not EGL_NO_SURFACE, or draw is not
695 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) ||
703 SurfaceRef _r(dp.get(), read);
729 if (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE) {
747 // retrieve the underlying implementation's read EGLSurface
748 if (read != EGL_NO_SURFACE) {
750 r = get_surface(read);
756 draw, read, ctx,
823 case EGL_READ: return c->read;
684 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasClient.java981 * Sets read status of message on MSE
987 * @param read <code>true</code> for "read", <code>false</code> for "unread"
991 public boolean setMessageReadStatus(String handle, boolean read) { argument
1004 StatusIndicator.READ, read);
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsManager.java131 * Whether MMS read report is enabled (boolean type)
943 /** Received and read (TS 51.011 10.5.3 / 3GPP2 C.S0023 3.4.27). */
976 * @param contentUri the content Uri from which the message pdu will be read
1061 * @param read if the message is read
1066 boolean seen, boolean read) {
1071 address, type, text, timestampMillis, seen, read);
1090 * @param contentUri the content uri from which to read the PDU of the message to import
1094 * @param read if the message is read
1065 importTextMessage(String address, int type, String text, long timestampMillis, boolean seen, boolean read) argument
1099 importMultimediaMessage(Uri contentUri, String messageId, long timestampSecs, boolean seen, boolean read) argument
[all...]
/frameworks/rs/
H A DrsAllocation.cpp145 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, function in class:Allocation
151 sprintf(buf, "Allocation::read called with mismatched size expected %zu, got %zu",
161 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, function in class:Allocation
179 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, function in class:Allocation
578 a->read(rsc, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X,
617 a->read(rsc, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X,
620 a->read(rsc, 0, 0, t->getDimX(), data, sizeBytes);
779 a->read(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java32 * This class presents a lower-level API that allows you to open and read raw
292 * read its contents. This provides access to files that have been bundled
554 public final int read() throws IOException { method in class:AssetManager.AssetInputStream
579 public final int read(byte[] b) throws IOException { method in class:AssetManager.AssetInputStream
582 public final int read(byte[] b, int off, int len) throws IOException { method in class:AssetManager.AssetInputStream

Completed in 483 milliseconds

123456