Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapex_file_repository_test.cpp63 const auto& pkg_name = compressed_apex->GetManifest().name(); in PrepareCompressedApex()
64 const int version = compressed_apex->GetManifest().version(); in PrepareCompressedApex()
93 auto ret = instance.GetPublicKey(apex->GetManifest().name()); in TEST()
99 auto ret = instance.GetPreinstalledPath(apex->GetManifest().name()); in TEST()
106 auto ret = instance.GetDataPath(apex->GetManifest().name()); in TEST()
111 ASSERT_TRUE(instance.HasPreInstalledVersion(apex->GetManifest().name())); in TEST()
112 ASSERT_TRUE(instance.HasDataVersion(apex->GetManifest().name())); in TEST()
204 ASSERT_EQ("com.android.apex.test_package", apex->GetManifest().name()); in TEST()
239 ASSERT_EQ("com.android.apex.compressed", apex->GetManifest().name()); in TEST()
444 ASSERT_THAT(result[apexd_test_file->GetManifest().name()], in TEST()
[all …]
Dapexd.cpp155 apex.GetManifest().name()) != kBootstrapApexes.end(); in IsBootstrapApex()
358 const std::string& package_name = apex_file->GetManifest().name(); in RemovePreviouslyActiveApexFiles()
413 if (!MessageDifferencer::Equals(*verified_manifest, apex.GetManifest())) { in VerifyMountedImage()
483 auto public_key = instance.GetPublicKey(apex.GetManifest().name()); in MountPackageImpl()
552 if (apex.GetManifest().nocode()) { in MountPackageImpl()
586 const std::string& id = GetPackageId(apex.GetManifest()); in GetHashTreeFileName()
594 const std::string& package_id = GetPackageId(apex.GetManifest()); in VerifyAndTempMountPackage()
613 gMountedApexes.AddMountedApex(apex.GetManifest().name(), false, *ret); in VerifyAndTempMountPackage()
673 apexd_private::GetPackageTempMountPoint(apex.GetManifest()); in RunVerifyFnInsideTempMount()
689 gMountedApexes.RemoveMountedApex(apex.GetManifest().name(), apex.GetPath(), in RunVerifyFnInsideTempMount()
[all …]
Dapex_file_repository.cpp62 const std::string& name = apex_file->GetManifest().name(); in ScanBuiltInDir()
129 const std::string& name = apex_file->GetManifest().name(); in AddDataApex()
157 const auto& existing_version = it->second.GetManifest().version(); in AddDataApex()
158 const auto new_version = apex_file->GetManifest().version(); in AddDataApex()
217 auto it = pre_installed_store_.find(apex.GetManifest().name()); in IsPreInstalledApex()
256 const std::string& package_name = apex_file.GetManifest().name(); in AllApexFilesByName()
Dapex_file_test.cpp93 EXPECT_EQ("com.android.apex.test_package", apex_file->GetManifest().name()); in TEST_P()
94 EXPECT_EQ(1u, apex_file->GetManifest().version()); in TEST_P()
195 EXPECT_EQ("com.android.apex.compressed", apex_file->GetManifest().name()); in TEST()
196 EXPECT_EQ(1u, apex_file->GetManifest().version()); in TEST()
235 const std::string package_name = apex_file->GetManifest().name(); in TEST()
332 capex->GetManifest().capexmetadata().originalapexdigest()); in TEST()
Dapex_shim.cpp109 return apex_file.GetManifest().name() == kApexCtsShimPackage; in IsShimApex()
115 const ApexManifest& manifest = apex_file.GetManifest(); in ValidateShimApex()
Dapex_file.h52 const ::apex::proto::ApexManifest& GetManifest() const { return manifest_; } in GetManifest() function
Dapexservice.cpp189 out.moduleName = package.GetManifest().name(); in submitStagedSession()
191 out.versionCode = package.GetManifest().version(); in submitStagedSession()
320 out.moduleName = package.GetManifest().name(); in GetApexInfo()
322 out.versionCode = package.GetManifest().version(); in GetApexInfo()
323 out.versionName = package.GetManifest().versionname(); in GetApexInfo()
327 instance.GetPreinstalledPath(package.GetManifest().name()); in GetApexInfo()
Dapexd_prepostinstall.cpp71 if (!(apexes[i].GetManifest().*fn)().empty()) { in StageFnInstall()
Dapexd_test.cpp1641 ASSERT_EQ(static_cast<uint64_t>(apex->GetManifest().version()), 2ULL); in TEST_F()
2099 pre_installed_apex->GetManifest().capexmetadata().originalapexdigest(), in TEST_F()
2102 pre_installed_apex->GetManifest().capexmetadata().originalapexdigest(), in TEST_F()
2803 ASSERT_EQ(static_cast<uint64_t>(apex->GetManifest().version()), 2ULL); in TEST_F()
3259 pre_installed_apex->GetManifest().capexmetadata().originalapexdigest(), in TEST_F()
3274 pre_installed_apex->GetManifest().capexmetadata().originalapexdigest(), in TEST_F()
3309 pre_installed_apex->GetManifest().capexmetadata().originalapexdigest(), in TEST_F()
3312 pre_installed_apex->GetManifest().capexmetadata().originalapexdigest(), in TEST_F()
Dapexservice_test.cpp355 const ApexManifest& manifest = apex_file->GetManifest(); in PrepareTestApexForInstall()
763 ASSERT_FALSE(apex->GetManifest().nocode()); in TEST_F()
768 ASSERT_TRUE(new_apex->GetManifest().nocode()); in TEST_F()
1686 apexd_private::GetPackageMountPoint(apex->GetManifest()); in RunPrePost()
3022 const ApexManifest& manifest = apex_file->GetManifest(); in PrepareCompressedTestApex()
/system/update_engine/payload_consumer/
Dpayload_metadata.h91 bool GetManifest(const brillo::Blob& payload,
94 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.cc384 if (!payload_metadata_.GetManifest(payload, &manifest_)) { in ParsePayloadMetadata()
Ddelta_performer_integration_test.cc656 EXPECT_TRUE(payload_metadata.GetManifest(state->delta, &manifest)); in ApplyDeltaFile()
/system/update_engine/aosp/
Dcow_converter.cc119 if (!payload_metadata.GetManifest(payload, payload_size, &manifest)) { in main()
Dupdate_attempter_android.cc491 if (!payload_metadata.GetManifest(metadata, manifest)) { in VerifyPayloadParseManifest()
/system/update_engine/payload_generator/
Dpayload_signer.cc123 TEST_AND_RETURN_FALSE(payload_metadata.GetManifest(payload, &manifest)); in AddSignatureBlobToPayload()
254 TEST_AND_RETURN_FALSE(payload_metadata.GetManifest(payload, &manifest)); in VerifySignedPayload()