Searched refs:IsValidEncoding (Results 1 – 4 of 4) sorted by relevance
1365 TEST_F(ClassLoaderContextTest, IsValidEncoding) { in TEST_F() argument1366 ASSERT_TRUE(ClassLoaderContext::IsValidEncoding("PCL[]")); in TEST_F()1367 ASSERT_TRUE(ClassLoaderContext::IsValidEncoding("PCL[foo.dex]")); in TEST_F()1368 ASSERT_TRUE(ClassLoaderContext::IsValidEncoding("PCL[foo.dex];PCL[bar.dex]")); in TEST_F()1369 ASSERT_TRUE(ClassLoaderContext::IsValidEncoding("DLC[];PCL[bar.dex]")); in TEST_F()1371 ClassLoaderContext::IsValidEncoding( in TEST_F()1373 ASSERT_FALSE(ClassLoaderContext::IsValidEncoding("not_valid")); in TEST_F()1374 ASSERT_FALSE(ClassLoaderContext::IsValidEncoding("[]")); in TEST_F()1375 ASSERT_FALSE(ClassLoaderContext::IsValidEncoding("FCL[]")); in TEST_F()1376 ASSERT_FALSE(ClassLoaderContext::IsValidEncoding("foo.dex:bar.dex")); in TEST_F()
221 static bool IsValidEncoding(const std::string& possible_encoded_class_loader_context);
1204 bool ClassLoaderContext::IsValidEncoding(const std::string& possible_encoded_class_loader_context) { in IsValidEncoding() function in art::ClassLoaderContext
506 return ClassLoaderContext::IsValidEncoding(encoded_class_loader_context.c_str()); in VMRuntime_isValidClassLoaderContext()