Home
last modified time | relevance | path

Searched refs:readBytes (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/av/drm/libdrmframework/include/
DReadWriteUtils.h48 static String8 readBytes(const String8& filePath);
56 static int readBytes(const String8& filePath, char** buffer);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_byte_stream.c81 u32 *readBytes) in h264bsdExtractNalUnit() argument
118 *readBytes = len; in h264bsdExtractNalUnit()
185 *readBytes = pStrmData->strmBuffSize + initByteCount + zeroCount; in h264bsdExtractNalUnit()
Dh264bsd_decoder.c152 u32 *readBytes) in h264bsdDecode() argument
171 ASSERT(readBytes); in h264bsdDecode()
180 *readBytes = pStorage->prevBytesConsumed; in h264bsdDecode()
184 tmp = h264bsdExtractNalUnit(byteStrm, len, &strm, readBytes); in h264bsdDecode()
192 pStorage->prevBytesConsumed = *readBytes; in h264bsdDecode()
256 *readBytes = 0; in h264bsdDecode()
353 *readBytes = 0; in h264bsdDecode()
Dh264bsd_byte_stream.h51 u32 *readBytes);
Dh264bsd_decoder.h62 u32 *readBytes);
/frameworks/base/drm/java/android/drm/
DDrmUtils.java38 /* package */ static byte[] readBytes(String path) throws IOException { in readBytes() method in DrmUtils
40 return readBytes(file); in readBytes()
44 /* package */ static byte[] readBytes(File file) throws IOException { in readBytes() method in DrmUtils
DDrmInfo.java73 mData = DrmUtils.readBytes(path); in DrmInfo()
DDrmRights.java99 mData = DrmUtils.readBytes(rightsFile); in instantiate()
/frameworks/base/core/java/android/os/
DDropBoxManager.java199 int readBytes = 0; in getText() local
201 while (n >= 0 && (readBytes += n) < maxBytes) { in getText()
202 n = is.read(buf, readBytes, maxBytes - readBytes); in getText()
204 return new String(buf, 0, readBytes); in getText()
DMemoryFile.java198 public int readBytes(byte[] buffer, int srcOffset, int destOffset, int count) in readBytes() method in MemoryFile
313 int result = readBytes(buffer, mOffset, offset, count); in read()
/frameworks/base/core/tests/coretests/src/android/os/
DMemoryFileTest.java57 file.readBytes(testString, 0, 0, testString.length); in testPurge()
79 file.readBytes(buffer, 2000, 0, testString.length); in testRun()
117 file.readBytes(copy, 0, 0, file.length()); in testOutputStreamAdvances()
207 assertEquals(128, file.readBytes(data, 0, 0, 128)); in testCloseRead()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtypeArray.java219 final int readBytes = unzipper.read(result, totalReadBytes, restBytes); in decompress() local
220 if (readBytes < 0) { in decompress()
223 totalReadBytes += readBytes; in decompress()
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
DAAC_E_SAMPLES.c126 int readBytes = 0; in ReadFile2Buf() local
127 readBytes = fread(dest, 1, readSize, infile); in ReadFile2Buf()
128 return readBytes; in ReadFile2Buf()
/frameworks/av/drm/common/
DReadWriteUtils.cpp35 String8 ReadWriteUtils::readBytes(const String8& filePath) { in readBytes() function in ReadWriteUtils
57 int ReadWriteUtils::readBytes(const String8& filePath, char** buffer) { in readBytes() function in ReadWriteUtils
DDrmRights.cpp30 rightsLength = ReadWriteUtils::readBytes(rightsFilePath, &mRightsFromFile); in DrmRights()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpDocumentsProviderTest.java560 final byte[] readBytes = new byte[5]; in testOpenDocument()
562 assertEquals(5, Os.read(fd.getFileDescriptor(), readBytes, 0, 5)); in testOpenDocument()
563 assertTrue(Arrays.equals("world".getBytes(), readBytes)); in testOpenDocument()
566 assertEquals(5, Os.read(fd.getFileDescriptor(), readBytes, 0, 5)); in testOpenDocument()
567 assertTrue(Arrays.equals("Hello".getBytes(), readBytes)); in testOpenDocument()
598 final byte[] readBytes = new byte[1024 * 1024]; in testOpenDocument_shortBytes()
599 assertEquals(11, Os.read(fd.getFileDescriptor(), readBytes, 0, readBytes.length)); in testOpenDocument_shortBytes()
/frameworks/base/obex/javax/obex/
DPrivateOutputStream.java127 public synchronized byte[] readBytes(int size) { in readBytes() method in PrivateOutputStream
DServerOperation.java477 byte[] body = mPrivateOutput.readBytes(bodyLength); in sendReply()
DClientOperation.java529 byte[] body = mPrivateOutput.readBytes(bodyLength); in sendRequest()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java1252 int readBytes; field in WifiNative.RingBufferStatus
1264 " writtenBytes: " + writtenBytes + " readBytes: " + readBytes + in toString()
/frameworks/base/services/core/java/com/android/server/
DGraphicsStatsService.java443 active.mProcessBuffer.readBytes(mData, 0, 0, ASHMEM_SIZE); in HistoricalBuffer()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp3451 if (Bytes.readBytes(buf, 16, 0) != 16) in InitLazyStream()
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp3793 if (Bytes.readBytes(buf, 16, 0) != 16) in InitLazyStream()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21868 method public int readBytes(byte[], int, int, int) throws java.io.IOException;
46700 method public abstract byte[] readBytes() throws java.sql.SQLException;

12