Home
last modified time | relevance | path

Searched refs:pread (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/os/
DRedactingFileDescriptorTest.java93 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 90)); in testRanges()
96 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 95)); in testRanges()
99 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 100)); in testRanges()
102 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 195)); in testRanges()
105 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 395)); in testRanges()
129 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 95)); in testReadWrite()
134 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 95)); in testReadWrite()
185 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 0)); in testFreeAtStart()
197 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 0)); in testFreeAtOffset()
209 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 0)); in testFreeAcrossRedactionStart()
[all …]
/frameworks/av/media/libmediaplayerservice/datasource/
DPlayerServiceFileSource.cpp133 mDrmBufSize = mDrmManagerClient->pread(mDecryptHandle, mDrmBuf, in readAtDRM_l()
145 return mDrmManagerClient->pread(mDecryptHandle, data, size, offset + mOffset); in readAtDRM_l()
/frameworks/base/core/java/android/util/apk/
DReadFileDataSource.java65 final int readSize = Os.pread(mFd, buffer, 0, (int) curSize, pos); in feedIntoDataDigester()
/frameworks/av/drm/libdrmframework/
DDrmManagerClient.cpp161 ssize_t DrmManagerClient::pread( in pread() function in DrmManagerClient
163 return mDrmManagerClientImpl->pread(mUniqueId, decryptHandle, buffer, numBytes, offset); in pread()
DNoOpDrmManagerClientImpl.cpp213 ssize_t NoOpDrmManagerClientImpl::pread( in pread() function in android::NoOpDrmManagerClientImpl
DDrmManagerClientImpl.cpp313 ssize_t DrmManagerClientImpl::pread(int uniqueId, sp<DecryptHandle> &decryptHandle, in pread() function in DrmManagerClientImpl
317 retCode = getDrmManagerService()->pread( in pread()
/frameworks/base/libs/hwui/jni/pdf/
DPdfUtils.cpp32 const int readCount = pread(fd, outBuffer, size, position); in getBlock()
/frameworks/compile/mclinker/include/mcld/Support/
DFileSystem.h96 ssize_t pread(int pFD, void* pBuf, size_t pCount, off_t pOffset);
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc129 ssize_t pread(int pFD, void* pBuf, size_t pCount, off_t pOffset) {
130 return ::pread(pFD, pBuf, pCount, pOffset);
/frameworks/av/drm/common/include/
DIDrmManagerService.h163 virtual ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
250 virtual ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
DIDrmEngine.h427 virtual ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
DDrmEngineBase.h105 ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
/frameworks/av/drm/libdrmframework/include/
DNoOpDrmManagerClientImpl.h67 ssize_t pread(int uniqueId, sp<DecryptHandle> &decryptHandle,
DDrmManagerClientImpl.h400 virtual ssize_t pread(int uniqueId, sp<DecryptHandle> &decryptHandle,
/frameworks/av/include/drm/
DDrmManagerClient.h184 ssize_t pread(sp<DecryptHandle> &decryptHandle,
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp339 ssize_t DrmManagerService::pread(int uniqueId, sp<DecryptHandle>& decryptHandle, in pread() function in DrmManagerService
345 return mDrmManager->pread(uniqueId, decryptHandle, buffer, numBytes, offset); in pread()
DDrmManagerService.h139 ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
DDrmManager.h170 ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
/frameworks/base/core/java/android/os/
DRevocableFileDescriptor.java148 n += Os.pread(mInner, data, n, size - n, offset + n);
DRedactingFileDescriptor.java160 final int res = Os.pread(mInner, data, n, size - n, offset + n);
/frameworks/compile/mclinker/lib/Support/
DFileHandle.cpp169 sys::fs::detail::pread(m_Handler, pMemBuffer, pLength, pStartOffset); in read()
/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp242 ssize_t actual = pread(fd, kHz, sizeof(kHz), (off_t) 0); in getCpukHz()
/frameworks/base/tests/FsVerityTest/block_device_writer/
Dblock_device_writer.cpp149 TEMP_FAILURE_RETRY(pread(fd, block_buffer, block_size, block_offset)); in read_block_from_device()
/frameworks/av/drm/common/
DDrmEngineBase.cpp167 ssize_t DrmEngineBase::pread( in pread() function in DrmEngineBase
/frameworks/compile/mclinker/lib/Support/Windows/
DFileSystem.inc89 ssize_t pread(int pFD, void* pBuf, size_t pCount, off_t pOffset) {

12