Home
last modified time | relevance | path

Searched refs:GetManifest (Results 1 – 19 of 19) sorted by relevance

/system/apex/apexd/
Dapexd.cpp166 apex.GetManifest().name()) != kBootstrapApexes.end(); in IsBootstrapApex()
371 const std::string& package_name = apex_file->GetManifest().name(); in RemovePreviouslyActiveApexFiles()
426 if (!MessageDifferencer::Equals(*verified_manifest, apex.GetManifest())) { in VerifyMountedImage()
442 auto tag = "MountPackageImpl: " + apex.GetManifest().name(); in MountPackageImpl()
500 auto public_key = instance.GetPublicKey(apex.GetManifest().name()); in MountPackageImpl()
586 if (apex.GetManifest().nocode()) { in MountPackageImpl()
620 const std::string& id = GetPackageId(apex.GetManifest()); in GetHashTreeFileName()
628 const std::string& package_id = GetPackageId(apex.GetManifest()); in VerifyAndTempMountPackage()
648 gMountedApexes.AddMountedApex(apex.GetManifest().name(), false, *ret); in VerifyAndTempMountPackage()
794 apexd_private::GetPackageTempMountPoint(apex.GetManifest()); in RunVerifyFnInsideTempMount()
[all …]
Dapex_file_test.cpp111 EXPECT_EQ("com.android.apex.test_package", apex_file->GetManifest().name()); in TEST_P()
112 EXPECT_EQ(1u, apex_file->GetManifest().version()); in TEST_P()
213 EXPECT_EQ("com.android.apex.compressed", apex_file->GetManifest().name()); in TEST()
214 EXPECT_EQ(1u, apex_file->GetManifest().version()); in TEST()
253 const std::string package_name = apex_file->GetManifest().name(); in TEST()
270 ASSERT_EQ(apex_file->GetManifest().name(), in TEST()
271 decompressed_apex_file->GetManifest().name()); in TEST()
272 ASSERT_EQ(apex_file->GetManifest().version(), in TEST()
273 decompressed_apex_file->GetManifest().version()); in TEST()
355 capex->GetManifest().capexmetadata().originalapexdigest()); in TEST()
Dapex_file_repository_test.cpp65 const auto& pkg_name = compressed_apex->GetManifest().name(); in PrepareCompressedApex()
66 const int version = compressed_apex->GetManifest().version(); in PrepareCompressedApex()
95 auto ret = instance.GetPublicKey(apex->GetManifest().name()); in TEST()
101 auto ret = instance.GetPreinstalledPath(apex->GetManifest().name()); in TEST()
108 auto ret = instance.GetDataPath(apex->GetManifest().name()); in TEST()
113 ASSERT_TRUE(instance.HasPreInstalledVersion(apex->GetManifest().name())); in TEST()
114 ASSERT_TRUE(instance.HasDataVersion(apex->GetManifest().name())); in TEST()
171 std::string apex_name = ApexFile::Open(apex_file)->GetManifest().name(); in TEST()
209 ApexFile::Open(GetTestFile("apex.apexd_test.apex"))->GetManifest().name(); in TEST()
234 ApexFile::Open(GetTestFile("apex.apexd_test.apex"))->GetManifest().name(); in TEST()
[all …]
Dapex_file_repository.cpp80 const std::string& name = apex_file->GetManifest().name(); in ScanBuiltInDir()
262 const std::string& name = apex_file->GetManifest().name(); in AddBlockApex()
325 const std::string& name = apex_file->GetManifest().name(); in AddDataApex()
362 const auto& existing_version = it->second.GetManifest().version(); in AddDataApex()
363 const auto new_version = apex_file->GetManifest().version(); in AddDataApex()
448 auto it = pre_installed_store_.find(apex.GetManifest().name()); in IsPreInstalledApex()
494 const std::string& package_name = apex_file.GetManifest().name(); in AllApexFilesByName()
Dapex_shim.cpp124 return apex_file.GetManifest().name() == kApexCtsShimPackage; in IsShimApex()
130 const ApexManifest& manifest = apex_file.GetManifest(); in ValidateShimApex()
Dapex_file.h55 const ::apex::proto::ApexManifest& GetManifest() const { return manifest_; } in GetManifest() function
Dapexservice.cpp210 out.moduleName = package.GetManifest().name(); in submitStagedSession()
212 out.versionCode = package.GetManifest().version(); in submitStagedSession()
360 out.moduleName = package.GetManifest().name(); in GetApexInfo()
362 out.versionCode = package.GetManifest().version(); in GetApexInfo()
363 out.versionName = package.GetManifest().versionname(); in GetApexInfo()
367 instance.GetPreinstalledPath(package.GetManifest().name()); in GetApexInfo()
Ddump_apex_info.cpp122 const auto& manifest = apex.GetManifest(); in main()
Dapexd_test.cpp207 apex_file->GetManifest().name() + "@" + in AddDecompressedApex()
208 std::to_string(apex_file->GetManifest().version()) + in AddDecompressedApex()
2114 ASSERT_EQ(static_cast<uint64_t>(apex->GetManifest().version()), 2ULL); in TEST_F()
2586 pre_installed_apex->GetManifest().capexmetadata().originalapexdigest(), in TEST_F()
2589 pre_installed_apex->GetManifest().capexmetadata().originalapexdigest(), in TEST_F()
3395 ASSERT_EQ(static_cast<uint64_t>(apex->GetManifest().version()), 2ULL); in TEST_F()
3864 pre_installed_apex->GetManifest().capexmetadata().originalapexdigest(), in TEST_F()
3880 pre_installed_apex->GetManifest().capexmetadata().originalapexdigest(), in TEST_F()
3916 pre_installed_apex->GetManifest().capexmetadata().originalapexdigest(), in TEST_F()
3919 pre_installed_apex->GetManifest().capexmetadata().originalapexdigest(), in TEST_F()
[all …]
Dapexservice_test.cpp293 const ApexManifest& manifest = apex_file->GetManifest(); in PrepareTestApexForInstall()
/system/update_engine/payload_consumer/
Dpayload_metadata.h90 bool GetManifest(const brillo::Blob& payload,
93 bool GetManifest(const unsigned char* payload,
Dpayload_metadata.cc142 bool PayloadMetadata::GetManifest(const brillo::Blob& payload, in GetManifest() function in chromeos_update_engine::PayloadMetadata
144 return GetManifest(payload.data(), payload.size(), out_manifest); in GetManifest()
147 bool PayloadMetadata::GetManifest(const unsigned char* payload, in GetManifest() function in chromeos_update_engine::PayloadMetadata
239 TEST_AND_RETURN_FALSE(GetManifest(payload, manifest)); in ParsePayloadFile()
Ddelta_performer.cc381 if (!payload_metadata_.GetManifest(payload, &manifest_)) { in ParsePayloadMetadata()
Ddelta_performer_integration_test.cc649 ASSERT_TRUE(payload_metadata.GetManifest(state->delta, &manifest)); in ApplyDeltaFile()
/system/update_engine/aosp/
Dcow_converter.cc134 if (!payload_metadata.GetManifest(payload, payload_size, &manifest)) { in main()
Dota_extractor.cc262 if (!payload_metadata.GetManifest(payload + FLAGS_payload_offset, in main()
Dupdate_attempter_android.cc528 if (!payload_metadata.GetManifest(metadata, manifest)) { in VerifyPayloadParseManifest()
/system/apex/tools/
Dhost_apex_verifier.cc140 ApexManifest manifest = apex.GetManifest(); in ScanApex()
/system/update_engine/payload_generator/
Dpayload_signer.cc120 TEST_AND_RETURN_FALSE(payload_metadata.GetManifest(payload, &manifest)); in AddSignatureBlobToPayload()
241 TEST_AND_RETURN_FALSE(payload_metadata.GetManifest(payload, &manifest)); in VerifySignedPayload()