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

123456

/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
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsCollection.java327 public void read(InputStream in) throws IOException { method in class:NetworkStatsCollection
328 read(new DataInputStream(in));
331 public void read(DataInputStream in) throws IOException { method in class:NetworkStatsCollection
H A DNetworkStatsRecorder.java349 * with anything read from disk, and write combined set to disk. Clears the
365 public void read(InputStream in) throws IOException { method in class:NetworkStatsRecorder.CombiningRewriter
366 mCollection.read(in);
400 public void read(InputStream in) throws IOException { method in class:NetworkStatsRecorder.RemoveUidRewriter
401 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
541 status_t read(FlattenableHelperInterface& val) const;
596 status_t Parcel::read(Flattenable<T>& val) const { function in class:android::Parcel
598 return read(helper);
602 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
541 status_t read(FlattenableHelperInterface& val) const;
596 status_t Parcel::read(Flattenable<T>& val) const { function in class:android::Parcel
598 return read(helper);
602 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.java337 * API to read the store data from the config stores.
341 public void read() throws XmlPullParserException, IOException { method in class:WifiConfigStore
374 // Now read from the user store file.
443 * Class to encapsulate all file writes. This is a wrapper over {@link AtomicFile} to write/read
444 * raw data from the persistent file. This class provides helper methods to read/write the
483 * @return raw data read from the file or null if the file is not found.
558 * @param in The input stream to read the data from
/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/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/libstagefright/
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(
494 status_t MP3Source::read( function in class:android::MP3Source
H A DMediaCodecSource.cpp195 // call source->stop if read has been pending for over a second
196 // We have to call this outside the looper as looper is pending on the read.
277 status_t err = mSource->read(&mbuf);
393 status_t MediaCodecSource::read( function in class:android::MediaCodecSource
547 if (inputFormat->findInt32("using-sw-read-often", &usingSwReadOften)
H A DAVIExtractor.cpp46 virtual status_t read(
71 status_t read(MediaBuffer **buffer);
139 status_t AVIExtractor::AVISource::read( function in class:android::AVIExtractor::AVISource
163 status_t err = mSplitter->read(buffer);
322 status_t AVIExtractor::MP3Splitter::read(MediaBuffer **out) { function in class:android::AVIExtractor::MP3Splitter
H A DCameraSource.cpp1051 status_t CameraSource::read( function in class:android::CameraSource
1053 ALOGV("read");
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp51 virtual status_t read(
82 virtual status_t read(
661 status_t MPEG2PSExtractor::Track::read( function in class:android::MPEG2PSExtractor::Track
680 return mSource->read(buffer, options);
746 status_t MPEG2PSExtractor::WrappedTrack::read( function in class:android::MPEG2PSExtractor::WrappedTrack
748 return mTrack->read(buffer, options);
H A DMPEG2TSExtractor.cpp57 virtual status_t read(
92 status_t MPEG2TSSource::read( function in class:android::MPEG2TSSource
110 return mImpl->read(out, options);
588 // If we're seeking beyond where we know --- read until we reach there.
/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...]
H A DMtpFfsHandle.cpp388 LOG(VERBOSE) << "MTP about to read fd = " << fd << ", len=" << len;
393 int n = TEMP_FAILURE_RETRY(::read(fd, buf, read_len));
395 PLOG(ERROR) << "read ERROR: fd = " << fd << ", n = " << n;
408 LOG(VERBOSE) << "MTP about to splice read fd = " << fd << ", len=" << len;
416 PLOG(ERROR) << "splice read ERROR: fd = " << fd << ", n = " << n;
427 int MtpFfsHandle::read(void* data, int len) { function in class:android::MtpFfsHandle
543 bool read = false; local
560 read = true;
584 if (read) {
605 read
647 bool read = false; local
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothSocket.java78 * <p>For more information about using Bluetooth, read the
411 // read out port number
494 /*package*/ int read(byte[] b, int offset, int length) throws IOException { method in class:BluetoothSocket
496 if (VDBG) Log.d(TAG, "read in: " + mSocketIS + " len: " + length);
500 if (VDBG) Log.v(TAG, "l2cap: read(): offset: " + offset + " length:" + length
519 if (VDBG) Log.v(TAG, "default: read(): offset: " + offset + " length:" + length);
520 ret = mSocketIS.read(b, offset, length);
523 throw new IOException("bt socket closed, read return: " + ret);
524 if (VDBG) Log.d(TAG, "read out: " + mSocketIS + " ret: " + ret);
610 * Use this to optimize the reads done on the input stream, as any call to read
[all...]
/frameworks/base/core/java/android/os/
H A DParcelFileDescriptor.java96 * Status read by {@link #checkError()}, or null if not read yet.
107 * such that any application can read it.
137 * For use with {@link #open}: open the file with read-only access.
147 * For use with {@link #open}: open the file with read and write access.
418 * ParcelFileDescriptor in the returned array is the read side; the second
434 * ParcelFileDescriptor in the returned array is the read side; the second
438 * {@link #closeWithError(String)} which can be handled by the read end
511 // is written and read atomically as one unit and is not split
526 * Gets a file descriptor for a read
920 public int read() throws IOException { method in class:ParcelFileDescriptor.AutoCloseInputStream
930 public int read(byte[] b) throws IOException { method in class:ParcelFileDescriptor.AutoCloseInputStream
939 public int read(byte[] b, int off, int len) throws IOException { method in class:ParcelFileDescriptor.AutoCloseInputStream
[all...]
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp417 static jboolean jni_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject display, jobject draw, jobject read, jobject context) { argument
418 if (display == NULL || draw == NULL || read == NULL || context == NULL) {
424 EGLSurface srd = getSurface(_env, read);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifParser.java30 * InputStream, the caller can request which IFD's to read via
228 read(mDataAboveIfd0);
420 * tag will have already been read except for tags of undefined type. For
421 * tags of undefined type, call one of the read methods to get the value.
424 * @see #read(byte[])
425 * @see #read(byte[], int, int)
683 read(buf);
800 protected int read(byte[] buffer, int offset, int length) throws IOException { method in class:ExifParser
801 return mTiffStream.read(buffer, offset, length);
805 * Equivalent to read(buffe
807 protected int read(byte[] buffer) throws IOException { method in class:ExifParser
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbProfileGroupSettingsManager.java205 public static DeviceFilter read(XmlPullParser parser) method in class:UsbProfileGroupSettingsManager.DeviceFilter
465 public static AccessoryFilter read(XmlPullParser parser) method in class:UsbProfileGroupSettingsManager.AccessoryFilter
693 DeviceFilter filter = DeviceFilter.read(parser);
698 AccessoryFilter filter = AccessoryFilter.read(parser);
731 Log.wtf(TAG, "Failed to read single-user settings", e);
733 Log.wtf(TAG, "Failed to read single-user settings", e);
862 DeviceFilter filter = DeviceFilter.read(parser);
868 AccessoryFilter filter = AccessoryFilter.read(parser);
1326 DeviceFilter filter = DeviceFilter.read(parser);
1332 AccessoryFilter filter = AccessoryFilter.read(parse
[all...]
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp152 err = source->read(&mbuf);
236 err = rawSource->read(&buffer, &options);
323 status_t err = rawSource->read(&buffer, &options);
413 virtual status_t read(
479 status_t DetectSyncSource::read( function in class:DetectSyncSource
482 status_t err = mSource->read(buffer, options);
563 err = source->read(&buffer, &options);
/frameworks/av/media/libaudioclient/
H A DAudioRecord.cpp311 // read before stop could be partial.
584 // use case 2: blocking read mode
588 // This is needed so that AAudio apps can do a low latency non-blocking read from a
885 ssize_t AudioRecord::read(void* buffer, size_t userSize, bool blocking) function in class:android::AudioRecord
894 ALOGE("AudioRecord::read(buffer=%p, size=%zu (%zu)", buffer, userSize, userSize);
898 ssize_t read = 0; local
907 if (read > 0) {
920 read += bytesRead;
924 if (read > 0) {
925 mFramesRead += read / mFrameSiz
[all...]

Completed in 522 milliseconds

123456