Home
last modified time | relevance | path

Searched refs:forName (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/external/guava/guava/src/com/google/common/base/
DCharsets.java49 public static final Charset US_ASCII = Charset.forName("US-ASCII");
59 public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
68 public static final Charset UTF_8 = Charset.forName("UTF-8");
78 public static final Charset UTF_16BE = Charset.forName("UTF-16BE");
88 public static final Charset UTF_16LE = Charset.forName("UTF-16LE");
99 public static final Charset UTF_16 = Charset.forName("UTF-16");
/external/guava/guava-tests/test/com/google/common/base/
DCharsetsTest.java37 assertEquals(Charset.forName("US-ASCII"), Charsets.US_ASCII); in testUsAscii()
42 assertEquals(Charset.forName("ISO-8859-1"), Charsets.ISO_8859_1); in testIso88591()
46 assertEquals(Charset.forName("UTF-8"), Charsets.UTF_8); in testUtf8()
51 assertEquals(Charset.forName("UTF-16BE"), Charsets.UTF_16BE); in testUtf16be()
56 assertEquals(Charset.forName("UTF-16LE"), Charsets.UTF_16LE); in testUtf16le()
61 assertEquals(Charset.forName("UTF-16"), Charsets.UTF_16); in testUtf16()
/external/javasqlite/src/main/java/SQLite/
DJDBCDriver.java22 args[0] = Class.forName("java.lang.String");
40 Class.forName(cvers);
47 Class.forName(cvers);
51 Class.forName(cvers);
57 connClass = Class.forName(cvers);
/external/testng/src/main/java/org/testng/internal/
DClassHelper.java88 public static Class<?> forName(final String className) { in forName() method in ClassHelper
114 return Class.forName(className); in forName()
192 Class.forName("org.junit.Test"); in createTestRunner()
193 … IJUnitTestRunner tr = (IJUnitTestRunner) ClassHelper.forName(JUNIT_4_TESTRUNNER).newInstance(); in createTestRunner()
200 Class.forName("junit.framework.Test"); in createTestRunner()
201 … IJUnitTestRunner tr = (IJUnitTestRunner) ClassHelper.forName(JUNIT_TESTRUNNER).newInstance(); in createTestRunner()
272 Class<?> cls = Class.forName(selector.getClassName()); in createSelector()
417 result = Class.forName(ecn); in getEnclosingClass()
513 result = ClassHelper.forName(file); in fileToClass()
560 result = ClassHelper.forName(className.toString()); in fileToClass()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DPlatform.java108 Class.forName("com.android.org.conscrypt.OpenSSLSocketImpl"); in findPlatform()
111 Class.forName("org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl"); in findPlatform()
125 Class<?> trafficStats = Class.forName("android.net.TrafficStats"); in findPlatform()
131 Class.forName("android.net.Network"); // Arbitrary class added in Android 5.0. in findPlatform()
148 Class<?> negoClass = Class.forName(negoClassName); in findPlatform()
149 Class<?> providerClass = Class.forName(negoClassName + "$Provider"); in findPlatform()
150 Class<?> clientProviderClass = Class.forName(negoClassName + "$ClientProvider"); in findPlatform()
151 Class<?> serverProviderClass = Class.forName(negoClassName + "$ServerProvider"); in findPlatform()
/external/vogar/src/vogar/android/
DAndroidProfiler.java39 Class<?> ThreadSet = Class.forName(packageName + ".SamplingProfiler$ThreadSet"); in AndroidProfiler()
40 Class<?> SamplingProfiler = Class.forName(packageName + ".SamplingProfiler"); in AndroidProfiler()
41 Class<?> HprofData = Class.forName(packageName + ".HprofData"); in AndroidProfiler()
42 Class<?> Writer = Class.forName(packageName + ".AsciiHprofWriter"); in AndroidProfiler()
/external/apache-http/src/org/apache/commons/logging/
DLogSource.java84 if (null != Class.forName("org.apache.log4j.Logger")) {
95 if ((null != Class.forName("java.util.logging.Logger")) &&
96 (null != Class.forName("org.apache.commons.logging.impl.Jdk14Logger"))) {
173 Class logclass = Class.forName(classname); in setLogImplementation()
/external/conscrypt/src/compat/java/org/conscrypt/
DPlatform.java79 Class<?> c_socketImpl = Class.forName("java.net.SocketImpl"); in getFileDescriptor()
127 Class<?> c_Libcore = Class.forName("libcore.io.Libcore"); in setSocketWriteTimeout()
167 return Class.forName(klass); in getClass()
261 .forName("org.apache.harmony.xnet.provider.jsse.OpenSSLRSAPrivateKey"); in wrapRsaKey()
338 Class processClass = Class.forName("android.os.Process"); in logEvent()
343 Class eventLogClass = Class.forName("android.util.EventLog"); in logEvent()
385 gcmSpecClass = Class.forName("javax.crypto.spec.GCMParameterSpec"); in fromGCMParameterSpec()
416 gcmSpecClass = Class.forName("javax.crypto.spec.GCMParameterSpec"); in toGCMParameterSpec()
488 Class<?> algNameMapperClass = Class.forName( in oidToAlgorithmName()
507 Class<?> algorithmIdClass = Class.forName("sun.security.x509.AlgorithmId"); in oidToAlgorithmName()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
DAndroidDigestFactory.java35 factoryImplementationClass = Class.forName(OpenSSLFactoryClassName);
37 Class.forName("com.android.org.conscrypt.NativeCrypto");
40 factoryImplementationClass = Class.forName(BouncyCastleFactoryClassName);
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
DgUnitBaseTest.java85 lexer = Class.forName(lexerPath); in execLexer()
179 lexer = Class.forName(lexerPath); in execParser()
187 parser = Class.forName(parserPath); in execParser()
197 Class _treeAdaptor = Class.forName(treeAdaptorPath); in execParser()
220 Class _return = Class.forName(parserPath+"$"+testRuleName+"_return"); in execParser()
324 lexer = Class.forName(lexerPath); in execTreeParser()
332 parser = Class.forName(parserPath); in execTreeParser()
343 Class _treeAdaptor = Class.forName(treeAdaptorPath); in execTreeParser()
362 Class _return = Class.forName(parserPath+"$"+testRuleName+"_return"); in execTreeParser()
377 treeParser = Class.forName(treeParserPath); in execTreeParser()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/reader/
DReaderBomTest.java51 assertEquals(Charset.forName("UTF-8"), reader.getEncoding()); in testNoBom()
77 assertEquals(Charset.forName("UTF-8"), reader.getEncoding()); in testUtf8Bom()
95 assertEquals(Charset.forName("UTF-16LE"), reader.getEncoding()); in testUnicodeLeBom()
113 assertEquals(Charset.forName("UTF-16BE"), reader.getEncoding()); in testUnicodeBeBom()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/reader/
DUnicodeReader.java54 private static final Charset UTF8 = Charset.forName("UTF-8");
55 private static final Charset UTF16BE = Charset.forName("UTF-16BE");
56 private static final Charset UTF16LE = Charset.forName("UTF-16LE");
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/debuggee/
DInvokeMethodDebuggee.java81 …c = Class.forName("org.apache.harmony.jpda.tests.jdwp.share.debuggee.InvokeMethodDebuggee$testClas… in run()
82 c = Class.forName("org.apache.harmony.jpda.tests.jdwp.share.debuggee.testClass2"); in run()
83 c = Class.forName("org.apache.harmony.jpda.tests.jdwp.share.debuggee.testClass3"); in run()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DURLClassLoaderTest.java96 Class.forName("test", false, loader); in test_Constructor$Ljava_net_URL()
246 assertNotNull(Class.forName("cpack.CNothing", true, ucl)); in test_findClassLjava_lang_String()
276 assertNotNull(Class.forName("bpack.Homer", true, ucl)); in test_findClassLjava_lang_String()
279 Class.forName("bpack.Bart", true, ucl); in test_findClassLjava_lang_String()
286 Class.forName("Main4", true, ucl); in test_findClassLjava_lang_String()
301 Class.forName("cpack.Mock", true, ucl); in test_findClassLjava_lang_String()
334 Class.forName("foo.Foo", false, cl); in test_findClassLjava_lang_String()
340 Class.forName("foo.Foo", false, cl); in test_findClassLjava_lang_String()
518 assertNotNull(Class.forName("Main2", true, ucl)); in test_findClassLjava_lang_String_Jar_Class_Path()
/external/mockito/src/org/mockito/internal/junit/
DJUnitTool.java15 Class.forName("junit.framework.ComparisonFailure");
28 … Class<?> clazz = Class.forName("org.mockito.exceptions.verification.junit.ArgumentsAreDifferent"); in createArgumentsAreDifferentException()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DClassPrepareDebuggee.java51 Class.forName("org.apache.harmony.jpda.tests.jdwp.Events.Class2Prepare"); in run()
55 … Class.forName("org.apache.harmony.jpda.tests.jdwp.Events.SourceDebugExtensionMockClass"); in run()
/external/mockito/src/org/mockito/internal/runners/util/
DRunnerProvider.java18 Class.forName("org.junit.runners.BlockJUnit4ClassRunner");
32 Class<?> runnerClass = Class.forName(runnerClassName); in newInstance()
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
DUtil.java28 static final Charset US_ASCII = Charset.forName("US-ASCII");
29 static final Charset UTF_8 = Charset.forName("UTF-8");
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
DObjectFactory.java88 providerClass = Class.forName(className); in findProviderClass()
97 providerClass = Class.forName(className); in findProviderClass()
/external/testng/src/main/java/org/testng/junit/
DJUnitTestFinder.java48 Class.forName(test); in getJUnitTestRecognizer()
49 Class<JUnitTestRecognizer> c = (Class<JUnitTestRecognizer>) Class.forName(name); in getJUnitTestRecognizer()
/external/objenesis/main/src/org/objenesis/instantiator/perc/
DPercSerializationInstantiator.java52 Class percMethodClass = Class.forName("COM.newmonics.PercClassLoader.Method"); in PercSerializationInstantiator()
59 Class percClassClass = Class.forName("COM.newmonics.PercClassLoader.PercClass"); in PercSerializationInstantiator()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCoverageTest.java36 serializable = Class.forName("java.io.Serializable"); in init()
113 Class c = Class.forName(name); in execute()
148 Class c = Class.forName(className); in visit()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DCoverageTest.java40 serializable = Class.forName("java.io.Serializable"); in init()
117 Class c = Class.forName(name); in execute()
152 Class c = Class.forName(className); in visit()
/external/testng/src/main/java/org/testng/xml/
DXMLParser.java57 …Class factoryClass= ClassHelper.forName("com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryI… in loadSAXParserFactory()
67 Class factoryClass = ClassHelper.forName("org.apache.crimson.jaxp.SAXParserFactoryImpl"); in loadSAXParserFactory()
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DGetAndPostIntegrationTest.java171 … new MultipartEntity(HttpMultipartMode.BROWSER_COMPATIBLE, "sfsadfasdf", Charset.forName("UTF-8")); in testPostRequestWithMultipartExtremEncodedParameters()
172 …Part("specialString", new StringBody("拖拉图片到浏览器,可以实现预览功能", "text/plain", Charset.forName("UTF-8"))); in testPostRequestWithMultipartExtremEncodedParameters()
173 reqEntity.addPart("gender", new StringBody("图片名称", Charset.forName("UTF-8")) { in testPostRequestWithMultipartExtremEncodedParameters()

12345678910>>...13