Searched defs:className (Results 1 - 23 of 23) sorted by relevance

/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DParserFactory.java85 String className = System.getProperty("org.xml.sax.parser");
86 if (className == null) {
89 return makeParser(className);
102 * @param className A string containing the name of the
117 public static Parser makeParser (String className) argument
124 NewInstance.getClassLoader (), className);
H A DNewInstance.java41 static Object newInstance (ClassLoader classLoader, String className) argument
47 driverClass = Class.forName(className);
49 driverClass = classLoader.loadClass(className);
H A DXMLReaderFactory.java109 String className = null;
113 try { className = System.getProperty (property); }
117 if (className == null) {
130 className = reader.readLine ();
138 if (className == null) {
142 // className = "com.example.sax.XmlReader";
149 if (className != null)
150 return loadClass (loader, className);
168 * @param className the name of the class that should be instantiated.
179 public static XMLReader createXMLReader (String className) argument
185 loadClass(ClassLoader loader, String className) argument
[all...]
/libcore/luni/src/main/java/java/io/
H A DInvalidClassException.java59 * @param className
64 public InvalidClassException(String className, String detailMessage) { argument
66 this.classname = className;
H A DObjectStreamClass.java144 private transient String className; field in class:ObjectStreamClass
711 String className = constructorClass != null ? constructorClass.getName() : null;
712 throw new InvalidClassException(className, "IllegalAccessException");
923 return className;
1269 className = newName;
/libcore/luni/src/main/java/java/util/
H A DMissingResourceException.java33 String className, key; field in class:MissingResourceException
42 * @param className
47 public MissingResourceException(String detailMessage, String className, argument
50 this.className = className;
62 return className;
H A DServiceLoader.java169 final String className = System.getProperty(service.getName());
170 if (className != null) {
171 Class<?> c = ClassLoader.getSystemClassLoader().loadClass(className);
212 String className = queue.remove();
214 return service.cast(classLoader.loadClass(className).newInstance());
216 throw new ServiceConfigurationError("Couldn't instantiate class " + className, e);
237 String className = line;
238 checkValidJavaClassName(className);
239 if (!queue.contains(className)) {
240 queue.add(className);
256 checkValidJavaClassName(String className) argument
[all...]
H A DResourceBundle.java236 private static MissingResourceException missingResourceException(String className, String key) { argument
237 String detail = "Can't find resource for bundle '" + className + "', key '" + key + "'";
238 throw new MissingResourceException(detail, className, key);
/libcore/luni/src/main/java/javax/xml/datatype/
H A DFactoryFinder.java121 * @param className Name of class to create.
129 String className,
136 spiClass = Class.forName(className);
138 spiClass = classLoader.loadClass(className);
142 debugPrintln("Loaded " + className + " from " + which(spiClass));
148 "Provider " + className + " not found", x);
151 "Provider " + className + " could not be instantiated: " + x, x);
128 newInstance( String className, ClassLoader classLoader) argument
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DProviderServiceTest.java46 new Provider.Service(null, "type", "algorithm", "className", null,
52 new Provider.Service(p, null, "algorithm", "className", null, null);
57 new Provider.Service(p, "type", null, "className", null, null);
63 fail("className is null: No expected NullPointerException");
68 "className", null, null);
79 if (!s.getClassName().equals("className")) {
90 "className", null, null);
106 s = new Provider.Service(p, "type", "algorithm", "className", null, hm);
132 "className", null, null);
144 "className", nul
207 MyService(Provider provider, String type, String algorithm, String className, List<String> aliases, Map<String, String> attributes) argument
[all...]
H A DSignatureTest.java624 protected MyProvider(String name, double version, String info, String signame, String className) { argument
626 put(signame, className);
/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DBinaryHprofWriter.java209 private int writeLoadClass(String className) throws IOException { argument
210 Integer identifier = classNameToId.get(className);
215 classNameToId.put(className, id);
217 int classNameId = writeString(className);
/libcore/luni/src/main/java/java/util/logging/
H A DLogManager.java151 String className = System.getProperty("java.util.logging.manager");
152 if (className != null) {
153 manager = (LogManager) getInstanceByClass(className);
349 static Object getInstanceByClass(final String className) { argument
351 Class<?> clazz = ClassLoader.getSystemClassLoader().loadClass(className);
355 Class<?> clazz = Thread.currentThread().getContextClassLoader().loadClass(className);
358 System.err.println("Loading class '" + className + "' failed");
H A DHandler.java65 private Object getDefaultInstance(String className) { argument
67 if (className == null) {
71 result = Class.forName(className).newInstance();
79 private Object getCustomizeInstance(final String className) throws Exception { argument
84 Class<?> c = loader.loadClass(className);
/libcore/luni/src/test/java/libcore/java/util/logging/
H A DOldFileHandlerTest.java42 final static String className = OldFileHandlerTest.class.getName(); field in class:OldFileHandlerTest
56 props.put("java.util.logging.FileHandler.filter", className
58 props.put("java.util.logging.FileHandler.formatter", className
H A DOldLogManagerTest.java41 private static String className = OldLogManagerTest.class.getName(); field in class:OldLogManagerTest
50 props.put("handlers", className + "$MockHandler " + className + "$MockHandler");
/libcore/libart/src/main/java/java/lang/
H A DClassLoader.java245 * @param className
263 protected final Class<?> defineClass(String className, byte[] classRep, int offset, int length) argument
274 * @param className
295 * if {@code className} is not equal to the name of the class
298 protected final Class<?> defineClass(String className, byte[] classRep, int offset, int length, argument
321 * if {@code className} is not equal to the name of the class
337 * @param className
343 protected Class<?> findClass(String className) throws ClassNotFoundException { argument
344 throw new ClassNotFoundException(className);
351 * @param className
356 findLoadedClass(String className) argument
375 findSystemClass(String className) argument
468 loadClass(String className) argument
498 loadClass(String className, boolean resolve) argument
836 loadClass(String className, boolean resolve) argument
[all...]
H A DClass.java271 public static Class<?> forName(String className) throws ClassNotFoundException { argument
272 return forName(className, true, VMStack.getCallingClassLoader());
294 public static Class<?> forName(String className, boolean shouldInitialize, argument
308 result = classForName(className, shouldInitialize, classLoader);
319 static native Class<?> classForName(String className, boolean shouldInitialize, argument
/libcore/luni/src/main/java/java/net/
H A DURLClassLoader.java734 protected Class<?> findClass(final String className) throws ClassNotFoundException { argument
735 String partialName = className.replace('.', '/');
748 Class<?> res = handler.findClass(packageName, classFileName, className);
753 throw new ClassNotFoundException(className);
/libcore/luni/src/main/java/java/security/
H A DProvider.java529 super.put(s.type + "." + s.algorithm, s.className);
609 if (i == -1) { // <crypto_service>.<algorithm_or_type>=<className>
686 String className = (String) changedProperties
688 if (className != null) {
692 className, l, new HashMap<String, String>());
707 if (i == -1) { // <crypto_service>.<algorithm_or_type>=<className>
717 s.className = value;
742 String className = (String) changedProperties
744 if (className != null) {
748 className, ne
872 loadClassOrThrow(String className) argument
890 private String className; field in class:Provider.Service
936 Service(Provider provider, String type, String algorithm, String className, List<String> aliases, Map<String, String> attributes) argument
[all...]
/libcore/luni/src/test/java/dalvik/system/
H A DDexClassLoaderTest.java165 Configuration config, String className, String methodName)
169 Class c = dcl.loadClass(className);
164 createInstanceAndCallStaticMethod( Configuration config, String className, String methodName) argument
/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 409 milliseconds