Home
last modified time | relevance | path

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

123

/dalvik/libcore/xml/src/main/java/org/xml/sax/helpers/
DXMLReaderFactory.java107 String className = null; in createXMLReader() local
111 try { className = System.getProperty (property); } in createXMLReader()
115 if (className == null) { in createXMLReader()
131 className = reader.readLine (); in createXMLReader()
139 if (className == null) { in createXMLReader()
150 if (className != null) in createXMLReader()
151 return loadClass (loader, className); in createXMLReader()
180 public static XMLReader createXMLReader (String className) in createXMLReader() argument
183 return loadClass (NewInstance.getClassLoader (), className); in createXMLReader()
186 private static XMLReader loadClass (ClassLoader loader, String className) in loadClass() argument
[all …]
DParserFactory.java90 String className = System.getProperty("org.xml.sax.parser"); in makeParser() local
91 if (className == null) { in makeParser()
94 return makeParser(className); in makeParser()
122 public static Parser makeParser (String className) in makeParser() argument
129 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()
/dalvik/libnativehelper/
DJNIHelp.c18 int jniRegisterNativeMethods(JNIEnv* env, const char* className, in jniRegisterNativeMethods() argument
23 LOGV("Registering %s natives\n", className); in jniRegisterNativeMethods()
24 clazz = (*env)->FindClass(env, className); in jniRegisterNativeMethods()
26 LOGE("Native registration unable to find class '%s'\n", className); in jniRegisterNativeMethods()
30 LOGE("RegisterNatives failed for '%s'\n", className); in jniRegisterNativeMethods()
39 int jniThrowException(JNIEnv* env, const char* className, const char* msg) in jniThrowException() argument
43 exceptionClass = (*env)->FindClass(env, className); in jniThrowException()
45 LOGE("Unable to find exception class %s\n", className); in jniThrowException()
51 LOGE("Failed throwing '%s' '%s'\n", className, msg); in jniThrowException()
/dalvik/libcore/luni/src/main/java/java/util/
DMissingResourceException.java34 String className, key; field in MissingResourceException
48 public MissingResourceException(String detailMessage, String className, in MissingResourceException() argument
51 this.className = className; in MissingResourceException()
63 return className; in getClassName()
/dalvik/libcore/nio/src/main/java/java/nio/channels/spi/
DSelectorProvider.java135 String className = null; in loadProviderByJar() local
149 while ((className = br.readLine()) != null) { in loadProviderByJar()
150 className = className.trim(); in loadProviderByJar()
151 int siteComment = className.indexOf(SYMBOL_COMMENT); in loadProviderByJar()
152 className = (-1 == siteComment) ? className : className in loadProviderByJar()
154 if (0 < className.length()) { in loadProviderByJar()
156 className).newInstance(); in loadProviderByJar()
183 final String className = in loadProviderByProperty()
185 if (null != className) { in loadProviderByProperty()
188 className); in loadProviderByProperty()
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTestHelper_ClassLoader.java40 public Class<?> findClass(String className) throws ClassNotFoundException { in findClass() argument
43 if (!className.equals("org.apache.harmony.sql.tests.java.sql.TestHelper_DriverManager")) { in findClass()
47 String classNameAsFile = className.replace('.', '/') + ".class"; in findClass()
59 theClass = loadClassFromJar(theClassPaths[i], className, in findClass()
62 theClass = loadClassFromFile(theClassPaths[i], className, in findClass()
71 public Class<?> loadClass(String className) throws ClassNotFoundException { in loadClass() argument
80 theClass = findLoadedClass(className); in loadClass()
85 theClass = this.findClass(className); in loadClass()
89 if (element.equals(className)) { in loadClass()
93 theClass = Class.forName(className); in loadClass()
[all …]
/dalvik/libnativehelper/include/nativehelper/
DJNIHelp.h40 int jniRegisterNativeMethods(C_JNIEnv* env, const char* className,
51 int jniThrowException(C_JNIEnv* env, const char* className, const char* msg);
83 inline int jniRegisterNativeMethods(JNIEnv* env, const char* className, in jniRegisterNativeMethods() argument
86 return jniRegisterNativeMethods(&env->functions, className, gMethods, in jniRegisterNativeMethods()
89 inline int jniThrowException(JNIEnv* env, const char* className, in jniThrowException() argument
92 return jniThrowException(&env->functions, className, msg); in jniThrowException()
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
DClassLoader.java297 protected final Class<?> defineClass(String className, byte[] classRep, int offset, int length) in defineClass() argument
301 return defineClass(className, classRep, offset, length, null); in defineClass()
335 protected final Class<?> defineClass(String className, byte[] classRep, int offset, int length, in defineClass() argument
338 return VMClassLoader.defineClass(this, className, classRep, offset, length, in defineClass()
384 protected Class<?> findClass(String className) throws ClassNotFoundException { in findClass() argument
385 throw new ClassNotFoundException(className); in findClass()
398 protected final Class<?> findLoadedClass(String className) { in findLoadedClass() argument
404 return VMClassLoader.findLoadedClass(loader, className); in findLoadedClass()
418 protected final Class<?> findSystemClass(String className) throws ClassNotFoundException { in findSystemClass() argument
419 return Class.forName(className, false, getSystemClassLoader()); in findSystemClass()
[all …]
/dalvik/libcore/archive/src/main/java/java/util/jar/
DPack200.java62 String className = System in newPacker()
69 .loadClass(className).newInstance(); in newPacker()
71 throw new Error("Can't load class " + className, e); in newPacker()
94 String className = System
99 .loadClass(className).newInstance();
101 throw new Error("Can't load class " + className, e);
/dalvik/vm/native/
Djava_lang_Class.c35 char* className = dvmDescriptorToName(thisPtr->descriptor); in Dalvik_java_lang_Class_desiredAssertionStatus() local
62 lastSlash = strrchr(className, '/'); in Dalvik_java_lang_Class_desiredAssertionStatus()
66 pkgLen = lastSlash - className +1; in Dalvik_java_lang_Class_desiredAssertionStatus()
70 memcmp(pCtrl->pkgOrClass, className, pCtrl->pkgOrClassLen) != 0) in Dalvik_java_lang_Class_desiredAssertionStatus()
73 className, pkgLen, pCtrl->pkgOrClass); in Dalvik_java_lang_Class_desiredAssertionStatus()
76 className, pkgLen, pCtrl->pkgOrClass, pCtrl->enable); in Dalvik_java_lang_Class_desiredAssertionStatus()
86 if (strncmp(className, "java/", 5) != 0) { in Dalvik_java_lang_Class_desiredAssertionStatus()
87 LOGV("ASRT: sys no match: '%s'\n", className); in Dalvik_java_lang_Class_desiredAssertionStatus()
90 className, pCtrl->enable); in Dalvik_java_lang_Class_desiredAssertionStatus()
95 className, pCtrl->enable); in Dalvik_java_lang_Class_desiredAssertionStatus()
[all …]
/dalvik/tools/dmtracedump/
DTraceDump.c141 const char *className; member
160 const char* className; member
298 const char *className, const char *methodName, in initMethodEntry() argument
303 method->className = className; in initMethodEntry()
342 result = strcmp(methodA->className, methodB->className); in compareElapsedExclusive()
381 result = strcmp(methodA->className, methodB->className); in compareElapsedInclusive()
422 result = strcmp(methodA->className, methodB->className); in compareTimedMethod()
449 result = strcmp(methodA->className, methodB->className); in compareClassNames()
482 result = strcmp(classA->className, classB->className); in compareClassExclusive()
513 result = strcmp(methodA->className, methodB->className); in compareMethodNames()
[all …]
/dalvik/dx/tests/098-dex-jsr-ret-throw/
DViewDebug$ViewServer.classViewDebug.java package android.view android.view.ViewDebug$ViewServer extends java.lang. ...
/dalvik/libcore/logging/src/main/java/java/util/logging/
DMemoryHandler.java101 String className = this.getClass().getName(); in MemoryHandler() local
103 final String targetName = manager.getProperty(className+".target"); //$NON-NLS-1$ in MemoryHandler()
121 String sizeString = manager.getProperty(className+".size"); //$NON-NLS-1$ in MemoryHandler()
129 printInvalidPropMessage(className+".size", sizeString, e); //$NON-NLS-1$ in MemoryHandler()
133 String pushName = manager.getProperty(className+".push"); //$NON-NLS-1$ in MemoryHandler()
138 printInvalidPropMessage(className+".push", pushName, e); //$NON-NLS-1$ in MemoryHandler()
/dalvik/dx/src/junit/runner/
DLoadingTestCollector.java36 String className= classNameFromFile(classFileName); in classFromFile() local
37 if (!fLoader.isExcluded(className)) in classFromFile()
38 return fLoader.loadClass(className, false); in classFromFile()
DClassPathTestCollector.java44 String className= classNameFromFile(classFileName); in gatherFiles() local
45 result.put(className, className); in gatherFiles()
/dalvik/libcore/luni/src/test/java/junit/runner/
DLoadingTestCollector.java36 String className= classNameFromFile(classFileName); in classFromFile() local
37 if (!fLoader.isExcluded(className)) in classFromFile()
38 return fLoader.loadClass(className, false); in classFromFile()
DClassPathTestCollector.java44 String className= classNameFromFile(classFileName); in gatherFiles() local
45 result.put(className, className); in gatherFiles()
/dalvik/libcore/luni/src/main/java/java/io/
DInvalidClassException.java70 public InvalidClassException(String className, String detailMessage) { in InvalidClassException() argument
72 this.classname = className; in InvalidClassException()
DObjectStreamField.java383 String className = typeString.replace('/', '.'); in resolve() local
384 if (className.charAt(0) == 'L') { in resolve()
386 className = className.substring(1, className.length() - 1); in resolve()
389 Class<?> cl = Class.forName(className, false, loader); in resolve()
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
DInvalidClassExceptionTest.java73 final String className = "Object"; in test_ConstructorLjava_lang_StringLjava_lang_String() local
76 throw new java.io.InvalidClassException(className, message); in test_ConstructorLjava_lang_StringLjava_lang_String()
81 returnedMessage.indexOf(className) >= 0 in test_ConstructorLjava_lang_StringLjava_lang_String()
/dalvik/libcore/security/src/main/java/java/security/
DIdentityScope.java101 String className = AccessController.doPrivileged(new PrivilegedAction<String>(){ in getSystemScope() local
106 if(className != null){ in getSystemScope()
108 systemScope = (IdentityScope) Class.forName(className).newInstance(); in getSystemScope()
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DSocketHandlerTest.java66 private static String className = SocketHandlerTest.class.getName(); field in SocketHandlerTest
87 props.put("handlers", className + "$MockHandler " + className in tearDown()
279 p.put("java.util.logging.SocketHandler.filter", className in testConstructor_InsufficientPrivilege()
281 p.put("java.util.logging.SocketHandler.formatter", className in testConstructor_InsufficientPrivilege()
328 p.put("java.util.logging.SocketHandler.filter", className in testConstructor_ValidProperties()
330 p.put("java.util.logging.SocketHandler.formatter", className in testConstructor_ValidProperties()
388 p.put("java.util.logging.SocketHandler.filter", className + ""); in testConstructor_InvalidBasicProperties()
389 p.put("java.util.logging.SocketHandler.formatter", className + ""); in testConstructor_InvalidBasicProperties()
442 p.put("java.util.logging.SocketHandler.filter", className in testConstructor_InvalidPort()
444 p.put("java.util.logging.SocketHandler.formatter", className in testConstructor_InvalidPort()
[all …]
DConsoleHandlerTest.java60 private static String className = ConsoleHandlerTest.class.getName(); field in ConsoleHandlerTest
153 p.put("java.util.logging.ConsoleHandler.filter", className in testConstructor_ValidProperties()
155 p.put("java.util.logging.ConsoleHandler.formatter", className in testConstructor_ValidProperties()
185 p.put("java.util.logging.ConsoleHandler.filter", className); in testConstructor_InvalidProperties()
186 p.put("java.util.logging.ConsoleHandler.formatter", className); in testConstructor_InvalidProperties()
216 p.put("java.util.logging.ConsoleHandler.formatter", className in testClose_SufficientPrivilege_NormalClose()
242 p.put("java.util.logging.ConsoleHandler.formatter", className in testClose_SufficientPrivilege_Exception()
266 p.put("java.util.logging.ConsoleHandler.formatter", className in testClose_SufficientPrivilege_DirectClose()
290 p.put("java.util.logging.ConsoleHandler.formatter", className in testClose_InsufficientPrivilege()
315 p.put("java.util.logging.ConsoleHandler.formatter", className in testPublish_NoFilter()
[all …]
/dalvik/libcore-disabled/sound/src/main/java/org/apache/harmony/sound/utils/
DProviderService.java133 String className = null; in getProviders()
155 className = str.trim(); in getProviders()
156 if (!className.startsWith("#")) { // skip in getProviders()
161 className.trim(), true, cl) in getProviders()

123