Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 55) sorted by relevance

123

/art/test/912-classes/src-art/art/
DDexData.java36 public static ClassLoader create1(ClassLoader parent) { in create1() argument
37 return create(parent, DEX_DATA_B); in create1()
43 public static ClassLoader create2(ClassLoader parent) { in create2() argument
44 return create(parent, DEX_DATA_AC); in create2()
50 public static ClassLoader create12(ClassLoader parent) { in create12() argument
51 return create(parent, DEX_DATA_AC, DEX_DATA_B); in create12()
54 private static ClassLoader create(ClassLoader parent, String... stringData) { in create() argument
59 return new InMemoryDexClassLoader(byteBuffers, parent); in create()
/art/test/674-hiddenapi/
Dinfo.txt2 two JARs. The first (parent) defines methods and fields and the second (child)
8 (a) Both parent and child dex loaded with PathClassLoader, parent's class loader
9 is the child's class loader's parent. Access flags should not be enforced as
10 the parent does not belong to boot class path.
13 of the parent.
14 (c) Both parent and child are appended to boot class path. Restrictions should
/art/tools/checker/file_format/c1visualizer/
Dstruct.py40 def __init__(self, parent, name, body, startLineNo): argument
41 self.parent = parent
51 self.parent.addPass(self)
55 return self.parent.fileName
/art/tools/checker/file_format/checker/
Dstruct.py39 def __init__(self, parent, name, startLineNo, testArch = None, forDebuggable = False): argument
40 assert isinstance(parent, CheckerFile)
42 self.parent = parent
52 self.parent.addTestCase(self)
56 return self.parent.fileName
80 def __init__(self, parent, variant, originalText, lineNo): argument
81 assert isinstance(parent, TestCase)
83 self.parent = parent
89 self.parent.addAssertion(self)
93 return self.parent.fileName
/art/tools/ahat/src/main/com/android/ahat/
DSitePrinter.java29 for (Site parent = site; parent != null; parent = parent.getParent()) { in printSite()
30 path.add(parent); in printSite()
/art/test/500-instanceof/src/
DMain.java25 Itf parent = getParent(); in main() local
26 if (!(parent instanceof Foo)) { in main()
/art/test/626-const-class-linking/src/
DRacyLoader.java30 public RacyLoader(ClassLoader parent, int count) { in RacyLoader() argument
31 super(parent); in RacyLoader()
35 defining_loaders[i] = new DefiningLoader(parent); in RacyLoader()
DRacyMisbehavingLoader.java31 public RacyMisbehavingLoader(ClassLoader parent, int count, boolean throw_error) { in RacyMisbehavingLoader() argument
32 super(parent); in RacyMisbehavingLoader()
37 defining_loaders[i] = new DefiningLoader(parent); in RacyMisbehavingLoader()
DDelegatingLoader.java20 public DelegatingLoader(ClassLoader parent, DefiningLoader defining_loader) { in DelegatingLoader() argument
21 super(parent); in DelegatingLoader()
DMisbehavingLoader.java21 public MisbehavingLoader(ClassLoader parent, DefiningLoader defining_loader) { in MisbehavingLoader() argument
22 super(parent); in MisbehavingLoader()
DDefiningLoader.java59 public DefiningLoader(ClassLoader parent) { in DefiningLoader() argument
60 super(parent); in DefiningLoader()
63 mDexClass = parent.loadClass("dalvik.system.DexFile"); in DefiningLoader()
/art/libnativeloader/
Dnative_loader_namespace.cpp87 const NativeLoaderNamespace* parent, bool is_shared, bool is_greylist_enabled, in Create() argument
90 if (parent != nullptr) { in Create()
91 is_bridged = parent->IsBridged(); in Create()
101 const NativeLoaderNamespace& effective_parent = parent != nullptr ? *parent : *system_ns; in Create()
/art/test/164-resolution-trampoline-dex-cache/src/
DMain.java42 public static ClassLoader getClassLoaderFor(String location, ClassLoader parent, boolean ex) in getClassLoaderFor() argument
49 return (ClassLoader)ctor.newInstance(path, parent); in getClassLoaderFor()
54 new java.net.URL[] { new java.net.URL(url) }, parent); in getClassLoaderFor()
/art/test/1946-list-descriptors/src-art/art/
DTest1946.java112 private static ClassLoader makeClassLoaderFrom(byte[] data, ClassLoader parent) throws Exception { in makeClassLoaderFrom() argument
113 return new InMemoryDexClassLoader(ByteBuffer.wrap(data), parent); in makeClassLoaderFrom()
116 private static ClassLoader makeClassLoaderFrom(List<byte[]> data, ClassLoader parent) in makeClassLoaderFrom() argument
122 return new InMemoryDexClassLoader(bufs.toArray(new ByteBuffer[0]), parent); in makeClassLoaderFrom()
/art/test/155-java-set-resolved-type/src/
DMain.java68 public static ClassLoader getClassLoaderFor(String location, ClassLoader parent, boolean ex) in getClassLoaderFor() argument
76 return (ClassLoader)ctor.newInstance(path, parent); in getClassLoaderFor()
81 new java.net.URL[] { new java.net.URL(url) }, parent); in getClassLoaderFor()
/art/test/068-classloader/src/
DFancyLoader.java52 public FancyLoader(ClassLoader parent) { in FancyLoader() argument
53 super(parent); in FancyLoader()
56 mDexClass = parent.loadClass("dalvik.system.DexFile"); in FancyLoader()
/art/test/613-inlining-dex-cache/src-art/
DMain.java25 public DelegateLastPathClassLoader(String dexPath, ClassLoader parent) { in DelegateLastPathClassLoader() argument
26 super(dexPath, parent); in DelegateLastPathClassLoader()
/art/test/612-jit-dex-cache/src-art/
DMain.java25 public DelegateLastPathClassLoader(String dexPath, ClassLoader parent) { in DelegateLastPathClassLoader() argument
26 super(dexPath, parent); in DelegateLastPathClassLoader()
/art/test/647-jni-get-field-id/src/
DDefiningLoader.java59 public DefiningLoader(ClassLoader parent) { in DefiningLoader() argument
60 super(parent); in DefiningLoader()
63 mDexClass = parent.loadClass("dalvik.system.DexFile"); in DefiningLoader()
/art/test/086-null-super/src/
DMain.java60 public BrokenDexLoader(ClassLoader parent) { in BrokenDexLoader() argument
61 super(parent); in BrokenDexLoader()
/art/test/142-classloader2/src/
DMain.java25 private static ClassLoader createClassLoader(String dexPath, ClassLoader parent) { in createClassLoader() argument
30 return (ClassLoader)constructor.newInstance(dexPath, parent); in createClassLoader()
/art/libnativeloader/include/nativeloader/
Ddlext_namespaces.h88 const char* permitted_when_isolated_path, struct android_namespace_t* parent);
/art/test/087-gc-after-link/src/
DMain.java60 public BrokenDexLoader(ClassLoader parent) { in BrokenDexLoader() argument
61 super(parent); in BrokenDexLoader()
/art/runtime/
Dclass_loader_context.cc80 if (info->parent != nullptr) { in AddToWorkList()
81 work_list.push_back(info->parent.get()); in AddToWorkList()
394 previous_iteration->parent = std::move(info); in ParseInternal()
395 previous_iteration = previous_iteration->parent.get(); in ParseInternal()
745 if (info.parent != nullptr) { in EncodeSharedLibAndParent()
748 *info.parent.get(), in EncodeSharedLibAndParent()
751 (stored_info == nullptr ? nullptr : stored_info->parent.get()), in EncodeSharedLibAndParent()
817 MutableHandle<mirror::ClassLoader> parent = hs.NewHandle<mirror::ClassLoader>(nullptr); in CreateClassLoaderInternal() local
818 if (info.parent != nullptr) { in CreateClassLoaderInternal()
820 parent.Assign(CreateClassLoaderInternal( in CreateClassLoaderInternal()
[all …]
Dclass_loader_context.h235 std::unique_ptr<ClassLoaderInfo> parent; member
248 result = result->parent.get(); in GetParent()
258 info = info->parent.get(); in GetParentChainSize()

123