Home
last modified time | relevance | path

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

12

/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/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/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/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/test/1946-list-descriptors/src-art/art/
DTest1946.java109 private static ClassLoader makeClassLoaderFrom(byte[] data, ClassLoader parent) throws Exception { in makeClassLoaderFrom() argument
110 return new InMemoryDexClassLoader(ByteBuffer.wrap(data), parent); in makeClassLoaderFrom()
113 private static ClassLoader makeClassLoaderFrom(List<byte[]> data, ClassLoader parent) in makeClassLoaderFrom() argument
119 return new InMemoryDexClassLoader(bufs.toArray(new ByteBuffer[0]), parent); in makeClassLoaderFrom()
/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/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()
DMain.java96 public MyClassLoader(ClassLoader parent) { in MyClassLoader() argument
97 super(parent); in MyClassLoader()
/art/runtime/
Dclass_loader_context.cc76 if (info->parent != nullptr) { in AddToWorkList()
77 work_list.push_back(info->parent.get()); in AddToWorkList()
390 previous_iteration->parent = std::move(info); in ParseInternal()
391 previous_iteration = previous_iteration->parent.get(); in ParseInternal()
669 if (info.parent != nullptr) { in EncodeContextInternal()
672 *info.parent.get(), in EncodeContextInternal()
675 (stored_info == nullptr ? nullptr : stored_info->parent.get()), in EncodeContextInternal()
741 MutableHandle<mirror::ClassLoader> parent = hs.NewHandle<mirror::ClassLoader>(nullptr); in CreateClassLoaderInternal() local
742 if (info.parent != nullptr) { in CreateClassLoaderInternal()
744 parent.Assign(CreateClassLoaderInternal( in CreateClassLoaderInternal()
[all …]
Dclass_loader_context.h190 std::unique_ptr<ClassLoaderInfo> parent; member
203 result = result->parent.get(); in GetParent()
213 info = info->parent.get(); in GetParentChainSize()
/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/test/086-null-super/src/
DMain.java60 public BrokenDexLoader(ClassLoader parent) { in BrokenDexLoader() argument
61 super(parent); in BrokenDexLoader()
/art/test/087-gc-after-link/src/
DMain.java60 public BrokenDexLoader(ClassLoader parent) { in BrokenDexLoader() argument
61 super(parent); in BrokenDexLoader()
/art/cmdline/
Dcmdline_parser.h53 static ArgumentBuilder<TArg> CreateArgumentBuilder(Builder& parent);
354 explicit UntypedArgumentBuilder(CmdlineParser::Builder& parent) : parent_(parent) {} in UntypedArgumentBuilder()
617 CmdlineParser<TVariantMap, TVariantMapKey>::Builder& parent) { in CreateArgumentBuilder() argument
619 parent, parent.save_destination_); in CreateArgumentBuilder()

12