/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | XMLReaderFactory.java | 110 String className = null; in createXMLReader() local 114 try { className = System.getProperty (property); } in createXMLReader() 118 if (className == null) { in createXMLReader() 132 className = reader.readLine(); in createXMLReader() 142 if (className == null) { in createXMLReader() 153 if (className != null) in createXMLReader() 154 return loadClass (loader, className); in createXMLReader() 183 public static XMLReader createXMLReader (String className) in createXMLReader() argument 186 return loadClass (NewInstance.getClassLoader (), className); in createXMLReader() 190 private static XMLReader loadClass (ClassLoader loader, String className) in loadClass() argument [all …]
|
D | ParserFactory.java | 85 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()
|
D | NewInstance.java | 41 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/ |
D | ProviderConfig.java | 64 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/ |
D | MissingResourceException.java | 60 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/ |
D | HeapCategorization.java | 270 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/ |
D | ProviderConfig.java | 34 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/ |
D | X509Certificate.java | 216 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/ |
D | InvalidClassExceptionTest.java | 48 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/ |
D | FactoryFinder.java | 148 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/ |
D | TransformerFactory.java | 76 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/ |
D | ClassLoaderBuilder.java | 83 @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/ |
D | Inet4Address.c | 31 #define NATIVE_METHOD(className, functionName, signature) \ argument 32 { #functionName, signature, (void*)(className ## _ ## functionName) }
|
D | Float.c | 31 #define NATIVE_METHOD(className, functionName, signature) \ argument 32 { #functionName, signature, (void*)(className ## _ ## functionName) }
|
D | FileOutputStream_md.c | 36 #define NATIVE_METHOD(className, functionName, signature) \ argument 37 { #functionName, signature, (void*)(className ## _ ## functionName) }
|
D | Double.c | 33 #define NATIVE_METHOD(className, functionName, signature) \ argument 34 { #functionName, signature, (void*)(className ## _ ## functionName) }
|
D | FileDescriptor_md.c | 34 #define NATIVE_METHOD(className, functionName, signature) \ argument 35 { #functionName, signature, (void*)(className ## _ ## functionName) }
|
D | Console_md.c | 36 #define NATIVE_METHOD(className, functionName, signature) \ argument 37 { #functionName, signature, (void*)(Java_java_io_ ## className ## _ ## functionName) }
|
D | FileKey.c | 33 #define NATIVE_METHOD(className, functionName, signature) \ argument 34 { #functionName, signature, (void*)(className ## _ ## functionName) }
|
D | Inet6Address.c | 31 #define NATIVE_METHOD(className, functionName, signature) \ argument 32 { #functionName, signature, (void*)(className ## _ ## functionName) }
|
D | InetAddress.c | 31 #define NATIVE_METHOD(className, functionName, signature) \ argument 32 { #functionName, signature, (void*)(className ## _ ## functionName) }
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
D | XPathFactoryFinder.java | 232 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/ |
D | SchemaFactoryFinder.java | 257 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/ |
D | URLStreamHandlerFactoryTest.java | 120 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/ |
D | ClassTest.java | 412 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()
|