Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/os/
DRedactingFileDescriptorTest.java86 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 90)); in testRanges()
89 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 95)); in testRanges()
92 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 100)); in testRanges()
95 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 195)); in testRanges()
98 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 395)); in testRanges()
122 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 95)); in testReadWrite()
127 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 95)); in testReadWrite()
178 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 0)); in testFreeAtStart()
190 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 0)); in testFreeAtOffset()
202 assertEquals(buf.length, Os.pread(fd, buf, 0, 10, 0)); in testFreeAcrossRedactionStart()
[all …]
/frameworks/av/media/libstagefright/
DFileSource.cpp127 mDrmBufSize = mDrmManagerClient->pread(mDecryptHandle, mDrmBuf, in readAtDRM_l()
139 return mDrmManagerClient->pread(mDecryptHandle, data, size, offset + mOffset); in readAtDRM_l()
/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.cpp327 ssize_t DrmManagerClientImpl::pread(int uniqueId, sp<DecryptHandle> &decryptHandle, in pread() function in DrmManagerClientImpl
331 retCode = getDrmManagerService()->pread( in pread()
/frameworks/base/core/jni/android/graphics/pdf/
DPdfUtils.cpp34 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/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/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/base/core/java/android/os/
DRevocableFileDescriptor.java123 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/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.cpp338 ssize_t DrmManagerService::pread(int uniqueId, sp<DecryptHandle>& decryptHandle, in pread() function in DrmManagerService
344 return mDrmManager->pread(uniqueId, decryptHandle, buffer, numBytes, offset); in pread()
DDrmManagerService.h139 ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
DDrmManager.h132 ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
/frameworks/av/media/mtp/
DPosixAsyncIO.cpp50 ret = TEMP_FAILURE_RETRY(pread(aiocbp->aio_fildes, in work_func()
DMtpFfsCompatHandle.cpp280 if (TEMP_FAILURE_RETRY(pread(mfr.fd, reinterpret_cast<char*>(data) + in sendFile()
/frameworks/compile/mclinker/lib/Support/
DFileHandle.cpp169 sys::fs::detail::pread(m_Handler, pMemBuffer, pLength, pStartOffset); in read()
/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp241 ssize_t actual = pread(fd, kHz, sizeof(kHz), (off_t) 0); in getCpukHz()
/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