Searched refs:read (Results 226 - 250 of 642) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/include/mcld/Support/
H A DFileHandle.h85 bool read(void* pMemBuffer, size_t pStartOffset, size_t pLength);
/frameworks/ex/framesequence/jni/
H A DStream.h30 size_t read(void* buffer, size_t size);
/frameworks/native/include/private/gui/
H A DBitTube.h86 ssize_t read(void* vaddr, size_t size);
/frameworks/native/libs/gui/include/private/gui/
H A DBitTube.h86 ssize_t read(void* vaddr, size_t size);
/frameworks/native/libs/sensor/include/sensor/
H A DSensorEventQueue.h76 ssize_t read(ASensorEvent* events, size_t numEvents);
/frameworks/native/opengl/libs/EGL/
H A Degl_display.cpp364 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL);
382 EGLSurface draw, EGLSurface read, EGLContext /*ctx*/,
390 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL);
399 c->onMakeCurrent(draw, read);
381 makeCurrent(egl_context_t* c, egl_context_t* cur_c, EGLSurface draw, EGLSurface read, EGLContext , EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx) argument
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp37 while ((n = q->read(buffer, 8)) > 0) {
/frameworks/rs/
H A DrsFifoSocket.cpp76 size_t FifoSocket::read(void *data, size_t bytes) { function in class:android::renderscript::FifoSocket
81 //ALOGE("read %p %i", data, bytes);
84 //ALOGE("read ret %i bytes %i", ret, bytes);
/frameworks/wilhelm/src/android/include/
H A DAacAdtsExtractor.h50 virtual status_t read(
/frameworks/av/media/libaaudio/examples/write_sine/src/
H A Dwrite_sine_callback.cpp161 int64_t read = AAudioStream_getFramesRead(player.getStream()); local
164 (long long) read,
165 (int) (written - read));
/frameworks/av/media/libaudiohal/2.0/
H A DStreamHalHidl.cpp391 if (!mStatusMQ->read(&writeStatus)) {
392 ALOGE("status message read failed for \"%s\"", cmdName);
610 status_t StreamInHalHidl::read(void *buffer, size_t bytes, size_t *read) {
612 *read = 0;
615 // Can't determine the size for the MQ buffer. Wait for a non-empty read request.
626 params.params.read = bytes;
627 status = callReaderThread(params, "read",
630 if (!mDataMQ->read(static_cast<uint8_t*>(buffer), std::min(bytes, availToRead))) {
631 ALOGE("data message queue read faile
[all...]
/frameworks/av/media/libaudiohal/4.0/
H A DStreamHalHidl.cpp402 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 DSkipCutBuffer.cpp87 size_t copied = read(dst, buffer->size());
120 size_t copied = read(dst, buffer->capacity());
171 size_t SkipCutBuffer::read(char *dst, size_t num) { function in class:android::SkipCutBuffer
/frameworks/base/core/java/android/app/backup/
H A DBlobBackupHelper.java201 while ((nRead = in.read(buffer)) > 0) {
225 while ((nRead = bis.read(buf)) >= 0) {
302 data.read(compressed);
/frameworks/base/core/jni/
H A Dandroid_backup_BackupHelperDispatcher.cpp54 amt = read(fd, &flattenedHeader.headerSize, sizeof(flattenedHeader.headerSize));
70 amt = read(fd, &flattenedHeader.version,
109 amt = read(fd, buf, flattenedHeader.nameLength);
/frameworks/base/libs/androidfw/
H A DZipUtils.cpp45 // fseeks every time we perform a read. There's an impedence mismatch
55 size_t read = fread(buf, 1, len, mFp); local
56 if (read != len) {
60 mCurrentOffset += read;
/frameworks/base/libs/androidfw/include/androidfw/
H A DAsset.h18 // Class providing access to a read-only asset. Asset objects are NOT
38 * Instances of this class provide read-only operations on a byte stream.
59 /* read chunks, and seek forward and backward */
62 /* read sequentially, with an occasional forward seek */
65 /* caller plans to ask for a read-only buffer with all data */
71 * bytes read, 0 on EOF, or -1 on error.
73 virtual ssize_t read(void* buf, size_t count) = 0;
93 * Get the total amount of data that can be read.
98 * Get the total amount of data that can be read from the current position.
103 * Open a new file descriptor that can be used to read thi
[all...]
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java116 // Open as read-only so we can at least read the existing
163 // check that we can read the following 9 bytes
165 if (mChannel.read(mBuffer, pos) == 9) {
174 // Other NIO related exception like disk full, read only channel..etc
176 ", disk full or mount read-only? " + ex.getClass());
199 // check that we can read the following 9 bytes
201 if (mChannel.read(mBuffer, pos) == 9) {
221 // Other NIO related exception like disk full, read only channel..etc
223 ", disk full or mount read
[all...]
H A DExifInterface.java1673 * This function decides which parser to read the image data according to the given input stream
1879 Log.d(TAG, "Cannot read thumbnail from inputstream without mark/reset support");
1897 if (in.read(buffer) != mThumbnailLength) {
2115 in.read(signatureCheckBytes);
2169 signatureInputStream.read(chunkType);
2204 if (signatureInputStream.read(brand) != brand.length) {
2344 if (in.read(identifier) != 6) {
2363 if (in.read(bytes) != length) {
2375 if (in.read(bytes) != length) {
2482 in.read(jpegOffsetByte
3786 public int read() throws IOException { method in class:ExifInterface.ByteOrderedDataInputStream
[all...]
/frameworks/base/telephony/java/android/provider/
H A DTelephony.java99 * <p>Other apps that are not selected as the default SMS app can only <em>read</em> the SMS
104 * read special incoming messages such as to perform phone number verification.</p>
106 * <p>For more information about building SMS apps, read the blog post, <a
178 * Has the message been read?
181 public static final String READ = "read";
270 * This column is read-only. It is set by the provider and can not be changed by apps.
338 * @param read true if the message has been read, false if not
345 Long date, boolean read, boolean deliveryReport) {
347 resolver, uri, address, body, subject, date, read, deliveryRepor
343 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
365 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
387 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
411 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
527 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
547 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
[all...]
/frameworks/av/media/libaudioclient/
H A DIAudioPolicyService.cpp521 reply.read(descriptors, sizeof(effect_descriptor_t) * numDesc);
562 reply.read(ports, numPortsReq * sizeof(struct audio_port));
582 reply.read(port, sizeof(struct audio_port));
601 reply.read(handle, sizeof(audio_patch_handle_t));
639 reply.read(patches, numPatchesReq * sizeof(struct audio_patch));
858 status = reply.read(surroundFormats,
863 status = reply.read(surroundFormatsEnabled,
1045 data.read(&attr, sizeof(audio_attributes_t));
1058 data.read(&config, sizeof(audio_config_t));
1112 data.read(
[all...]
H A DIAudioFlinger.cpp393 reply.read(config, sizeof(audio_config_t));
468 reply.read(config, sizeof(audio_config_t));
598 reply.read(pDescriptor, sizeof(effect_descriptor_t));
619 reply.read(pDescriptor, sizeof(effect_descriptor_t));
668 reply.read(pDesc, sizeof(effect_descriptor_t));
741 reply.read(ports, *num_ports * sizeof(struct audio_port));
757 reply.read(port, sizeof(struct audio_port));
775 reply.read(handle, sizeof(audio_patch_handle_t));
804 reply.read(patches, *num_patches * sizeof(struct audio_patch));
1098 data.read(
[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...]
/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
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/support/exifinterface/src/main/java/androidx/exifinterface/media/
H A DExifInterface.java4189 * This function decides which parser to read the image data according to the given input stream
4358 Log.d(TAG, "Cannot read thumbnail from inputstream without mark/reset support");
4372 if (in.read(buffer) != mThumbnailLength) {
4687 in.read(signatureCheckBytes);
4838 if (in.read(identifier) != 6) {
4857 if (in.read(bytes) != length) {
4869 if (in.read(bytes) != length) {
4976 in.read(jpegOffsetBytes);
4979 in.read(cfaHeaderOffsetBytes);
5021 * images. Both data takes the form of IFDs and can therefore be read wit
6141 public int read() throws IOException { method in class:ExifInterface.ByteOrderedDataInputStream
6147 public int read(byte[] b, int off, int len) throws IOException { method in class:ExifInterface.ByteOrderedDataInputStream
[all...]

Completed in 444 milliseconds

1234567891011>>