Home
last modified time | relevance | path

Searched refs:module_data (Results 1 – 3 of 3) sorted by relevance

/tools/asuite/aidegen/lib/
Dsource_locator_unittest.py87 module_data = source_locator.ModuleData(
89 src_path = module_data._get_source_folder(test_java)
94 src_path = module_data._get_source_folder(test_java)
100 src_path = module_data._get_source_folder(test_java)
105 module_data = source_locator.ModuleData(
110 r_dir = module_data._get_r_dir(test_aapt2_srcjar)
116 r_dir = module_data._get_r_dir(test_r_jar)
122 r_dir = module_data._get_r_dir(test_wrong_r_jar)
128 r_dir = module_data._get_r_dir(test_unknown_target)
140 module_data = source_locator.ModuleData(unittest_constants.TEST_MODULE,
[all …]
Dsource_locator.py81 def __init__(self, module_name, module_data, depth): argument
108 assert module_data, 'Module data of %s can\'t be null.' % module_name
110 self.module_data = module_data
127 return self._check_key('class') and 'APPS' in self.module_data['class']
156 for srcjar in self.module_data[constant.KEY_SRCJARS]:
192 for srcjar in self.module_data[constant.KEY_SRCJARS]:
229 self.module_path = (self.module_data[constant.KEY_PATH][0]
241 self.module_depth = (int(self.module_data[constant.KEY_DEPTH])
252 return (_KEY_JARJAR_RULES in self.module_data and
253 self.module_data[_KEY_JARJAR_RULES][0] == _JARJAR_RULES_FILE)
[all …]
Dproject_info.py366 for module_name, module_data in self.dep_modules.items():
367 module = self._generate_moduledata(module_name, module_data)
388 def _generate_moduledata(self, module_name, module_data): argument
405 module_name, module_data, self.project_relative_path)
407 return source_locator.ModuleData(module_name, module_data, depth)
423 if constant.KEY_DEPENDENCIES in module.module_data:
425 x for x in module.module_data[constant.KEY_DEPENDENCIES]