Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 51) 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/tools/winscope/
Dwebpack.config.js45 module.exports = {
51 module: { property
116 module.exports.devtool = '#source-map'
118 module.exports.plugins = (module.exports.plugins || []).concat([
136 module.exports.plugins = (module.exports.plugins || []).concat([
/development/vndk/tools/header-checker/src/linker/
Dheader_abi_linker.cpp153 bool LinkTypes(const repr::ModuleIR &module, repr::ModuleIR *linked_module);
155 bool LinkFunctions(const repr::ModuleIR &module,
158 bool LinkGlobalVars(const repr::ModuleIR &module,
265 const repr::ModuleIR &module = merger->GetModule(); in LinkAndDump() local
275 if (!LinkTypes(module, linked_module.get()) || in LinkAndDump()
276 !LinkFunctions(module, linked_module.get()) || in LinkAndDump()
277 !LinkGlobalVars(module, linked_module.get())) { in LinkAndDump()
320 bool HeaderAbiLinker::LinkTypes(const repr::ModuleIR &module, in LinkTypes() argument
323 return LinkDecl(linked_module, module.GetRecordTypes(), no_filter) && in LinkTypes()
324 LinkDecl(linked_module, module.GetEnumTypes(), no_filter) && in LinkTypes()
[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]
Dboardconfig_usage_analysis.py78 for module in module_info:
79 installs = module_info[module]['installed']
80 paths = module_info[module]['path']
/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,
Dabi_wrappers.cpp62 repr::ModuleIR *module, in ABIWrapper() argument
67 module_(module), in ABIWrapper()
444 const clang::FunctionType *function_type, repr::ModuleIR *module, in FunctionTypeWrapper() argument
446 : ABIWrapper(mangle_contextp, ast_contextp, compiler_instance_p, module, in FunctionTypeWrapper()
493 repr::ModuleIR *module, in FunctionDeclWrapper() argument
495 : ABIWrapper(mangle_contextp, ast_contextp, compiler_instance_p, module, in FunctionDeclWrapper()
588 const clang::RecordDecl *decl, repr::ModuleIR *module, in RecordDeclWrapper() argument
590 : ABIWrapper(mangle_contextp, ast_contextp, compiler_instance_p, module, in RecordDeclWrapper()
871 const clang::EnumDecl *decl, repr::ModuleIR *module, in EnumDeclWrapper() argument
873 : ABIWrapper(mangle_contextp, ast_contextp, compiler_instance_p, module, in EnumDeclWrapper()
[all …]
/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/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.py153 for module in self._modules_with_notice:
155 bpfile.write(self._gen_notice_filegroup(module))
185 for module in module_list:
186 lib, name = module.split(' ')
314 def _gen_notice_filegroup(self, module): argument
325 filegroup_name=self._get_notice_filegroup_name(module),
326 module=module,
329 def _get_notice_filegroup_name(self, module): argument
336 ver=self._vndk_version, module=module)
/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/compare_failed_tests/
Dcompare_failed_tests.py110 for module in root.iter('Module'):
111 abi = module.attrib['abi']
113 module_name = module.attrib['name']
120 for testcase in module.iter('TestCase'):
/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_…
DREADME.md20 * Lets call the offending module libabc. Open libabc's Android.mk
39 * Create the module_headers lib outside the definition of current module
/development/tools/ops/
Dandroid_test_parser.py44 for module in result:
45 for test_case in module:
/development/vndk/tools/sourcedr/files/
Dlist_app_shared_uid.py38 for name, module in modules.items():
40 result[name] = module['path'][0]
/development/host/windows/usb/winusb/
DAdbWinUsbApi.def1 ; AdbWinUsbApi.def : Declares the module parameters.

123