Searched refs:metadata (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/tests/component/ |
D | install_test.cpp | 83 std::string metadata; in TEST() local 84 ASSERT_TRUE(read_metadata_from_package(zip, &metadata)); in TEST() 85 ASSERT_EQ(content, metadata); in TEST() 98 metadata.clear(); in TEST() 99 ASSERT_TRUE(read_metadata_from_package(zip, &metadata)); in TEST() 100 ASSERT_EQ(content, metadata); in TEST() 115 std::string metadata; in TEST() local 116 ASSERT_FALSE(read_metadata_from_package(zip, &metadata)); in TEST() 218 std::string metadata = android::base::Join( in TEST() local 223 ASSERT_EQ(0, writer.WriteBytes(metadata.data(), metadata.size())); in TEST() [all …]
|
/bootable/recovery/ |
D | install.cpp | 79 bool read_metadata_from_package(ZipArchiveHandle zip, std::string* metadata) { in read_metadata_from_package() argument 80 CHECK(metadata != nullptr); in read_metadata_from_package() 91 metadata->resize(length, '\0'); in read_metadata_from_package() 92 int32_t err = ExtractToMemory(zip, &entry, reinterpret_cast<uint8_t*>(&(*metadata)[0]), length); in read_metadata_from_package() 102 std::string metadata; in read_source_target_build() local 103 if (!read_metadata_from_package(zip, &metadata)) { in read_source_target_build() 109 std::vector<std::string> lines = android::base::Split(metadata, "\n"); in read_source_target_build() 136 std::map<std::string, std::string> metadata; in check_newer_ab_build() local 140 metadata[line.substr(0, eq)] = line.substr(eq + 1); in check_newer_ab_build() 145 const std::string& pkg_device = metadata["pre-device"]; in check_newer_ab_build() [all …]
|
D | install.h | 37 bool read_metadata_from_package(ZipArchiveHandle zip, std::string* metadata);
|
D | recovery.cpp | 873 std::string metadata; in check_wipe_package() local 874 if (!read_metadata_from_package(zip, &metadata)) { in check_wipe_package() 881 std::vector<std::string> lines = android::base::Split(metadata, "\n"); in check_wipe_package()
|
/bootable/recovery/fonts/ |
D | OFL.txt | 60 in the appropriate machine-readable metadata fields within text or
|