Searched defs:read (Results 76 - 100 of 130) sorted by relevance

123456

/frameworks/base/core/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.cpp26 virtual size_t read(void* buffer, size_t size) { function in class:JavaInputStreamAdaptor
33 If we see that value, we need to call read(), which will
43 // if read returned 0, we're at EOF
64 // read the bytes
75 SkDebugf("---- read threw an exception\n");
79 if (n < 0) { // n == 0 should not be possible, see InputStream read() specifications.
89 SkDebugf("---- read:GetByteArrayRegion threw an exception\n");
141 while ((len = stream->read(data + streamLen,
249 gInputStream_readMethodID = getMethodIDCheck(env, inputStream_Clazz, "read", "([BII)I");
H A DTypeface.cpp99 virtual size_t read(void* buffer, size_t size) function in class:AssetStream
122 amount = fAsset->read(buffer, size);
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DFileRotatorTest.java96 // first combine should have empty read, but still write data.
101 // second combine should replace contents; should read existing data,
199 // assert that we read original data, and that it's still intact after
223 // and make sure that we can read something from a legit file
407 public void read(InputStream in) throws IOException { method in class:FileRotatorTest.RecordingReader
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java59 * there are no array copies or synchronization involved to read back written data.
139 public final int read() { method in class:SerializedFrame.DirectByteInputStream
144 public final int read(byte[] b, int off, int len) { method in class:SerializedFrame.DirectByteInputStream
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDocumentInfo.java80 public void read(DataInputStream in) throws IOException { method in class:DocumentInfo
H A DRootInfo.java84 public void read(DataInputStream in) throws IOException { method in class:RootInfo
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsRecorder.java272 * with anything read from disk, and write combined set to disk. Clears the
288 public void read(InputStream in) throws IOException { method in class:NetworkStatsRecorder.CombiningRewriter
289 mCollection.read(in);
323 public void read(InputStream in) throws IOException { method in class:NetworkStatsRecorder.RemoveUidRewriter
324 mTemp.read(in);
H A DNetworkStatsCollection.java255 public void read(InputStream in) throws IOException { method in class:NetworkStatsCollection
256 read(new DataInputStream(in));
259 public void read(DataInputStream in) throws IOException { method in class:NetworkStatsCollection
/frameworks/compile/mclinker/lib/LD/
H A DEhFrameReader.cpp91 bool EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame) function in class:EhFrameReader
/frameworks/native/include/binder/
H A DParcel.h143 status_t read(void* outData, size_t len) const;
164 status_t read(Flattenable<T>& val) const;
167 status_t read(LightFlattenable<T>& val) const;
172 // response headers. Callers should use this to read & parse the
298 status_t read(FlattenableHelperInterface& val) const;
341 status_t Parcel::read(Flattenable<T>& val) const { function in class:android::Parcel
343 return read(helper);
347 status_t Parcel::read(LightFlattenable<T>& val) const { function in class:android::Parcel
/frameworks/native/opengl/libs/EGL/
H A Degl_display.cpp298 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL);
316 EGLSurface draw, EGLSurface read, EGLContext ctx,
324 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL);
333 c->onMakeCurrent(draw, read);
315 makeCurrent(egl_context_t* c, egl_context_t* cur_c, EGLSurface draw, EGLSurface read, EGLContext ctx, EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx) argument
H A Degl_object.h152 void onMakeCurrent(EGLSurface draw, EGLSurface read);
157 EGLSurface read; member in class:android::egl_context_t
/frameworks/rs/cpu_ref/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.
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFObject.hxx35 ELFObject<Bitwidth>::read(Archiver &AR) { function in class:ELFObject
39 object->header.reset(ELFHeaderTy::read(AR));
45 object->shtab.reset(ELFSectionHeaderTableTy::read(AR, object.get()));
58 ELFSectionTy::read(AR, object.get(), (*object->shtab)[i]));
73 ELFSectionTy::read(AR, object.get(), (*object->shtab)[index]));
/frameworks/volley/src/com/android/volley/toolbox/
H A DDiskBasedCache.java319 while (pos < length && ((count = in.read(bytes, pos, length - pos)) != -1)) {
323 throw new IOException("Expected " + length + " bytes, read " + pos + " bytes");
374 * @param is The InputStream to read from.
441 public int read() throws IOException { method in class:DiskBasedCache.CountingInputStream
442 int result = super.read();
450 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:DiskBasedCache.CountingInputStream
451 int result = super.read(buffer, offset, count);
467 * Simple wrapper around {@link InputStream#read()} that throws EOFException
470 private static int read(InputStream is) throws IOException { method in class:DiskBasedCache
471 int b = is.read();
[all...]
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp62 SL_LOGE("AacAdtsExtractor:: getFrameSize() returns %d (syncword and header read error)",
75 // the frame size read already contains the size of the ADTS header, so no need to add it here
258 status_t AacAdtsSource::read( function in class:android::AacAdtsSource
270 SL_LOGV("AacAdtsSource::read() offset=%lld", mOffset);
273 SL_LOGV("AacAdtsSource::read() returns EOS");
286 //SL_LOGV("AacAdtsSource::read() readAt returned %u bytes", readSize);
288 SL_LOGW("AacAdtsSource::read() readSize != frameSizeWithoutHeader");
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorAudioEncoder.cpp50 virtual status_t read(MediaBuffer **buffer,
163 status_t VideoEditorAudioEncoderSource::read(MediaBuffer **buffer, function in class:android::VideoEditorAudioEncoderSource
169 ALOGV("VideoEditorAudioEncoderSource::read");
172 ALOGV("VideoEditorAudioEncoderSource::read ERROR : invalid state %d",
179 ALOGV("VideoEditorAudioEncoderSource::read : EOS");
192 ALOGV("VideoEditorAudioEncoderSource::read END (0x%x)", err);
468 result = pEncoderContext->mEncoder->read(&buffer, NULL);
626 result = pEncoderContext->mEncoder->read(&buffer, NULL);
/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 DWAVExtractor.cpp68 virtual status_t read(
400 status_t WAVSource::read( function in class:android::WAVSource
444 // so read multiples of 65, and use smaller buffers to account for ~10:1 expansion ratio
/frameworks/av/services/audioflinger/
H A DAudioResamplerSinc.cpp511 // Not critical now since the read functions are fast, but would be important if read was slow.
556 // read one frame
557 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
559 // read 2 frames
560 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
566 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
573 // Always read-in the first samples from the input buffer
591 read<CHANNELS>(impulse, phaseFraction, in, inputIndex);
610 * read()
616 void AudioResamplerSinc::read( function in class:android::AudioResamplerSinc
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothSocket.java79 * <p>For more information about using Bluetooth, read the
356 // read out port number
424 /*package*/ int read(byte[] b, int offset, int length) throws IOException { method in class:BluetoothSocket
426 if (VDBG) Log.d(TAG, "read in: " + mSocketIS + " len: " + length);
427 int ret = mSocketIS.read(b, offset, length);
429 throw new IOException("bt socket closed, read return: " + ret);
430 if (VDBG) Log.d(TAG, "read out: " + mSocketIS + " ret: " + ret);
483 if (VDBG) Log.d(TAG, "waitSocketSignal read 16 bytes signal ret: " + ret);
503 int ret = is.read(b, b.length - left, left);
505 throw new IOException("read faile
[all...]
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java46 /** file descriptor array received during a previous read */
53 * need to read ancillary data.
70 public int read() throws IOException { method in class:LocalSocketImpl.SocketInputStream
83 public int read(byte[] b) throws IOException { method in class:LocalSocketImpl.SocketInputStream
84 return read(b, 0, b.length);
89 public int read(byte[] b, int off, int len) throws IOException { method in class:LocalSocketImpl.SocketInputStream
107 * need to read ancillary data.
495 * method can only return a non-null after a read operation.
/frameworks/base/libs/androidfw/
H A DAsset.cpp18 // Provide access to a read-only asset.
135 * always open things read-only it doesn't really matter, so there's
436 ssize_t _FileAsset::read(void* buf, size_t count) function in class:_FileAsset
445 * On first access, read or map the entire file. The caller has
464 //printf("map read\n");
469 //printf("buf read\n");
473 /* read from the file */
474 //printf("file read\n");
485 * file, so if we don't read the full amount we know something is
551 * Return a read
760 ssize_t _CompressedAsset::read(void* buf, size_t count) function in class:_CompressedAsset
[all...]
/frameworks/base/opengl/java/android/opengl/
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/opengl/java/com/google/android/gles_jni/
H A DEGLImpl.java42 public native boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); argument

Completed in 538 milliseconds

123456