• Home
  • Raw
  • Download

Lines Matching refs:it

112         if (auto it = pre_installed_store_.find(name);  in ScanBuiltInDir()  local
113 it != pre_installed_store_.end()) { in ScanBuiltInDir()
114 pre_installed_store_.erase(it); in ScanBuiltInDir()
134 auto it = pre_installed_store_.find(name); in ScanBuiltInDir() local
135 if (it == pre_installed_store_.end()) { in ScanBuiltInDir()
137 } else if (it->second.GetPath() != apex_file->GetPath()) { in ScanBuiltInDir()
152 LOG(level) << "Found two apex packages " << it->second.GetPath() in ScanBuiltInDir()
155 } else if (it->second.GetBundledPublicKey() != in ScanBuiltInDir()
157 LOG(FATAL) << "Public key of apex package " << it->second.GetPath() in ScanBuiltInDir()
290 if (auto it = store.find(name); it != store.end()) { in AddBlockApex() local
292 << it->second.GetPath(); in AddBlockApex()
356 auto it = data_store_.find(name); in AddDataApex() local
357 if (it == data_store_.end()) { in AddDataApex()
362 const auto& existing_version = it->second.GetManifest().version(); in AddDataApex()
368 it->second = std::move(*apex_file); in AddDataApex()
378 auto it = pre_installed_store_.find(name); in GetPublicKey() local
379 if (it == pre_installed_store_.end()) { in GetPublicKey()
384 it = data_store_.find(name); in GetPublicKey()
385 if (it != data_store_.end() && IsBlockApex(it->second)) { in GetPublicKey()
386 return it->second.GetBundledPublicKey(); in GetPublicKey()
390 return it->second.GetBundledPublicKey(); in GetPublicKey()
397 auto it = pre_installed_store_.find(name); in GetPreinstalledPath() local
398 if (it == pre_installed_store_.end()) { in GetPreinstalledPath()
401 return it->second.GetPath(); in GetPreinstalledPath()
408 auto it = data_store_.find(name); in GetDataPath() local
409 if (it == data_store_.end()) { in GetDataPath()
412 return it->second.GetPath(); in GetDataPath()
417 auto it = block_apex_overrides_.find(path); in GetBlockApexRootDigest() local
418 if (it == block_apex_overrides_.end()) { in GetBlockApexRootDigest()
421 return it->second.block_apex_root_digest; in GetBlockApexRootDigest()
426 auto it = block_apex_overrides_.find(path); in GetBlockApexLastUpdateSeconds() local
427 if (it == block_apex_overrides_.end()) { in GetBlockApexLastUpdateSeconds()
430 return it->second.last_update_seconds; in GetBlockApexLastUpdateSeconds()
448 auto it = pre_installed_store_.find(apex.GetManifest().name()); in IsPreInstalledApex() local
449 if (it == pre_installed_store_.end()) { in IsPreInstalledApex()
452 return it->second.GetPath() == apex.GetPath() || IsDecompressedApex(apex); in IsPreInstalledApex()
463 for (const auto& it : pre_installed_store_) { in GetPreInstalledApexFiles() local
464 result.emplace_back(std::cref(it.second)); in GetPreInstalledApexFiles()
472 for (const auto& it : data_store_) { in GetDataApexFiles() local
473 result.emplace_back(std::cref(it.second)); in GetDataApexFiles()
505 auto it = data_store_.find(name); in GetDataApex() local
506 CHECK(it != data_store_.end()); in GetDataApex()
507 return std::cref(it->second); in GetDataApex()
512 auto it = pre_installed_store_.find(name); in GetPreInstalledApex() local
513 CHECK(it != pre_installed_store_.end()); in GetPreInstalledApex()
514 return std::cref(it->second); in GetPreInstalledApex()