Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 58) 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/checker/
Dstruct.py41 def __init__(self, parent, name, start_line_no, test_arch=None, for_debuggable=False): argument
42 assert isinstance(parent, CheckerFile)
44 self.parent = parent
54 self.parent.add_test_case(self)
58 return self.parent.file_name
74 def __init__(self, parent, variant, original_text, line_no): argument
75 assert isinstance(parent, TestCase)
77 self.parent = parent
83 self.parent.add_statement(self)
87 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/tools/checker/file_format/c1visualizer/
Dstruct.py48 def __init__(self, parent, name, body, start_line_no): argument
49 self.parent = parent
59 self.parent.add_pass(self)
63 return self.parent.base_file_name
/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.cpp89 const NativeLoaderNamespace* parent, bool is_shared, bool is_exempt_list_enabled, in Create() argument
92 if (parent != nullptr) { in Create()
93 is_bridged = parent->IsBridged(); in Create()
103 const NativeLoaderNamespace& effective_parent = parent != nullptr ? *parent : *system_ns; in Create()
Dnative_loader_test.h50 uint64_t type, const char* permitted_when_isolated_path, mock_namespace_handle parent) = 0;
152 struct android_namespace_t* parent) { in android_create_namespace() argument
155 permitted_when_isolated_path, TO_MOCK_NAMESPACE(parent))); in android_create_namespace()
183 const char* permitted_when_isolated_path, struct native_bridge_namespace_t* parent) { in NativeBridgeCreateNamespace() argument
186 permitted_when_isolated_path, TO_MOCK_NAMESPACE(parent))); in NativeBridgeCreateNamespace()
/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/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/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/613-inlining-dex-cache/src-art/
DMain.java25 public DelegateLastPathClassLoader(String dexPath, ClassLoader parent) { in DelegateLastPathClassLoader() argument
26 super(dexPath, parent); in DelegateLastPathClassLoader()
/art/runtime/
Dclass_loader_context.cc77 if (info->parent != nullptr) { in AddToWorkList()
78 work_list.push_back(info->parent.get()); in AddToWorkList()
382 previous_iteration->parent = std::move(info); in ParseInternal()
383 previous_iteration = previous_iteration->parent.get(); in ParseInternal()
727 if (info.parent != nullptr) { in EncodeSharedLibAndParent()
730 *info.parent.get(), in EncodeSharedLibAndParent()
733 (stored_info == nullptr ? nullptr : stored_info->parent.get()), in EncodeSharedLibAndParent()
799 MutableHandle<mirror::ClassLoader> parent = hs.NewHandle<mirror::ClassLoader>(nullptr); in CreateClassLoaderInternal() local
800 if (info.parent != nullptr) { in CreateClassLoaderInternal()
802 parent.Assign(CreateClassLoaderInternal( in CreateClassLoaderInternal()
[all …]
/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/test/
DOWNERS1 # See also ART owners in the parent directory.
/art/test/087-gc-after-link/src/
DMain.java60 public BrokenDexLoader(ClassLoader parent) { in BrokenDexLoader() argument
61 super(parent); in BrokenDexLoader()

123