Home
last modified time | relevance | path

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

123

/frameworks/base/libs/hwui/jni/
DUtils.cpp32 off64_t pos = fAsset->seek(0, SEEK_SET); in rewind()
56 return fAsset->seek(0, SEEK_CUR) != -1; in hasPosition()
60 const off64_t offset = fAsset->seek(0, SEEK_CUR); in getPosition()
69 bool AssetStreamAdaptor::seek(size_t position) { in seek() function in AssetStreamAdaptor
70 if (fAsset->seek(position, SEEK_SET) == -1) { in seek()
79 if (fAsset->seek(offset, SEEK_CUR) == -1) { in move()
97 off64_t oldOffset = fAsset->seek(0, SEEK_CUR); in read()
102 off64_t newOffset = fAsset->seek(size, SEEK_CUR); in read()
123 const off64_t seekReturnVal = asset->seek(0, SEEK_SET); in CopyAssetToData()
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/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DControllerActivity.java149 private void updateWidgets(WindowInsets insets, int types, ToggleButton toggle, SeekBar seek) { in updateWidgets() argument
154 if (!seek.isPressed()) { in updateWidgets()
155 seek.setProgress(isVisible ? seek.getMax() : seek.getMin(), true /* animate*/); in updateWidgets()
/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.h83 virtual off64_t seek(off64_t offset, int whence) = 0;
275 off64_t seek(off64_t offset, int whence) override;
333 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/tools/aapt2/tools/
Dfinalize_res.py111 finalFile.seek(0)
118 stagingFile.seek(0)
/frameworks/base/core/java/android/util/apk/
DZipUtils.java126 zip.seek(bufOffsetInFile); in findZipEndOfCentralDirectoryRecord()
200 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/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/
DBridgeBufferIterator.java37 public void seek(int offset) { in seek() method in BridgeBufferIterator
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayImeController.java399 boolean seek = false; in startAnimation()
404 seek = true; in startAnimation()
417 seek = true; in startAnimation()
424 if (seek) { in startAnimation()
/frameworks/av/media/libheif/include/
DHeifDecoderAPI.h81 virtual bool seek(size_t /*position*/) = 0;
/frameworks/av/media/extractors/mpeg2/include/
DMPEG2TSExtractor.h91 status_t seek(int64_t seekTimeUs,
/frameworks/base/services/backup/java/com/android/server/backup/
DProcessedPackagesJournal.java97 out.seek(out.length()); in addPackage()
DDataChangedJournal.java70 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/wilhelm/src/android/
Dandroid_GenericPlayer.h74 void seek(int64_t timeMsec);
/frameworks/base/media/java/android/media/
DExifInterface.java2847 in.seek(jpegOffset); in getJpegAttributes()
2998 makerNoteDataInputStream.seek(PEF_MAKER_NOTE_SKIP_SIZE); in getRawAttributes()
3038 in.seek(rafCfaHeaderOffset); in getRafAttributes()
3097 in.seek(position); in getHeifAttributes()
3192 in.seek(offset); in getHeifAttributes()
3220 in.seek(offset); in getHeifAttributes()
3279 makerNoteDataInputStream.seek(0); in getOrfAttributes()
3284 makerNoteDataInputStream.seek(ORF_MAKER_NOTE_HEADER_1_SIZE); in getOrfAttributes()
3286 makerNoteDataInputStream.seek(ORF_MAKER_NOTE_HEADER_2_SIZE); in getOrfAttributes()
4091 dataInputStream.seek(nextEntryOffset); in readImageFileDirectory()
[all …]
/frameworks/base/telephony/common/com/google/android/mms/util/
DDrmConvertSession.java148 rndAccessFile.seek(convertedStatus.offset); in close()

123