Searched refs:ota_type (Results 1 – 3 of 3) sorted by relevance
71 int CheckPackageMetadata(const std::map<std::string, std::string>& metadata, OtaType ota_type);
186 int CheckPackageMetadata(const std::map<std::string, std::string>& metadata, OtaType ota_type) { in CheckPackageMetadata() argument188 auto expected_ota_type = OtaTypeToString(ota_type); in CheckPackageMetadata()189 if (ota_type != OtaType::AB && ota_type != OtaType::BRICK) { in CheckPackageMetadata()225 if (ota_type == OtaType::AB) { in CheckPackageMetadata()
361 static void test_check_package_metadata(const std::string& metadata_string, OtaType ota_type, in test_check_package_metadata() argument375 ASSERT_EQ(exptected_result, CheckPackageMetadata(metadata, ota_type)); in test_check_package_metadata()