Home
last modified time | relevance | path

Searched refs:lseek (Results 1 – 13 of 13) sorted by relevance

/packages/modules/adb/
Dadb_io_test.cpp51 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
65 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
79 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
98 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
112 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
138 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
151 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
Dsysdeps.h150 return lseek(fd.get(), pos, where); in unix_lseek()
152 #undef lseek
153 #define lseek ___xxx_lseek macro
559 return lseek(fd.get(), pos, where); in adb_lseek()
564 #undef lseek
565 #define lseek ___xxx_lseek macro
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DIsoInterface.java137 final long pos = Os.lseek(fd, 0, OsConstants.SEEK_CUR); in parseNextBox()
212 Os.lseek(fd, pos + box.headerSize, OsConstants.SEEK_SET); in parseNextBox()
231 Os.lseek(fd, pos + len, OsConstants.SEEK_SET); in parseNextBox()
237 Os.lseek(fd, 4, OsConstants.SEEK_SET); in IsoInterface()
252 final long end = Os.lseek(fd, 0, OsConstants.SEEK_END); in IsoInterface()
253 Os.lseek(fd, 0, OsConstants.SEEK_SET); in IsoInterface()
/packages/services/Mtp/src/com/android/mtp/
DMtpFileWriter.java60 Os.lseek(mCacheFd.getFileDescriptor(), offset, OsConstants.SEEK_SET); in write()
80 final long size = Os.lseek(mCacheFd.getFileDescriptor(), 0, OsConstants.SEEK_END); in flush()
85 Os.lseek(mCacheFd.getFileDescriptor(), 0, OsConstants.SEEK_SET); in flush()
/packages/modules/NeuralNetworks/runtime/test/
DTestMemory.cpp50 lseek(fd, offsetForMatrix2, SEEK_SET); in TEST_F()
52 lseek(fd, offsetForMatrix3, SEEK_SET); in TEST_F()
/packages/services/Car/cpp/computepipe/runner/input_manager/
DVideoDecoder.cpp109 int size = lseek(mFd, 0, SEEK_END); in initializeMediaExtractor()
111 lseek(mFd, 0, SEEK_SET); in initializeMediaExtractor()
/packages/services/Car/cpp/watchdog/server/tests/
DIoPerfCollectionTest.cpp236 lseek(dump.fd, 0, SEEK_SET); in TEST()
307 lseek(dump.fd, 0, SEEK_SET); in TEST()
412 lseek(customDump.fd, 0, SEEK_SET); in TEST()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DReadableArchiveTest.java399 Os.lseek(descriptor.getFileDescriptor(), "I love ".length(), OsConstants.SEEK_SET); in commonTestOpenDocument()
401 Os.lseek(descriptor.getFileDescriptor(), 0, OsConstants.SEEK_SET); in commonTestOpenDocument()
/packages/modules/Virtualization/microdroid/signature/
DREADME.md43 lseek(fd, -sizeof(size), SEEK_END);
Dmk_payload.cc254 if (lseek(fd.get(), -sizeof(size), SEEK_END) == -1) { in GenerateFiller()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchive.java119 return Os.lseek(descriptor.getFileDescriptor(), 0, in canSeek()
/packages/services/Mtp/tests/src/com/android/mtp/
DMtpDocumentsProviderTest.java563 assertEquals(6, Os.lseek(fd.getFileDescriptor(), 6, OsConstants.SEEK_SET)); in testOpenDocument()
567 assertEquals(0, Os.lseek(fd.getFileDescriptor(), 0, OsConstants.SEEK_SET)); in testOpenDocument()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java560 Os.lseek(outFd, mInfoDelta.mCurrentBytes, OsConstants.SEEK_SET); in transferData()