Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapex_file_test.cpp37 StatusOr<ApexFile> apexFile = ApexFile::Open(filePath); in TEST()
65 StatusOr<ApexFile> apexFile = ApexFile::Open(filePath); in TEST()
74 StatusOr<ApexFile> apexFile = ApexFile::Open(filePath); in TEST()
82 StatusOr<ApexFile> apexFile = ApexFile::Open(filePath); in TEST()
101 StatusOr<ApexFile> apexFile = ApexFile::Open(filePath);
118 StatusOr<ApexFile> apexFile = ApexFile::Open(filePath);
128 StatusOr<ApexFile> apexFile = ApexFile::Open(filePath); in TEST()
Dapex_file.h43 class ApexFile {
45 static StatusOr<ApexFile> Open(const std::string& path);
46 ApexFile() = delete;
47 ApexFile(ApexFile&&) = default;
60 ApexFile(const std::string& apex_path, bool flattened, int32_t image_offset, in ApexFile() function
Dapexd_prepostinstall.cpp56 Status StageFnInstall(const std::vector<ApexFile>& apexes, Fn fn, in StageFnInstall()
59 const ApexFile* hook_file = nullptr; in StageFnInstall()
60 for (const ApexFile& f : apexes) { in StageFnInstall()
72 std::vector<const ApexFile*> mounted_apexes; in StageFnInstall()
75 for (const ApexFile* f : mounted_apexes) { in StageFnInstall()
90 for (const ApexFile& apex : apexes) { in StageFnInstall()
123 for (const ApexFile& apex : apexes) { in StageFnInstall()
156 StatusOr<ApexFile> apex_file = ApexFile::Open(apex); in RunFnInstall()
215 Status StagePreInstall(const std::vector<ApexFile>& apexes) { in StagePreInstall()
224 Status StagePostInstall(const std::vector<ApexFile>& apexes) { in StagePostInstall()
Dapexd.cpp124 bool isBootstrapApex(const ApexFile& apex) { in isBootstrapApex()
139 auto apexFile = ApexFile::Open(path); in preAllocateLoopDevices()
332 StatusOr<ApexFile> apex_file = ApexFile::Open(path); in RemovePreviouslyActiveApexFiles()
384 Status VerifyMountedImage(const ApexFile& apex, in VerifyMountedImage()
396 StatusOr<MountedApexData> mountNonFlattened(const ApexFile& apex, in mountNonFlattened()
504 StatusOr<MountedApexData> mountFlattened(const ApexFile& apex, in mountFlattened()
525 StatusOr<MountedApexData> MountPackageImpl(const ApexFile& apex, in MountPackageImpl()
570 const ApexFile& apex, const std::string& mount_point) { in VerifyAndTempMountPackage()
618 Status RunVerifyFnInsideTempMount(const ApexFile& apex, in RunVerifyFnInsideTempMount()
646 Status PrePostinstallPackages(const std::vector<ApexFile>& apexes, HookFn fn, in PrePostinstallPackages()
[all …]
Dapexd_prepostinstall.h28 class ApexFile; variable
30 Status StagePreInstall(const std::vector<ApexFile>& apexes);
33 Status StagePostInstall(const std::vector<ApexFile>& apexes);
Dapexd.h46 StatusOr<std::vector<ApexFile>> submitStagedSession(
57 std::vector<ApexFile> getActivePackages();
58 StatusOr<ApexFile> getActivePackage(const std::string& package_name);
60 std::vector<ApexFile> getFactoryPackages();
Dapexd_private.h29 class ApexFile; variable
44 Status MountPackage(const ApexFile& apex, const std::string& mountPoint);
45 Status UnmountPackage(const ApexFile& apex);
Dapex_file.cpp83 StatusOr<ApexFile> ApexFile::Open(const std::string& path) { in Open()
98 return StatusOr<ApexFile>::MakeError(err); in Open()
107 return StatusOr<ApexFile>::MakeError(err); in Open()
120 return StatusOr<ApexFile>::MakeError(err); in Open()
130 return StatusOr<ApexFile>::MakeError(err); in Open()
140 return StatusOr<ApexFile>::MakeError(err); in Open()
152 return StatusOr<ApexFile>::MakeError(err); in Open()
166 return StatusOr<ApexFile>::MakeError(err); in Open()
173 return StatusOr<ApexFile>::MakeError(manifest.ErrorMessage()); in Open()
176 ApexFile apexFile(path, flattened, image_offset, image_size, *manifest, in Open()
[all …]
Dapex_shim.h31 bool IsShimApex(const ApexFile& apex_file);
34 const ApexFile& apex_file);
Dapex_key.cpp61 StatusOr<ApexFile> apex_file = ApexFile::Open(file); in collectEmbedddedApexKeysFromDir()
Dapexservice.cpp158 StatusOr<std::vector<ApexFile>> packages = in submitStagedSession()
259 static ApexInfo getApexInfo(const ApexFile& package) { in getApexInfo()
280 static bool contains(const std::vector<ApexFile>& list, in contains()
281 const ApexFile& apexFile) { in contains()
283 [&apexFile](const ApexFile& listFile) { in contains()
380 StatusOr<ApexFile> apex = ::android::apex::getActivePackage(packageName); in getActivePackage()
397 for (const ApexFile& factoryFile : factoryPackages) { in getAllPackages()
408 for (const ApexFile& activeFile : activePackages) { in getAllPackages()
Dapex_shim.cpp175 bool IsShimApex(const ApexFile& apex_file) { in IsShimApex()
180 const ApexFile& apex_file) { in ValidateShimApex()
Dapexservice_test.cpp303 StatusOr<ApexFile> apex_file = ApexFile::Open(test); in PrepareTestApexForInstall()
320 StatusOr<ApexFile> apex_file = ApexFile::Open(test_input); in Prepare()
989 StatusOr<ApexFile> apex = ApexFile::Open(installer->test_input); in RunPrePost()
2075 StatusOr<ApexFile> flattened_apex = in TEST_F()
2076 ApexFile::Open(StringPrintf("/apex/%s", installer_->package.c_str())); in TEST_F()