Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapex_manifest_test.cpp44 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() local
45 ASSERT_RESULT_OK(apex_manifest); in TEST()
46 EXPECT_EQ("com.android.example.apex", std::string(apex_manifest->name())); in TEST()
47 EXPECT_EQ(1u, apex_manifest->version()); in TEST()
48 EXPECT_FALSE(apex_manifest->nocode()); in TEST()
54 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() local
55 ASSERT_FALSE(apex_manifest.ok()); in TEST()
56 EXPECT_EQ(apex_manifest.error().message(), in TEST()
58 << apex_manifest.error(); in TEST()
64 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() local
[all …]
Dapex_manifest.cpp31 ApexManifest apex_manifest; in ParseManifest() local
33 if (!apex_manifest.ParseFromString(content)) { in ParseManifest()
39 if (apex_manifest.name().empty()) { in ParseManifest()
44 if (apex_manifest.version() == 0) { in ParseManifest()
47 return apex_manifest; in ParseManifest()
50 std::string GetPackageId(const ApexManifest& apex_manifest) { in GetPackageId() argument
51 return apex_manifest.name() + "@" + std::to_string(apex_manifest.version()); in GetPackageId()
DAndroid.bp19 // "bugprone-unhandled-self-assignment", // found in apex_manifest.proto
266 "apex_manifest.cpp",
298 "$(location conv_apex_manifest) setprop version 137 $(genDir)/apex_manifest.pb && " +
300 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " +
318 "$(location conv_apex_manifest) setprop version 137 $(genDir)/apex_manifest.pb && " +
320 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " +
339 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " +
358 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " +
409 …on conv_apex_manifest) setprop name com.android.apex.test_package $(genDir)/apex_manifest.pb && " +
411 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " +
[all …]
Dapex_manifest.h32 std::string GetPackageId(const ::apex::proto::ApexManifest& apex_manifest);
/system/apex/proto/
DAndroid.bp28 srcs: ["apex_manifest.proto"],
39 srcs: ["apex_manifest.proto"],
48 protos: ["apex_manifest.proto"],
49 crate_name: "apex_manifest",
50 source_stem: "apex_manifest",
56 "apex_manifest.proto",
80 srcs: ["apex_manifest.proto"],
100 "apex_manifest.proto",
/system/apex/apexer/
Druntests.sh58 manifest_file=${manifest_dir}/apex_manifest.pb
59 echo '{"name": "com.android.example.apex", "version": 1}' > ${manifest_dir}/apex_manifest.json
60 ${ANDROID_BUILD_TOP}/out/host/linux-x86/bin/conv_apex_manifest proto ${manifest_dir}/apex_manifest.…
105 unzip ${output_file} apex_manifest.pb -d ${output_dir}
112 sudo diff ${manifest_file} ${output_dir}/mnt/apex_manifest.pb
113 sudo diff ${manifest_file} ${output_dir}/apex_manifest.pb
125 [ `sudo stat -c '%u,%g,%A' ${output_dir}/mnt/apex_manifest.pb` = "1000,1000,-rw-r--r--" ]
132 [ `sudo ls -Z ${output_dir}/mnt/apex_manifest.pb | cut -d ' ' -f 1` = "u:object_r:root_file:s0" ]
DAndroid.bp43 name: "apex_manifest",
45 "apex_manifest.py",
76 "apex_manifest",
120 "apex_manifest",
Dapexer_test.py31 from apex_manifest import ValidateApexManifest
32 from apex_manifest import ParseApexManifest
Dapexer.py37 from apex_manifest import ValidateApexManifest
38 from apex_manifest import ApexManifestError
39 from apex_manifest import ParseApexManifest
/system/apex/libs/libapexsupport/src/
Dapexinfo.rs19 use apex_manifest::apex_manifest::ApexManifest;
/system/apex/shim/build/
Ddefault_shim_allowed_list.txt1 ./apex_manifest.pb
DAndroid.bp553 cmd: "$(location zip2zip) -i $(in) -x apex_manifest.pb -o $(out)",
/system/linkerconfig/testdata/
DREADME.md17 apex_manifest.json # copied from intermediate apex_manifest_full.json
/system/apex/apexd/apexd_testdata/
DAndroid.bp80 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " +
107 "$(location conv_apex_manifest) setprop version 1 $(genDir)/apex_manifest.pb && " +
140 …v_apex_manifest) setprop name com.android.apex.compressed $(genDir)/tempdir/apex_manifest.pb && " +
142 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " +
177 "$(location conv_apex_manifest) setprop version 137 $(genDir)/apex_manifest.pb && " +
179 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " +
287 min_sdk_version: "29", // add apex_manifest.json as well
295 cmd: "$(location zip2zip) -i $(in) -x apex_manifest.pb -o $(out)", // remove apex_manifest.pb
/system/apex/tools/
Dapexd_host.py40 import apex_manifest
86 self._manifest = apex_manifest.fromApex(path_on_host)
DAndroid.bp30 "apex_manifest",
219 "apex_manifest",
Ddeapexer.py27 import apex_manifest
343 manifest = apex_manifest.fromApex(args.apex)
344 print(apex_manifest.toJsonString(manifest))
/system/sepolicy/private/
Dlinkerconfig.te22 # Allow linkerconfig to read apex_manifest.pb file from vendor apex
/system/linkerconfig/
Drundiff.sh49 for json in $2/**/apex_manifest.json; do
/system/apex/docs/
Dhowto.md22 manifest: "apex_manifest.json",
41 `apex_manifest.json` should look like:
61 your apex and the `apex_manifest.pb` file. (Technically, they are labeled as
64 that `apexd` can access the root directory and the `apex_manifest.pb` file. (In
451 /apex_manifest.json 1000 1000 0644
452 /apex_manifest.pb 1000 1000 0644
461 a line for `/`and `/apex_manifest.pb`. (`/apex_manifest.json` line is for
DREADME.md49 - `apex_manifest.json`
54 The `apex_manifest.json` file contains the package name and version, which
62 `apex_manifest.json`. `AndroidManifest.xml` might contain additional targeting
65 `apex_manifest.json` is recommended over `AndroidManifest.xml` for new code and
253 manifest: "apex_manifest.json",
266 `apex_manifest.json` example:
533 * `apex_manifest.pb`: stored only
540 `apex_manifest.pb` `AndroidManifest.xml` `apex_pubkey` are copies of the
563 manifest: "apex_manifest.json",
/system/apex/tests/
DAndroid.bp89 manifest: "testdata/apex_manifest.json",
/system/sepolicy/public/
Dfile.te424 # apex_manifest.pb in vendor apex