Home
last modified time | relevance | path

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

12

/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.js31 module.exports = {
37 module: { property
100 module.exports.devtool = '#source-map'
102 module.exports.plugins = (module.exports.plugins || []).concat([
120 module.exports.plugins = (module.exports.plugins || []).concat([
/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/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.cpp141 bool LinkTypes(repr::ModuleIR &module, repr::ModuleIR *linked_module);
143 bool LinkFunctions(repr::ModuleIR &module, repr::ModuleIR *linked_module);
145 bool LinkGlobalVars(repr::ModuleIR &module, repr::ModuleIR *linked_module);
251 repr::ModuleIR &module = greader->GetModule(); in LinkAndDump() local
261 if (!LinkTypes(module, linked_module.get()) || in LinkAndDump()
262 !LinkFunctions(module, linked_module.get()) || in LinkAndDump()
263 !LinkGlobalVars(module, linked_module.get())) { in LinkAndDump()
306 bool HeaderAbiLinker::LinkTypes(repr::ModuleIR &module, in LinkTypes() argument
309 return LinkDecl(linked_module, module.GetRecordTypes(), no_filter) && in LinkTypes()
310 LinkDecl(linked_module, module.GetEnumTypes(), no_filter) && in LinkTypes()
[all …]
/development/vndk/tools/header-checker/src/dumper/
Dast_processing.cpp36 const clang::Decl *tu_decl, repr::ModuleIR *module, in HeaderASTVisitor() argument
40 module_(module), ast_caches_(ast_caches) {} in HeaderASTVisitor()
72 repr::ModuleIR *module, in MutateFunctionWithLinkageName() argument
77 return module->AddLinkableMessage(*added_function); in MutateFunctionWithLinkageName()
81 repr:: ModuleIR *module, in AddMangledFunctions()
84 if (!MutateFunctionWithLinkageName(function, module, mangling)) { in AddMangledFunctions()
208 std::unique_ptr<repr::ModuleIR> module( in HandleTranslationUnit() local
212 translation_unit, module.get(), &ast_caches); in HandleTranslationUnit()
221 if (!ir_dumper->Dump(*module)) { in HandleTranslationUnit()
Dabi_wrappers.h46 repr::ModuleIR *module,
111 const clang::RecordDecl *record_decl, repr::ModuleIR *module,
152 const clang::FunctionDecl *decl, repr::ModuleIR *module,
183 const clang::FunctionType *function_type, repr::ModuleIR *module,
199 const clang::EnumDecl *decl, repr::ModuleIR *module,
220 const clang::VarDecl *decl, repr::ModuleIR *module,
/development/vndk/tools/header-checker/tests/
Dtest.py14 from module import Module
23 def make_and_copy_reference_dumps(module, reference_dump_dir=REF_DUMP_DIR): argument
24 output_content = module.make_dump()
26 dump_dir = os.path.join(reference_dump_dir, module.arch)
29 dump_path = os.path.join(dump_dir, module.get_dump_name())
83 def get_or_create_ref_dump(self, module, create): argument
85 return make_and_copy_reference_dumps(module, self.get_tmp_dir())
86 return os.path.join(REF_DUMP_DIR, module.arch, module.get_dump_name())
342 module = Module.get_test_modules_by_name(module_name)[0]
343 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.py159 for module in self._modules_with_notice:
161 bpfile.write(self._gen_notice_filegroup(module))
191 for module in module_list:
192 lib, name = module.split(' ')
322 def _gen_notice_filegroup(self, module): argument
333 filegroup_name=self._get_notice_filegroup_name(module),
334 module=module,
337 def _get_notice_filegroup_name(self, module): argument
344 ver=self._vndk_version, module=module)
/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_…
/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/host/windows/usb/winusb/
DAdbWinUsbApi.def1 ; AdbWinUsbApi.def : Declares the module parameters.
/development/host/windows/usb/api/
DAdbWinApi.def1 ; AdbWinApi.def : Declares the module parameters.
/development/tools/ops/
Dandroid_test_parser.py44 for module in result:
45 for test_case in module:
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/config/
DGlideConfiguration.java24 import com.bumptech.glide.module.GlideModule;
/development/samples/devbytes/telephony/SmsSampleProject/
Dbuild.gradle11 // in the individual module build.gradle files

12