/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkStatsRecorder.java | 263 * with anything read from disk, and write combined set to disk. Clears the 279 public void read(InputStream in) throws IOException { method in class:NetworkStatsRecorder.CombiningRewriter 280 mCollection.read(in); 314 public void read(InputStream in) throws IOException { method in class:NetworkStatsRecorder.RemoveUidRewriter 315 mTemp.read(in);
|
H A D | NetworkStatsCollection.java | 255 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/linkloader/include/ |
H A D | ELFHeader.h | 151 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/compile/linkloader/include/impl/ |
H A D | ELFObject.hxx | 35 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/native/opengl/libs/EGL/ |
H A D | egl_display.cpp | 334 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL); 352 EGLSurface draw, EGLSurface read, EGLContext ctx, 360 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL); 369 c->onMakeCurrent(draw, read); 351 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 D | egl_object.h | 154 void onMakeCurrent(EGLSurface draw, EGLSurface read); 159 EGLSurface read; member in class:android::egl_context_t
|
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | DiskBasedCache.java | 311 while (pos < length && ((count = in.read(bytes, pos, length - pos)) != -1)) { 315 throw new IOException("Expected " + length + " bytes, read " + pos + " bytes"); 361 * @param is The InputStream to read from. 425 public int read() throws IOException { method in class:DiskBasedCache.CountingInputStream 426 int result = super.read(); 434 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:DiskBasedCache.CountingInputStream 435 int result = super.read(buffer, offset, count);
|
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 62 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/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SerializedFrame.java | 59 * 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/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorAudioEncoder.cpp | 50 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 D | AACExtractor.cpp | 49 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 D | FragmentedMP4Extractor.cpp | 62 virtual status_t read( 261 status_t FragmentedMPEG4Source::read( function in class:android::FragmentedMPEG4Source
|
H A D | WAVExtractor.cpp | 67 virtual status_t read( 384 status_t WAVSource::read( function in class:android::WAVSource
|
H A D | CameraSource.cpp | 755 status_t CameraSource::read( function in class:android::CameraSource 757 ALOGV("read");
|
H A D | MP3Extractor.cpp | 63 // 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( 472 status_t MP3Source::read( function in class:android::MP3Source
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerSinc.cpp | 254 // Not critical now since the read functions are fast, but would be important if read was slow. 302 // read one frame 303 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); 305 // read 2 frames 306 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); 312 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); 319 // Always read-in the first samples from the input buffer 338 read<CHANNELS>(impulse, phaseFraction, in, inputIndex); 343 // read firs 374 void AudioResamplerSinc::read( function in class:android::AudioResamplerSinc [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothSocket.java | 78 * <p>For more information about using Bluetooth, read the 356 // read out port number 410 /*package*/ int read(byte[] b, int offset, int length) throws IOException { method in class:BluetoothSocket 412 if (VDBG) Log.d(TAG, "read in: " + mSocketIS + " len: " + length); 413 int ret = mSocketIS.read(b, offset, length); 415 throw new IOException("bt socket closed, read return: " + ret); 416 if (VDBG) Log.d(TAG, "read out: " + mSocketIS + " ret: " + ret); 470 if (VDBG) Log.d(TAG, "waitSocketSignal read 16 bytes signal ret: " + ret); 488 int ret = is.read(b, b.length - left, left); 490 throw new IOException("read faile [all...] |
/frameworks/base/core/java/android/net/ |
H A D | LocalSocketImpl.java | 40 /** file descriptor array received during a previous read */ 47 * need to read ancillary data. 64 public int read() throws IOException { method in class:LocalSocketImpl.SocketInputStream 77 public int read(byte[] b) throws IOException { method in class:LocalSocketImpl.SocketInputStream 78 return read(b, 0, b.length); 83 public int read(byte[] b, int off, int len) throws IOException { method in class:LocalSocketImpl.SocketInputStream 101 * need to read ancillary data. 446 * method can only return a non-null after a read operation.
|
/frameworks/base/libs/androidfw/ |
H A D | Asset.cpp | 18 // 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 D | EGLLogWrapper.java | 264 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 D | EGLImpl.java | 42 public native boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); argument
|
/frameworks/av/media/libmedia/ |
H A D | AudioRecord.cpp | 540 // read the server count again 603 ssize_t AudioRecord::read(void* buffer, size_t userSize) function in class:android::AudioRecord 605 ssize_t read = 0; local 611 ALOGE("AudioRecord::read(buffer=%p, size=%u (%d)", 628 // obtainBuffer() we give a chance to recover once for a read timeout 630 // 0 bytes read to the client 646 read += bytesRead; 651 return read;
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2PSExtractor.cpp | 49 virtual status_t read( 80 virtual status_t read( 604 status_t MPEG2PSExtractor::Track::read( function in class:android::MPEG2PSExtractor::Track 623 return mSource->read(buffer, options); 689 status_t MPEG2PSExtractor::WrappedTrack::read( function in class:android::MPEG2PSExtractor::WrappedTrack 691 return mTrack->read(buffer, options);
|
/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 316 info->read(mData); 349 info->read(mData); 388 info->read(mData); 472 int count = read(srcFD, buffer, sizeof(buffer)); 550 property->read(mData); 569 property->read(mData); 617 // queue up a read request 631 // wait for pending read before failing 640 // wait for read to complete 642 int read local 742 int read = mData.readDataWait(mDevice); local [all...] |
/frameworks/base/core/jni/ |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 467 static jboolean jni_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject display, jobject draw, jobject read, jobject context) { argument 468 if (display == NULL || draw == NULL || read == NULL || context == NULL) { 474 EGLSurface srd = getSurface(_env, read);
|