Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 63) sorted by relevance

123

/development/vndk/tools/sourcedr/blueprint/tests/
Dtest_evaluate_default.py86 module = modules[-1][1]
87 self.assertEqual(module['name'], 'libfoo')
88 self.assertEqual(module['a'], 'specified_a')
89 self.assertEqual(module['b'], 'default_b')
116 module = modules[-1][1]
117 self.assertEqual(module['name'], 'libfoo')
118 self.assertEqual(module['a'], 'specified_a')
119 self.assertEqual(module['b'], 'libfoo_default_b')
120 self.assertEqual(module['c'], 'libbar_default_c')
168 module = modules[-1][1]
[all …]
Dtest_module_path.py59 named_mods = {module[1]['name']: module for module in parser.modules}
/development/vndk/tools/header-checker/src/repr/
Dir_dumper.cpp66 bool IRDumper::DumpModule(const ModuleIR &module) { in DumpModule() argument
67 for (auto &&item : SortAbiElements(module.GetFunctions())) { in DumpModule()
70 for (auto &&item : SortAbiElements(module.GetGlobalVariables())) { in DumpModule()
73 for (auto &&item : SortAbiElements(module.GetRecordTypes())) { in DumpModule()
76 for (auto &&item : SortAbiElements(module.GetFunctionTypes())) { in DumpModule()
79 for (auto &&item : SortAbiElements(module.GetEnumTypes())) { in DumpModule()
82 for (auto &&item : SortAbiElements(module.GetLvalueReferenceTypes())) { in DumpModule()
85 for (auto &&item : SortAbiElements(module.GetRvalueReferenceTypes())) { in DumpModule()
88 for (auto &&item : SortAbiElements(module.GetQualifiedTypes())) { in DumpModule()
91 for (auto &&item : SortAbiElements(module.GetArrayTypes())) { in DumpModule()
[all …]
Dir_dumper.h36 virtual bool Dump(const ModuleIR &module) = 0;
39 bool DumpModule(const ModuleIR &module);
/development/tools/idegen/src/com/android/idegen/
DModuleCache.java58 Module module = getModule(moduleDir); in getAndCacheByDir() local
59 if (module == null) { in getAndCacheByDir()
60 module = new Module(moduleDir); in getAndCacheByDir()
62 putModule(moduleDir, module); in getAndCacheByDir()
63 module.build(); in getAndCacheByDir()
65 return module; in getAndCacheByDir()
89 private void putModule(File moduleDir, Module module) throws IOException { in putModule() argument
90 modulesByPath.put(moduleDir.getCanonicalPath(), module); in putModule() local
101 public void put(Module module) throws IOException { in put() argument
102 Preconditions.checkNotNull(module); in put()
[all …]
/development/vndk/tools/sourcedr/blueprint/
Dcheck_vndk_dep.py31 def _check_module_deps(all_libs, llndk_libs, module): argument
35 shared_deps, static_deps, header_deps = module.get_dependencies()
48 if not module.is_vendor():
54 if module.is_vndk() and not module.is_vendor():
55 is_vndk_sp = module.is_vndk_sp()
80 for name, module in all_libs.items():
81 if not module.has_vendor_variant() and not module.is_vendor():
84 bad_deps = _check_module_deps(all_libs, llndk_libs, module)
Dvndk.py107 def add_module(self, name, module): argument
111 if module.rule == 'llndk_library':
114 self.llndk_libs[name] = module
122 if module.rule.endswith('_prebuilt_library_shared'):
128 self.all_libs[name] = module
130 if module.is_vndk():
131 self.vndk_libs[name] = module
133 if module.is_vndk_sp():
134 self.vndk_sp_libs[name] = module
136 if module.is_vendor_available():
[all …]
/development/vndk/tools/elfcheck/bpflatten/
Dmain.go70 func flattenModule(module *parser.Module) (flattened FlatModule) {
71 flattened.Type = module.Type
72 if prop, found := module.GetProperty("name"); found {
81 populatePropertyMap(flattened.PropertyMap, "", &module.Map)
105 if module, ok := def.(*parser.Module); ok {
106 modules = append(modules, flattenModule(module))
127 for _, module := range flatModules {
128 name := quoteBashString(module.Name)
131 for k := range module.PropertyMap {
134 fmt.Fprintf(w, "MODULE_TYPE_DICT[%q]=%q\n", name, quoteBashString(module.Type))
[all …]
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DInjectedApplication.java46 public void initObjectGraph(Object module) { in initObjectGraph() argument
47 mObjectGraph = module != null ? ObjectGraph.create(module) : null; in initObjectGraph()
/development/tools/winscope/
Dwebpack.config.prod.js44 name(module) { argument
45 const packageName = module.context.match(/[\\/]node_modules[\\/](.*?)([\\/]|$)/)[1];
68 module.exports = merge(configCommon, configProd);
Dwebpack.config.common.js19 module.exports = {
29 module: { property
/development/vndk/tools/header-checker/tests/
Dgen_all.py12 from module import Module
44 for module in modules:
45 if module.has_reference_dump:
47 make_and_copy_dump(module, REF_DUMP_DIR))
Dtest.py15 from module import Module
25 def make_and_copy_dump(module, dump_dir): argument
26 dump_dir = os.path.join(dump_dir, module.arch)
28 dump_path = os.path.join(dump_dir, module.get_dump_name())
29 module.make_dump(dump_path)
92 def get_or_create_dump(self, module, create): argument
94 return make_and_copy_dump(module, self.get_tmp_dir())
95 self.assertTrue(module.has_reference_dump,
98 return os.path.join(REF_DUMP_DIR, module.arch, module.get_dump_name())
360 module = Module.get_test_modules_by_name(module_name)[0]
[all …]
/development/gki/kmi_abi_chk/
DREADME3 # How to build the KMI ABI test kernel module, kmi_sym.ko
7 # Set up and export GKI_DIR to be used for kernel module building
28 6. Build the kernel module
35 # How to use/run KMI test kernel module, kmi_sym.ko, on GKI
38 1. Copy the test kernel module to the Android device
45 4. Load the test kernel module
49 5. Verify the test kernel module is loaded successfully
54 6. Unload the test kernel module
/development/vndk/tools/header-checker/src/linker/
Dheader_abi_linker.cpp155 bool LinkTypes(const repr::ModuleIR &module, repr::ModuleIR *linked_module);
157 bool LinkFunctions(const repr::ModuleIR &module,
160 bool LinkGlobalVars(const repr::ModuleIR &module,
267 const repr::ModuleIR &module = merger->GetModule(); in LinkAndDump() local
277 if (!LinkTypes(module, linked_module.get()) || in LinkAndDump()
278 !LinkFunctions(module, linked_module.get()) || in LinkAndDump()
279 !LinkGlobalVars(module, linked_module.get())) { in LinkAndDump()
322 bool HeaderAbiLinker::LinkTypes(const repr::ModuleIR &module, in LinkTypes() argument
325 return LinkDecl(linked_module, module.GetRecordTypes(), no_filter) && in LinkTypes()
326 LinkDecl(linked_module, module.GetEnumTypes(), no_filter) && in LinkTypes()
[all …]
/development/vndk/tools/header-checker/src/dumper/
Dast_processing.cpp50 const clang::Decl *tu_decl, repr::ModuleIR *module, in HeaderASTVisitor() argument
54 module_(module), ast_caches_(ast_caches) {} in HeaderASTVisitor()
86 repr::ModuleIR *module, in MutateFunctionWithLinkageName() argument
91 return module->AddLinkableMessage(*added_function); in MutateFunctionWithLinkageName()
95 repr:: ModuleIR *module, in AddMangledFunctions()
98 if (!MutateFunctionWithLinkageName(function, module, mangling)) { in AddMangledFunctions()
224 std::unique_ptr<repr::ModuleIR> module( in HandleTranslationUnit() local
228 translation_unit, module.get(), &ast_caches); in HandleTranslationUnit()
237 if (!ir_dumper->Dump(*module)) { in HandleTranslationUnit()
Dabi_wrappers.h46 repr::ModuleIR *module,
112 const clang::RecordDecl *record_decl, repr::ModuleIR *module,
153 const clang::FunctionDecl *decl, repr::ModuleIR *module,
184 const clang::FunctionType *function_type, repr::ModuleIR *module,
200 const clang::EnumDecl *decl, repr::ModuleIR *module,
221 const clang::VarDecl *decl, repr::ModuleIR *module,
/development/vndk/tools/
Dsystem_image_diff.py64 for module in module_info:
65 installs = module_info[module]['installed']
75 system_files_to_package_map[system_file] = module
96 for module in module_info:
97 paths = module_info[module]['path']
109 package_vendor_map[module] = vendor
/development/vndk/snapshot/
Dgen_buildfiles.py177 for module in self._modules_with_notice:
179 bpfile.write(self._gen_notice_license(module))
209 for module in module_list:
210 lib, name = module.split(' ')
286 def _get_license_kinds(self, module=''): argument
295 if module == '':
301 return self._license_kinds_map[module]
304 license_collector.run(module)
307 def _get_license_texts(self, module): argument
312 for license_text in self._license_texts_map[module]}
[all …]
Dcollect_licenses.py89 def run(self, module=''): argument
96 if module == '':
106 module=module)
/development/tools/otagui/
Dtest_suite.py12 for module in map(__import__, modules_to_test):
13 alltests.addTest(unittest.findTestCases(module))
Dbabel.config.js1 module.exports = {
Djest.config.js1 module.exports = {
/development/tools/winscope/src/test/remote_tool_mock/
Dwebpack.config.js20 module.exports = {
26 module: { property
/development/tools/ota_analysis/
Dbabel.config.js1 module.exports = {

123