Searched refs:rawFd (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager.h | 220 asset_path() : path(""), rawFd(-1), type(kFileTypeRegular), idmap(""), in asset_path() 223 int rawFd; member
|
/frameworks/base/libs/androidfw/ |
D | AssetManager.cpp | 162 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()
|
/frameworks/base/libs/hwui/renderthread/ |
D | VulkanSurface.cpp | 366 int rawFd = -1; in dequeueNativeBuffer() local 367 err = mNativeWindow->dequeueBuffer(mNativeWindow.get(), &buffer, &rawFd); in dequeueNativeBuffer() 368 fence_fd.reset(rawFd); in dequeueNativeBuffer()
|
/frameworks/base/libs/hwui/jni/ |
D | Bitmap.cpp | 692 int rawFd = -1; in readBlob() local 695 ON_ERROR_RETURN(AParcel_readParcelFileDescriptor(parcel, &rawFd)); in readBlob() 696 android::base::unique_fd fd(rawFd); in readBlob() 747 int rawFd = fd.release(); in writeBlob() local 748 error = writeBlobFromFd(parcel, size, rawFd); in writeBlob() 749 close(rawFd); in writeBlob()
|