Home
last modified time | relevance | path

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

123

/frameworks/base/libs/hwui/jni/
DUtils.cpp33 off64_t pos = fAsset->seek(0, SEEK_SET); in rewind()
57 return fAsset->seek(0, SEEK_CUR) != -1; in hasPosition()
61 const off64_t offset = fAsset->seek(0, SEEK_CUR); in getPosition()
70 bool AssetStreamAdaptor::seek(size_t position) { in seek() function in AssetStreamAdaptor
71 if (fAsset->seek(position, SEEK_SET) == -1) { in seek()
80 if (fAsset->seek(offset, SEEK_CUR) == -1) { in move()
98 off64_t oldOffset = fAsset->seek(0, SEEK_CUR); in read()
103 off64_t newOffset = fAsset->seek(size, SEEK_CUR); in read()
124 const off64_t seekReturnVal = asset->seek(0, SEEK_SET); in CopyAssetToData()
DByteBufferStreamAdaptor.cpp114 bool seek(size_t position) override { in seek() function in ByteBufferStream
123 return this->seek(static_cast<size_t>(newPosition)); in move()
235 bool seek(size_t position) override { in seek() function in ByteArrayStream
243 return this->seek(0); in move()
245 return this->seek(static_cast<size_t>(newPosition)); in move()
DUtils.h40 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.java123 private void updateWidgets(WindowInsets insets, int types, ToggleButton toggle, SeekBar seek) { in updateWidgets() argument
128 if (!seek.isPressed()) { in updateWidgets()
129 seek.setProgress(isVisible ? seek.getMax() : seek.getMin(), true /* animate*/); in updateWidgets()
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
DTunerAdapterTest.java284 }).when(mTunerMock).seek(anyBoolean(), anyBoolean()); in scan_forTunerAdapter_succeeds()
288 verify(mTunerMock).seek(/* directionDown= */ true, /* skipSubChannel= */ false); in scan_forTunerAdapter_succeeds()
296 doThrow(new IllegalStateException()).when(mTunerMock).seek(anyBoolean(), anyBoolean()); in scan_whenIllegalState_fails()
305 doThrow(new RemoteException()).when(mTunerMock).seek(anyBoolean(), anyBoolean()); in scan_whenServiceDied_fails()
317 }).when(mTunerMock).seek(anyBoolean(), anyBoolean()); in seek_forTunerAdapter_succeeds()
319 int scanStatus = mRadioTuner.seek(RadioTuner.DIRECTION_DOWN, /* skipSubChannel= */ false); in seek_forTunerAdapter_succeeds()
321 verify(mTunerMock).seek(/* directionDown= */ true, /* skipSubChannel= */ false); in seek_forTunerAdapter_succeeds()
332 }).when(mTunerMock).seek(anyBoolean(), anyBoolean()); in seek_forTunerAdapter_invokesOnErrorWhenTimeout()
334 mRadioTuner.seek(RadioTuner.DIRECTION_UP, /* skipSubChannel= */ true); in seek_forTunerAdapter_invokesOnErrorWhenTimeout()
342 doThrow(new IllegalStateException()).when(mTunerMock).seek(anyBoolean(), anyBoolean()); in seek_whenIllegalState_fails()
[all …]
DDefaultRadioTunerTest.java124 DEFAULT_RADIO_TUNER.seek(RadioTuner.DIRECTION_DOWN, in seek_forRadioTuner_throwsException()
/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/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/base/core/java/android/hardware/radio/
DITuner.aidl52 void seek(boolean directionDown, boolean skipSubChannel); in seek() method
DTunerAdapter.java158 mTuner.seek(/* directionDown= */ direction == RadioTuner.DIRECTION_DOWN, in scan()
171 public int seek(int direction, boolean skipSubChannel) { in seek() method in TunerAdapter
173 mTuner.seek(/* directionDown= */ direction == RadioTuner.DIRECTION_DOWN, in seek()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/
DBridgeBufferIterator.java37 public void seek(int offset) { in seek() method in BridgeBufferIterator
/frameworks/av/media/libheif/include/
DHeifDecoderAPI.h81 virtual bool seek(size_t /*position*/) = 0;
/frameworks/av/media/module/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/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/
DParcelFileDescriptor_host.java80 raf.seek(raf.length()); in native_open$ravenwood()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayImeController.java489 boolean seek = false; in startAnimation()
494 seek = true; in startAnimation()
507 seek = true; in startAnimation()
514 if (seek) { in startAnimation()

123