Searched refs:api_level_map (Results 1 – 4 of 4) sorted by relevance
28 utils::ApiLevelMap api_level_map; in TEST() local29 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()
477 utils::ApiLevelMap api_level_map; in InitializeVersionScriptParser() local484 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()
84 void SetApiLevelMap(utils::ApiLevelMap api_level_map);
59 void VersionScriptParser::SetApiLevelMap(utils::ApiLevelMap api_level_map) { in SetApiLevelMap() argument60 api_level_map_ = std::move(api_level_map); in SetApiLevelMap()