Home
last modified time | relevance | path

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

/aosp12/system/unwinding/libunwindstack/
H A DDexFile.h56 struct DexFileApi { struct
64 DexFile(uint64_t base_addr, uint64_t file_size, std::shared_ptr<DexFileApi>&& dex_api) in DexFile() argument
69 std::shared_ptr<DexFileApi> dex_api_; // Loaded underling dex object.
78 static std::map<MappedFileKey, std::weak_ptr<DexFileApi>> g_mapped_dex_files;
H A DDexFile.cpp39 std::map<DexFile::MappedFileKey, std::weak_ptr<DexFile::DexFileApi>> DexFile::g_mapped_dex_files;
65 std::weak_ptr<DexFileApi>& cache_entry = g_mapped_dex_files[cache_key]; in CreateFromDisk()
66 std::shared_ptr<DexFileApi> dex_api = cache_entry.lock(); in CreateFromDisk()
81 dex_api.reset(new DexFileApi{std::move(dex), std::move(memory), std::mutex()}); in CreateFromDisk()
125 std::shared_ptr<DexFileApi> api(new DexFileApi{std::move(dex), std::move(copy), std::mutex()}); in Create()