Home
last modified time | relevance | path

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

/aosp12/art/build/apex/
H A Druntests.sh180 apex_path="$ANDROID_HOST_OUT/apex/${apex_module}.zipapex"
185 apex_path="$ANDROID_PRODUCT_OUT/system/apex/${apex_module}"
190 apex_path="$ANDROID_PRODUCT_OUT/system/apex/${apex_module}.capex"
192 apex_path="$ANDROID_PRODUCT_OUT/system/apex/${apex_module}.apex"
205 say "APEX package path: $apex_path"
208 maybe_list_apex_contents_apex $art_apex_test_args $apex_path
211 $SCRIPT_DIR/art_apex_test.py $art_apex_test_args $test_only_args $apex_path \
H A Dart_apex_test.py61 def extract_apex(apex_path, deapexer_path, debugfs_path, tmpdir): argument
62 _, apex_name = os.path.split(apex_path)
67 'extract', apex_path, extract_path],
/aosp12/build/make/tools/releasetools/
H A Dapex_utils.py58 self.apex_path = apex_path
82 self.debugfs_path, 'list', self.apex_path]
88 logger.info('No apk file to sign in %s', self.apex_path)
89 return self.apex_path
96 .format(entry, self.apex_path))
105 logger.info('No apk file has been signed in %s', self.apex_path)
106 return self.apex_path
125 assert os.path.exists(self.apex_path)
147 common.UnzipToDir(self.apex_path, apex_dir)
190 common.ZipDelete(self.apex_path, APEX_PAYLOAD_IMAGE)
[all …]
H A Dtest_apex_utils.py140 apex_path = os.path.join(self.testdata_dir, 'foo.apex')
141 signer = apex_utils.ApexApkSigner(apex_path, None, None)
143 self.assertEqual(apex_path, processed_apex)
147 apex_path = common.MakeTempFile(suffix='.apex')
148 shutil.copy(self.apex_with_apk, apex_path)
149 signer = apex_utils.ApexApkSigner(apex_path, None, None)
155 apex_path = common.MakeTempFile(suffix='.apex')
156 shutil.copy(self.apex_with_apk, apex_path)
157 signer = apex_utils.ApexApkSigner(apex_path, None, None)
/aosp12/system/core/init/
H A Dmount_namespace.cpp129 const std::string apex_path = from_dir + "/" + name; in ActivateFlattenedApexesFrom() local
130 const auto apex_manifest = GetApexManifest(apex_path); in ActivateFlattenedApexesFrom()
132 LOG(ERROR) << apex_path << " is not an APEX directory: " << apex_manifest.error(); in ActivateFlattenedApexesFrom()
136 if (auto result = MountDir(apex_path, mount_path); !result.ok()) { in ActivateFlattenedApexesFrom()
139 on_activate(apex_path, *apex_manifest); in ActivateFlattenedApexesFrom()
158 auto on_activate = [&](const std::string& apex_path, in ActivateFlattenedApexesIfPossible()
160 apex_infos.emplace_back(apex_manifest.name(), apex_path, apex_path, apex_manifest.version(), in ActivateFlattenedApexesIfPossible()
/aosp12/system/apex/libs/libapexutil/
H A Dapexutil.cpp73 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()
/aosp12/system/apex/apexd/
H A Dapexd_test.cpp1882 std::string apex_path = in TEST_F() local
1925 std::string apex_path = in TEST_F() local
1960 std::string apex_path = in TEST_F() local
2007 auto apex_path = in TEST_F() local
2167 std::string apex_path = in TEST_F() local
2173 UnmountOnTearDown(apex_path); in TEST_F()
2202 std::string apex_path = in TEST_F() local
2676 UnmountOnTearDown(apex_path); in TEST_F()
3092 auto apex_path = in TEST_F() local
3101 UnmountOnTearDown(apex_path); in TEST_F()
[all …]
H A Dapex_file.h61 ApexFile(const std::string& apex_path, in ApexFile() argument
66 : apex_path_(apex_path), in ApexFile()
H A Dapex_file_test.cpp146 const std::string apex_path = kTestDataDir + "corrupted_b146895998.apex"; in TEST() local
147 Result<ApexFile> apex = ApexFile::Open(apex_path); in TEST()
H A Dapexd.cpp2592 const std::string& apex_path) { in OpenAndValidateDecompressedApex() argument
2593 auto apex = ApexFile::Open(apex_path); in OpenAndValidateDecompressedApex()
/aosp12/packages/modules/Virtualization/microdroid/signature/
H A Dmk_payload.cc186 const auto& apex_path = get_apex_path(apex_name); in LoadSystemApexes() local
187 if (!apex_path.has_value()) { in LoadSystemApexes()
192 .path = *apex_path, in LoadSystemApexes()
293 std::string apex_path = ToAbsolute(apex_config.path, config.dirname); in MakePayload() local
294 if (auto ret = add_partition("microdroid-apex-" + std::to_string(i), apex_path); in MakePayload()
/aosp12/system/apex/tools/
H A Ddeapexer.py263 def GetType(apex_path): argument
264 with zipfile.ZipFile(apex_path, 'r') as zip_file:
/aosp12/system/sepolicy/build/soong/
H A Dselinux_contexts.go338 apex_path := "/system/apex/" + strings.Replace(
343 Text("awk '/object_r/{printf(\""+apex_path+"%s\\n\",$0)}'").