Home
last modified time | relevance | path

Searched refs:apex_manifest (Results 1 – 21 of 21) sorted by relevance

/system/apex/apexd/
Dapex_manifest_test.cpp42 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() local
43 ASSERT_RESULT_OK(apex_manifest); in TEST()
44 EXPECT_EQ("com.android.example.apex", std::string(apex_manifest->name())); in TEST()
45 EXPECT_EQ(1u, apex_manifest->version()); in TEST()
46 EXPECT_FALSE(apex_manifest->nocode()); in TEST()
52 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() local
53 ASSERT_FALSE(apex_manifest.ok()); in TEST()
54 EXPECT_EQ(apex_manifest.error().message(), in TEST()
56 << apex_manifest.error(); in TEST()
62 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() local
[all …]
Dapex_manifest.cpp30 ApexManifest apex_manifest; in ParseManifest() local
32 if (!apex_manifest.ParseFromString(content)) { in ParseManifest()
38 if (apex_manifest.name().empty()) { in ParseManifest()
43 if (apex_manifest.version() == 0) { in ParseManifest()
46 return apex_manifest; in ParseManifest()
Dapex_manifest.h33 std::string GetPackageId(const ApexManifest& apex_manifest);
DAndroid.bp223 "apex_manifest.cpp",
249 "$(location conv_apex_manifest) setprop version 137 $(genDir)/apex_manifest.pb && " +
251 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " +
265 "$(location conv_apex_manifest) setprop version 137 $(genDir)/apex_manifest.pb && " +
267 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " +
283 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " +
/system/apex/apexer/
Druntests.sh56 manifest_file=${manifest_dir}/apex_manifest.pb
57 echo '{"name": "com.android.example.apex", "version": 1}' > ${manifest_dir}/apex_manifest.json
58 …out/soong/host/linux-x86/bin/conv_apex_manifest proto ${manifest_dir}/apex_manifest.json -o ${mani…
102 unzip ${output_file} apex_manifest.pb -d ${output_dir}
109 sudo diff ${manifest_file} ${output_dir}/mnt/apex_manifest.pb
110 sudo diff ${manifest_file} ${output_dir}/apex_manifest.pb
122 [ `sudo stat -c '%u,%g,%A' ${output_dir}/mnt/apex_manifest.pb` = "1000,1000,-rw-r--r--" ]
129 [ `sudo ls -Z ${output_dir}/mnt/apex_manifest.pb | cut -d ' ' -f 1` = "u:object_r:root_file:s0" ]
DAndroid.bp36 name: "apex_manifest",
38 "apex_manifest.py",
68 "apex_manifest",
140 "apex_manifest",
Dapexer.py34 from apex_manifest import ValidateApexManifest
35 from apex_manifest import ApexManifestError
Dapexer_test.py29 from apex_manifest import ValidateApexManifest
/system/core/init/
Dmount_namespace.cpp122 const auto apex_manifest = GetApexManifest(apex_path); in ActivateFlattenedApexesFrom() local
123 if (!apex_manifest.ok()) { in ActivateFlattenedApexesFrom()
124 LOG(ERROR) << apex_path << " is not an APEX directory: " << apex_manifest.error(); in ActivateFlattenedApexesFrom()
127 const std::string mount_path = to_dir + "/" + apex_manifest->name(); in ActivateFlattenedApexesFrom()
131 on_activate(apex_path, *apex_manifest); in ActivateFlattenedApexesFrom()
152 const apex::proto::ApexManifest& apex_manifest) { in ActivateFlattenedApexesIfPossible() argument
153 apex_infos.emplace_back(apex_manifest.name(), apex_path, apex_path, apex_manifest.version(), in ActivateFlattenedApexesIfPossible()
154 apex_manifest.versionname(), /*isFactory=*/true, /*isActive=*/true); in ActivateFlattenedApexesIfPossible()
/system/apex/proto/
DAndroid.bp24 srcs: ["apex_manifest.proto"],
35 srcs: ["apex_manifest.proto"],
49 "apex_manifest.proto",
81 srcs: ["apex_manifest.proto"],
/system/linkerconfig/testdata/
Dprepare_root.sh109 conv_apex_manifest proto $dst/apex_manifest.json -o $dst/apex_manifest.pb
DREADME.md17 apex_manifest.json # copied from intermediate apex_manifest_full.json
/system/apex/shim/build/
Ddefault_shim_allowed_list.txt1 ./apex_manifest.pb
DAndroid.bp418 cmd: "$(location zip2zip) -i $(in) -x apex_manifest.pb -o $(out)",
/system/bt/apex/
DAndroid.bp4 manifest: "apex_manifest.json",
/system/apex/tools/
Ddeapexer.py33 import apex_manifest
190 manifest = apex_manifest.fromApex(args.apex)
191 print(apex_manifest.toJsonString(manifest))
DAndroid.bp30 "apex_manifest",
/system/core/adb/apex/
DAndroid.bp27 manifest: "apex_manifest.json",
/system/apex/apexd/apexd_testdata/
DAndroid.bp77 min_sdk_version: "29", // add apex_manifest.json as well
85 cmd: "$(location zip2zip) -i $(in) -x apex_manifest.pb -o $(out)", // remove apex_manifest.pb
/system/apex/tests/
DAndroid.bp90 manifest: "testdata/apex_manifest.json",
/system/apex/docs/
DREADME.md45 - `apex_manifest.json`
50 The `apex_manifest.json` file contains the package name and version, which
58 `apex_manifest.json`. `AndroidManifest.xml` might contain additional
61 `apex_manifest.json` is recommended over `AndroidManifest.xml` for new code and
251 manifest: "apex_manifest.json",
264 `apex_manifest.json` example: