Searched refs:PackageVersionMap (Results 1 – 5 of 5) sorted by relevance
22 std::shared_ptr<PackageVersionMap> PackageVersionMap::Create() { in Create()26 return std::make_shared<PackageVersionMap>(); in Create()30 return std::make_shared<PackageVersionMap>(package_manager, map); in Create()33 void PackageVersionMap::UpdateAll() {std::lock_guard<std::mutex> lock(mutex_); in UpdateAll()46 bool PackageVersionMap::Update(std::string package_name, int64_t version) { in Update()80 size_t PackageVersionMap::Size() { in Size()89 std::optional<int64_t> PackageVersionMap::GetOrQueryPackageVersion( in GetOrQueryPackageVersion()
28 class PackageVersionMap {30 static std::shared_ptr<PackageVersionMap> Create();32 PackageVersionMap(std::shared_ptr<PackageManagerRemote> package_manager, in PackageVersionMap() function37 PackageVersionMap() in PackageVersionMap() function
31 std::shared_ptr<binder::PackageVersionMap> version_map);
38 std::shared_ptr<binder::PackageVersionMap> version_map) { in CleanUpDatabase()
107 using PackageVersionMap = std::unordered_map<std::string, int64_t>; typedef155 std::shared_ptr<binder::PackageVersionMap> version_map_;164 std::shared_ptr<binder::PackageVersionMap> version_map) in AppLaunchEventState()949 version_map_ = binder::PackageVersionMap::Create(); in RetryCreateVersionMap()1327 std::shared_ptr<binder::PackageVersionMap> version_map_;