Home
last modified time | relevance | path

Searched refs:graph (Results 1 – 7 of 7) sorted by relevance

/development/vndk/tools/definition-tool/tests/
Dtest_elf_linker.py57 graph = gb.graph
59 node = graph.get_lib('/system/lib/libc.so')
63 node = graph.get_lib('/system/lib64/libdl.so')
67 node = graph.get_lib('/vendor/lib64/libEGL.so')
71 self.assertEqual(None, graph.get_lib('/no/such/path.so'))
76 graph = gb.graph
80 nodes = graph.get_libs(paths, bad.append)
88 nodes = graph.get_libs(paths, bad.append)
96 graph = gb.graph
97 self.assertEqual(5, len(graph.lib_pt[PT_SYSTEM].lib32))
[all …]
Dutils.py25 self.graph = ELFLinker()
43 lib = self.graph.add_lib(partition, path, elf)
72 self.graph.vndk_lib_dirs = vndk_lib_dirs
74 self.graph.ro_vndk_version = ro_vndk_version
75 self.graph.resolve_deps()
Dtest_tagged_dict.py388 self.graph = MockELFGraph()
390 self.lib_ll_ndk = self.graph.add('/system/lib/lib_ll_ndk.so')
392 self.graph.add('/system/lib/lib_ll_ndk_indirect.so')
394 self.lib_vndk_sp = self.graph.add('/system/lib/lib_vndk_sp.so')
396 self.graph.add('/system/lib/lib_vndk_sp_indirect.so')
398 self.graph.add('/system/lib/lib_vndk_sp_indirect_private.so')
400 self.lib_vndk = self.graph.add('/system/lib/lib_vndk.so')
402 self.lib_fwk_only = self.graph.add('/system/lib/lib_fwk_only.so')
403 self.lib_fwk_only_rs = self.graph.add('/system/lib/lib_fwk_only_rs.so')
405 self.lib_sp_hal = self.graph.add('/vendor/lib/lib_sp_hal.so')
[all …]
Dtest_vndk.py32 gb.graph.normalize_partition_tags(set(), None)
66 gb.graph.normalize_partition_tags({libsphal}, None)
87 vndk_sets = gb.graph.compute_degenerated_vndk(None)
112 vndk_sets = gb.graph.compute_degenerated_vndk(None)
132 vndk_sets = gb.graph.compute_degenerated_vndk(None)
Dtest_command_deps_insight.py68 vndk_sets = gb.graph.compute_degenerated_vndk(set(), None)
74 list(gb.graph.all_libs()), vndk_sets, ModuleInfo())
/development/vndk/tools/sourcedr/sourcedr/
Dmap.py17 def load_build_dep_graph(graph): argument
20 for key, value in graph.items():
37 stack.extend(x for x in graph[v]
50 graph = collections.defaultdict(set)
53 ins = graph[path]
57 return load_build_dep_graph(graph)
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py1210 def create_from_graph(graph, tagged_paths, generic_refs=None): argument
1213 for lib in graph.lib_pt[PT_SYSTEM].values():
1216 sp_lib = graph.compute_sp_lib(generic_refs)
1217 for lib in graph.lib_pt[PT_VENDOR].values():
2456 graph = ELFLinker(tagged_paths, vndk_lib_dirs, ro_vndk_version)
2460 graph.add_executables_in_dir('system', PT_SYSTEM, path,
2467 graph.add_executables_in_dir('vendor', PT_VENDOR, path,
2474 graph.add_dlopen_deps(path)
2476 graph.resolve_deps(generic_refs)
2478 return graph
[all …]