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

1234567891011>>

/frameworks/rs/
H A DrsThreadIO.cpp76 //ALOGV("core read %p %i", data, (int)len);
77 mToCore.read(data, len);
138 r = mToCore.read(&buf[0], sizeof(CoreCmdHeader));
139 mToCore.read(&buf[sizeof(CoreCmdHeader)], cmd->bytes);
145 r = mToCore.read((void *)&cmd->cmdID, sizeof(cmd->cmdID));
188 mToClient.read(&mLastClientHeader, sizeof(mLastClientHeader));
205 mToClient.read(data, receiveLen[0]);
H A DrsFifoSocket.h39 size_t read(void *data, size_t bytes);
/frameworks/base/core/java/android/util/
H A DBase64InputStream.java24 * An InputStream that does Base64 decoding on the data read through
39 * An InputStream that performs Base64 decoding on the data read
42 * @param in the InputStream to read the source data from
51 * Performs Base64 encoding or decoding on the data read from the
54 * @param in the InputStream to read the source data from
108 public int read() throws IOException { method in class:Base64InputStream
119 public int read(byte[] b, int off, int len) throws IOException { method in class:Base64InputStream
139 int bytesRead = in.read(inputBuffer);
/frameworks/base/core/jni/android/graphics/
H A DUtils.cpp61 size_t AssetStreamAdaptor::read(void* buffer, size_t size) { function in class:AssetStreamAdaptor
83 amount = fAsset->read(buffer, size);
85 SkDebugf("---- fAsset->read(%d) returned %d\n", size, amount);
114 off64_t len = asset->read(data, size);
116 SkDebugf("---- copyAsset: asset->read(%d) returned %d\n", size, len);
/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/av/cmds/stagefright/
H A DSineSource.h19 virtual status_t read(
/frameworks/av/include/media/nbaio/
H A DAudioBufferProviderSource.h45 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
H A DPipeReader.h48 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
/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/mtp/
H A DMtpResponsePacket.cpp47 int MtpResponsePacket::read(struct usb_request *request) { function in class:android::MtpResponsePacket
/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.java53 public static void read(AtomicFile file, IntervalStats statsOut) throws IOException { method in class:UsageStatsXml
58 read(in, statsOut);
85 private static void read(InputStream in, IntervalStats statsOut) throws IOException { method in class:UsageStatsXml
94 UsageStatsXmlV1.read(parser, statsOut);
/frameworks/native/cmds/bugreport/
H A Dbugreport.c48 int length = read(s, buffer, sizeof(buffer));
/frameworks/rs/cpu_ref/linkloader/include/
H A DELFSectionRelTable.h43 static ELFSectionRelTable *read(Archiver &AR, ELFSectionHeaderTy const *sh);
/frameworks/base/obex/javax/obex/
H A DClientSession.java435 header.responseCode = mInput.read();
437 int length = ((mInput.read() << 8) | (mInput.read()));
446 int version = mInput.read();
448 int flags = mInput.read();
449 maxPacketSize = (mInput.read() << 8) + mInput.read();
459 bytesReceived = mInput.read(data);
461 bytesReceived += mInput.read(data, bytesReceived, data.length
469 bytesReceived = mInput.read(dat
[all...]
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp67 ssize_t AudioStreamInSource::read(void *buffer, size_t count, int64_t readPTS __unused) function in class:android::AudioStreamInSource
72 ssize_t bytesRead = mStream->read(mStream, buffer, count * mFrameSize);
/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/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);
97 EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame);
/frameworks/base/packages/PrintSpooler/jni/
H A Dcom_android_printspooler_util_BitmapSerializeUtils.cpp52 ssize_t readByteCount = read(fd, readBuffer, remainingBytes);
85 bool read = readAllBytes(fd, (void*) &readInfo, sizeof(AndroidBitmapInfo)); local
86 if (!read) {
87 throwIllegalStateException(env, (char*) "Cannot read bitmap info");
117 read = readAllBytes(fd, (void*) pixels, byteCount);
118 if (!read) {
119 throwIllegalStateException(env, (char*) "Cannot read bitmap pixels");
/frameworks/base/services/core/java/com/android/server/
H A DPersistentDataBlockService.java61 * {@link android.service.persistentdata.IPersistentDataBlockService}.read(byte[] data)
223 inputStream.read(storedDigest);
228 int read;
231 while ((read = inputStream.read(data)) != -1) {
232 md.update(data, 0, read);
235 Slog.e(TAG, "failed to read partition", e);
369 public byte[] read() {
392 int read = inputStream.read(dat
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java32 * opened FileDescriptor that can be used to read the data, as well as the
98 * Returns the FileDescriptor that can be used to read the data in the
143 * should be read to the end of the file.
218 public int read() throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
220 int result = read(buffer, 0, 1);
225 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
229 int res = super.read(buffer, offset, count);
234 return super.read(buffer, offset, count);
238 public int read(byte[] buffer) throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
239 return read(buffe
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DBitwiseStreamsTest.java44 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
58 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
72 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
89 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
110 assertEquals(valueArr[i], inStream.read(sizeArr[i]));
130 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
154 assertEquals(valueArr[i], inStream.read(sizeArr[i]));
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDocumentStack.java100 public void read(DataInputStream in) throws IOException { method in class:DocumentStack
108 root.read(in);
113 doc.read(in);
/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...]

Completed in 1166 milliseconds

1234567891011>>