Home
last modified time | relevance | path

Searched refs:ota_type (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/install/include/install/
Dinstall.h67 bool CheckPackageMetadata(const std::map<std::string, std::string>& metadata, OtaType ota_type);
/bootable/recovery/install/
Dinstall.cpp207 bool CheckPackageMetadata(const std::map<std::string, std::string>& metadata, OtaType ota_type) { in CheckPackageMetadata() argument
209 auto expected_ota_type = OtaTypeToString(ota_type); in CheckPackageMetadata()
210 if (ota_type != OtaType::AB && ota_type != OtaType::BRICK) { in CheckPackageMetadata()
246 } else if (ota_type == OtaType::BRICK) { in CheckPackageMetadata()
263 if (ota_type == OtaType::AB) { in CheckPackageMetadata()
/bootable/recovery/tests/unit/
Dinstall_test.cpp280 static void TestCheckPackageMetadata(const std::string& metadata_string, OtaType ota_type, in TestCheckPackageMetadata() argument
294 ASSERT_EQ(exptected_result, CheckPackageMetadata(metadata, ota_type)); in TestCheckPackageMetadata()