Searched refs:read (Results 101 - 125 of 642) sorted by relevance

1234567891011>>

/frameworks/av/media/mtp/
H A DMtpFfsCompatHandle.h36 int read(void* data, size_t len) override;
H A DMtpObjectInfo.h53 bool read(MtpDataPacket& packet);
H A DMtpFfsHandle.cpp130 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/av/soundtrigger/
H A DISoundTrigger.cpp68 reply.read(handle, sizeof(sound_model_handle_t));
147 data.read(&handle, sizeof(sound_model_handle_t));
155 data.read(&handle, sizeof(sound_model_handle_t));
167 data.read(&handle, sizeof(sound_model_handle_t));
/frameworks/base/cmds/incidentd/src/
H A DFdBuffer.h45 status_t read(int fd, int64_t timeoutMs);
72 * If more than 4 MB is read, we truncate the data and return success.
82 * How much data was read.
87 * How long the read took in milliseconds.
H A DFdBuffer.cpp41 status_t FdBuffer::read(int fd, int64_t timeout) { function in class:android::os::incidentd::FdBuffer
56 VLOG("timed out due to long read");
74 ssize_t amt = ::read(fd, mBuffer.writeBuffer(), mBuffer.currentToWrite());
79 VLOG("Fail to read %d: %s", fd, strerror(errno));
107 TEMP_FAILURE_RETRY(::read(fd, mBuffer.writeBuffer(), mBuffer.currentToWrite()));
109 VLOG("Fail to read %d: %s", fd, strerror(errno));
138 // A circular buffer holds data read from fd and writes to parsing process
153 VLOG("timed out due to long read");
181 // read from fd
185 amt = ::read(f
[all...]
/frameworks/base/libs/androidfw/
H A DStreamingZipInflater.cpp116 mInflateState.avail_in = 0; // set when a chunk is read in
131 * a. if there is no input data to decode, read some into the input buffer
136 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { function in class:StreamingZipInflater
154 // if we don't have any data to decode, read some in. If we're working
194 // not try to read any further, so just wind things up.
213 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead));
240 read(NULL, absoluteInputPosition);
242 read(NULL, absoluteInputPosition - mOutCurPosition);
/frameworks/base/libs/androidfw/include/androidfw/
H A DStreamingZipInflater.h41 // read 'count' bytes of uncompressed data from the current position. outBuf may
43 ssize_t read(void* outBuf, size_t count);
/frameworks/base/media/jni/soundpool/
H A DSoundPoolThread.h55 const SoundPoolMsg read();
H A DSoundPoolThread.cpp38 const SoundPoolMsg SoundPoolThread::read() { function in class:android::SoundPoolThread
84 SoundPoolMsg msg = read();
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DSocketConnect.java28 int r = from.read(buffer);
/frameworks/base/services/core/java/com/android/server/net/watchlist/
H A DDigestUtils.java42 /** @return SHA256 hash of data read from the provided input stream */
49 while ((bytesRead = stream.read(buf)) >= 0) {
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceUserInfoTest.java82 UserData read = mUserManagerService.readUserLP(
85 assertUserInfoEquals(data.info, read.info);
100 UserInfo read = UserInfo.CREATOR.createFromParcel(in);
103 assertUserInfoEquals(info, read);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIMms.aidl33 * @param contentUri the content uri from which to read MMS message encoded in standard MMS
78 * @param read if the message is read
82 long timestampMillis, boolean seen, boolean read);
88 * @param contentUri the content uri from which to read PDU of the message to import
92 * @param read if the message is read
96 long timestampSecs, boolean seen, boolean read);
118 * the read status of a message, etc.
152 * @param contentUri the content Uri from which to read PD
[all...]
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/util/
H A DSerializableImageImpl.java47 mBufferedImage = ImageIO.read(in);
/frameworks/native/libs/input/tests/
H A DTestHelpers.h56 ssize_t nRead = ::read(receiveFd, buf, 1);
/frameworks/wilhelm/tests/sandbox/
H A Dgetch.c48 if ((r = read(0, &c, sizeof(c))) < 0) {
/frameworks/base/obex/javax/obex/
H A DClientSession.java512 header.responseCode = mInput.read();
514 int length = ((mInput.read() << 8) | (mInput.read()));
523 int version = mInput.read();
525 int flags = mInput.read();
526 mMaxTxPacketSize = (mInput.read() << 8) + mInput.read();
547 bytesReceived = mInput.read(data);
549 bytesReceived += mInput.read(data, bytesReceived, data.length
557 bytesReceived = mInput.read(dat
[all...]
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp75 ssize_t AudioStreamInSource::read(void *buffer, size_t count) function in class:android::AudioStreamInSource
81 status_t result = mStream->read(buffer, count * mFrameSize, &bytesRead);
/frameworks/base/core/java/android/service/persistentdata/
H A DPersistentDataBlockManager.java44 * Clients can read the currently written block by invoking
45 * {@link PersistentDataBlockManager#read()}.
106 public byte[] read() { method in class:PersistentDataBlockManager
108 return sService.read();
/frameworks/multidex/library/src/androidx/multidex/
H A DZipUtil.java92 // which we've already read.
113 length = raf.read(buffer, 0, length);
121 length = raf.read(buffer, 0, length);
/frameworks/native/include/binder/
H A DSafeInterface.h43 status_t read(const Parcel& parcel, bool* b) const { function in class:android::SafeInterface::ParcelHandler
50 typename std::enable_if<std::is_enum<E>::value, status_t>::type read(const Parcel& parcel, function in namespace:android
53 status_t result = read(parcel, &u);
63 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type read( function in namespace:android
65 return callParcel("read(Flattenable)", [&]() { return parcel.read(*t); });
73 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type read(
76 return callParcel("read(sp<Flattenable>)", [&]() { return parcel.read(*(t->get())); });
84 typename std::enable_if<std::is_base_of<LightFlattenable<T>, T>::value, status_t>::type read(
[all...]
/frameworks/native/libs/binder/include/binder/
H A DSafeInterface.h43 status_t read(const Parcel& parcel, bool* b) const { function in class:android::SafeInterface::ParcelHandler
50 typename std::enable_if<std::is_enum<E>::value, status_t>::type read(const Parcel& parcel, function in namespace:android
53 status_t result = read(parcel, &u);
63 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type read( function in namespace:android
65 return callParcel("read(Flattenable)", [&]() { return parcel.read(*t); });
73 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type read(
76 return callParcel("read(sp<Flattenable>)", [&]() { return parcel.read(*(t->get())); });
84 typename std::enable_if<std::is_base_of<LightFlattenable<T>, T>::value, status_t>::type read(
[all...]
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp93 result = reply.read(**buf);
151 result = reply.read(**fence);
164 ALOGE("IGBP::dequeueBuffer failed to read buffer age: %d", result);
168 result = reply.read(*outTimestamps);
170 ALOGE("IGBP::dequeueBuffer failed to read timestamps: %d",
211 result = reply.read(**outBuffer);
220 result = reply.read(**outFence);
265 result = reply.read(*output);
316 reply.read(*output);
453 result = reply.read(*buffe
[all...]
/frameworks/base/core/java/android/util/jar/
H A DStrictJarManifest.java87 read(Streams.readFully(is));
109 read(manifestBytes);
178 * Merges name/attribute pairs read from the input stream {@code is} into this manifest.
181 * The {@code InputStream} to read from.
185 public void read(InputStream is) throws IOException { method in class:StrictJarManifest
186 read(Streams.readFullyNoClose(is));
189 private void read(byte[] buf) throws IOException { method in class:StrictJarManifest

Completed in 645 milliseconds

1234567891011>>