Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/text/
DUnicode_test.cpp44 TEST(UnicodeTest, IsJavaIdentifier) { in TEST() argument
45 EXPECT_TRUE(IsJavaIdentifier("FøøBar_12")); in TEST()
46 EXPECT_TRUE(IsJavaIdentifier("Føø$Bar")); in TEST()
47 EXPECT_TRUE(IsJavaIdentifier("_FøøBar")); in TEST()
48 EXPECT_TRUE(IsJavaIdentifier("$Føø$Bar")); in TEST()
50 EXPECT_FALSE(IsJavaIdentifier("12FøøBar")); in TEST()
51 EXPECT_FALSE(IsJavaIdentifier(".Hello")); in TEST()
55 EXPECT_TRUE(IsJavaIdentifier("FøøBar")); in TEST()
DUnicode.h49 bool IsJavaIdentifier(const android::StringPiece& str);
DUnicode.cpp80 bool IsJavaIdentifier(const StringPiece& str) { in IsJavaIdentifier() function
/frameworks/base/tools/aapt2/java/
DManifestClassGenerator.cpp29 using ::aapt::text::IsJavaIdentifier;
51 if (!IsJavaIdentifier(result)) { in ExtractJavaIdentifier()
/frameworks/base/tools/aapt2/util/
DUtil.cpp132 if (!text::IsJavaIdentifier(piece)) { in IsJavaNameImpl()