Searched refs:GetResourceContent (Results 1 – 4 of 4) sorted by relevance
/external/libtextclassifier/native/utils/ |
D | resources_test.cc | 132 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("en-US")}, in TEST_F() 135 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("en-GB")}, in TEST_F() 138 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("pt-PT")}, in TEST_F() 141 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("zh-Hans-CN")}, in TEST_F() 144 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("zh")}, in TEST_F() 147 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("fr-CA")}, in TEST_F() 158 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("en-CA")}, in TEST_F() 169 EXPECT_FALSE(resources.GetResourceContent({Locale::FromBCP47("es-US")}, in TEST_F() 179 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("es-US")}, in TEST_F() 191 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("fr-CH")}, in TEST_F() [all …]
|
D | resources.h | 36 bool GetResourceContent(const std::vector<Locale>& locales,
|
D | resources.cc | 114 bool Resources::GetResourceContent(const std::vector<Locale>& locales, in GetResourceContent() function in libtextclassifier3::Resources
|
/external/libtextclassifier/native/utils/intents/ |
D | jni-lua.cc | 388 if (!resources_.GetResourceContent(device_locales_, resource_name, in LookupModelStringResource()
|