/frameworks/av/media/mtp/ |
H A D | MtpDeviceInfo.cpp | 62 bool MtpDeviceInfo::read(MtpDataPacket& packet) { function in class:android::MtpDeviceInfo 65 // read the device info
|
H A D | MtpResponsePacket.cpp | 48 int MtpResponsePacket::read(struct usb_request *request) { function in class:android::MtpResponsePacket
|
H A D | MtpStorageInfo.cpp | 48 bool MtpStorageInfo::read(MtpDataPacket& packet) { function in class:android::MtpStorageInfo 51 // read the device info
|
H A D | MtpDevHandle.cpp | 43 int MtpDevHandle::read(void *data, size_t len) { function in class:android::MtpDevHandle 44 return ::read(mFd, data, len);
|
H A D | MtpObjectInfo.cpp | 58 bool MtpObjectInfo::read(MtpDataPacket& packet) { function in class:android::MtpObjectInfo
|
H A D | MtpRequestPacket.cpp | 40 int MtpRequestPacket::read(IMtpHandle *h) { function in class:android::MtpRequestPacket 41 int ret = h->read(mBuffer, mBufferSize); 43 // file read error
|
/frameworks/base/obex/javax/obex/ |
H A D | ObexPacket.java | 35 * @param is the input stream to read from. 36 * @return the OBEX packet read. 37 * @throws IOException if an IO exception occurs during read. 39 public static ObexPacket read(InputStream is) throws IOException { method in class:ObexPacket 40 int headerId = is.read(); 41 return read(headerId, is); 46 * @param headerId the headerId already read from the stream. 47 * @param is the stream to read from, assuming 1 byte have already been read. 48 * @return the OBEX packet read 51 public static ObexPacket read(int headerId, InputStream is) throws IOException { method in class:ObexPacket [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifReader.java | 44 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/include/binder/ |
H A D | SafeInterface.h | 43 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 D | SafeInterface.h | 43 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 D | LayerState.cpp | 56 status_t layer_state_t::read(const Parcel& input) function in class:android::layer_state_t 75 input.read(crop); 76 input.read(finalCrop); 88 input.read(transparentRegion); 97 status_t ComposerState::read(const Parcel& input) { function in class:android::ComposerState 99 return state.read(input); 126 status_t DisplayState::read(const Parcel& input) { function in class:android::DisplayState 132 input.read(viewport); 133 input.read(frame);
|
/frameworks/av/media/img_utils/src/ |
H A D | FileInput.cpp | 48 ssize_t FileInput::read(uint8_t* buf, size_t offset, size_t count) { function in class:android::img_utils::FileInput 50 ALOGE("%s: Could not read file %s, file not open.", __FUNCTION__, mPath.string());
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
H A D | SHCircularBuffer.h | 50 inline T read() { function in class:SHCircularBuffer 59 ALOGW("Warning: SHCircularBuffer no data available to read. Default value returned");
|
/frameworks/av/media/libnbaio/ |
H A D | LibsndfileSource.cpp | 46 ssize_t LibsndfileSource::read(void *buffer, size_t count) function in class:android::LibsndfileSource 55 // Detect EOF by zero frames read, not by mFramesUntilEOF as it could be inaccurate 62 // We didn't read any frames during the current loop cycle, so disable 63 // further looping to prevent the caller from busy waiting at read().
|
H A D | MonoPipeReader.cpp | 46 ssize_t MonoPipeReader::read(void *buffer, size_t count) function in class:android::MonoPipeReader 49 ssize_t actual = mFifoReader.read(buffer, count);
|
H A D | PipeReader.cpp | 62 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 D | CallbackMediaSource.cpp | 39 status_t CallbackMediaSource::read(MediaBufferBase **buffer, const ReadOptions *options) { function in class:android::CallbackMediaSource 40 return mSource->read(buffer, reinterpret_cast<const ReadOptions*>(options));
|
H A D | MediaAdapter.cpp | 59 // While read() is still waiting, we should signal it to finish. 84 status_t MediaAdapter::read( function in class:android::MediaAdapter 93 ALOGV("waiting @ read()"); 98 ALOGV("read interrupted after stop");
|
/frameworks/base/apct-tests/perftests/core/src/android/database/ |
H A D | TableHelper.java | 30 void read(); method in interface:TableHelper.CursorReader
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInputStream.java | 28 * is called, the current entity's header has already been read from the underlying 33 * source, nor read more than {@link #size()} bytes from the stream.</p> 54 * are read from the stream, the output of this method is undefined. 56 * @return The byte read, or undefined if the end of the stream has been reached. 58 public int read() throws IOException { method in class:BackupDataInputStream 71 * @param b Byte array into which the data will be read 74 * @param size The number of bytes to read in this operation. If insufficient 76 * will be read as is available. 77 * @return The number of bytes of data read, or zero if all of the entity's 78 * data has already been read 80 public int read(byte[] b, int offset, int size) throws IOException { method in class:BackupDataInputStream 93 public int read(byte[] b) throws IOException { method in class:BackupDataInputStream [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothInputStream.java | 50 * reached. Blocks until one byte has been read, the end of the source 53 * @return the byte read or -1 if the end of stream has been reached. 57 public int read() throws IOException { method in class:BluetoothInputStream 59 int ret = mSocket.read(b, 0, 1); 71 * @param b the byte array in which to store the bytes read. 72 * @param offset the initial position in {@code buffer} to store the bytes read from this 75 * @return the number of bytes actually read or -1 if the end of the stream has been reached. 81 public int read(byte[] b, int offset, int length) throws IOException { method in class:BluetoothInputStream 88 return mSocket.read(b, offset, length);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | LimitedLengthInputStream.java | 9 * A class that limits the amount of data that is read from an InputStream. When 17 * The end of the stream where we don't want to allow more data to be read. 58 public synchronized int read() throws IOException { method in class:LimitedLengthInputStream 64 return super.read(); 68 public int read(byte[] buffer, int offset, int byteCount) throws IOException { method in class:LimitedLengthInputStream 84 final int numRead = super.read(buffer, offset, byteCount); 91 public int read(byte[] buffer) throws IOException { method in class:LimitedLengthInputStream 92 return read(buffer, 0, buffer.length);
|
H A D | MacAuthenticatedInputStream.java | 62 public int read() throws IOException { method in class:MacAuthenticatedInputStream 63 final int b = super.read(); 71 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:MacAuthenticatedInputStream 72 int numRead = super.read(buffer, offset, count);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | BitwiseInputStream.java | 20 * 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));
|
H A D | SizedInputStream.java | 26 * bytes have been read. 44 public int read() throws IOException { method in class:SizedInputStream 49 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:SizedInputStream 56 final int n = mWrapped.read(buffer, byteOffset, byteCount);
|