/aosp12/system/apex/apexd/ |
H A D | apex_manifest_test.cpp | 45 ASSERT_RESULT_OK(apex_manifest); in TEST() 55 ASSERT_FALSE(apex_manifest.ok()); in TEST() 58 << apex_manifest.error(); in TEST() 65 ASSERT_FALSE(apex_manifest.ok()); in TEST() 69 << apex_manifest.error(); in TEST() 77 ASSERT_RESULT_OK(apex_manifest); in TEST() 87 ASSERT_RESULT_OK(apex_manifest); in TEST() 96 ASSERT_RESULT_OK(apex_manifest); in TEST() 106 ASSERT_RESULT_OK(apex_manifest); in TEST() 116 << apex_manifest.error(); in TEST() [all …]
|
H A 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()
|
H A D | Android.bp | 19 // "bugprone-unhandled-self-assignment", // found in apex_manifest.proto 235 "apex_manifest.cpp", 262 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " + 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 " + 348 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " + 363 "$(location conv_apex_manifest) setprop version 2 $(genDir)/apex_manifest.pb && " + 365 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " + 381 "-s apex_manifest.pb -s apex_payload.img -s apex_pubkey " + [all …]
|
H A D | apex_manifest.h | 32 std::string GetPackageId(const ::apex::proto::ApexManifest& apex_manifest);
|
/aosp12/system/apex/apexer/ |
H A 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" ]
|
H A D | Android.bp | 42 name: "apex_manifest", 44 "apex_manifest.py", 78 "apex_manifest", 152 "apex_manifest",
|
/aosp12/system/core/init/ |
H A 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()
|
/aosp12/system/apex/proto/ |
H A 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",
|
/aosp12/packages/modules/vndk/apex/ |
H A D | Android.bp | 21 manifest: "apex_manifest.current.json", 48 manifest: "apex_manifest.v31.json", 70 manifest: "apex_manifest.v30.json", 92 manifest: "apex_manifest.v29.json", 114 manifest: "apex_manifest.v28.json",
|
H A D | README.md | 11 manifest: "apex_manifest.v30.json", 31 2. Add `apex_manifest.v30.json`
|
/aosp12/system/linkerconfig/testdata/ |
H A D | prepare_root.sh | 113 conv_apex_manifest proto $dst/apex_manifest.json -o $dst/apex_manifest.pb
|
H A D | README.md | 17 apex_manifest.json # copied from intermediate apex_manifest_full.json
|
/aosp12/system/apex/apexd/apexd_testdata/ |
H A 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
|
/aosp12/system/apex/shim/build/ |
H A D | default_shim_allowed_list.txt | 1 ./apex_manifest.pb
|
H A D | prebuilts_shim_allowed_list.txt | 1 ./apex_manifest.pb
|
/aosp12/system/apex/tools/ |
H A D | deapexer.py | 27 import apex_manifest 285 manifest = apex_manifest.fromApex(args.apex) 286 print(apex_manifest.toJsonString(manifest))
|
H A D | Android.bp | 34 "apex_manifest",
|
/aosp12/system/bt/apex/ |
H A D | Android.bp | 14 manifest: "apex_manifest.json",
|
/aosp12/system/tools/aidl/build/apex/ |
H A D | Android.bp | 12 manifest: "apex_manifest.json",
|
/aosp12/system/apex/docs/ |
H A 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
|
/aosp12/packages/services/Telephony/apex/ |
H A D | Android.bp | 27 manifest: "apex_manifest.json",
|
/aosp12/packages/apps/CellBroadcastReceiver/apex/ |
H A D | Android.bp | 17 manifest: "apex_manifest.json",
|
/aosp12/art/tools/ |
H A D | host_bcp.sh | 53 MANIFEST=/apex_manifest.pb
|
/aosp12/packages/modules/adb/apex/ |
H A D | Android.bp | 28 manifest: "apex_manifest.json",
|
/aosp12/build/soong/apex/ |
H A D | builder.go | 154 `apex_manifest.json:root/apex_manifest.json ` + 155 `apex_manifest.pb:root/apex_manifest.pb ` + 300 …rule.Command().Text("echo").Flag(apexPath + `/apex_manifest\\.pb u:object_r:system_file:s0`).Text(…
|