Searched refs:metadata (Results 1 – 4 of 4) sorted by relevance
166 std::string metadata = android::base::Join( in TEST() local171 ASSERT_EQ(0, writer.WriteBytes(metadata.data(), metadata.size())); in TEST()207 std::string metadata = android::base::Join( in TEST() local212 ASSERT_EQ(0, writer.WriteBytes(metadata.data(), metadata.size())); in TEST()
153 std::map<std::string, std::string> metadata; in check_newer_ab_build() local157 metadata[line.substr(0, eq)] = line.substr(eq + 1); in check_newer_ab_build()162 const std::string& pkg_device = metadata["pre-device"]; in check_newer_ab_build()171 const std::string& pkg_serial_no = metadata["serialno"]; in check_newer_ab_build()177 if (metadata["ota-type"] != "AB") { in check_newer_ab_build()184 const std::string& pkg_pre_build = metadata["pre-build-incremental"]; in check_newer_ab_build()191 const std::string& pkg_pre_build_fingerprint = metadata["pre-build"]; in check_newer_ab_build()204 if (metadata["post-timestamp"].empty() || in check_newer_ab_build()205 !android::base::ParseInt(metadata["post-timestamp"].c_str(), &pkg_post_timestamp) || in check_newer_ab_build()207 if (metadata["ota-downgrade"] != "yes") { in check_newer_ab_build()
874 std::string metadata; in check_wipe_package() local875 if (!read_metadata_from_package(zip, &metadata)) { in check_wipe_package()882 std::vector<std::string> lines = android::base::Split(metadata, "\n"); in check_wipe_package()
60 in the appropriate machine-readable metadata fields within text or