Searched refs:read (Results 251 - 275 of 423) sorted by relevance

<<11121314151617

/frameworks/base/core/java/android/provider/
H A DDrmStore.java174 while ((count = stream.read(buffer)) != -1) {
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DBandwidthTestUtil.java105 while ((current = bis.read()) != -1) {
/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/
H A DOverlayBaseTest.java22 while ((ch = input.read()) != -1) {
/frameworks/base/services/java/com/android/server/
H A DDockObserver.java102 int len = file.read(buffer, 0, 1024);
H A DLightsService.java147 int result = fis.read();
/frameworks/base/tests/SerialChat/src/com/android/serialchat/
H A DSerialChat.java130 Log.d(TAG, "calling read");
132 ret = mSerialPort.read(mInputBuffer);
133 Log.d(TAG, "read returned " + ret);
136 Log.e(TAG, "read failed", e);
/frameworks/base/tools/aapt/
H A DZipEntry.cpp47 /* read the CDE */
48 result = mCDE.read(fp);
50 ALOGD("mCDE.read failed\n");
64 result = mLFH.read(fp);
66 ALOGD("mLFH.read failed\n");
76 * We *might* need to read the Data Descriptor at this point and
402 status_t ZipEntry::LocalFileHeader::read(FILE* fp) function in class:ZipEntry::LocalFileHeader
536 status_t ZipEntry::CentralDirEntry::read(FILE* fp) function in class:ZipEntry::CentralDirEntry
590 /* read "extra field" */
/frameworks/compile/linkloader/android/
H A Dlibrsloader.cpp60 llvm::OwningPtr<ELFObject<32> > object(ELFObject<32>::read(AR));
/frameworks/compile/linkloader/include/
H A DELFHeader.h151 static ELFHeader *read(Archiver &AR) { function in class:ELFHeader
153 // Archiver is in bad state before calling read function.
160 // Unable to read the structure. Return NULL.
165 // Header read from archiver is not valid. Return NULL.
H A DELFSectionHeader.h89 read(Archiver &AR, ELFObjectTy const *owner, size_t index = 0);
H A DELFSymbol.h135 read(Archiver &AR, ELFObject<Bitwidth> const *owner, size_t index = 0);
/frameworks/compile/mclinker/lib/Support/
H A DSpace.cpp33 // page_boundary - Given a file size, return the size to read integral pages.
85 // create a space out of a read-only file.
96 if (!pHandler.read(memory, start, size))
113 // create a space out of a read-only file.
/frameworks/native/libs/cpustats/
H A DThreadCpuUsage.cpp173 // read the number of CPUs
179 ssize_t actual = read(fd, kernelMax, sizeof(kernelMax));
193 ALOGW("Can't read number of CPUs");
248 ALOGW("Can't read CPU %d frequency", cpuNum);
/frameworks/native/libs/utils/
H A DTokenizer.cpp82 // so we must trust that read will read the entire file.
85 ssize_t nrd = read(fd, buffer, length);
/frameworks/native/opengl/libs/EGL/
H A Degl_display.h91 EGLSurface draw, EGLSurface read, EGLContext ctx,
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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaTestUtil.java96 while ((ch = in.read()) != -1) {
/frameworks/base/native/android/
H A Dasset_manager.cpp173 return asset->mAsset->read(buf, (size_t)count);
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
H A DEGL10.java113 boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); argument
/frameworks/av/media/libstagefright/
H A DAACExtractor.cpp49 virtual status_t read(
91 // or 0 if the size can't be read due to an error in the header or a read failure.
286 status_t AACSource::read( function in class:android::AACSource
H A DFragmentedMP4Extractor.cpp62 virtual status_t read(
261 status_t FragmentedMPEG4Source::read( function in class:android::FragmentedMPEG4Source
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp215 status_t AACEncoder::read( function in class:android::AACEncoder
245 if (mSource->read(&mInputBuffer, options) != OK) {
/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/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);

Completed in 2295 milliseconds

<<11121314151617