Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/text/
DUnicode_test.cpp54 TEST(UnicodeTest, IsValidResourceEntryName) { in TEST() argument
56 EXPECT_TRUE(IsValidResourceEntryName("FøøBar_12")); in TEST()
57 EXPECT_TRUE(IsValidResourceEntryName("Føø.Bar")); in TEST()
58 EXPECT_TRUE(IsValidResourceEntryName("Føø-Bar")); in TEST()
59 EXPECT_TRUE(IsValidResourceEntryName("_FøøBar")); in TEST()
61 EXPECT_FALSE(IsValidResourceEntryName("12FøøBar")); in TEST()
62 EXPECT_FALSE(IsValidResourceEntryName("Føø$Bar")); in TEST()
63 EXPECT_FALSE(IsValidResourceEntryName("Føø/Bar")); in TEST()
64 EXPECT_FALSE(IsValidResourceEntryName("Føø:Bar")); in TEST()
65 EXPECT_FALSE(IsValidResourceEntryName("Føø;Bar")); in TEST()
[all …]
DUnicode.h53 bool IsValidResourceEntryName(const android::StringPiece& str);
DUnicode.cpp102 bool IsValidResourceEntryName(const StringPiece& str) { in IsValidResourceEntryName() function
/frameworks/base/tools/aapt2/compile/
DXmlIdCollector.cpp50 if (!text::IsValidResourceEntryName(name.entry)) { in Visit()
/frameworks/base/tools/aapt2/
DResourceTable.cpp37 using ::aapt::text::IsValidResourceEntryName;
334 if (!IsValidResourceEntryName(name)) { in ResourceNameValidator()