Home
last modified time | relevance | path

Searched refs:seek (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/libs/hwui/jni/
DUtils.cpp31 off64_t pos = fAsset->seek(0, SEEK_SET); in rewind()
55 return fAsset->seek(0, SEEK_CUR) != -1; in hasPosition()
59 const off64_t offset = fAsset->seek(0, SEEK_CUR); in getPosition()
68 bool AssetStreamAdaptor::seek(size_t position) { in seek() function in AssetStreamAdaptor
69 if (fAsset->seek(position, SEEK_SET) == -1) { in seek()
78 if (fAsset->seek(offset, SEEK_CUR) == -1) { in move()
96 off64_t oldOffset = fAsset->seek(0, SEEK_CUR); in read()
101 off64_t newOffset = fAsset->seek(size, SEEK_CUR); in read()
122 const off64_t seekReturnVal = asset->seek(0, SEEK_SET); in CopyAssetToStream()
DByteBufferStreamAdaptor.cpp113 bool seek(size_t position) override { in seek() function in ByteBufferStream
122 return this->seek(static_cast<size_t>(newPosition)); in move()
234 bool seek(size_t position) override { in seek() function in ByteArrayStream
242 return this->seek(0); in move()
244 return this->seek(static_cast<size_t>(newPosition)); in move()
DUtils.h37 virtual bool seek(size_t position);
/frameworks/base/services/core/java/com/android/server/integrity/parser/
DRandomAccessObject.java28 public abstract void seek(int position) throws IOException; in seek() method in RandomAccessObject
68 public void seek(int position) throws IOException { in seek() method in RandomAccessObject.RandomAccessFileObject
69 mRandomAccessFile.seek(position); in seek()
102 public void seek(int position) throws IOException { in seek() method in RandomAccessObject.RandomAccessByteArrayObject
DRandomAccessInputStream.java40 public void seek(int position) throws IOException { in seek() method in RandomAccessInputStream
41 mRandomAccessObject.seek(position); in seek()
94 mRandomAccessObject.seek(mPosition); in skip()
/frameworks/base/startop/scripts/app_startup/
Dquery_compiler_filter_test.py62 new_stdout.seek(0)
63 new_stderr.seek(0)
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DBackupFileDecryptorTaskTest.java195 raf.seek(0); in decryptFile_withInlineLengths_throwsForZeroLengths()
210 raf.seek(0); in decryptFile_withInlineLengths_throwsForLongLengths()
282 raf.seek(raf.length() - Long.BYTES); in decryptFile_throwsForBadChunksMetadataOffset()
289 raf.seek(metadataOffset); in decryptFile_throwsForBadChunksMetadataOffset()
311 raf.seek(raf.length() - Long.BYTES); in decryptFile_throwsForChunksMetadataOffsetBeyondEndOfFile()
332 raf.seek(raf.length() - Long.BYTES); in decryptFile_throwsForChunksMetadataOffsetBeforeBeginningOfFile()
353 raf.seek(50); in decryptFile_throwsForMangledChunks()
355 raf.seek(50); in decryptFile_throwsForMangledChunks()
/frameworks/multidex/library/src/androidx/multidex/
DZipUtil.java80 raf.seek(scanOffset); in findCentralDirectory()
110 raf.seek(dir.offset); in computeCrcOfCentralDir()
/frameworks/base/libs/androidfw/include/androidfw/
DAsset.h81 virtual off64_t seek(off64_t offset, int whence) = 0;
275 virtual off64_t seek(off64_t offset, int whence);
332 virtual off64_t seek(off64_t offset, int whence);
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DBackupFileDecryptorTask.java155 input.seek(start); in decryptFileWithExplicitStarts()
169 input.seek(0); in decryptFileWithInlineLengths()
337 input.seek(input.length() - BYTES_PER_LONG); in getChunksMetadataOffset()
362 input.seek(position); in getChunksMetadata()
/frameworks/base/core/java/android/util/apk/
DZipUtils.java124 zip.seek(bufOffsetInFile); in findZipEndOfCentralDirectoryRecord()
198 zip.seek(locatorPosition); in isZip64EndOfCentralDirectoryLocatorPresent()
/frameworks/base/native/graphics/jni/
Daassetstreamadaptor.h40 bool seek(size_t position) override;
Daassetstreamadaptor.cpp64 bool AAssetStreamAdaptor::seek(size_t position) { in seek() function in AAssetStreamAdaptor
/frameworks/base/native/android/
Dasset_manager.cpp156 return asset->mAsset->seek(offset, whence); in AAsset_seek()
161 return asset->mAsset->seek(offset, whence); in AAsset_seek64()
/frameworks/base/startop/scripts/iorap/lib/
Dinode2filename_test.py54 buf.seek(0)
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/
DDisplayImeController.java319 boolean seek = false; in startAnimation()
324 seek = true; in startAnimation()
337 seek = true; in startAnimation()
344 if (seek) { in startAnimation()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/
DBridgeBufferIterator.java37 public void seek(int offset) { in seek() method in BridgeBufferIterator
/frameworks/rs/tests/lldb/tests/harness/
Dutil_log.py125 hndlr.stream.seek(0, io.SEEK_END)
/frameworks/av/media/libheif/include/
DHeifDecoderAPI.h79 virtual bool seek(size_t /*position*/) = 0;
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.h92 status_t seek(int64_t seekTimeUs,
/frameworks/base/services/backup/java/com/android/server/backup/
DProcessedPackagesJournal.java97 out.seek(out.length()); in addPackage()
DDataChangedJournal.java65 out.seek(out.length()); in addPackage()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
DAbstractService.java62 raf.seek(raf.length()); in run()
80 raf.seek(raf.length()); in run()
/frameworks/base/media/java/android/media/
DExifInterface.java2796 in.seek(jpegOffset); in getJpegAttributes()
2945 makerNoteDataInputStream.seek(PEF_MAKER_NOTE_SKIP_SIZE); in getRawAttributes()
2985 in.seek(rafCfaHeaderOffset); in getRafAttributes()
3044 in.seek(position); in getHeifAttributes()
3139 in.seek(offset); in getHeifAttributes()
3208 makerNoteDataInputStream.seek(0); in getOrfAttributes()
3213 makerNoteDataInputStream.seek(ORF_MAKER_NOTE_HEADER_1_SIZE); in getOrfAttributes()
3215 makerNoteDataInputStream.seek(ORF_MAKER_NOTE_HEADER_2_SIZE); in getOrfAttributes()
3757 dataInputStream.seek(nextEntryOffset); in readImageFileDirectory()
3797 dataInputStream.seek(offset); in readImageFileDirectory()
[all …]
/frameworks/base/startop/scripts/trace_analyzer/lib/
Dtrace2db_test.py94 buf.seek(0)

123