Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp232 EXPECT_THAT(ResourceUtils::ParseSdkVersion("Q"), Eq(std::optional<int>(10000))); in TEST()
233 EXPECT_THAT(ResourceUtils::ParseSdkVersion("Q.fingerprint"), Eq(std::optional<int>(10000))); in TEST()
235 EXPECT_THAT(ResourceUtils::ParseSdkVersion("R"), Eq(std::optional<int>(10000))); in TEST()
236 EXPECT_THAT(ResourceUtils::ParseSdkVersion("R.fingerprint"), Eq(std::optional<int>(10000))); in TEST()
DResourceUtils.h104 std::optional<int> ParseSdkVersion(const android::StringPiece& str);
DResourceUtils.cpp525 std::optional<int> ParseSdkVersion(const StringPiece& str) { in ParseSdkVersion() function
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp729 std::optional<int> version = ResourceUtils::ParseSdkVersion(attr.value); in AndroidSdkTagHandler()
735 std::optional<int> version = ResourceUtils::ParseSdkVersion(attr.value); in AndroidSdkTagHandler()
741 std::optional<int> version = ResourceUtils::ParseSdkVersion(attr.value); in AndroidSdkTagHandler()
/frameworks/base/tools/aapt2/cmd/
DUtil.cpp310 std::optional<int> sdk_version = ResourceUtils::ParseSdkVersion(*compiled_str->value); in ExtractSdkVersion()
323 std::optional<int> sdk_version = ResourceUtils::ParseSdkVersion(attr.value); in ExtractSdkVersion()
DLink.cpp981 app_info.min_sdk_version = ResourceUtils::ParseSdkVersion(min_sdk->value); in ExtractAppInfoFromManifest()