Home
last modified time | relevance | path

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

12

/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_api.c931 int32_t boundaryLen, leftLen, readBytes; in SVC_drm_openSession() local
947readBytes = data.readInputData(data.inputHandle, s->readBuf + s->readBufOff, s->readBufLen); in SVC_drm_openSession()
948 if (-1 == readBytes || readBytes < s->readBufLen) { in SVC_drm_openSession()
988 int32_t boundaryLen, leftLen, readBytes; in SVC_drm_openSession() local
1005readBytes = data.readInputData(data.inputHandle, s->readBuf + s->readBufOff, s->readBufLen); in SVC_drm_openSession()
1006 if (-1 == readBytes || readBytes < s->readBufLen) { in SVC_drm_openSession()
1313 int32_t readBytes; in drm_readContentFromBuf() local
1322 readBytes = s->contentLength - offset; in drm_readContentFromBuf()
1324 readBytes = mediaBufLen; in drm_readContentFromBuf()
1327 memcpy(mediaBuf, s->rawContent + offset, readBytes); in drm_readContentFromBuf()
[all …]
/frameworks/compile/linkloader/utils/
Dserialize.h94 void readBytes(void *array, size_t size) { in readBytes() function
104 readBytes(array, size);
110 readBytes(array, size);
117 readBytes(&v, TypeTraits<T>::size);
/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/core/java/android/os/
DDropBoxManager.java196 int readBytes = 0; in getText() local
198 while (n >= 0 && (readBytes += n) < maxBytes) { in getText()
199 n = is.read(buf, readBytes, maxBytes - readBytes); in getText()
201 return new String(buf, 0, readBytes); in getText()
DMemoryFile.java193 public int readBytes(byte[] buffer, int srcOffset, int destOffset, int count) in readBytes() method in MemoryFile
308 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/drm/java/android/drm/
DDrmUtils.java39 /* package */ static byte[] readBytes(String path) throws IOException { in readBytes() method in DrmUtils
41 return readBytes(file); in readBytes()
45 /* package */ static byte[] readBytes(File file) throws IOException { in readBytes() method in DrmUtils
DDrmInfo.java72 mData = DrmUtils.readBytes(path); in DrmInfo()
DDrmRights.java98 mData = DrmUtils.readBytes(rightsFile); in instantiate()
/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/services/java/com/android/server/pm/
DInstaller.java87 private boolean readBytes(byte buffer[], int len) { in readBytes() method in Installer
116 if (!readBytes(buf, 2)) in readReply()
124 if (!readBytes(buf, len)) in readReply()
/frameworks/compile/linkloader/include/impl/
DELFSectionStrTab.hxx41 AR.readBytes(&*st->buf.begin(), sh->getSize()); in read()
/frameworks/compile/linkloader/include/
DELFSectionProgBits.h72 AR.readBytes(chunk.getBuffer(), sh->getSize()); in serialize()
/frameworks/base/obex/javax/obex/
DPrivateOutputStream.java127 public synchronized byte[] readBytes(int size) { in readBytes() method in PrivateOutputStream
DClientOperation.java474 byte[] body = mPrivateOutput.readBytes(bodyLength); in sendRequest()
DServerOperation.java359 byte[] body = mPrivateOutput.readBytes(bodyLength); in sendReply()
/frameworks/base/api/
D14.txt14785 method public int readBytes(byte[], int, int, int) throws java.io.IOException;
34951 method public abstract byte[] readBytes() throws java.sql.SQLException;
D15.txt14830 method public int readBytes(byte[], int, int, int) throws java.io.IOException;
35106 method public abstract byte[] readBytes() throws java.sql.SQLException;
Dcurrent.txt15746 method public int readBytes(byte[], int, int, int) throws java.io.IOException;
36389 method public abstract byte[] readBytes() throws java.sql.SQLException;

12