Home
last modified time | relevance | path

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

/frameworks/libs/modules-utils/build/tests/
Dunbounded_sdk_level_test.cpp27 bool IsAtLeast(const char *);
48 EXPECT_TRUE(IsAtLeast("1")); in TEST_F()
49 EXPECT_TRUE(IsAtLeast("31")); in TEST_F()
50 EXPECT_TRUE(IsAtLeast(std::to_string(device_api_level_).c_str())); in TEST_F()
52 EXPECT_FALSE(IsAtLeast(std::to_string(device_api_level_ + 1).c_str())); in TEST_F()
53 EXPECT_FALSE(IsAtLeast(std::to_string(__ANDROID_API_FUTURE__).c_str())); in TEST_F()
69 EXPECT_FALSE(IsAtLeast("Aaa")); in TEST_F()
72 EXPECT_TRUE(IsAtLeast("R")); in TEST_F()
73 EXPECT_TRUE(IsAtLeast("S")); in TEST_F()
74 EXPECT_TRUE(IsAtLeast("Sv2")); in TEST_F()
[all …]
Dsdk_level_nostl.cpp33 bool IsAtLeast(const char *version) { in IsAtLeast() function
34 return android::modules::sdklevel::unbounded::IsAtLeast(version); in IsAtLeast()
/frameworks/libs/modules-utils/build/include/android-modules-utils/
Dunbounded_sdk_level.h110 inline bool IsAtLeast(const char *version) { in IsAtLeast() function