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.py86 module_data = source_locator.ModuleData(
88 src_path = module_data._get_source_folder(test_java)
93 src_path = module_data._get_source_folder(test_java)
99 src_path = module_data._get_source_folder(test_java)
104 module_data = source_locator.ModuleData(
109 r_dir = module_data._get_r_dir(test_aapt2_srcjar)
115 r_dir = module_data._get_r_dir(test_r_jar)
121 r_dir = module_data._get_r_dir(test_wrong_r_jar)
127 r_dir = module_data._get_r_dir(test_unknown_target)
139 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.py367 for module_name, module_data in self.dep_modules.items():
368 module = self._generate_moduledata(module_name, module_data)
389 def _generate_moduledata(self, module_name, module_data): argument
406 module_name, module_data, self.project_relative_path)
408 return source_locator.ModuleData(module_name, module_data, depth)
424 if constant.KEY_DEPENDENCIES in module.module_data:
426 x for x in module.module_data[constant.KEY_DEPENDENCIES]