Home
last modified time | relevance | path

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

12345678

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DCharacter_UnicodeBlockTest.java574 …assertEquals(Character.UnicodeBlock.SURROGATES_AREA, Character.UnicodeBlock.forName("SURROGATES_AR… in test_forNameLjava_lang_String()
575 … assertEquals(Character.UnicodeBlock.BASIC_LATIN, Character.UnicodeBlock.forName("BASIC_LATIN")); in test_forNameLjava_lang_String()
576 … assertEquals(Character.UnicodeBlock.BASIC_LATIN, Character.UnicodeBlock.forName("Basic Latin")); in test_forNameLjava_lang_String()
577 … assertEquals(Character.UnicodeBlock.BASIC_LATIN, Character.UnicodeBlock.forName("BasicLatin")); in test_forNameLjava_lang_String()
578 …assertEquals(Character.UnicodeBlock.LATIN_1_SUPPLEMENT, Character.UnicodeBlock.forName("LATIN_1_SU… in test_forNameLjava_lang_String()
579 …assertEquals(Character.UnicodeBlock.LATIN_1_SUPPLEMENT, Character.UnicodeBlock.forName("Latin-1 Su… in test_forNameLjava_lang_String()
580 …assertEquals(Character.UnicodeBlock.LATIN_1_SUPPLEMENT, Character.UnicodeBlock.forName("Latin-1Sup… in test_forNameLjava_lang_String()
581 …assertEquals(Character.UnicodeBlock.LATIN_EXTENDED_A, Character.UnicodeBlock.forName("LATIN_EXTEND… in test_forNameLjava_lang_String()
582 …assertEquals(Character.UnicodeBlock.LATIN_EXTENDED_A, Character.UnicodeBlock.forName("Latin Extend… in test_forNameLjava_lang_String()
583 …assertEquals(Character.UnicodeBlock.LATIN_EXTENDED_A, Character.UnicodeBlock.forName("LatinExtende… in test_forNameLjava_lang_String()
[all …]
DClassTest.java99 Object.class, Class.forName("java.lang.Object")); in test_forNameLjava_lang_String()
101 Object[][].class, Class.forName("[[Ljava.lang.Object;")); in test_forNameLjava_lang_String()
104 int[].class, Class.forName("[I")); in test_forNameLjava_lang_String()
107 Class.forName("int"); in test_forNameLjava_lang_String()
113 Class.forName("byte"); in test_forNameLjava_lang_String()
118 Class.forName("char"); in test_forNameLjava_lang_String()
124 Class.forName("void"); in test_forNameLjava_lang_String()
130 Class.forName("short"); in test_forNameLjava_lang_String()
135 Class.forName("long"); in test_forNameLjava_lang_String()
141 Class.forName("boolean"); in test_forNameLjava_lang_String()
[all …]
DPackageTest.java39 return Class.forName(className, true, ucl).getPackage(); in getTestPackage()
310 Class.forName("p.C", true, uclClassLoader); in test_SealedPackage_forName()
312 Class.forName("p.D", true, uclClassLoader); in test_SealedPackage_forName()
327 Class.forName("p.C", true, uclClassLoader); in test_SealedPackage_forName()
329 Class.forName("p.D", true, uclClassLoader); in test_SealedPackage_forName()
338 Class.forName("p.D", true, uclClassLoader); in test_SealedPackage_forName()
340 Class.forName("p.C", true, uclClassLoader); in test_SealedPackage_forName()
349 Class.forName("p.D", true, uclClassLoader); in test_SealedPackage_forName()
351 Class.forName("p.C", true, uclClassLoader); in test_SealedPackage_forName()
360 Class.forName("p.C", true, uclClassLoader); in test_SealedPackage_forName()
[all …]
/external/smack/src/org/jivesoftware/smackx/
DInitStaticCode.java37 …Class.forName(org.jivesoftware.smackx.ServiceDiscoveryManager.class.getName(), true, appClassLoade… in initStaticCode()
38 … Class.forName(org.jivesoftware.smack.PrivacyListManager.class.getName(), true, appClassLoader); in initStaticCode()
39 Class.forName(org.jivesoftware.smackx.XHTMLManager.class.getName(), true, appClassLoader); in initStaticCode()
40 … Class.forName(org.jivesoftware.smackx.muc.MultiUserChat.class.getName(), true, appClassLoader); in initStaticCode()
41 …Class.forName(org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamManager.class.getName(), tru… in initStaticCode()
42 …Class.forName(org.jivesoftware.smackx.bytestreams.socks5.Socks5BytestreamManager.class.getName(), … in initStaticCode()
43 …Class.forName(org.jivesoftware.smackx.filetransfer.FileTransferManager.class.getName(), true, appC… in initStaticCode()
44 … Class.forName(org.jivesoftware.smackx.LastActivityManager.class.getName(), true, appClassLoader); in initStaticCode()
45 … Class.forName(org.jivesoftware.smack.ReconnectionManager.class.getName(), true, appClassLoader); in initStaticCode()
46 …Class.forName(org.jivesoftware.smackx.commands.AdHocCommandManager.class.getName(), true, appClass… in initStaticCode()
/external/smack/asmack-master/static-src/custom/org/jivesoftware/smackx/
DInitStaticCode.java37 …Class.forName(org.jivesoftware.smackx.ServiceDiscoveryManager.class.getName(), true, appClassLoade… in initStaticCode()
38 … Class.forName(org.jivesoftware.smack.PrivacyListManager.class.getName(), true, appClassLoader); in initStaticCode()
39 Class.forName(org.jivesoftware.smackx.XHTMLManager.class.getName(), true, appClassLoader); in initStaticCode()
40 … Class.forName(org.jivesoftware.smackx.muc.MultiUserChat.class.getName(), true, appClassLoader); in initStaticCode()
41 …Class.forName(org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamManager.class.getName(), tru… in initStaticCode()
42 …Class.forName(org.jivesoftware.smackx.bytestreams.socks5.Socks5BytestreamManager.class.getName(), … in initStaticCode()
43 …Class.forName(org.jivesoftware.smackx.filetransfer.FileTransferManager.class.getName(), true, appC… in initStaticCode()
44 … Class.forName(org.jivesoftware.smackx.LastActivityManager.class.getName(), true, appClassLoader); in initStaticCode()
45 … Class.forName(org.jivesoftware.smack.ReconnectionManager.class.getName(), true, appClassLoader); in initStaticCode()
46 …Class.forName(org.jivesoftware.smackx.commands.AdHocCommandManager.class.getName(), true, appClass… in initStaticCode()
/external/guava/guava/src/com/google/common/base/
DCharsets.java34 public static final Charset US_ASCII = Charset.forName("US-ASCII");
39 public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
44 public static final Charset UTF_8 = Charset.forName("UTF-8");
49 public static final Charset UTF_16BE = Charset.forName("UTF-16BE");
54 public static final Charset UTF_16LE = Charset.forName("UTF-16LE");
60 public static final Charset UTF_16 = Charset.forName("UTF-16");
/external/guava/guava-tests/test/com/google/common/base/
DCharsetsTest.java30 assertEquals(Charset.forName("US-ASCII"), Charsets.US_ASCII); in testUsAscii()
34 assertEquals(Charset.forName("ISO-8859-1"), Charsets.ISO_8859_1); in testIso88591()
38 assertEquals(Charset.forName("UTF-8"), Charsets.UTF_8); in testUtf8()
42 assertEquals(Charset.forName("UTF-16BE"), Charsets.UTF_16BE); in testUtf16be()
46 assertEquals(Charset.forName("UTF-16LE"), Charsets.UTF_16LE); in testUtf16le()
50 assertEquals(Charset.forName("UTF-16"), Charsets.UTF_16); in testUtf16()
/external/smack/asmack-master/patch/
D30-switch-debugging-implementations.patch7 - Class.forName("org.jivesoftware.smackx.debugger.EnhancedDebugger");
8 + Class.forName("de.measite.smack.AndroidDebugger");
13 - Class.forName("org.jivesoftware.smack.debugger.LiteDebugger");
14 + Class.forName("org.jivesoftware.smack.debugger.ConsoleDebugger…
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DInputStreamReaderTest.java185 Charset cs = Charset.forName("utf-8"); in test_close()
186 assertEquals(cs, Charset.forName(reader.getEncoding())); in test_close()
243 assertEquals(Charset.forName(reader2.getEncoding()), Charset in test_ConstructorLjava_io_InputStreamLjava_lang_String()
244 .forName("utf-8")); in test_ConstructorLjava_io_InputStreamLjava_lang_String()
247 assertEquals(Charset.forName(reader2.getEncoding()), Charset in test_ConstructorLjava_io_InputStreamLjava_lang_String()
248 .forName("utf-8")); in test_ConstructorLjava_io_InputStreamLjava_lang_String()
258 Charset cs = Charset.forName("utf-8"); in test_ConstructorLjava_io_InputStreamLjava_nio_charset_Charset()
272 assertEquals(Charset.forName(reader2.getEncoding()), cs); in test_ConstructorLjava_io_InputStreamLjava_nio_charset_Charset()
282 CharsetDecoder decoder = Charset.forName("utf-8").newDecoder(); in test_ConstructorLjava_io_InputStreamLjava_nio_charset_CharsetDecoder()
296 assertEquals(Charset.forName(reader2.getEncoding()), decoder.charset()); in test_ConstructorLjava_io_InputStreamLjava_nio_charset_CharsetDecoder()
[all …]
DOutputStreamWriterTest.java343 assertEquals(Charset.forName("ascii"), Charset.forName(writer2 in testOutputStreamWriterOutputStreamString()
352 Charset cs = Charset.forName("ascii"); in testOutputStreamWriterOutputStreamCharset()
366 assertEquals(cs, Charset.forName(writer2.getEncoding())); in testOutputStreamWriterOutputStreamCharset()
375 Charset cs = Charset.forName("ascii"); in testOutputStreamWriterOutputStreamCharsetEncoder()
390 assertEquals(cs, Charset.forName(writer2.getEncoding())); in testOutputStreamWriterOutputStreamCharsetEncoder()
395 Charset cs = Charset.forName("utf-8"); in testGetEncoding()
396 assertEquals(cs, Charset.forName(writer.getEncoding())); in testGetEncoding()
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/
DJmeDesktopSystem.java122 … ctxClazz = (Class<? extends JmeContext>) Class.forName("com.jme3.system.lwjgl.LwjglCanvas"); in newContextLwjgl()
125 … ctxClazz = (Class<? extends JmeContext>) Class.forName("com.jme3.system.lwjgl.LwjglDisplay"); in newContextLwjgl()
128 …ctxClazz = (Class<? extends JmeContext>) Class.forName("com.jme3.system.lwjgl.LwjglOffscreenBuffer… in newContextLwjgl()
152 … ctxClazz = (Class<? extends JmeContext>) Class.forName("com.jme3.system.jogl.JoglDisplay"); in newContextJogl()
155 … ctxClazz = (Class<? extends JmeContext>) Class.forName("com.jme3.system.jogl.JoglCanvas"); in newContextJogl()
179 ctxClazz = (Class<? extends JmeContext>) Class.forName(className); in newContextCustom()
224 … clazz = (Class<? extends AudioRenderer>) Class.forName("com.jme3.audio.lwjgl.LwjglAudioRenderer"); in newAudioRenderer()
226 … clazz = (Class<? extends AudioRenderer>) Class.forName("com.jme3.audio.joal.JoalAudioRenderer"); in newAudioRenderer()
/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/apache-http/src/org/apache/commons/logging/
DLogSource.java79 if (null != Class.forName("org.apache.log4j.Logger")) {
90 if ((null != Class.forName("java.util.logging.Logger")) &&
91 (null != Class.forName("org.apache.commons.logging.impl.Jdk14Logger"))) {
168 Class logclass = Class.forName(classname); in setLogImplementation()
/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/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/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/runners/util/
DRunnerProvider.java18 Class.forName("org.junit.runners.BlockJUnit4ClassRunner");
32 Class<?> runnerClass = Class.forName(runnerClassName); in newInstance()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
DSFTPv3Client.java167 Charset.forName(charset); in setCharset()
202 listener.write(Packet.forName(type)); in sendMessage()
393 listener.read(Packet.forName(t)); in fstat()
432 listener.read(Packet.forName(t)); in statBoth()
508 listener.read(Packet.forName(t)); in readLink()
546 listener.read(Packet.forName(t)); in expectStatusOKMessage()
668 listener.read(Packet.forName(t)); in canonicalPath()
720 listener.read(Packet.forName(t)); in scanDirectory()
782 listener.read(Packet.forName(t)); in openDirectory()
845 listener.read(Packet.forName(t)); in init()
[all …]
/external/okhttp/src/main/java/com/squareup/okhttp/internal/
DPlatform.java166 openSslSocketClass = Class.forName("com.android.org.conscrypt.OpenSSLSocketImpl"); in findPlatform()
169 openSslSocketClass = Class.forName( in findPlatform()
194 Class<?> nextProtoNegoClass = Class.forName(npnClassName); in findPlatform()
195 Class<?> providerClass = Class.forName(npnClassName + "$Provider"); in findPlatform()
196 Class<?> clientProviderClass = Class.forName(npnClassName + "$ClientProvider"); in findPlatform()
197 Class<?> serverProviderClass = Class.forName(npnClassName + "$ServerProvider"); in findPlatform()
/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/smack/src/org/jivesoftware/smack/compression/
DJzlibInputOutputStream.java39 zoClass = Class.forName("com.jcraft.jzlib.ZOutputStream");
40 ziClass = Class.forName("com.jcraft.jzlib.ZInputStream");
/external/android-mock/src/com/google/android/testing/mocking/
DAndroidFrameworkMockGenerator.java80 classes.add(Class.forName(FileUtils.getSubclassNameFor(clazz, sdkVersion))); in getPrebuiltClassesFor()
81 classes.add(Class.forName(FileUtils.getInterfaceNameFor(clazz, sdkVersion))); in getPrebuiltClassesFor()
109 classList.add(Class.forName(FileUtils.getClassNameFor(jarEntry.getName()))); in getClassList()
/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/easymock/src/org/easymock/internal/
DMethodSerializationWrapper.java62 Class<?> clazz = Class.forName(className, true, Thread.currentThread() in getMethod()
72 parameterTypes[i] = Class.forName(parameterTypeNames[i], true, in getMethod()

12345678