/frameworks/av/media/mtp/ |
H A D | MtpFfsHandle.cpp | 130 int MtpFfsHandle::doAsync(void* data, size_t len, bool read, bool zero_packet) { argument 140 int ret = iobufSubmit(&mIobuf[0], read ? mBulkOut : mBulkIn, this_len, read); 148 int packet_size = getPacketSize(read ? mBulkOut : mBulkIn); 150 int ret = iobufSubmit(&mIobuf[0], read ? mBulkOut : mBulkIn, 0, read); 162 int MtpFfsHandle::read(void* data, size_t len) { function in class:android::MtpFfsHandle 175 int nbytes = TEMP_FAILURE_RETRY(::read(mControl, event, 218 if (::read(mControl, buf.data(), length) != length) { 219 PLOG(ERROR) << "Mtp error ctrlreq read dat 409 iobufSubmit(struct io_buffer *buf, int fd, unsigned length, bool read) argument [all...] |
/frameworks/base/cmds/incident_helper/src/ |
H A D | ih_util.cpp | 253 ssize_t read = getline(&buf, &len, mFile); local 254 if (read != -1) { 261 return read != -1;
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothSocket.java | 76 * <p>For more information about using Bluetooth, read the 438 // read out port number 526 /*package*/ int read(byte[] b, int offset, int length) throws IOException { method in class:BluetoothSocket 528 if (VDBG) Log.d(TAG, "read in: " + mSocketIS + " len: " + length); 532 Log.v(TAG, "l2cap: read(): offset: " + offset + " length:" + length 554 if (VDBG) Log.v(TAG, "default: read(): offset: " + offset + " length:" + length); 555 ret = mSocketIS.read(b, offset, length); 558 throw new IOException("bt socket closed, read return: " + ret); 560 if (VDBG) Log.d(TAG, "read out: " + mSocketIS + " ret: " + ret); 648 * 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 D | ParcelFileDescriptor.java | 96 * 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 922 public int read() throws IOException { method in class:ParcelFileDescriptor.AutoCloseInputStream 932 public int read(byte[] b) throws IOException { method in class:ParcelFileDescriptor.AutoCloseInputStream 941 public int read(byte[] b, int off, int len) throws IOException { method in class:ParcelFileDescriptor.AutoCloseInputStream [all...] |
/frameworks/base/core/jni/ |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 406 static jboolean jni_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject display, jobject draw, jobject read, jobject context) { argument 407 if (display == NULL || draw == NULL || read == NULL || context == NULL) { 413 EGLSurface srd = getSurface(_env, read);
|
H A D | android_opengl_EGL14.cpp | 1056 /* EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx ) */ 1059 (JNIEnv *_env, jobject _this, jobject dpy, jobject draw, jobject read, jobject ctx) { 1063 EGLSurface read_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, read); 1058 android_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject dpy, jobject draw, jobject read, jobject ctx) argument
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifParser.java | 30 * 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/core/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 457 public void read(InputStream in) throws IOException { method in class:NetworkStatsCollection 458 read(new DataInputStream(in)); 461 public void read(DataInputStream in) throws IOException { method in class:NetworkStatsCollection
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
H A D | PackageDexUsage.java | 196 public void read() { method in class:PackageDexUsage 197 read((Void) null); 300 read(in); 310 /* package */ void read(Reader reader) throws IOException { method in class:PackageDexUsage 827 // Can happen if we read a previous version.
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 154 err = source->read(&mbuf); 241 err = rawSource->read(&buffer, &options); 328 status_t err = rawSource->read(&buffer, &options); 418 virtual status_t read( 484 status_t DetectSyncSource::read( function in class:DetectSyncSource 487 status_t err = mSource->read(buffer, options); 568 err = source->read(&buffer, &options);
|
/frameworks/av/media/extractors/flac/ |
H A D | FLACExtractor.cpp | 51 virtual status_t read( 760 status_t FLACSource::read( function in class:android::FLACSource 779 // otherwise read sequentially 843 // no need to read rest of the header, as a premature EOF will be caught later
|
/frameworks/av/media/extractors/ogg/ |
H A D | OggExtractor.cpp | 58 virtual status_t read( 260 status_t OggSource::read( function in class:android::OggSource 502 ALOGV("failed to read %zu bytes at offset %#016llx, got %zd bytes", 573 // the first time before we attempt to read a packet from the first page. 738 ALOGV("failed to read %zu bytes at %#016llx, got %zd bytes", 748 // We've just read the entire packet. 844 ALOGV("read packet of size %zu\n", packet->range_length());
|
/frameworks/av/media/libaaudio/src/core/ |
H A D | AudioStream.h | 317 // A Stream will only implement read() or write() depending on its direction. 324 virtual aaudio_result_t read(void *buffer __unused, function in class:aaudio::AudioStream 597 // These are set by the application thread and then read by the audio pthread.
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioRecord.cpp | 406 // read before stop could be partial. 693 // use case 2: blocking read mode 697 // This is needed so that AAudio apps can do a low latency non-blocking read from a 973 ssize_t AudioRecord::read(void* buffer, size_t userSize, bool blocking) function in class:android::AudioRecord 982 ALOGE("AudioRecord::read(buffer=%p, size=%zu (%zu)", buffer, userSize, userSize); 986 ssize_t read = 0; local 995 if (read > 0) { 1008 read += bytesRead; 1012 if (read > 0) { 1013 mFramesRead += read / mFrameSiz [all...] |
/frameworks/av/media/libaudiohal/4.0/ |
H A D | StreamHalHidl.cpp | 402 if (!mStatusMQ->read(&writeStatus)) { 403 ALOGE("status message read failed for \"%s\"", cmdName); 638 status_t StreamInHalHidl::read(void *buffer, size_t bytes, size_t *read) { argument 640 *read = 0; 643 // Can't determine the size for the MQ buffer. Wait for a non-empty read request. 654 params.params.read = bytes; 655 status = callReaderThread(params, "read", 658 if (!mDataMQ->read(static_cast<uint8_t*>(buffer), std::min(bytes, availToRead))) { 659 ALOGE("data message queue read faile [all...] |
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 1061 status_t CameraSource::read( function in class:android::CameraSource 1063 ALOGV("read");
|
/frameworks/base/opengl/java/javax/microedition/khronos/egl/ |
H A D | EGL10.java | 114 boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); argument
|
/frameworks/av/media/extractors/mkv/ |
H A D | MatroskaExtractor.cpp | 135 virtual status_t read( 766 status_t MatroskaSource::read( function in class:android::MatroskaSource
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 53 * This class presents a lower-level API that allows you to open and read raw 726 * read its contents. This provides access to files that have been bundled 1086 public final int read() throws IOException { method in class:AssetManager.AssetInputStream 1092 public final int read(@NonNull byte[] b) throws IOException { method in class:AssetManager.AssetInputStream 1099 public final int read(@NonNull byte[] b, int off, int len) throws IOException { method in class:AssetManager.AssetInputStream
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | ProcessStats.java | 907 int amt = stream.read(data, pos, data.length-pos); 927 public void read(InputStream stream) { method in class:ProcessStats 1180 if (DEBUG_PARCEL) Slog.d(TAG, "Successfully read procstats!");
|
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 53 * the following three methods: {@link #read(byte[],int, int)}, {@link #read(short[], int, int)} 54 * or {@link #read(ByteBuffer, int)}. The choice of which method to use will be based 59 * been read yet. Data should be read from the audio hardware in chunks of sizes inferior to 142 * The read mode indicating the read operation will block until all data 143 * requested has been read. 148 * The read mode indicating the read operatio 1072 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { method in class:AudioRecord 1103 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, method in class:AudioRecord 1145 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { method in class:AudioRecord 1175 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, method in class:AudioRecord 1222 public int read(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, method in class:AudioRecord 1273 public int read(@NonNull ByteBuffer audioBuffer, int sizeInBytes) { method in class:AudioRecord 1306 public int read(@NonNull ByteBuffer audioBuffer, int sizeInBytes, @ReadMode int readMode) { method in class:AudioRecord [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | EGL14.java | 406 // C function EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx ) 411 EGLSurface read, 408 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx ) argument
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | SmsManager.java | 152 * Whether MMS read report is enabled (boolean type) 1366 /** Received and read (TS 51.011 10.5.3 / 3GPP2 C.S0023 3.4.27). */ 1510 * @param contentUri the content Uri from which the message pdu will be read 1595 * @param read if the message is read 1600 boolean seen, boolean read) { 1605 address, type, text, timestampMillis, seen, read); 1624 * @param contentUri the content uri from which to read the PDU of the message to import 1628 * @param read if the message is read 1599 importTextMessage(String address, int type, String text, long timestampMillis, boolean seen, boolean read) argument 1633 importMultimediaMessage(Uri contentUri, String messageId, long timestampSecs, boolean seen, boolean read) argument [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 971 EGLSurface read, EGLContext ctx) 978 // If ctx is not EGL_NO_CONTEXT, read is not EGL_NO_SURFACE, or draw is not 981 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) || 989 SurfaceRef _r(dp.get(), read); 1015 if (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE) { 1033 // retrieve the underlying implementation's read EGLSurface 1034 if (read != EGL_NO_SURFACE) { 1036 r = get_surface(read); 1042 draw, read, ctx, 1064 SurfaceRef _r2(dp.get(), cur_c->read); 970 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument [all...] |
/frameworks/rs/ |
H A D | rsAllocation.cpp | 225 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, function in class:android::renderscript::Allocation 232 "Allocation::read called with mismatched size expected %zu, got %zu", 242 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, function in class:android::renderscript::Allocation 261 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, function in class:android::renderscript::Allocation 679 a->read(rsc, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X, 718 a->read(rsc, 0, 0, 0, 0, t->getDimX(), t->getDimY(), t->getDimZ(), 721 a->read(rsc, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X, 724 a->read(rsc, 0, 0, t->getDimX(), data, sizeBytes); 913 a->read(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); 921 a->read(rs [all...] |