Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/ravenwood/runtime-common-src/com/android/ravenwood/common/
DRavenwoodRuntimeNative.java34 public static native long nLseek(int fd, long offset, int whence); in nLseek() argument
42 public static long lseek(FileDescriptor fd, long offset, int whence) { in lseek() argument
43 return nLseek(JvmWorkaround.getInstance().getFdInt(fd), offset, whence); in lseek()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/
DOs.java29 public static long lseek(FileDescriptor fd, long offset, int whence) throws ErrnoException { in lseek() argument
30 return RavenwoodRuntimeNative.lseek(fd, offset, whence); in lseek()
/frameworks/base/native/android/
Dasset_manager.cpp154 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) in AAsset_seek() argument
156 return asset->mAsset->seek(offset, whence); in AAsset_seek()
159 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) in AAsset_seek64() argument
161 return asset->mAsset->seek(offset, whence); in AAsset_seek64()
/frameworks/base/libs/androidfw/include/androidfw/
DAsset.h83 virtual off64_t seek(off64_t offset, int whence) = 0;
162 off64_t handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn);
275 off64_t seek(off64_t offset, int whence) override;
333 virtual off64_t seek(off64_t offset, int whence);
/frameworks/native/services/surfaceflinger/
DMutexUtils.h38 TimedLock(Mutex& mutex, nsecs_t timeout, const char* whence) ACQUIRE(mutex) in TimedLock()
40 ALOGE_IF(!locked(), "%s timed out locking: %s (%d)", whence, strerror(-status), status); in TimedLock()
DSurfaceFlinger.cpp1374 const char* const whence = __func__; in setActiveModeFromBackdoor() local
1383 ALOGE("%s: Invalid physical display token %p", whence, displayToken.get()); in setActiveModeFromBackdoor()
1394 ALOGE("%s: Invalid mode %d for display %s", whence, ftl::to_underlying(modeId), in setActiveModeFromBackdoor()
1561 const char* const whence = __func__; in disableExpensiveRendering() local
1563 ATRACE_NAME(whence); in disableExpensiveRendering()
1603 const char* const whence = __func__; in setActiveColorMode() local
1611 ALOGE("%s: Invalid physical display token %p", whence, displayToken.get()); in setActiveColorMode()
1622 ALOGE("%s: Invalid color mode %s (%d) for display %s", whence, in setActiveColorMode()
1684 const char* const whence = __func__; in setBootDisplayMode() local
1692 ALOGE("%s: Invalid physical display token %p", whence, displayToken.get()); in setBootDisplayMode()
[all …]
/frameworks/native/include/android/
Dasset_manager.h143 off_t AAsset_seek(AAsset* asset, off_t offset, int whence)
155 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence);
/frameworks/base/ravenwood/runtime-jni/
Dravenwood_runtime.cpp59 static jlong nLseek(JNIEnv* env, jclass, jint fd, jlong offset, jint whence) { in nLseek() argument
60 return throwIfMinusOne(env, "lseek", TEMP_FAILURE_RETRY(lseek(fd, offset, whence))); in nLseek()
/frameworks/base/libs/androidfw/
DAsset.cpp343 off64_t Asset::handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) in handleSeek() argument
347 switch (whence) { in handleSeek()
358 ALOGW("unexpected whence %d\n", whence); in handleSeek()
543 off64_t _FileAsset::seek(off64_t offset, int whence) in seek() argument
549 newPosn = handleSeek(offset, whence, mOffset, mLength); in seek()
864 off64_t _CompressedAsset::seek(off64_t offset, int whence) in seek() argument
869 newPosn = handleSeek(offset, whence, mOffset, mUncompressedLen); in seek()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.h60 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence);
DFwdLockFile.c316 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence) { in FwdLockFile_lseek() argument
323 switch (whence) { in FwdLockFile_lseek()
325 newFilePos = lseek64(pSession->fileDesc, pSession->dataOffset + offset, whence); in FwdLockFile_lseek()
329 newFilePos = lseek64(pSession->fileDesc, offset, whence); in FwdLockFile_lseek()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h467 int whence);
472 int whence);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.h102 typedef off64_t FwdLockConv_LSeekFunc_t(int fileDesc, off64_t offset, int whence);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp660 off64_t offset, int whence) { argument
663 off_t offset, int whence) {
670 offval = FwdLockFile_lseek(session->fileDesc, offset, whence);
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h67 void seekOrPostError(int fd, off64_t offset, int whence);
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp554 static const auto& whence = __func__; in onHardwareVsyncRequest() local
555 ATRACE_NAME(ftl::Concat(whence, ' ', id.value, ' ', enabled).c_str()); in onHardwareVsyncRequest()
560 ATRACE_NAME(ftl::Concat(whence, ' ', id.value, ' ', enabled).c_str()); in onHardwareVsyncRequest()
DRefreshRateSelector.cpp1155 const char* const whence = __func__; in rankFrameRates() local
1213 ALOGV("%s(%s) %s (%s(%s)) scored %.2f", whence, ftl::enum_string(refreshRateOrder).c_str(), in rankFrameRates()
/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dfile_test.cc687 fpos_t funopen_seek(void* cookie, fpos_t pos, int whence) { in funopen_seek() argument
689 switch (whence) { in funopen_seek()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp1507 jint whence) { in NativeAssetSeek() argument
1510 static_cast<off64_t>(offset), (whence > 0 ? SEEK_END : (whence < 0 ? SEEK_SET : SEEK_CUR)))); in NativeAssetSeek()
/frameworks/base/core/java/android/content/res/
DAssetManager.java1777 private static native long nativeAssetSeek(long assetPtr, long offset, int whence); in nativeAssetSeek() argument
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp1817 void MPEG4Writer::seekOrPostError(int fd, off64_t offset, int whence) { in seekOrPostError() argument
1820 off64_t resOffset = lseek64(fd, offset, whence); in seekOrPostError()