Home
last modified time | relevance | path

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

/aosp12/bootable/recovery/install/
H A Dspl_check.cpp20 std::string_view current_spl) { in ViolatesSPLDowngrade() argument
22 if (current_spl.empty()) { in ViolatesSPLDowngrade()
32 if (post_spl < current_spl) { in ViolatesSPLDowngrade()
33 LOG(ERROR) << "Current SPL: " << current_spl << " Target SPL: " << post_spl in ViolatesSPLDowngrade()
44 LOG(INFO) << "old spl: " << current_spl << " new spl: " << post_spl << " CHECK passes"; in ViolatesSPLDowngrade()
49 bool ViolatesSPLDowngrade(ZipArchiveHandle zip, std::string_view current_spl) { in ViolatesSPLDowngrade() argument
77 return ViolatesSPLDowngrade(metadata, current_spl); in ViolatesSPLDowngrade()
H A Dinstall.cpp352 const auto current_spl = android::base::GetProperty("ro.build.version.security_patch", ""); in TryUpdateBinary() local
353 if (ViolatesSPLDowngrade(zip, current_spl)) { in TryUpdateBinary()
/aosp12/bootable/recovery/install/include/install/
H A Dspl_check.h24 std::string_view current_spl);
26 bool ViolatesSPLDowngrade(ZipArchiveHandle zip, std::string_view current_spl);