Home
last modified time | relevance | path

Searched refs:rawFd (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/libs/androidfw/
H A DAssetManager.cpp162 ALOGV("Cleaning path #%d: fd=%d, zip=%p", (int)i, mAssetPaths[i].rawFd, in ~AssetManager()
164 if (mAssetPaths[i].rawFd >= 0 && mAssetPaths[i].zip == NULL) { in ~AssetManager()
165 close(mAssetPaths[i].rawFd); in ~AssetManager()
309 ap.rawFd = fd; in addAssetFd()
553 if (ap.type != kFileTypeDirectory && ap.rawFd < 0) { in appendPathToResTable()
787 ALOGV("openNonAssetInPath: name=%s type=%d fd=%d", fileName, ap.type, ap.rawFd); in openNonAssetInPathLocked()
872 if (ap.rawFd < 0) { in getZipFileLocked()
876 ALOGV("getZipFileLocked: Creating new zip from fd %d", ap.rawFd); in getZipFileLocked()
877 ap.zip = SharedZip::create(ap.rawFd, ap.path); in getZipFileLocked()
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DAssetManager.h220 asset_path() : path(""), rawFd(-1), type(kFileTypeRegular), idmap(""), in asset_path()
223 int rawFd; member
/aosp14/frameworks/base/libs/hwui/renderthread/
H A DVulkanSurface.cpp402 int rawFd = -1; in dequeueNativeBuffer() local
403 err = mNativeWindow->dequeueBuffer(mNativeWindow.get(), &buffer, &rawFd); in dequeueNativeBuffer()
404 fence_fd.reset(rawFd); in dequeueNativeBuffer()
/aosp14/frameworks/base/libs/hwui/jni/
H A DBitmap.cpp638 int rawFd = -1; in readBlob() local
641 ON_ERROR_RETURN(AParcel_readParcelFileDescriptor(parcel, &rawFd)); in readBlob()
642 android::base::unique_fd fd(rawFd); in readBlob()
692 int rawFd = fd.release(); in writeBlob() local
693 error = writeBlobFromFd(parcel, size, rawFd); in writeBlob()
694 close(rawFd); in writeBlob()