/frameworks/rs/ |
H A D | rsThreadIO.cpp | 76 //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 D | rsFifoSocket.h | 39 size_t read(void *data, size_t bytes);
|
/frameworks/base/core/java/android/util/ |
H A D | Base64InputStream.java | 24 * 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 D | Utils.cpp | 61 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 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/av/cmds/stagefright/ |
H A D | SineSource.h | 19 virtual status_t read(
|
/frameworks/av/include/media/nbaio/ |
H A D | AudioBufferProviderSource.h | 45 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
|
H A D | PipeReader.h | 48 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | FileInput.h | 52 * 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 D | Input.cpp | 35 ssize_t ret = read(skipBuf, 0, amt); 43 // Return num bytes read
|
/frameworks/av/media/mtp/ |
H A D | MtpResponsePacket.cpp | 47 int MtpResponsePacket::read(struct usb_request *request) { function in class:android::MtpResponsePacket
|
/frameworks/base/cmds/interrupter/ |
H A D | interrupter.c | 50 DEFINE_INTERCEPT(read, ssize_t, int, void*, size_t);
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsXml.java | 53 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 D | bugreport.c | 48 int length = read(s, buffer, sizeof(buffer));
|
/frameworks/rs/cpu_ref/linkloader/include/ |
H A D | ELFSectionRelTable.h | 43 static ELFSectionRelTable *read(Archiver &AR, ELFSectionHeaderTy const *sh);
|
/frameworks/base/obex/javax/obex/ |
H A D | ClientSession.java | 435 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 D | AudioStreamInSource.cpp | 67 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 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));
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | EhFrameReader.h | 33 /// 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 D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 52 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 D | PersistentDataBlockService.java | 61 * {@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 D | AssetFileDescriptor.java | 32 * 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 D | BitwiseStreamsTest.java | 44 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 D | DocumentStack.java | 100 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 D | TestWebServer.java | 431 * 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...] |