Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DAssetsProvider.cpp98 const auto released_fd = fd.ok() ? fd.release() : -1; in Create() local
100 if (int32_t result = released_fd < 0 ? OpenArchive(path.c_str(), &handle) in Create()
101 : OpenArchiveFd(released_fd, path.c_str(), &handle)) { in Create()
110 if ((released_fd < 0 ? stat(path.c_str(), &sb) : fstat(released_fd, &sb)) < 0) { in Create()
128 const int released_fd = fd.release(); in Create() local
130 ? ::OpenArchiveFd(released_fd, friendly_name.c_str(), &handle) in Create()
131 : ::OpenArchiveFdRange(released_fd, friendly_name.c_str(), &handle, len, offset); in Create()
142 if (!isReadonlyFilesystem(released_fd)) { in Create()
143 if (fstat(released_fd, &sb) < 0) { in Create()