/system/apex/apexd/ |
D | apex_manifest_test.cpp | 44 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 …]
|
D | apex_manifest.cpp | 31 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()
|
D | Android.bp | 19 // "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 …]
|
D | apex_manifest.h | 32 std::string GetPackageId(const ::apex::proto::ApexManifest& apex_manifest);
|
/system/apex/proto/ |
D | Android.bp | 28 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/ |
D | runtests.sh | 58 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" ]
|
D | Android.bp | 43 name: "apex_manifest", 45 "apex_manifest.py", 76 "apex_manifest", 120 "apex_manifest",
|
D | apexer_test.py | 31 from apex_manifest import ValidateApexManifest 32 from apex_manifest import ParseApexManifest
|
D | apexer.py | 37 from apex_manifest import ValidateApexManifest 38 from apex_manifest import ApexManifestError 39 from apex_manifest import ParseApexManifest
|
/system/apex/libs/libapexsupport/src/ |
D | apexinfo.rs | 19 use apex_manifest::apex_manifest::ApexManifest;
|
/system/apex/shim/build/ |
D | default_shim_allowed_list.txt | 1 ./apex_manifest.pb
|
D | Android.bp | 553 cmd: "$(location zip2zip) -i $(in) -x apex_manifest.pb -o $(out)",
|
/system/linkerconfig/testdata/ |
D | README.md | 17 apex_manifest.json # copied from intermediate apex_manifest_full.json
|
/system/apex/apexd/apexd_testdata/ |
D | Android.bp | 80 "-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/ |
D | apexd_host.py | 40 import apex_manifest 86 self._manifest = apex_manifest.fromApex(path_on_host)
|
D | Android.bp | 30 "apex_manifest", 219 "apex_manifest",
|
D | deapexer.py | 27 import apex_manifest 343 manifest = apex_manifest.fromApex(args.apex) 344 print(apex_manifest.toJsonString(manifest))
|
/system/sepolicy/private/ |
D | linkerconfig.te | 22 # Allow linkerconfig to read apex_manifest.pb file from vendor apex
|
/system/linkerconfig/ |
D | rundiff.sh | 49 for json in $2/**/apex_manifest.json; do
|
/system/apex/docs/ |
D | howto.md | 22 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
|
D | README.md | 49 - `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/ |
D | Android.bp | 89 manifest: "testdata/apex_manifest.json",
|
/system/sepolicy/public/ |
D | file.te | 424 # apex_manifest.pb in vendor apex
|