Searched refs:DexFileApi (Results 1 – 2 of 2) sorted by relevance
55 struct DexFileApi { struct63 DexFile(uint64_t base_addr, uint64_t file_size, std::shared_ptr<DexFileApi>&& dex_api) in DexFile() argument68 std::shared_ptr<DexFileApi> dex_api_; // Loaded underling dex object.77 static std::map<MappedFileKey, std::weak_ptr<DexFileApi>> g_mapped_dex_files;
37 std::map<DexFile::MappedFileKey, std::weak_ptr<DexFile::DexFileApi>> DexFile::g_mapped_dex_files;63 std::weak_ptr<DexFileApi>& cache_entry = g_mapped_dex_files[cache_key]; in CreateFromDisk()64 std::shared_ptr<DexFileApi> dex_api = cache_entry.lock(); in CreateFromDisk()79 dex_api.reset(new DexFileApi{std::move(dex), memory, std::mutex()}); in CreateFromDisk()121 std::shared_ptr<DexFileApi> api(new DexFileApi{std::move(dex), std::move(copy), std::mutex()}); in Create()