Home
last modified time | relevance | path

Searched refs:api_level_map (Results 1 – 4 of 4) sorted by relevance

/development/vndk/tools/header-checker/src/utils/
Dapi_level_test.cpp28 utils::ApiLevelMap api_level_map; in TEST() local
29 api_level_map.Load(json_stream); in TEST()
31 EXPECT_FALSE(api_level_map.Parse("")); in TEST()
32 EXPECT_FALSE(api_level_map.Parse("A")); in TEST()
34 EXPECT_TRUE(api_level_map.Parse("current").has_value()); in TEST()
35 EXPECT_EQ(FUTURE_API_LEVEL, api_level_map.Parse("current").value()); in TEST()
37 EXPECT_TRUE(api_level_map.Parse("UpsideDownCake").has_value()); in TEST()
38 EXPECT_EQ(9000, api_level_map.Parse("UpsideDownCake").value()); in TEST()
40 EXPECT_TRUE(api_level_map.Parse("16").has_value()); in TEST()
41 EXPECT_EQ(16l, api_level_map.Parse("16").value()); in TEST()
/development/vndk/tools/header-checker/src/linker/
Dheader_abi_linker.cpp477 utils::ApiLevelMap api_level_map; in InitializeVersionScriptParser() local
484 if (!api_level_map.Load(stream)) { in InitializeVersionScriptParser()
490 std::optional<utils::ApiLevel> api_level = api_level_map.Parse(api); in InitializeVersionScriptParser()
499 parser.SetApiLevelMap(api_level_map); in InitializeVersionScriptParser()
/development/vndk/tools/header-checker/src/repr/symbol/
Dversion_script_parser.h84 void SetApiLevelMap(utils::ApiLevelMap api_level_map);
Dversion_script_parser.cpp59 void VersionScriptParser::SetApiLevelMap(utils::ApiLevelMap api_level_map) { in SetApiLevelMap() argument
60 api_level_map_ = std::move(api_level_map); in SetApiLevelMap()