Searched refs:ShouldDisableRefresh (Results 1 – 4 of 4) sorted by relevance
50 TEST(OdrCommonTest, ShouldDisableRefresh) { in TEST() argument51 EXPECT_TRUE(ShouldDisableRefresh("32")); in TEST()52 EXPECT_TRUE(ShouldDisableRefresh("33")); in TEST()53 EXPECT_FALSE(ShouldDisableRefresh("31")); in TEST()54 EXPECT_FALSE(ShouldDisableRefresh("")); in TEST()55 EXPECT_FALSE(ShouldDisableRefresh("invalid")); in TEST()
42 bool ShouldDisableRefresh(const std::string& sdk_version_str);
67 bool ShouldDisableRefresh(const std::string& sdk_version_str) { in ShouldDisableRefresh() function
55 using ::art::odrefresh::ShouldDisableRefresh;196 if (ShouldDisableRefresh(GetProperty("ro.build.version.sdk", /*default_value=*/""))) { in InitializeConfig()