Searched refs:friendly_name (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | ApkAssets.cpp | 72 unique_fd fd, const std::string& friendly_name, const off64_t offset = 0, in Create() argument 77 ? ::OpenArchiveFd(fd.release(), friendly_name.c_str(), &unmanaged_handle) in Create() 78 : ::OpenArchiveFdRange(fd.release(), friendly_name.c_str(), &unmanaged_handle, length, in Create() 82 LOG(ERROR) << "Failed to open APK '" << friendly_name << "' through FD with offset " << offset in Create() 88 return std::unique_ptr<AssetsProvider>(new ZipAssetsProvider({}, friendly_name, in Create() 214 std::string friendly_name, in ZipAssetsProvider() argument 218 friendly_name_(std::move(friendly_name)) { } in ZipAssetsProvider() 345 unique_fd fd, const std::string& friendly_name, const package_property_t flags, in LoadFromFd() argument 352 auto assets = ZipAssetsProvider::Create(std::move(fd), friendly_name, offset, length); in LoadFromFd() 353 return (assets) ? LoadImpl(std::move(assets), friendly_name, flags, std::move(override_asset)) in LoadFromFd() [all …]
|
/frameworks/base/core/jni/ |
D | android_content_res_ApkAssets.cpp | 199 jobject file_descriptor, jstring friendly_name, in NativeLoadFromFd() argument 201 ScopedUtfChars friendly_name_utf8(env, friendly_name); in NativeLoadFromFd() 247 jobject file_descriptor, jstring friendly_name, in NativeLoadFromFdOffset() argument 250 ScopedUtfChars friendly_name_utf8(env, friendly_name); in NativeLoadFromFdOffset()
|
/frameworks/base/startop/view_compiler/ |
D | apk_layout_compiler.cc | 170 constexpr const char* friendly_name{"viewcompiler assets"}; in CompileApkLayoutsFd() local 171 auto assets = android::ApkAssets::LoadFromFd(std::move(fd), friendly_name); in CompileApkLayoutsFd()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ApkAssets.h | 88 base::unique_fd fd, const std::string& friendly_name, package_property_t flags = 0U, 102 base::unique_fd fd, const std::string& friendly_name, package_property_t flags = 0U,
|