Searched refs:apex_manifest (Results 1 – 21 of 21) sorted by relevance
/system/apex/apexd/ |
D | apex_manifest_test.cpp | 42 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 …]
|
D | apex_manifest.cpp | 30 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()
|
D | apex_manifest.h | 33 std::string GetPackageId(const ApexManifest& apex_manifest);
|
D | Android.bp | 223 "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/ |
D | runtests.sh | 56 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" ]
|
D | Android.bp | 36 name: "apex_manifest", 38 "apex_manifest.py", 68 "apex_manifest", 140 "apex_manifest",
|
D | apexer.py | 34 from apex_manifest import ValidateApexManifest 35 from apex_manifest import ApexManifestError
|
D | apexer_test.py | 29 from apex_manifest import ValidateApexManifest
|
/system/core/init/ |
D | mount_namespace.cpp | 122 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/ |
D | Android.bp | 24 srcs: ["apex_manifest.proto"], 35 srcs: ["apex_manifest.proto"], 49 "apex_manifest.proto", 81 srcs: ["apex_manifest.proto"],
|
/system/linkerconfig/testdata/ |
D | prepare_root.sh | 109 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/apex/shim/build/ |
D | default_shim_allowed_list.txt | 1 ./apex_manifest.pb
|
D | Android.bp | 418 cmd: "$(location zip2zip) -i $(in) -x apex_manifest.pb -o $(out)",
|
/system/bt/apex/ |
D | Android.bp | 4 manifest: "apex_manifest.json",
|
/system/apex/tools/ |
D | deapexer.py | 33 import apex_manifest 190 manifest = apex_manifest.fromApex(args.apex) 191 print(apex_manifest.toJsonString(manifest))
|
D | Android.bp | 30 "apex_manifest",
|
/system/core/adb/apex/ |
D | Android.bp | 27 manifest: "apex_manifest.json",
|
/system/apex/apexd/apexd_testdata/ |
D | Android.bp | 77 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/ |
D | Android.bp | 90 manifest: "testdata/apex_manifest.json",
|
/system/apex/docs/ |
D | README.md | 45 - `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:
|