Searched refs:ApexFile (Results 1 – 16 of 16) sorted by relevance
/system/apex/apexd/ |
D | apex_file_test.cpp | 39 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()
|
D | apex_file.h | 44 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
|
D | apexd_prepostinstall.h | 28 class ApexFile; variable 33 const std::vector<ApexFile>& apexes); 39 const std::vector<ApexFile>& apexes);
|
D | apexd.cpp | 146 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 …]
|
D | apex_shim.h | 27 bool IsShimApex(const ApexFile& apex_file); 30 const ApexFile& apex_file);
|
D | apexd.h | 51 android::base::Result<std::vector<ApexFile>> submitStagedSession( 69 std::vector<ApexFile> getActivePackages(); 70 android::base::Result<ApexFile> getActivePackage( 73 std::vector<ApexFile> getFactoryPackages();
|
D | apexd_private.h | 29 class ApexFile; variable 42 const ApexFile& apex, const std::string& mount_point);
|
D | apex_file.cpp | 57 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()
|
D | apexd_verity_test.cpp | 51 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()
|
D | apexd_prepostinstall.cpp | 66 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()
|
D | apexd_verity.h | 35 const ApexFile& apex, const ApexVerityData& verity_data,
|
D | apex_preinstalled_data.cpp | 66 Result<ApexFile> apex_file = ApexFile::Open(file); in collectPreinstalleDataFromDir()
|
D | apex_shim.cpp | 107 bool IsShimApex(const ApexFile& apex_file) { in IsShimApex() 112 const ApexFile& apex_file) { in ValidateShimApex()
|
D | apexd_verity.cpp | 59 Result<void> GenerateHashTree(const ApexFile& apex, in GenerateHashTree() 150 const ApexFile& apex, const ApexVerityData& verity_data, in PrepareHashTree()
|
D | apexservice.cpp | 165 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()
|
D | apexservice_test.cpp | 367 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()
|