Searched refs:metadata (Results 1 – 6 of 6) sorted by relevance
/bootable/recovery/tests/component/ |
D | install_test.cpp | 83 std::map<std::string, std::string> metadata; in TEST() local 84 ASSERT_TRUE(ReadMetadataFromPackage(zip, &metadata)); in TEST() 85 ASSERT_EQ("defg", metadata["abc"]); in TEST() 93 metadata.clear(); in TEST() 94 ASSERT_TRUE(ReadMetadataFromPackage(zip, &metadata)); in TEST() 95 ASSERT_EQ("defg", metadata["abc"]); in TEST() 105 std::map<std::string, std::string> metadata; in TEST() local 106 ASSERT_FALSE(ReadMetadataFromPackage(zip, &metadata)); in TEST() 277 std::map<std::string, std::string> metadata; in VerifyAbUpdateCommands() local 278 ASSERT_TRUE(ReadMetadataFromPackage(zip, &metadata)); in VerifyAbUpdateCommands() [all …]
|
/bootable/recovery/install/ |
D | install.cpp | 72 bool ReadMetadataFromPackage(ZipArchiveHandle zip, std::map<std::string, std::string>* metadata) { in ReadMetadataFromPackage() argument 73 CHECK(metadata != nullptr); in ReadMetadataFromPackage() 95 metadata->emplace(android::base::Trim(line.substr(0, eq)), in ReadMetadataFromPackage() 105 static std::string get_value(const std::map<std::string, std::string>& metadata, in get_value() argument 107 const auto& it = metadata.find(key); in get_value() 108 return (it == metadata.end()) ? "" : it->second; in get_value() 123 static void ReadSourceTargetBuild(const std::map<std::string, std::string>& metadata, in ReadSourceTargetBuild() argument 128 auto source_build = get_value(metadata, "pre-build-incremental"); in ReadSourceTargetBuild() 133 auto target_build = get_value(metadata, "post-build-incremental"); in ReadSourceTargetBuild() 142 static int CheckAbSpecificMetadata(const std::map<std::string, std::string>& metadata) { in CheckAbSpecificMetadata() argument [all …]
|
/bootable/recovery/install/include/install/ |
D | install.h | 59 bool ReadMetadataFromPackage(ZipArchiveHandle zip, std::map<std::string, std::string>* metadata); 71 int CheckPackageMetadata(const std::map<std::string, std::string>& metadata, OtaType ota_type);
|
/bootable/recovery/updater/ |
D | dynamic_partitions.cpp | 412 auto metadata = builder->Export(); in UpdateDynamicPartitionsFn() local 413 if (metadata == nullptr) { in UpdateDynamicPartitionsFn() 418 if (!UpdatePartitionTable(super_device, *metadata, 0)) { in UpdateDynamicPartitionsFn()
|
/bootable/recovery/ |
D | recovery.cpp | 298 std::map<std::string, std::string> metadata; in CheckWipePackage() local 299 if (!ReadMetadataFromPackage(zip, &metadata)) { in CheckWipePackage() 304 return CheckPackageMetadata(metadata, OtaType::BRICK) == 0; in CheckWipePackage()
|
/bootable/recovery/fonts/ |
D | OFL.txt | 60 in the appropriate machine-readable metadata fields within text or
|