Home
last modified time | relevance | path

Searched refs:ApexFile (Results 1 – 16 of 16) sorted by relevance

/system/apex/apexd/
Dapex_file_test.cpp39 Result<ApexFile> apexFile = ApexFile::Open(filePath); in TEST()
67 Result<ApexFile> apexFile = ApexFile::Open(filePath); in TEST()
76 Result<ApexFile> apexFile = ApexFile::Open(filePath); in TEST()
85 Result<ApexFile> apexFile = ApexFile::Open(filePath); in TEST()
105 Result<ApexFile> apexFile = ApexFile::Open(filePath); in TEST()
114 Result<ApexFile> apexFile = ApexFile::Open(filePath); in TEST()
123 Result<ApexFile> apexFile = ApexFile::Open(filePath); in TEST()
137 Result<ApexFile> apex = ApexFile::Open(apex_path); in TEST()
Dapex_file.h44 class ApexFile {
46 static android::base::Result<ApexFile> Open(const std::string& path);
47 ApexFile() = delete;
48 ApexFile(ApexFile&&) = default;
61 ApexFile(const std::string& apex_path, int32_t image_offset, in ApexFile() function
Dapexd_prepostinstall.h28 class ApexFile; variable
33 const std::vector<ApexFile>& apexes);
39 const std::vector<ApexFile>& apexes);
Dapexd.cpp146 bool isBootstrapApex(const ApexFile& apex) { in isBootstrapApex()
161 auto apexFile = ApexFile::Open(path); in preAllocateLoopDevices()
298 Result<ApexFile> apex_file = ApexFile::Open(path); in RemovePreviouslyActiveApexFiles()
348 Result<void> VerifyMountedImage(const ApexFile& apex, in VerifyMountedImage()
360 Result<MountedApexData> MountPackageImpl(const ApexFile& apex, in MountPackageImpl()
497 std::string GetHashTreeFileName(const ApexFile& apex, bool is_new) { in GetHashTreeFileName()
504 const ApexFile& apex, const std::string& mount_point) { in VerifyAndTempMountPackage()
557 Result<void> RunVerifyFnInsideTempMount(const ApexFile& apex, in RunVerifyFnInsideTempMount()
585 Result<void> PrePostinstallPackages(const std::vector<ApexFile>& apexes, in PrePostinstallPackages()
593 for (const ApexFile& apex_file : apexes) { in PrePostinstallPackages()
[all …]
Dapex_shim.h27 bool IsShimApex(const ApexFile& apex_file);
30 const ApexFile& apex_file);
Dapexd.h51 android::base::Result<std::vector<ApexFile>> submitStagedSession(
69 std::vector<ApexFile> getActivePackages();
70 android::base::Result<ApexFile> getActivePackage(
73 std::vector<ApexFile> getFactoryPackages();
Dapexd_private.h29 class ApexFile; variable
42 const ApexFile& apex, const std::string& mount_point);
Dapex_file.cpp57 Result<ApexFile> ApexFile::Open(const std::string& path) { in Open()
115 return ApexFile(path, image_offset, image_size, std::move(*manifest), pubkey, in Open()
150 Result<std::unique_ptr<AvbFooter>> getAvbFooter(const ApexFile& apex, in getAvbFooter()
182 Result<void> verifyVbMetaSignature(const ApexFile& apex, const uint8_t* data, in verifyVbMetaSignature()
223 Result<std::unique_ptr<uint8_t[]>> verifyVbMeta(const ApexFile& apex, in verifyVbMeta()
294 Result<ApexVerityData> ApexFile::VerifyApexVerity() const { in VerifyApexVerity()
337 Result<void> ApexFile::VerifyManifestMatches( in VerifyManifestMatches()
Dapexd_verity_test.cpp51 auto apex = ApexFile::Open(GetTestFile("apex.apexd_test_no_hashtree.apex")); in TEST()
84 auto apex = ApexFile::Open(GetTestFile("apex.apexd_test_no_hashtree.apex")); in TEST()
99 ApexFile::Open(GetTestFile("apex.apexd_test_no_hashtree_2.apex")); in TEST()
Dapexd_prepostinstall.cpp66 Result<void> StageFnInstall(const std::vector<ApexFile>& apexes, Fn fn, in StageFnInstall()
100 for (const ApexFile& apex : apexes) { in StageFnInstall()
236 Result<void> StagePreInstall(const std::vector<ApexFile>& apexes) { in StagePreInstall()
245 Result<void> StagePostInstall(const std::vector<ApexFile>& apexes) { in StagePostInstall()
Dapexd_verity.h35 const ApexFile& apex, const ApexVerityData& verity_data,
Dapex_preinstalled_data.cpp66 Result<ApexFile> apex_file = ApexFile::Open(file); in collectPreinstalleDataFromDir()
Dapex_shim.cpp107 bool IsShimApex(const ApexFile& apex_file) { in IsShimApex()
112 const ApexFile& apex_file) { in ValidateShimApex()
Dapexd_verity.cpp59 Result<void> GenerateHashTree(const ApexFile& apex, in GenerateHashTree()
150 const ApexFile& apex, const ApexVerityData& verity_data, in PrepareHashTree()
Dapexservice.cpp165 Result<std::vector<ApexFile>> packages = ::android::apex::submitStagedSession( in submitStagedSession()
268 static ApexInfo getApexInfo(const ApexFile& package) { in getApexInfo()
383 Result<ApexFile> apex = ::android::apex::getActivePackage(packageName); in getActivePackage()
394 for (const ApexFile& pkg : active) { in getAllPackages()
399 for (const ApexFile& pkg : factory) { in getAllPackages()
Dapexservice_test.cpp367 Result<ApexFile> apex_file = ApexFile::Open(test); in PrepareTestApexForInstall()
384 Result<ApexFile> apex_file = ApexFile::Open(test_input); in Prepare()
777 const auto& apex = ApexFile::Open(installer.test_installed_file); in TEST_F()
782 const auto& new_apex = ApexFile::Open(installer.test_installed_file); in TEST_F()
1631 Result<ApexFile> apex = ApexFile::Open(installer->test_input); in RunPrePost()