Searched refs:read (Results 76 - 100 of 460) sorted by relevance

1234567891011>>

/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java431 * Utility method to read a line of data from the input stream
432 * @param is Inputstream to read
433 * @return number of bytes read
437 int read = 0;
443 int data = is.read();
450 buf[read] = (byte)data;
455 if (buf[read++]==(byte)'\n') {
457 return read;
464 return read;
469 * @param is Stream from which to read dat
[all...]
/frameworks/native/include/private/gui/
H A DLayerState.h69 status_t read(const Parcel& input);
91 // non POD must be last. see write/read
99 status_t read(const Parcel& input);
129 status_t read(const Parcel& input);
/frameworks/av/include/media/nbaio/
H A DAudioStreamInSource.h44 // This is an over-estimate, and could dupe the caller into making a blocking read()
48 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
/frameworks/av/include/media/stagefright/
H A DJPEGSource.h35 virtual status_t read(
H A DMediaAdapter.h42 virtual status_t read(
55 // pushBuffer() will wait for the read() finish, and read() will have a
61 // Make sure the read() wait for the incoming buffer.
H A DSkipCutBuffer.h49 size_t read(char *dst, size_t num);
/frameworks/av/media/libmedia/
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/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.h40 ssize_t read(void *data, size_t size, sp<AMessage> *extra);
/frameworks/av/media/libstagefright/timedtext/
H A DTimedText3GPPSource.h35 virtual status_t read(
/frameworks/av/media/mtp/
H A DMtpEventPacket.cpp57 int MtpEventPacket::read(struct usb_request *request) { function in class:android::MtpEventPacket
H A DMtpObjectInfo.h53 void read(MtpDataPacket& packet);
H A DMtpStorageInfo.cpp48 void MtpStorageInfo::read(MtpDataPacket& packet) { function in class:android::MtpStorageInfo
51 // read the device info
/frameworks/av/soundtrigger/
H A DISoundTrigger.cpp67 reply.read(handle, sizeof(sound_model_handle_t));
145 data.read(&handle, sizeof(sound_model_handle_t));
153 data.read(&handle, sizeof(sound_model_handle_t));
165 data.read(&handle, sizeof(sound_model_handle_t));
/frameworks/base/core/jni/android/graphics/
H A DUtils.h49 virtual size_t read(void* buffer, size_t size);
/frameworks/base/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/libs/androidfw/
H A DStreamingZipInflater.cpp114 mInflateState.avail_in = 0; // set when a chunk is read in
129 * a. if there is no input data to decode, read some into the input buffer
134 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { function in class:StreamingZipInflater
152 // if we don't have any data to decode, read some in. If we're working
192 // not try to read any further, so just wind things up.
211 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead));
236 read(NULL, absoluteInputPosition);
238 read(NULL, absoluteInputPosition - mOutCurPosition);
/frameworks/base/media/tests/omxjpegdecoder/
H A DStreamSource.cpp43 ssize_t result = mStream->read(data, size);
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DSocketConnect.java28 int r = from.read(buffer);
/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
113 * @param read if the message is read
117 long timestampMillis, boolean seen, boolean read);
123 * @param contentUri the content uri from which to read PDU of the message to import
127 * @param read if the message is read
131 long timestampSecs, boolean seen, boolean read);
153 * the read status of a message, etc.
187 * @param contentUri the content Uri from which to read PD
[all...]
/frameworks/compile/libbcc/lib/Support/
H A DSha1Util.cpp43 ssize_t nread = file.read(buf, sizeof(buf));
/frameworks/native/libs/input/tests/
H A DTestHelpers.h56 ssize_t nRead = ::read(receiveFd, buf, 1);
/frameworks/rs/cpu_ref/linkloader/include/
H A DELFSectionHeaderTable.h44 static ELFSectionHeaderTableTy *read(Archiver &AR, ELFObjectTy *owner);
/frameworks/wilhelm/tests/sandbox/
H A Dgetch.c48 if ((r = read(0, &c, sizeof(c))) < 0) {
/frameworks/base/obex/javax/obex/
H A DServerOperation.java96 * @param in the input stream to read from
155 int length = in.read();
156 length = (length << 8) + in.read();
171 bytesReceived = in.read(data);
174 bytesReceived += in.read(data, bytesReceived, data.length - bytesReceived);
402 int headerID = mInput.read();
403 int length = mInput.read();
404 length = (length << 8) + mInput.read();
412 // First three bytes already read, compensating for this
413 bytesReceived = mInput.read(tem
[all...]

Completed in 582 milliseconds

1234567891011>>