Home
last modified time | relevance | path

Searched refs:dupedFd (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp568 int dupedFd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in com_android_internal_content_NativeLibraryHelper_openApkFd() local
569 if (dupedFd == -1) { in com_android_internal_content_NativeLibraryHelper_openApkFd()
575 ZipFileRO* zipFile = ZipFileRO::openFd(dupedFd, debugFilePath.c_str()); in com_android_internal_content_NativeLibraryHelper_openApkFd()
/frameworks/base/media/java/android/media/
DMediaPlayer.java2958 final FileDescriptor dupedFd; in addTimedTextSource() local
2960 dupedFd = Os.dup(fd); in addTimedTextSource()
2998 Os.lseek(dupedFd, offset2, OsConstants.SEEK_SET); in addTimedTextSource()
3002 int bytes = IoBridge.read(dupedFd, buffer, 0, bytesToRead); in addTimedTextSource()
3027 Os.close(dupedFd); in addTimedTextSource()