Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 11 of 11) sorted by relevance

/tools/asuite/aidegen/lib/
Dproject_config_unittest.py67 self.assertEqual(config.depth, 0)
78 self.assertEqual(config_obj.depth, 0)
102 depth = '2'
103 args = aidegen_main._parse_args(['-d', depth])
105 self.assertEqual(config.depth, int(depth))
107 self.assertEqual(config_obj.depth, int(depth))
Dproject_info.py226 def get_dep_modules(self, module_names=None, depth=0): argument
271 dep[name][constant.KEY_DEPTH] = depth
277 dep.update(self.get_dep_modules(children, depth + 1))
395 depth = project_config.ProjectConfig.get_instance().depth
396 return source_locator.ModuleData(module_name, module_data, depth)
Dsource_locator.py83 def __init__(self, module_name, module_data, depth): argument
114 self._init_module_depth(depth)
234 def _init_module_depth(self, depth): argument
244 if depth else 0)
245 self.depth_by_source = depth
619 super().__init__(module_name, module_data, depth=0)
Dproject_config.py77 self.depth = args.depth
Dproject_info_unittest.py101 self.args.depth = 0
213 args.depth = 0
/tools/test/connectivity/acts/framework/acts/
Dcontext.py37 def get_current_context(depth=None): argument
49 if depth is None:
51 return _contexts[min(depth, len(_contexts)-1)]
/tools/asuite/aidegen/
Daidegen_main_unittest.py66 depth = '2'
67 args = aidegen_main._parse_args(['-d', depth])
68 self.assertEqual(args.depth, int(depth))
/tools/metalava/src/main/java/com/android/tools/metalava/
DDocAnalyzer.kt117 handleAnnotation(annotation, item, depth = 0) in <lambda>()
185 depth: Int in <lambda>()
223 if (depth == 20) { // Temp debugging in <lambda>()
229 handleAnnotation(nested, item, depth + 1) in <lambda>()
DComparisonVisitor.kt461 private fun prettyPrint(sb: StringBuilder, depth: Int) { in prettyPrint()
462 for (i in 0 until depth) { in prettyPrint()
468 child.prettyPrint(sb, depth + 1) in prettyPrint()
/tools/test/connectivity/acts/framework/acts/libs/logging/
Dlog_stream.py340 def __get_current_output_dir(self, depth=ContextLevel.TESTCASE): argument
350 curr_context = context.get_current_context(depth)
/tools/repohooks/tools/
Dcpplint.py2288 depth = 0
2291 depth += line.count('{') - line.count('}')
2292 if not depth: