Home
last modified time | relevance | path

Searched refs:className (Results 1 – 25 of 81) sorted by relevance

1234

/libcore/luni/src/main/java/org/xml/sax/helpers/
DXMLReaderFactory.java112 String className = null; in createXMLReader() local
116 try { className = System.getProperty (property); } in createXMLReader()
120 if (className == null) { in createXMLReader()
134 className = reader.readLine(); in createXMLReader()
144 if (className == null) { in createXMLReader()
155 if (className != null) in createXMLReader()
156 return loadClass (loader, className); in createXMLReader()
185 public static XMLReader createXMLReader (String className) in createXMLReader() argument
188 return loadClass (NewInstance.getClassLoader (), className); in createXMLReader()
192 private static XMLReader loadClass (ClassLoader loader, String className) in loadClass() argument
[all …]
DParserFactory.java85 String className = System.getProperty("org.xml.sax.parser"); in makeParser() local
86 if (className == null) { in makeParser()
89 return makeParser(className); in makeParser()
117 public static Parser makeParser (String className) in makeParser() argument
124 NewInstance.getClassLoader (), className); in makeParser()
DNewInstance.java41 static Object newInstance (ClassLoader classLoader, String className) in newInstance() argument
47 driverClass = Class.forName(className); in newInstance()
49 driverClass = classLoader.loadClass(className); in newInstance()
/libcore/ojluni/src/main/java/sun/security/jca/
DProviderConfig.java64 private final String className; field in ProviderConfig
80 ProviderConfig(String className, String argument) { in ProviderConfig() argument
81 if (className.equals(P11_SOL_NAME) && argument.equals(P11_SOL_ARG)) { in ProviderConfig()
84 this.className = className; in ProviderConfig()
88 ProviderConfig(String className) { in ProviderConfig() argument
89 this(className, ""); in ProviderConfig()
93 this.className = provider.getClass().getName(); in ProviderConfig()
147 return this.className.equals(other.className) in equals()
152 return className.hashCode() + argument.hashCode(); in hashCode()
157 return className + "('" + argument + "')"; in toString()
[all …]
/libcore/ojluni/src/main/java/java/util/
DMissingResourceException.java60 public MissingResourceException(String s, String className, String key) { in MissingResourceException() argument
62 this.className = className; in MissingResourceException()
84 MissingResourceException(String message, String className, String key, Throwable cause) { in MissingResourceException() argument
86 this.className = className; in MissingResourceException()
96 return className; in getClassName()
117 private String className; field in MissingResourceException
/libcore/metrictests/memory/host/src/libcore/heapmetrics/
DHeapCategorization.java270 private boolean isAndroidUtilClass(String className) { in isAndroidUtilClass() argument
271 return className.startsWith("android.util.") in isAndroidUtilClass()
272 || className.startsWith("com.android.internal.util."); in isAndroidUtilClass()
275 private boolean isAndroidFrameworkClass(String className) { in isAndroidFrameworkClass() argument
276 return (className.startsWith("android.") in isAndroidFrameworkClass()
277 && !className.startsWith("android.icu.") in isAndroidFrameworkClass()
278 && !className.startsWith("android.util.")) in isAndroidFrameworkClass()
280 (className.startsWith("com.android.internal.") in isAndroidFrameworkClass()
281 && !className.startsWith("com.android.internal.util.")); in isAndroidFrameworkClass()
284 private boolean isSecurityClass(String className) { in isSecurityClass() argument
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/
DProviderConfig.java34 ProviderConfig(java.lang.String className, java.lang.String argument) { in ProviderConfig() argument
38 ProviderConfig(java.lang.String className) { in ProviderConfig() argument
89 java.lang.String className, java.lang.ClassLoader cl) throws java.lang.Exception { in initProvider() argument
116 private final java.lang.String className; field in ProviderConfig
119 className = null;
/libcore/ojluni/src/main/java/javax/security/cert/
DX509Certificate.java216 String className = X509Provider; in getInst() local
217 if (className == null || className.length() == 0) { in getInst()
222 className = DEFAULT_X509_CERT_CLASS; in getInst()
232 Class<?> certClass = Class.forName(className); in getInst()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DInvalidClassExceptionTest.java48 final String className = "Object"; in test_ConstructorLjava_lang_StringLjava_lang_String() local
51 throw new InvalidClassException(className, message); in test_ConstructorLjava_lang_StringLjava_lang_String()
58 returnedMessage.indexOf(className) >= 0 in test_ConstructorLjava_lang_StringLjava_lang_String()
/libcore/luni/src/main/java/javax/xml/datatype/
DFactoryFinder.java148 String className, in newInstance() argument
155 spiClass = Class.forName(className); in newInstance()
157 spiClass = classLoader.loadClass(className); in newInstance()
161 debugPrintln("Loaded " + className + " from " + which(spiClass)); in newInstance()
167 "Provider " + className + " not found", x); in newInstance()
170 "Provider " + className + " could not be instantiated: " + x, x); in newInstance()
/libcore/luni/src/main/java/javax/xml/transform/
DTransformerFactory.java76 String className = "org.apache.xalan.processor.TransformerFactoryImpl"; in newInstance() local
78 return (TransformerFactory) Class.forName(className).newInstance(); in newInstance()
80 throw new NoClassDefFoundError(className); in newInstance()
/libcore/support/src/test/java/tests/util/
DClassLoaderBuilder.java83 @Override protected Class<?> loadClass(String className, boolean resolve) in build()
86 if (className.startsWith(prefix)) { in build()
93 if (className.startsWith(prefix)) { in build()
99 return super.loadClass(className, resolve); in build()
/libcore/ojluni/src/main/native/
DInet4Address.c31 #define NATIVE_METHOD(className, functionName, signature) \ argument
32 { #functionName, signature, (void*)(className ## _ ## functionName) }
DFloat.c31 #define NATIVE_METHOD(className, functionName, signature) \ argument
32 { #functionName, signature, (void*)(className ## _ ## functionName) }
DDouble.c33 #define NATIVE_METHOD(className, functionName, signature) \ argument
34 { #functionName, signature, (void*)(className ## _ ## functionName) }
DFileDescriptor_md.c34 #define NATIVE_METHOD(className, functionName, signature) \ argument
35 { #functionName, signature, (void*)(className ## _ ## functionName) }
DInetAddress.c31 #define NATIVE_METHOD(className, functionName, signature) \ argument
32 { #functionName, signature, (void*)(className ## _ ## functionName) }
DFileKey.c33 #define NATIVE_METHOD(className, functionName, signature) \ argument
34 { #functionName, signature, (void*)(className ## _ ## functionName) }
DInet6Address.c31 #define NATIVE_METHOD(className, functionName, signature) \ argument
32 { #functionName, signature, (void*)(className ## _ ## functionName) }
DConsole_md.c36 #define NATIVE_METHOD(className, functionName, signature) \ argument
37 { #functionName, signature, (void*)(Java_java_io_ ## className ## _ ## functionName) }
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathFactoryFinder.java232 XPathFactory createInstance( String className ) { in createInstance() argument
234 if (debug) debugPrintln("instantiating "+className); in createInstance()
237 clazz = classLoader.loadClass(className); in createInstance()
239 clazz = Class.forName(className); in createInstance()
246 if (debug) debugPrintln(className+" is not assignable to "+SERVICE_CLASS.getName()); in createInstance()
258 debugPrintln("failed to instantiate "+className); in createInstance()
/libcore/luni/src/main/java/javax/xml/validation/
DSchemaFactoryFinder.java257 SchemaFactory createInstance( String className ) { in createInstance() argument
259 if (debug) debugPrintln("instantiating "+className); in createInstance()
262 clazz = classLoader.loadClass(className); in createInstance()
264 clazz = Class.forName(className); in createInstance()
271 if (debug) debugPrintln(className+" is not assignable to "+SERVICE_CLASS.getName()); in createInstance()
282 debugPrintln("failed to instantiate "+className); in createInstance()
/libcore/luni/src/test/java/libcore/java/net/
DURLStreamHandlerFactoryTest.java120 String className = Handler.class.getName(); in getHandlerPackageName() local
121 return className.substring(0, className.indexOf(".http.Handler")); in getHandlerPackageName()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java412 String className = Class.forName("java.lang.Object").getName(); in test_getName() local
413 assertNotNull(className); in test_getName()
415 assertEquals("Class getName printed wrong value", "java.lang.Object", className); in test_getName()
417 className = Class.forName("[I").getName(); in test_getName()
418 assertNotNull(className); in test_getName()
419 assertEquals("Class getName printed wrong value", "[I", className); in test_getName()
421 className = Class.forName("[Ljava.lang.Object;").getName(); in test_getName()
422 assertNotNull(className); in test_getName()
424 assertEquals("Class getName printed wrong value", "[Ljava.lang.Object;", className); in test_getName()
/libcore/ojluni/src/main/java/java/security/
DProvider.java1011 String className = value; in parseLegacyPut() local
1020 s.className = className; in parseLegacyPut()
1430 private String type, algorithm, className; field in Provider.Service
1465 return (type != null) && (algorithm != null) && (className != null); in isValid()
1497 String className, List<String> aliases, in Service() argument
1500 (algorithm == null) || (className == null)) { in Service()
1506 this.className = className; in Service()
1556 return className; in getClassName()
1657 + ", class: " + className + ")", e.getCause()); in newInstance()
1662 + ", class: " + className + ")", e); in newInstance()
[all …]

1234