Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapex_manifest_test.cpp25 auto apex_manifest = ParseManifest( in TEST() local
27 ASSERT_TRUE(apex_manifest.Ok()); in TEST()
28 EXPECT_EQ("com.android.example.apex", std::string(apex_manifest->name())); in TEST()
29 EXPECT_EQ(1u, apex_manifest->version()); in TEST()
33 auto apex_manifest = ParseManifest("{\"version\": 1}\n"); in TEST() local
34 ASSERT_FALSE(apex_manifest.Ok()); in TEST()
35 EXPECT_EQ(apex_manifest.ErrorMessage(), in TEST()
37 << apex_manifest.ErrorMessage(); in TEST()
41 auto apex_manifest = in TEST() local
43 ASSERT_FALSE(apex_manifest.Ok()); in TEST()
[all …]
Dapex_manifest.cpp36 std::string GetTypeUrl(const ApexManifest& apex_manifest) { in GetTypeUrl() argument
37 const google::protobuf::Descriptor* message = apex_manifest.GetDescriptor(); in GetTypeUrl()
47 ApexManifest& apex_manifest) { in JsonToApexManifestMessage() argument
52 resolver.get(), GetTypeUrl(apex_manifest), content, &binary); in JsonToApexManifestMessage()
59 if (!apex_manifest.ParseFromString(binary)) { in JsonToApexManifestMessage()
63 return StatusOr<ApexManifest>(apex_manifest); in JsonToApexManifestMessage()
69 ApexManifest apex_manifest; in ParseManifest() local
72 JsonToApexManifestMessage(content, apex_manifest); in ParseManifest()
79 if (apex_manifest.name().empty()) { in ParseManifest()
85 if (apex_manifest.version() == 0) { in ParseManifest()
Dapex_manifest.h32 std::string GetPackageId(const ApexManifest& apex_manifest);
DAndroid.bp177 "apex_manifest.cpp",
266 "sed -i -e 's/\"version\": 1/\"version\": 137/' $(genDir)/apex_manifest.json && " +
268 "-s apex_manifest.json -s apex_payload.img -s apex_pubkey " +
284 "-s apex_manifest.json -s apex_payload.img -s apex_pubkey " +
/system/apex/apexer/
Druntests.sh99 unzip ${output_file} apex_manifest.json -d ${output_dir}
106 sudo diff ${manifest_file} ${output_dir}/mnt/apex_manifest.json
107 sudo diff ${manifest_file} ${output_dir}/apex_manifest.json
119 [ `sudo stat -c '%u,%g,%A' ${output_dir}/mnt/apex_manifest.json` = "1000,1000,-rw-r--r--" ]
126 [ `sudo ls -Z ${output_dir}/mnt/apex_manifest.json | cut -d ' ' -f 1` = "u:object_r:root_file:s0" ]
DAndroid.bp35 "apex_manifest.py"
Dapexer.py35 from apex_manifest import ValidateApexManifest
36 from apex_manifest import ApexManifestError
/system/apex/proto/
DAndroid.bp24 srcs: ["apex_manifest.proto"],
38 "apex_manifest.proto",
/system/apex/tests/
DAndroid.bp112 manifest: "testdata/apex_manifest.json",
124 manifest: "testdata/apex_manifest.json",