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

1234567

/frameworks/av/media/libaaudio/src/legacy/
H A DAudioStreamRecord.cpp229 // If we don't have a callback then we will read into an internal short array
230 // and then convert into the app float array in read().
386 aaudio_result_t AudioStreamRecord::read(void *buffer, function in class:AudioStreamRecord
411 // Perform conversion using multiple read()s if necessary.
416 bytesActuallyRead = mAudioRecord->read(mFormatConversionBufferI16.get(), bytesToRead, blocking);
432 bytesActuallyRead = mAudioRecord->read(buffer, numBytes, blocking);
/frameworks/av/media/libmedia/
H A DIMediaSource.cpp116 virtual status_t read(MediaBufferBase **buffer, function in class:android::BpMediaSource
121 ALOGV("read status %d, bufferCount %u, sinceStop %u",
179 reply.read(buf->data(), len);
322 // Get max number of buffers to read.
329 // Get read options, if any.
335 && data.read((void *)&opts, len) == NO_ERROR;
344 ret = read((MediaBufferBase **)&buf, useOptions ? &opts : nullptr);
/frameworks/av/media/libstagefright/
H A DAudioSource.cpp242 status_t AudioSource::read( function in class:android::AudioSource
H A DMediaCodecSource.cpp206 // call source->stop if read has been pending for over a second
207 // We have to call this outside the looper as looper is pending on the read.
302 status_t err = mSource->read(&mbuf);
415 status_t MediaCodecSource::read( function in class:android::MediaCodecSource
578 if (inputFormat->findInt32("using-sw-read-often", &usingSwReadOften)
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp165 status_t AnotherPacketSource::read( function in class:android::AnotherPacketSource
/frameworks/base/core/jni/
H A Dandroid_os_HwBlob.cpp119 status_t JHwBlob::read(size_t offset, void *data, size_t size) const { function in class:android::JHwBlob
274 status_t err = blob->read(offset, &x, sizeof(x)); \
296 status_t err = blob->read(offset, &x, sizeof(x));
/frameworks/base/libs/androidfw/
H A DAsset.cpp18 // Provide access to a read-only asset.
148 * always open things read-only it doesn't really matter, so there's
487 ssize_t _FileAsset::read(void* buf, size_t count) function in class:_FileAsset
496 * On first access, read or map the entire file. The caller has
515 //printf("map read\n");
520 //printf("buf read\n");
524 /* read from the file */
525 //printf("file read\n");
536 * file, so if we don't read the full amount we know something is
602 * Return a read
812 ssize_t _CompressedAsset::read(void* buf, size_t count) function in class:_CompressedAsset
[all...]
/frameworks/base/libs/hwui/debug/
H A Dnullegl.cpp125 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) { argument
/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
/frameworks/base/services/core/java/com/android/server/
H A DMmsServiceBroker.java145 long timestampMillis, boolean seen, boolean read) throws RemoteException {
151 long timestampSecs, boolean seen, boolean read) throws RemoteException {
375 long timestampMillis, boolean seen, boolean read) throws RemoteException {
383 callingPkg, address, type, text, timestampMillis, seen, read);
388 String messageId, long timestampSecs, boolean seen, boolean read)
397 callingPkg, contentUri, messageId, timestampSecs, seen, read);
374 importTextMessage(String callingPkg, String address, int type, String text, long timestampMillis, boolean seen, boolean read) argument
387 importMultimediaMessage(String callingPkg, Uri contentUri, String messageId, long timestampSecs, boolean seen, boolean read) argument
H A DPinnerService.java411 abstract boolean read(PinRange outPinRange); method in class:PinnerService.PinRangeSource
425 boolean read(PinRange outPinRange) { method in class:PinnerService.PinRangeSourceStatic
443 boolean read(PinRange outPinRange) { method in class:PinnerService.PinRangeSourceStream
493 while (bytesPinned < maxBytesToPin && pinRangeSource.read(pinRange)) {
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsRecorder.java366 * with anything read from disk, and write combined set to disk. Clears the
382 public void read(InputStream in) throws IOException { method in class:NetworkStatsRecorder.CombiningRewriter
383 mCollection.read(in);
417 public void read(InputStream in) throws IOException { method in class:NetworkStatsRecorder.RemoveUidRewriter
418 mTemp.read(in);
/frameworks/native/include/binder/
H A DParcel.h243 status_t read(void* outData, size_t len) const;
328 status_t read(Flattenable<T>& val) const;
331 status_t read(LightFlattenable<T>& val) const;
344 // response headers. Callers should use this to read & parse the
543 status_t read(FlattenableHelperInterface& val) const;
598 status_t Parcel::read(Flattenable<T>& val) const { function in class:android::Parcel
600 return read(helper);
604 status_t Parcel::read(LightFlattenable<T>& val) const { function in class:android::Parcel
/frameworks/native/libs/binder/include/binder/
H A DParcel.h243 status_t read(void* outData, size_t len) const;
328 status_t read(Flattenable<T>& val) const;
331 status_t read(LightFlattenable<T>& val) const;
344 // response headers. Callers should use this to read & parse the
543 status_t read(FlattenableHelperInterface& val) const;
598 status_t Parcel::read(Flattenable<T>& val) const { function in class:android::Parcel
600 return read(helper);
604 status_t Parcel::read(LightFlattenable<T>& val) const { function in class:android::Parcel
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiConfigStore.java341 * API to read the store data from the config stores.
345 public void read() throws XmlPullParserException, IOException { method in class:WifiConfigStore
382 // Now read from the user store file.
467 * Class to encapsulate all file writes. This is a wrapper over {@link AtomicFile} to write/read
468 * raw data from the persistent file. This class provides helper methods to read/write the
507 * @return raw data read from the file or null if the file is not found.
563 * Whenever {@link WifiConfigStore#read()} is invoked, all registered StoreData instances will
564 * be notified that a read was performed via {@link StoreData#deserializeData(
568 * Note: StoreData clients that need a config store read to kick-off operations should wait
589 * @param in The input stream to read th
[all...]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
H A DLoaderDicom.java40 * Will only read raw 16 bit dicom slices (the most common type)
141 public TagSet read(File file, int[] tags) throws Exception { method in class:LoaderDicom
314 TagSet data = d.read(file, tags);
409 TagSet data = d.read(file, tags);
549 TagSet data = d.read(file, tags);
/frameworks/av/media/extractors/mp3/
H A DMP3Extractor.cpp63 // 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(
499 status_t MP3Source::read( function in class:android::MP3Source
/frameworks/av/media/extractors/mpeg2/
H A DMPEG2PSExtractor.cpp51 virtual status_t read(
82 virtual status_t read(
664 status_t MPEG2PSExtractor::Track::read( function in class:android::MPEG2PSExtractor::Track
683 return mSource->read(buffer, options);
749 status_t MPEG2PSExtractor::WrappedTrack::read( function in class:android::MPEG2PSExtractor::WrappedTrack
751 return mTrack->read(buffer, options);
H A DMPEG2TSExtractor.cpp63 virtual status_t read(
103 status_t MPEG2TSSource::read( function in class:android::MPEG2TSSource
121 return mImpl->read(out, options);
602 // If we're seeking beyond where we know --- read until we reach there.
/frameworks/av/media/libaaudio/examples/loopback/src/
H A Dloopback.cpp107 printf("ERROR in read = %d = %s\n", framesRead,
423 int read = loopbackData.loopbackProcessor->load(FILENAME_ECHOS); local
424 printf("main() read %d mono samples from %s on Android device\n", read, FILENAME_ECHOS);
614 printf(" written - read = %8d\n", (int) (framesWritten - framesRead));
/frameworks/av/media/libaudiohal/2.0/
H A DStreamHalLocal.cpp286 status_t StreamInHalLocal::read(void *buffer, size_t bytes, size_t *read) { argument
287 ssize_t readResult = mStream->read(mStream, buffer, bytes);
289 *read = readResult;
290 mStreamPowerLog.log( buffer, *read);
293 *read = 0;
/frameworks/av/media/libaudiohal/4.0/
H A DStreamHalLocal.cpp288 status_t StreamInHalLocal::read(void *buffer, size_t bytes, size_t *read) { argument
289 ssize_t readResult = mStream->read(mStream, buffer, bytes);
291 *read = readResult;
292 mStreamPowerLog.log( buffer, *read);
295 *read = 0;
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerSinc.cpp272 // Not critical now since the read functions are fast, but would be important if read was slow.
318 // read one frame
319 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
321 // read 2 frames
322 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
328 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
335 // Always read-in the first samples from the input buffer
353 read<CHANNELS>(impulse, phaseFraction, in, inputIndex);
373 * read()
379 void AudioResamplerSinc::read( function in class:android::AudioResamplerSinc
[all...]
/frameworks/av/media/mtp/
H A DMtpDevice.cpp366 if (info->read(mData))
401 if (info->read(mData))
442 if (info->read(mData))
603 if (property->read(mData))
624 if (property->read(mData))
692 ALOGE("Failed to send a read request.");
704 ALOGE("Failed to read header.");
759 // Wait for previous read to complete.
763 const int read = mData.readDataWait(mDevice); local
764 if (read <
[all...]

Completed in 693 milliseconds

1234567