Searched refs:apex_path (Results 1 – 11 of 11) sorted by relevance
| /system/apex/apexd/ |
| D | apex_file_repository.cpp | 196 const ApexPath& apex_path = apex_paths[current_index]; in OpenApexFiles() local 197 Result<ApexFile> apex_file = ApexFile::Open(apex_path.path); in OpenApexFiles() 200 apex_path.partition), in OpenApexFiles() 203 return Error() << "Failed to open apex file " << apex_path.path in OpenApexFiles() 242 for (const auto& apex_path : all_apex_paths) { in AddPreInstalledApex() local 243 Result<ApexFile> apex_file = ApexFile::Open(apex_path.path); in AddPreInstalledApex() 245 return Error() << "Failed to open " << apex_path.path << " : " in AddPreInstalledApex() 249 StorePreInstalledApex(std::move(*apex_file), apex_path.partition); in AddPreInstalledApex() 331 const std::string apex_path = in AddBlockApex() local 334 auto apex_ready = WaitForFile(apex_path, kBlockApexWaitTime); in AddBlockApex() [all …]
|
| D | apexd_image_manager.cpp | 120 auto apex_path = apex_file.GetPath(); in PinApexFiles() local 121 auto file_size = OR_RETURN(GetFileSize(apex_path)); in PinApexFiles() 130 << apex_path; in PinApexFiles() 142 OR_RETURN(SendFile(device->fd(), apex_path, file_size)); in PinApexFiles()
|
| D | apex_file.h | 66 ApexFile(const std::string& apex_path, in ApexFile() argument 71 : apex_path_(apex_path), in ApexFile()
|
| D | apexd_test.cpp | 955 auto apex_path = vm_payload_disk_ + std::to_string(block_device_index_++); in AddBlockApex() local 959 auto block_apex = WriteBlockApex(apex_file, apex_path); in AddBlockApex() 964 return apex_path; in AddBlockApex() 2322 std::string apex_path = in TEST_F() local 2344 /* preinstalledModulePath= */ apex_path, in TEST_F() 2366 std::string apex_path = in TEST_F() local 2400 std::string apex_path = in TEST_F() local 2422 /* preinstalledModulePath= */ apex_path, in TEST_F() 2448 auto apex_path = in TEST_F() local 2450 fs::copy(GetTestFile("com.android.apex.compressed.v1.capex"), apex_path); in TEST_F() [all …]
|
| D | apexd_test_utils.h | 352 const std::string& apex_path) { in WriteBlockApex() argument 353 std::string intermediate_path = apex_path + ".intermediate"; in WriteBlockApex() 355 auto result = MountViaLoopDevice(intermediate_path, apex_path); in WriteBlockApex() 359 return BlockApex(std::move(*result), apex_path); in WriteBlockApex()
|
| D | apex_file_test.cpp | 164 const std::string apex_path = kTestDataDir + "corrupted_b146895998.apex"; in TEST() local 165 Result<ApexFile> apex = ApexFile::Open(apex_path); in TEST()
|
| D | apexd.cpp | 2447 const std::string& apex_path) { in OpenAndValidateDecompressedApex() argument 2448 auto apex = ApexFile::Open(apex_path); in OpenAndValidateDecompressedApex() 2456 auto ctx = GetfileconPath(apex_path); in OpenAndValidateDecompressedApex() 2461 return Error() << apex_path << " has wrong SELinux context " << *ctx; in OpenAndValidateDecompressedApex()
|
| /system/apex/libs/libapexutil/ |
| D | apexutil.cpp | 73 std::string apex_path = apex_root + "/" + entry->d_name; in GetActivePackages() local 74 auto manifest = ParseApexManifest(apex_path + "/apex_manifest.pb"); in GetActivePackages() 76 apexes.emplace(std::move(apex_path), std::move(*manifest)); in GetActivePackages()
|
| /system/apex/tools/ |
| D | host_apex_verifier.cc | 161 const std::string& apex_path, const std::string& partition_tag) { in ScanApex() argument 162 LOG(INFO) << "Checking APEX " << apex_path; in ScanApex() 164 auto apex = OR_FATAL(ApexFile::Open(apex_path)); in ScanApex() 170 deapexer + " extract " + apex_path + " " + extracted_apex_dir; in ScanApex()
|
| D | apexd_host.py | 208 ActivateApexes(partitions, args.apex_path, tools)
|
| D | deapexer.py | 372 def GetType(apex_path): argument 373 with zipfile.ZipFile(apex_path, 'r') as zip_file:
|