Home
last modified time | relevance | path

Searched refs:ParseSdkVersion (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp261 EXPECT_THAT(ResourceUtils::ParseSdkVersion("Q"), Eq(std::optional<int>(10000))); in TEST()
262 EXPECT_THAT(ResourceUtils::ParseSdkVersion("Q.fingerprint"), Eq(std::optional<int>(10000))); in TEST()
264 EXPECT_THAT(ResourceUtils::ParseSdkVersion("R"), Eq(std::optional<int>(10000))); in TEST()
265 EXPECT_THAT(ResourceUtils::ParseSdkVersion("R.fingerprint"), Eq(std::optional<int>(10000))); in TEST()
DResourceUtils.h103 std::optional<int> ParseSdkVersion(android::StringPiece str);
DResourceUtils.cpp519 std::optional<int> ParseSdkVersion(StringPiece str) { in ParseSdkVersion() function
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp722 std::optional<int> version = ResourceUtils::ParseSdkVersion(attr.value); in AndroidSdkTagHandler()
728 std::optional<int> version = ResourceUtils::ParseSdkVersion(attr.value); in AndroidSdkTagHandler()
734 std::optional<int> version = ResourceUtils::ParseSdkVersion(attr.value); in AndroidSdkTagHandler()
/frameworks/base/tools/aapt2/cmd/
DUtil.cpp362 std::optional<int> sdk_version = ResourceUtils::ParseSdkVersion(*compiled_str->value); in ExtractSdkVersion()
375 std::optional<int> sdk_version = ResourceUtils::ParseSdkVersion(attr.value); in ExtractSdkVersion()
DLink.cpp991 app_info.min_sdk_version = ResourceUtils::ParseSdkVersion(min_sdk->value); in ExtractAppInfoFromManifest()