Home
last modified time | relevance | path

Searched refs:ParseApiLevel (Results 1 – 5 of 5) sorted by relevance

/development/vndk/tools/header-checker/src/utils/
Dapi_level_test.cpp24 TEST(ApiLevelTest, ParseApiLevel) { in TEST() argument
25 EXPECT_FALSE(ParseApiLevel("")); in TEST()
26 EXPECT_FALSE(ParseApiLevel("A")); in TEST()
28 EXPECT_TRUE(ParseApiLevel("current").hasValue()); in TEST()
29 EXPECT_EQ(FUTURE_API_LEVEL, ParseApiLevel("current").getValue()); in TEST()
31 EXPECT_TRUE(ParseApiLevel("16").hasValue()); in TEST()
32 EXPECT_EQ(16l, ParseApiLevel("16").getValue()); in TEST()
Dapi_level.cpp29 llvm::Optional<ApiLevel> ParseApiLevel(const std::string &api_level_str) { in ParseApiLevel() function
Dapi_level.h33 llvm::Optional<ApiLevel> ParseApiLevel(const std::string &api);
/development/vndk/tools/header-checker/src/repr/symbol/
Dversion_script_parser.cpp99 llvm::Optional<utils::ApiLevel> intro = utils::ParseApiLevel( in ParseSymbolTags()
113 llvm::Optional<utils::ApiLevel> intro = utils::ParseApiLevel( in ParseSymbolTags()
/development/vndk/tools/header-checker/src/linker/
Dheader_abi_linker.cpp419 llvm::Optional<utils::ApiLevel> api_level = utils::ParseApiLevel(api_); in ReadExportedSymbolsFromVersionScript()