Searched refs:read (Results 51 - 75 of 642) sorted by relevance

1234567891011>>

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifReader.java44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, method in class:ExifReader
73 if (buf.length == parser.read(buf)) {
76 Log.w(TAG, "Failed to read the compressed thumbnail");
81 if (buf.length == parser.read(buf)) {
84 Log.w(TAG, "Failed to read the strip bytes");
/frameworks/native/libs/binder/
H A DIProcessInfoService.cpp46 if (replyLen > 0 && (err = reply.read(states, length * sizeof(*states))) != NO_ERROR) {
71 if (replyLen > 0 && (err = reply.read(
79 if (replyLen > 0 && (err = reply.read(
/frameworks/av/cmds/stagefright/
H A DSineSource.h20 virtual status_t read(
/frameworks/av/include/media/nbaio/
H A DAudioBufferProviderSource.h45 virtual ssize_t read(void *buffer, size_t count);
H A DPipeReader.h48 virtual ssize_t read(void *buffer, size_t count);
/frameworks/av/include/media/stagefright/
H A DCallbackMediaSource.h35 virtual status_t read(
/frameworks/av/media/img_utils/include/img_utils/
H A DFileInput.h52 * of bytes given in the count argument will be read. Bytes will be written
55 * Returns the number of bytes read, or NOT_ENOUGH_DATA if at the end of the file. If an
58 virtual ssize_t read(uint8_t* buf, size_t offset, size_t count);
/frameworks/av/media/img_utils/src/
H A DInput.cpp35 ssize_t ret = read(skipBuf, 0, amt);
43 // Return num bytes read
/frameworks/av/media/libnbaio/include/media/nbaio/
H A DAudioBufferProviderSource.h45 virtual ssize_t read(void *buffer, size_t count);
H A DPipeReader.h48 virtual ssize_t read(void *buffer, size_t count);
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DCallbackMediaSource.h35 virtual status_t read(
/frameworks/av/media/mtp/
H A DMtpResponsePacket.cpp48 int MtpResponsePacket::read(struct usb_request *request) { function in class:android::MtpResponsePacket
H A DMtpFfsCompatHandle.cpp98 int n = TEMP_FAILURE_RETRY(::read(fd, buf, read_len));
100 PLOG(ERROR) << "read ERROR: fd = " << fd << ", n = " << n;
152 int MtpFfsCompatHandle::read(void* data, size_t len) { function in class:android::MtpFfsCompatHandle
176 bool read = false; local
193 read = true;
217 if (read) {
234 read = false;
239 if (TEMP_FAILURE_RETRY(::read(mBulkOut, data, packet_size)) != 0) {
268 bool read = false; local
290 if (read) {
[all...]
H A DMtpDevHandle.cpp43 int MtpDevHandle::read(void *data, size_t len) { function in class:android::MtpDevHandle
44 return ::read(mFd, data, len);
/frameworks/base/cmds/interrupter/
H A Dinterrupter.c50 DEFINE_INTERCEPT(read, ssize_t, int, void*, size_t);
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsXml.java58 public static void read(AtomicFile file, IntervalStats statsOut) throws IOException { method in class:UsageStatsXml
63 read(in, statsOut);
90 static void read(InputStream in, IntervalStats statsOut) throws IOException { method in class:UsageStatsXml
99 UsageStatsXmlV1.read(parser, statsOut);
/frameworks/native/libs/sensor/
H A DSensor.cpp527 FlattenableUtils::read(buffer, size, mVersion);
528 FlattenableUtils::read(buffer, size, mHandle);
529 FlattenableUtils::read(buffer, size, mType);
530 FlattenableUtils::read(buffer, size, mMinValue);
531 FlattenableUtils::read(buffer, size, mMaxValue);
532 FlattenableUtils::read(buffer, size, mResolution);
533 FlattenableUtils::read(buffer, size, mPower);
534 FlattenableUtils::read(buffer, size, mMinDelay);
535 FlattenableUtils::read(buffer, size, mFifoReservedEventCount);
536 FlattenableUtils::read(buffe
[all...]
/frameworks/rs/
H A DrsFifoSocket.h39 size_t read(void *data, size_t bytes);
/frameworks/av/media/libnbaio/
H A DPipeReader.cpp62 ssize_t PipeReader::read(void *buffer, size_t count) function in class:android::PipeReader
65 ssize_t actual = mFifoReader.read(buffer, count, NULL /*timeout*/, &lost);
94 mFramesRead += (size_t) flushed; // we consider flushed frames as read, but not lost frames
/frameworks/av/media/libstagefright/
H A DRemoteMediaSource.cpp52 status_t RemoteMediaSource::read( function in class:android::RemoteMediaSource
54 return mSource->read(buffer, reinterpret_cast<const MediaSource::ReadOptions*>(options));
/frameworks/base/core/java/com/android/internal/util/
H A DBitwiseInputStream.java20 * An object that provides bitwise incremental read access to a byte array.
29 // The byte array being read from.
71 * @param bits the amount of data to read (gte 0, lte 8)
72 * @return byte of read data (possibly partially filled, from lsb)
74 public int read(int bits) throws AccessException { method in class:BitwiseInputStream
78 throw new AccessException("illegal read " +
92 * @param bits the amount of data to read
93 * @return newly allocated byte array of read data
100 arr[i] = (byte)(read(increment) << (8 - increment));
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
H A DShadowBackupDataInput.java31 * Shadow for {@link BackupDataInput}. Format read does NOT match implementation. To write data to
32 * be read by this shadow, you should also declare shadow {@link ShadowBackupDataOutput}.
78 int result = mInput.read(data, offset, size);
88 mInput.read(new byte[mSize], 0, mSize);
93 throw new IllegalStateException("Entity header not read");
/frameworks/compile/mclinker/include/mcld/LD/
H A DEhFrameReader.h33 /// read - read an .eh_frame section and create the corresponding
37 /// @return if we read all CIEs and FDEs successfully, return true. Otherwise,
40 bool read(Input& pInput, EhFrame& pEhFrame);
87 bool EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame);
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DFastXmlSerializerTest.java100 String read = parser.getAttributeValue(null, ATTR);
101 if (!str.equals(read)) {
103 + " input=\"" + str + "\", but read=\"" + read + "\"");
109 String read = parser.getText();
112 + " input=\"" + str + "\", but read=\"" + read + "\"");
/frameworks/base/packages/PrintSpooler/jni/
H A Dcom_android_printspooler_util_BitmapSerializeUtils.cpp52 ssize_t readByteCount = read(fd, readBuffer, remainingBytes);
66 "File closed before all bytes were read. %zu/%zu remaining", remainingBytes,
92 bool read = readAllBytes(fd, (void*) &readInfo, sizeof(AndroidBitmapInfo)); local
93 if (!read) {
94 throwIllegalStateException(env, (char*) "Cannot read bitmap info");
124 read = readAllBytes(fd, (void*) pixels, byteCount);
125 if (!read) {
126 throwIllegalStateException(env, (char*) "Cannot read bitmap pixels");

Completed in 1058 milliseconds

1234567891011>>