Home
last modified time | relevance | path

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

/frameworks/libs/modules-utils/build/tests/
Dunbounded_sdk_level_test.cpp28 bool IsAtMost(const char *);
55 EXPECT_FALSE(IsAtMost("1")); in TEST_F()
56 EXPECT_FALSE(IsAtMost("30")); in TEST_F()
58 EXPECT_TRUE(IsAtMost(std::to_string(device_api_level_).c_str())); in TEST_F()
60 EXPECT_FALSE(IsAtMost(std::to_string(device_api_level_).c_str())); in TEST_F()
63 EXPECT_TRUE(IsAtMost(std::to_string(device_api_level_ + 1).c_str())); in TEST_F()
64 EXPECT_TRUE(IsAtMost(std::to_string(__ANDROID_API_FUTURE__).c_str())); in TEST_F()
70 EXPECT_TRUE(IsAtMost("Aaa")); in TEST_F()
80 EXPECT_FALSE(IsAtMost("R")); in TEST_F()
81 EXPECT_FALSE(IsAtMost("S")); in TEST_F()
[all …]
Dsdk_level_nostl.cpp36 bool IsAtMost(const char *version) { in IsAtMost() function
37 return android::modules::sdklevel::unbounded::IsAtMost(version); in IsAtMost()
/frameworks/libs/modules-utils/build/include/android-modules-utils/
Dunbounded_sdk_level.h134 inline bool IsAtMost(const char *version) { in IsAtMost() function