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

12345

/frameworks/base/services/java/com/android/server/usb/
H A DUsbSettingsManager.java127 public static DeviceFilter read(XmlPullParser parser) method in class:UsbSettingsManager.DeviceFilter
274 public static AccessoryFilter read(XmlPullParser parser) method in class:UsbSettingsManager.AccessoryFilter
418 DeviceFilter filter = DeviceFilter.read(parser);
421 AccessoryFilter filter = AccessoryFilter.read(parser);
452 Log.wtf(TAG, "Failed to read single-user settings", e);
454 Log.wtf(TAG, "Failed to read single-user settings", e);
554 DeviceFilter filter = DeviceFilter.read(parser);
560 AccessoryFilter filter = AccessoryFilter.read(parser);
797 DeviceFilter filter = DeviceFilter.read(parser);
803 AccessoryFilter filter = AccessoryFilter.read(parse
[all...]
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp140 err = source->read(&mbuf);
230 err = rawSource->read(&buffer, &options);
317 status_t err = rawSource->read(&buffer, &options);
405 virtual status_t read(
471 status_t DetectSyncSource::read( function in class:DetectSyncSource
474 status_t err = mSource->read(buffer, options);
550 err = source->read(&buffer, &options);
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorAudioDecoder.cpp60 virtual status_t read(MediaBuffer **buffer,
207 status_t VideoEditorAudioDecoderSource::read(MediaBuffer **buffer, function in class:android::VideoEditorAudioDecoderSource
216 ALOGV("VideoEditorAudioDecoderSource::read invalid state %d", mState);
734 result = pDecoderContext->mDecoder->read(&outputBuffer, NULL);
H A DVideoEditorVideoEncoder.cpp71 virtual status_t read(MediaBuffer **buffer,
183 status_t VideoEditorVideoEncoderSource::read(MediaBuffer **buffer, function in class:android::VideoEditorVideoEncoderSource
190 ALOGV("VideoEditorVideoEncoderSource::read() begin");
193 ALOGV("VideoEditorVideoEncoderSource::read: invalid state %d", mState);
204 ALOGV("VideoEditorVideoEncoderSource::read : EOS");
219 ALOGV("VideoEditorVideoEncoderSource::read() END (0x%x)", err);
357 // Call read once to get the DSI
360 result = encoder->read(&outputBuffer, NULL);
H A DVideoEditorVideoDecoder.cpp59 virtual status_t read(
147 status_t VideoEditorVideoDecoderSource::read(MediaBuffer** buffer_out, function in class:VideoEditorVideoDecoderSource
156 ALOGE("Unexpected read options");
1345 // Do not call read(), it could lead to a freeze
1376 errStatus = pDecShellContext->mVideoDecoder->read(&pNextBuffer, &options);
1379 errStatus = pDecShellContext->mVideoDecoder->read(&pNextBuffer);
/frameworks/av/media/libstagefright/
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(
703 status_t FLACSource::read( function in class:android::FLACSource
722 // otherwise read sequentially
799 // no need to read rest of the header, as a premature EOF will be caught later
H A DOggExtractor.cpp53 virtual status_t read(
170 status_t OggSource::read( function in class:android::OggSource
384 ALOGV("failed to read %d bytes at offset 0x%016llx, got %ld bytes",
508 ALOGV("failed to read %d bytes at 0x%016llx, got %ld bytes",
518 // We've just read the entire packet.
593 ALOGV("read packet of size %d\n", packet->range_length());
604 ALOGV("read packet of size %d\n", packet->range_length());
615 ALOGV("read packet of size %d\n", packet->range_length());
H A DMPEG4Extractor.cpp59 virtual status_t read(
2019 status_t MPEG4Source::read( function in class:android::MPEG4Source
H A DOMXCodec.cpp2682 // call to OMXCodec::read as mInitialBufferSubmit is true at
3033 err = mSource->read(&srcBuffer, &options);
3052 err = mSource->read(&srcBuffer);
3074 "buffer read from source (info->mSize = %d, srcLength = %d)",
3785 status_t OMXCodec::read( function in class:android::OMXCodec
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp127 virtual status_t read(
490 status_t MatroskaSource::read( function in class:android::MatroskaSource
/frameworks/base/core/jni/
H A Dandroid_opengl_EGL14.cpp1055 /* EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx ) */
1058 (JNIEnv *_env, jobject _this, jobject dpy, jobject draw, jobject read, jobject ctx) {
1062 EGLSurface read_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, read);
1057 android_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject dpy, jobject draw, jobject read, jobject ctx) argument
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp504 EGLSurface read, EGLContext ctx)
511 // If ctx is not EGL_NO_CONTEXT, read is not EGL_NO_SURFACE, or draw is not
514 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) ||
522 SurfaceRef _r(dp.get(), read);
550 if (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE) {
565 // retrieve the underlying implementation's read EGLSurface
566 if (read != EGL_NO_SURFACE) {
567 r = get_surface(read);
573 draw, read, ctx,
639 case EGL_READ: return c->read;
503 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
[all...]
/frameworks/rs/
H A DrsAllocation.cpp113 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, function in class:Allocation
118 ALOGE("Allocation::read called with mismatched size expected %zu, got %zu",
127 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, function in class:Allocation
134 rsAssert(!"Allocation::read called with mismatched size");
141 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, function in class:Allocation
364 ALOGE("failed to read allocation because numbytes written is not the same loaded type wants\n");
500 a->read(rsc, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X,
532 a->read(rsc, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X,
535 a->read(rsc, 0, 0, t->getDimX(), data, sizeBytes);
/frameworks/support/renderscript/v8/rs_support/
H A DrsAllocation.cpp108 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, function in class:Allocation
113 ALOGE("Allocation::read called with mismatched size expected %zu, got %zu",
122 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, function in class:Allocation
129 rsAssert(!"Allocation::read called with mismatched size");
136 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, function in class:Allocation
345 ALOGE("failed to read allocation because numbytes written is not the same loaded type wants\n");
438 a->read(rsc, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X,
470 a->read(rsc, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X,
473 a->read(rsc, 0, 0, t->getDimX(), data, sizeBytes);
/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/base/opengl/java/javax/microedition/khronos/egl/
H A DEGL10.java113 boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); argument
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java31 * This class presents a lower-level API that allows you to open and read raw
294 * read its contents. This provides access to files that have been bundled
547 public final int read() throws IOException { method in class:AssetManager.AssetInputStream
572 public final int read(byte[] b) throws IOException { method in class:AssetManager.AssetInputStream
575 public final int read(byte[] b, int off, int len) throws IOException { method in class:AssetManager.AssetInputStream
/frameworks/native/libs/binder/
H A DParcel.cpp507 ALOGW("**** enforceInterface() expected '%s' but read '%s'\n",
649 // as readString8 will only read if the length field is non-zero.
871 status_t Parcel::read(void* outData, size_t len) const
876 ALOGV("read Setting data pos of %p to %d\n", this, mDataPos);
1084 err = read(h->data + numFds, sizeof(int)*numInts);
1114 ALOGV("readBlob: read in place");
1122 ALOGV("readBlob: read from ashmem");
1133 status_t Parcel::read(Flattenable& val) const function in class:android::Parcel
1220 ALOGW("Attempt to read object from Parcel %p at offset %d that is not in the object list",
/frameworks/base/opengl/java/android/opengl/
H A DEGL14.java387 // C function EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx )
392 EGLSurface read,
389 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx ) argument
/frameworks/native/opengl/libagl/
H A Degl.cpp128 EGLSurface read; member in struct:android::egl_context_t
1669 c->read = 0;
1686 EGLSurface read, EGLContext ctx)
1698 if (read && read!=draw) {
1699 egl_surface_t* s = (egl_surface_t*)read;
1704 // TODO: check that read is compatible with the context
1709 if ((read == EGL_NO_SURFACE && draw == EGL_NO_SURFACE) && (ctx != EGL_NO_CONTEXT))
1712 if ((read != EGL_NO_SURFACE || draw != EGL_NO_SURFACE) && (ctx == EGL_NO_CONTEXT))
1721 egl_surface_t* r = (egl_surface_t*)read;
1685 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
[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...]

Completed in 362 milliseconds

12345