/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 235 "apex_manifest.cpp", 260 "$(location conv_apex_manifest) setprop version 137 $(genDir)/apex_manifest.pb && " + 262 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " + 276 "$(location conv_apex_manifest) setprop version 137 $(genDir)/apex_manifest.pb && " + 278 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " + 294 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " + 310 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " + 346 …on conv_apex_manifest) setprop name com.android.apex.test_package $(genDir)/apex_manifest.pb && " + 348 "-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/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 …out/soong/host/linux-x86/bin/conv_apex_manifest proto ${manifest_dir}/apex_manifest.json -o ${mani… 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 | 42 name: "apex_manifest", 44 "apex_manifest.py", 78 "apex_manifest", 152 "apex_manifest",
|
D | apexer.py | 35 from apex_manifest import ValidateApexManifest 36 from apex_manifest import ApexManifestError
|
D | apexer_test.py | 30 from apex_manifest import ValidateApexManifest
|
/system/core/init/ |
D | mount_namespace.cpp | 130 const auto apex_manifest = GetApexManifest(apex_path); in ActivateFlattenedApexesFrom() local 131 if (!apex_manifest.ok()) { in ActivateFlattenedApexesFrom() 132 LOG(ERROR) << apex_path << " is not an APEX directory: " << apex_manifest.error(); in ActivateFlattenedApexesFrom() 135 const std::string mount_path = to_dir + "/" + apex_manifest->name(); in ActivateFlattenedApexesFrom() 139 on_activate(apex_path, *apex_manifest); in ActivateFlattenedApexesFrom() 159 const apex::proto::ApexManifest& apex_manifest) { in ActivateFlattenedApexesIfPossible() argument 160 apex_infos.emplace_back(apex_manifest.name(), apex_path, apex_path, apex_manifest.version(), in ActivateFlattenedApexesIfPossible() 161 apex_manifest.versionname(), /*isFactory=*/true, /*isActive=*/true, in ActivateFlattenedApexesIfPossible()
|
/system/apex/proto/ |
D | Android.bp | 28 srcs: ["apex_manifest.proto"], 39 srcs: ["apex_manifest.proto"], 57 "apex_manifest.proto", 89 srcs: ["apex_manifest.proto"], 109 "apex_manifest.proto",
|
/system/apex/shim/build/ |
D | default_shim_allowed_list.txt | 1 ./apex_manifest.pb
|
D | prebuilts_shim_allowed_list.txt | 1 ./apex_manifest.pb
|
D | Android.bp | 526 cmd: "$(location zip2zip) -i $(in) -x apex_manifest.pb -o $(out)",
|
/system/linkerconfig/testdata/ |
D | prepare_root.sh | 113 conv_apex_manifest proto $dst/apex_manifest.json -o $dst/apex_manifest.pb
|
D | README.md | 17 apex_manifest.json # copied from intermediate apex_manifest_full.json
|
/system/bt/apex/ |
D | Android.bp | 14 manifest: "apex_manifest.json",
|
/system/tools/aidl/build/apex/ |
D | Android.bp | 12 manifest: "apex_manifest.json",
|
/system/apex/apexd/apexd_testdata/ |
D | Android.bp | 86 "$(location conv_apex_manifest) setprop version 1 $(genDir)/apex_manifest.pb && " + 110 …tion conv_apex_manifest) setprop name com.android.apex.compressed $(genDir)/apex_manifest.pb && " + 112 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " + 142 "$(location conv_apex_manifest) setprop version 137 $(genDir)/apex_manifest.pb && " + 144 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " + 250 min_sdk_version: "29", // add apex_manifest.json as well 258 cmd: "$(location zip2zip) -i $(in) -x apex_manifest.pb -o $(out)", // remove apex_manifest.pb
|
/system/apex/tools/ |
D | Android.bp | 34 "apex_manifest",
|
D | deapexer.py | 27 import apex_manifest 285 manifest = apex_manifest.fromApex(args.apex) 286 print(apex_manifest.toJsonString(manifest))
|
/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 483 /apex_manifest.json 1000 1000 0644 484 /apex_manifest.pb 1000 1000 0644 493 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: 574 * `apex_manifest.pb`: stored only 581 `apex_manifest.pb` `AndroidManifest.xml` `apex_pubkey` are copies of the 604 manifest: "apex_manifest.json",
|
/system/apex/tests/ |
D | Android.bp | 89 manifest: "testdata/apex_manifest.json",
|