Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 60) 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/scripts/
Dcompare-installed-size.py56 module = components[2]
62 if module not in bin_sizes[idx]:
63 bin_sizes[idx][module] = int(size)
65 bin_sizes[idx][module] += int(size)
70 file_sizes[name] = [module, size, 0]
75 file_sizes[name] = [module, 0, size]
Dupdate_crate_tests.py91 def query_rdeps(self, module): argument
94 module + ")\' --output=label_kind")
101 def exclude_module(self, module): argument
103 if module.startswith(path):
110 for module in modules:
111 for rdep in self.query_rdeps(module):
/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/vndk/tools/header-checker/src/linker/
Dheader_abi_linker.cpp152 bool LinkTypes(const repr::ModuleIR &module, repr::ModuleIR *linked_module);
154 bool LinkFunctions(const repr::ModuleIR &module,
157 bool LinkGlobalVars(const repr::ModuleIR &module,
264 const repr::ModuleIR &module = merger->GetModule(); in LinkAndDump() local
274 if (!LinkTypes(module, linked_module.get()) || in LinkAndDump()
275 !LinkFunctions(module, linked_module.get()) || in LinkAndDump()
276 !LinkGlobalVars(module, linked_module.get())) { in LinkAndDump()
319 bool HeaderAbiLinker::LinkTypes(const repr::ModuleIR &module, in LinkTypes() argument
322 return LinkDecl(linked_module, module.GetRecordTypes(), no_filter) && in LinkTypes()
323 LinkDecl(linked_module, module.GetEnumTypes(), no_filter) && in LinkTypes()
[all …]
/development/tools/winscope/
Dwebpack.config.js22 module.exports = require('./webpack.config.dev');
24 module.exports = require('./webpack.config.prod');
Dwebpack.config.prod.js55 name(module) { argument
56 const packageName = module.context
97 module.exports = webpackConfig;
Dwebpack.config.dev.js41 module: { property
73 module.exports = webpackConfig;
Dvue.config.js1 module.exports = {
Dwebpack.spec.config.js31 module.exports = {
43 module: { property
/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()
221 std::unique_ptr<repr::ModuleIR> module( in HandleTranslationUnit() local
225 translation_unit, module.get(), &ast_caches); in HandleTranslationUnit()
234 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/tools/header-checker/tests/
Dtest.py15 from module import Module
25 def make_and_copy_reference_dumps(module, reference_dump_dir=REF_DUMP_DIR): argument
26 dump_dir = os.path.join(reference_dump_dir, module.arch)
28 dump_path = os.path.join(dump_dir, module.get_dump_name())
29 module.make_dump(dump_path)
90 def get_or_create_ref_dump(self, module, create): argument
92 return make_and_copy_reference_dumps(module, self.get_tmp_dir())
93 return os.path.join(REF_DUMP_DIR, module.arch, module.get_dump_name())
348 module = Module.get_test_modules_by_name(module_name)[0]
349 example_lsdump_old = self.get_or_create_ref_dump(module, False)
[all …]
Dgen_all.py12 from module import Module
43 for module in modules:
44 print('Created abi dump at', make_and_copy_reference_dumps(module))
/development/tools/winscope/env/
Ddev.env.js17 module.exports = {
Dprod.env.js17 module.exports = {
/development/vndk/tools/vndk-compliance/
Dparse-and-fix-errors.sh45 …for module in `cat log.$lib`; do find . -name Android.\* | xargs grep -w -H $module | grep "LOCAL_…

123