HomeSort by relevance Sort by last modified time
    Searched refs:ClassLoader (Results 1 - 25 of 592) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /art/runtime/mirror/
class_loader.h 28 // C++ mirror of java.lang.ClassLoader
29 class MANAGED ClassLoader : public Object {
31 // Size of an instance of java.lang.ClassLoader.
33 return sizeof(ClassLoader);
35 ClassLoader* GetParent() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
36 return GetFieldObject<ClassLoader>(OFFSET_OF_OBJECT_MEMBER(ClassLoader, parent_));
42 HeapReference<ClassLoader> parent_;
46 DISALLOW_IMPLICIT_CONSTRUCTORS(ClassLoader);
  /external/emma/core/java12/com/vladium/util/
IClassLoadStrategy.java 13 * The interface implemented by any classloader selection Strategy used
24 * Selects a classloader based on a given load context.
28 ClassLoader getClassLoader (ClassLoadContext ctx);
ResourceLoader.java 19 * java.lang.ClassLoader API (the class/resource loading part). This
20 * implementation is merely a wrapper around ClassLoaderResolverget.ClassLoader()
31 * @see java.lang.ClassLoader#loadClass(java.lang.String)
37 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller);
43 * @see java.lang.ClassLoader#getResource(java.lang.String)
48 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller);
53 return ClassLoader.getSystemResource (name);
57 * @see java.lang.ClassLoader#getResourceAsStream(java.lang.String)
62 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller);
67 return ClassLoader.getSystemResourceAsStream (name)
    [all...]
ClassLoaderResolver.java 14 * choosing a ClassLoader for dynamic class/resource loading at any point
31 * This method selects the "best" classloader instance to be used for
39 * @param caller [null input eliminates the caller's current classloader
42 * @return classloader to be used by the caller ['null' indicates the
45 public static synchronized ClassLoader getClassLoader (final Class caller)
53 * This method selects the "best" classloader instance to be used for
64 * @return classloader to be used by the caller ['null' indicates the
67 public static synchronized ClassLoader getClassLoader ()
95 public static boolean isChild (final ClassLoader loader1, ClassLoader loader2
    [all...]
  /libcore/libart/src/main/java/dalvik/system/
VMStack.java 32 native public static ClassLoader getCallingClassLoader();
51 * Returns the first ClassLoader on the call stack that isn't either of
54 public native static ClassLoader getClosestUserClassLoader(ClassLoader bootstrap,
55 ClassLoader system);
  /dalvik/dx/tests/125-main-dex-list/com/android/dx/multidex/
MainDexListTest.java 27 ClassLoader mainLoader = (ClassLoader) Class.forName("dalvik.system.PathClassLoader")
28 .getConstructor(String.class, ClassLoader.class)
30 ClassLoader secondaryLoader = (ClassLoader) Class.forName("dalvik.system.PathClassLoader")
31 .getConstructor(String.class, ClassLoader.class)
  /external/mockito/src/org/mockito/internal/creation/jmock/
SearchingClassLoader.java 13 * Thanks to jMock guys for this ClassLoader.
15 public class SearchingClassLoader extends ClassLoader {
16 private final ClassLoader nextToSearch;
18 public SearchingClassLoader(ClassLoader parent, ClassLoader nextToSearch) {
23 public static ClassLoader combineLoadersOf(Class<?>... classes) {
27 private static ClassLoader combineLoadersOf(Class<?> first, Class<?>... others) {
28 List<ClassLoader> loaders = new ArrayList<ClassLoader>();
47 //addIfNewElement(loaders, ClassLoader.getSystemClassLoader());
    [all...]
  /external/javassist/src/main/javassist/scopedpool/
ScopedClassPoolRepository.java 56 * @param cl the classloader.
60 ScopedClassPool createScopedClassPool(ClassLoader cl, ClassPool src);
63 * Finds a scoped classpool registered under the passed in classloader.
65 * @param cl the classloader.
68 ClassPool findClassPool(ClassLoader cl);
71 * Register a classloader.
73 * @param ucl the classloader.
76 ClassPool registerClassLoader(ClassLoader ucl);
86 * This method will check to see if a register classloader has been
92 * Unregisters a classpool and unregisters its classloader
    [all...]
ScopedClassPoolFactory.java 30 ScopedClassPool create(ClassLoader cl, ClassPool src,
  /dalvik/dexgen/src/com/android/dexgen/util/
DexClassLoaderHelper.java 54 public ClassLoader getDexClassLoader(PathHolder pathHolder) {
55 ClassLoader myLoader = DexClassLoaderHelper.class.getClassLoader();
  /libcore/dalvik/src/main/java/dalvik/system/
PathClassLoader.java 20 * Provides a simple {@link ClassLoader} implementation that operates on a list
29 * {@link #PathClassLoader(String, String, ClassLoader)} with a
37 public PathClassLoader(String dexPath, ClassLoader parent) {
64 ClassLoader parent) {
  /libcore/luni/src/main/java/java/security/
ProtectionDomain.java 26 public ProtectionDomain(CodeSource cs, PermissionCollection permissions, ClassLoader cl, Principal[] principals) { }
28 public final ClassLoader getClassLoader() { return null; }
  /libcore/support/src/test/java/tests/support/
Support_ClassLoader.java 25 * Support class for creating a file-based ClassLoader. Delegates to either
31 public abstract ClassLoader getClassLoader(URL url, ClassLoader parent);
33 public static ClassLoader getInstance(URL url, ClassLoader parent) {
47 throw new RuntimeException("Unable to create ClassLoader", ex);
68 public ClassLoader getClassLoader(URL url, ClassLoader parent) {
80 public ClassLoader getClassLoader(URL url, ClassLoader parent)
    [all...]
  /external/javassist/src/main/javassist/
LoaderClassPath.java 47 public LoaderClassPath(ClassLoader cl) {
66 ClassLoader cl = (ClassLoader)clref.get();
82 ClassLoader cl = (ClassLoader)clref.get();
  /external/apache-xml/src/main/java/org/apache/xalan/xslt/
SecuritySupport12.java 45 ClassLoader getContextClassLoader() {
46 return (ClassLoader)
49 ClassLoader cl = null;
58 ClassLoader getSystemClassLoader() {
59 return (ClassLoader)
62 ClassLoader cl = null;
64 cl = ClassLoader.getSystemClassLoader();
71 ClassLoader getParentClassLoader(final ClassLoader cl) {
72 return (ClassLoader)
    [all...]
SecuritySupport.java 86 ClassLoader getContextClassLoader() {
90 ClassLoader getSystemClassLoader() {
94 ClassLoader getParentClassLoader(ClassLoader cl) {
108 InputStream getResourceAsStream(ClassLoader cl, String name) {
111 ris = ClassLoader.getSystemResourceAsStream(name);
  /external/apache-xml/src/main/java/org/apache/xml/dtm/
SecuritySupport12.java 45 ClassLoader getContextClassLoader() {
46 return (ClassLoader)
49 ClassLoader cl = null;
58 ClassLoader getSystemClassLoader() {
59 return (ClassLoader)
62 ClassLoader cl = null;
64 cl = ClassLoader.getSystemClassLoader();
71 ClassLoader getParentClassLoader(final ClassLoader cl) {
72 return (ClassLoader)
    [all...]
SecuritySupport.java 86 ClassLoader getContextClassLoader() {
90 ClassLoader getSystemClassLoader() {
94 ClassLoader getParentClassLoader(ClassLoader cl) {
108 InputStream getResourceAsStream(ClassLoader cl, String name) {
111 ris = ClassLoader.getSystemResourceAsStream(name);
  /external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
SecuritySupport12.java 45 ClassLoader getContextClassLoader() {
46 return (ClassLoader)
49 ClassLoader cl = null;
58 ClassLoader getSystemClassLoader() {
59 return (ClassLoader)
62 ClassLoader cl = null;
64 cl = ClassLoader.getSystemClassLoader();
71 ClassLoader getParentClassLoader(final ClassLoader cl) {
72 return (ClassLoader)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
SecuritySupport12.java 42 ClassLoader getContextClassLoader() {
43 return (ClassLoader)
46 ClassLoader cl = null;
55 ClassLoader getSystemClassLoader() {
56 return (ClassLoader)
59 ClassLoader cl = null;
61 cl = ClassLoader.getSystemClassLoader();
68 ClassLoader getParentClassLoader(final ClassLoader cl) {
69 return (ClassLoader)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/utils/
SecuritySupport12.java 45 ClassLoader getContextClassLoader() {
46 return (ClassLoader)
49 ClassLoader cl = null;
58 ClassLoader getSystemClassLoader() {
59 return (ClassLoader)
62 ClassLoader cl = null;
64 cl = ClassLoader.getSystemClassLoader();
71 ClassLoader getParentClassLoader(final ClassLoader cl) {
72 return (ClassLoader)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/functions/
SecuritySupport12.java 45 ClassLoader getContextClassLoader() {
46 return (ClassLoader)
49 ClassLoader cl = null;
58 ClassLoader getSystemClassLoader() {
59 return (ClassLoader)
62 ClassLoader cl = null;
64 cl = ClassLoader.getSystemClassLoader();
71 ClassLoader getParentClassLoader(final ClassLoader cl) {
72 return (ClassLoader)
    [all...]
  /frameworks/base/core/java/android/app/
ApplicationLoaders.java 30 public ClassLoader getClassLoader(String zip, String libPath, ClassLoader parent)
38 ClassLoader baseParent = ClassLoader.getSystemClassLoader().getParent();
48 * new ClassLoader for the zip archive.
51 ClassLoader loader = mLoaders.get(zip);
72 private final ArrayMap<String, ClassLoader> mLoaders = new ArrayMap<String, ClassLoader>();
  /art/test/029-assert/src/
Main.java 31 ClassLoader.getSystemClassLoader().setDefaultAssertionStatus(true);
  /frameworks/base/test-runner/src/android/test/
PackageInfoSources.java 29 public static ClassPathPackageInfoSource forClassPath(ClassLoader classLoader) {
32 classPathSource.setClassLoader(classLoader);

Completed in 1879 milliseconds

1 2 3 4 5 6 7 8 91011>>