Searched refs:read (Results 151 - 175 of 294) sorted by relevance

1234567891011>>

/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/
H A DM4vH263Decoder.cpp176 status_t M4vH263Decoder::read( function in class:android::M4vH263Decoder
189 status_t err = mSource->read(&inputBuffer, options);
/frameworks/base/media/libstagefright/codecs/on2/dec/
H A DVPXDecoder.cpp130 status_t VPXDecoder::read( function in class:android::VPXDecoder
142 status_t err = mSource->read(&input, options);
148 LOGV("read %d bytes from source\n", input->range_length());
/frameworks/base/media/libstagefright/codecs/vorbis/dec/
H A DVorbisDecoder.cpp215 status_t VorbisDecoder::read( function in class:android::VorbisDecoder
233 err = mSource->read(&inputBuffer, options);
/frameworks/base/opengl/java/android/opengl/
H A DETC1Util.java149 * @return an ETC1Texture read from the input stream.
157 if (input.read(ioBuffer, 0, ETC1.ETC_PKM_HEADER_SIZE) != ETC1.ETC_PKM_HEADER_SIZE) {
158 throw new IOException("Unable to read PKM file header.");
173 if (input.read(ioBuffer, 0, chunkSize) != chunkSize) {
174 throw new IOException("Unable to read PKM file data.");
H A DObject3D.java148 int x = dis.read() & 0xff;
184 tidx += dis.read(tmp, tidx, len - tidx);
H A DEGLLogWrapper.java264 EGLSurface read, EGLContext context) {
268 arg("read", read);
271 boolean result = mEgl10.eglMakeCurrent(display, draw, read, context);
263 eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context) argument
/frameworks/base/test-runner/src/junit/runner/
H A DTestCaseClassLoader.java146 while ((n= stream.read(b)) != -1)
177 int n= stream.read(data, pos, data.length - pos);
/frameworks/base/tools/localize/
H A DPerforce.cpp66 size_t amt = read(outPipe[0], buf, sizeof(buf));
76 size_t amt = read(errPipe[0], buf, sizeof(buf));
/frameworks/base/cmds/keystore/
H A Dkeystore.c174 if (read(the_entropy, blob.vector, AES_BLOCK_SIZE) != AES_BLOCK_SIZE) {
209 length = read(fd, &blob, sizeof(blob));
380 if (read(the_entropy, blob.value, MASTER_KEY_SIZE) != MASTER_KEY_SIZE) {
387 int length = read(fd, &blob, sizeof(blob));
417 if (read(the_entropy, salt, SALT_SIZE) != SALT_SIZE) {
/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
293 * read its contents. This provides access to files that have been bundled
546 public final int read() throws IOException { method in class:AssetManager.AssetInputStream
571 public final int read(byte[] b) throws IOException { method in class:AssetManager.AssetInputStream
574 public final int read(byte[] b, int off, int len) throws IOException { method in class:AssetManager.AssetInputStream
/frameworks/base/opengl/libs/EGL/
H A Degl.cpp221 : dpy(dpy), context(context), config(config), read(0), draw(0), impl(impl),
228 EGLSurface read; member in struct:android::egl_context_t
1156 egl_surface_t * cur_r = get_surface(cur_c->read);
1165 cur_c->read = NULL;
1175 EGLSurface read, EGLContext ctx)
1180 SurfaceRef _r(read);
1210 if (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE) {
1229 // retrieve the underlying implementation's read EGLSurface
1230 if (read != EGL_NO_SURFACE) {
1231 r = get_surface(read);
1174 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
[all...]
/frameworks/base/services/java/com/android/server/usb/
H A DUsbService.java229 int len = file.read(buffer, 0, 1024);
234 len = file.read(buffer, 0, 1024);
254 int len = reader.read(buffer, 0, 1024);
/frameworks/base/opengl/libagl/
H A Degl.cpp120 EGLSurface read; member in struct:android::egl_context_t
1700 c->read = 0;
1717 EGLSurface read, EGLContext ctx)
1729 if (read && read!=draw) {
1730 egl_surface_t* s = (egl_surface_t*)read;
1735 // TODO: check that read is compatible with the context
1740 if ((read == EGL_NO_SURFACE && draw == EGL_NO_SURFACE) && (ctx != EGL_NO_CONTEXT))
1743 if ((read != EGL_NO_SURFACE || draw != EGL_NO_SURFACE) && (ctx == EGL_NO_CONTEXT))
1752 egl_surface_t* r = (egl_surface_t*)read;
1716 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
[all...]
/frameworks/base/core/java/android/provider/
H A DDrmStore.java174 while ((count = stream.read(buffer)) != -1) {
/frameworks/base/core/jni/
H A Dandroid_net_TrafficStats.cpp33 // Returns an ASCII decimal number read from the specified file, -1 on error.
43 int len = read(fd, buf, sizeof(buf) - 1);
45 LOGE("Can't read %s: %s", filename, strerror(errno));
122 // Total stats are read less often, so we're willing to put up
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DHttpsThroughHttpProxyTest.java136 while ((length = reader.read(buffer)) != -1) {
/frameworks/base/graphics/java/android/renderscript/
H A DScriptC.java83 int bytesRead = is.read(buf, currentPos, bytesLeft);
/frameworks/base/include/media/
H A DAudioRecord.h93 * - EVENT_MORE_DATA: pointer to AudioRecord::Buffer struct. The callback must not read
95 * read.
317 /* As a convenience we provide a read() interface to the audio buffer.
320 ssize_t read(void* buffer, size_t size);
/frameworks/base/libs/ui/
H A DKeyLayoutMap.cpp100 if (read(fd, buf, len) != len) {
/frameworks/base/media/libmedia/
H A DAudioRecord.cpp509 // read the server count again
561 ssize_t AudioRecord::read(void* buffer, size_t userSize) function in class:android::AudioRecord
563 ssize_t read = 0; local
569 LOGE("AudioRecord::read(buffer=%p, size=%u (%d)",
580 // obtainBuffer() we give a chance to recover once for a read timeout
582 // 0 bytes read to the client
598 read += bytesRead;
603 return read;
/frameworks/base/media/libstagefright/
H A DJPEGSource.cpp110 status_t JPEGSource::read( function in class:android::JPEGSource
/frameworks/base/media/libstagefright/rtsp/
H A Drtp_test.cpp196 status_t err = decoder->read(&buffer);
/frameworks/base/native/android/
H A Dasset_manager.cpp173 return asset->mAsset->read(buf, (size_t)count);
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLImpl.java41 public native boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); argument
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
H A DEGL10.java113 boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); argument

Completed in 1476 milliseconds

1234567891011>>