Home
last modified time | relevance | path

Searched refs:MODULE_NAME (Results 1 – 22 of 22) sorted by relevance

/tools/asuite/atest/test_finders/
Dmodule_finder_unittest.py43 MODULE_CLASS = '%s:%s' % (uc.MODULE_NAME, uc.CLASS_NAME)
44 MODULE_PACKAGE = '%s:%s' % (uc.MODULE_NAME, uc.PACKAGE)
59 uc.MODULE_NAME,
82 NON_RUN_ROBO_MOD = {constants.MODULE_NAME: NON_RUN_ROBO_MOD_NAME,
85 RUN_ROBO_MOD = {constants.MODULE_NAME: RUN_ROBO_MOD_NAME,
135 t_infos = self.mod_finder.find_test_by_module_name(uc.MODULE_NAME)
163 t_infos = self.mod_finder.find_test_by_module_name(uc.MODULE_NAME)
188 t_infos = self.mod_finder.find_test_by_module_name(uc.MODULE_NAME)
219 self.mod_finder.module_info.get_module_names.return_value = [uc.MODULE_NAME]
222 constants.MODULE_NAME: uc.MODULE_NAME,
[all …]
Dmodule_finder.py93 mod_info.get(constants.MODULE_NAME))
95 testable_modules.append(mod_info.get(constants.MODULE_NAME))
/tools/asuite/atest-py2/test_finders/
Dmodule_finder_unittest.py35 MODULE_CLASS = '%s:%s' % (uc.MODULE_NAME, uc.CLASS_NAME)
36 MODULE_PACKAGE = '%s:%s' % (uc.MODULE_NAME, uc.PACKAGE)
51 uc.MODULE_NAME,
74 NON_RUN_ROBO_MOD = {constants.MODULE_NAME: NON_RUN_ROBO_MOD_NAME,
77 RUN_ROBO_MOD = {constants.MODULE_NAME: RUN_ROBO_MOD_NAME,
126 t_infos = self.mod_finder.find_test_by_module_name(uc.MODULE_NAME)
154 self.mod_finder.module_info.get_module_names.return_value = [uc.MODULE_NAME]
157 constants.MODULE_NAME: uc.MODULE_NAME,
179 uc.CLASS_NAME, uc.MODULE_NAME, uc.CONFIG_FILE)
232 bad_class = '%s:%s' % (uc.MODULE_NAME, 'Anything')
[all …]
Dmodule_finder.py74 testable_modules.append(mod_info.get(constants.MODULE_NAME))
/tools/asuite/atest/
Dunittest_constants.py36 MODULE_NAME = 'CtsJankDeviceTestCases' variable
78 MODULE_INFO = test_info.TestInfo(MODULE_NAME,
83 MODULE_NAME,
127 CLASS_INFO = test_info.TestInfo(MODULE_NAME,
142 PACKAGE_INFO = test_info.TestInfo(MODULE_NAME,
146 PATH_INFO = test_info.TestInfo(MODULE_NAME,
150 EMPTY_PATH_INFO = test_info.TestInfo(MODULE_NAME,
160 MODULE_NAME,
177 MODULE_NAME,
185 MODULE_NAME,
[all …]
Dmodule_info_unittest.py51 constants.MODULE_NAME: ROBO_MODULE,
55 constants.MODULE_NAME: ASSOCIATED_ROBO_MODULE,
67 MODULE_INFO = {constants.MODULE_NAME: 'random_name',
146 constants.MODULE_NAME: mod_one},
148 constants.MODULE_NAME: mod_two}}
150 path_to_mod_info = {mod_path_one: [{constants.MODULE_NAME: mod_one,
152 mod_path_two: [{constants.MODULE_NAME: mod_two,
196 module_list.append(path_to_mod_info.get(constants.MODULE_NAME))
251 non_installed_module_info = {constants.MODULE_NAME: 'rand_name'}
387 mod_info_1 = {constants.MODULE_NAME: 'module_1',
[all …]
Dbazel_mode_unittest.py47 MODULE_NAME = 'foo' variable
1305 self.create_single_test_infos(obj, test_id, test_name=MODULE_NAME,
1308 host_unit_test_module(name=MODULE_NAME)
1315 new_finder.test_finder_instance, MODULE_NAME)
1322 self.create_single_test_infos(obj, test_id, test_name=MODULE_NAME,
1325 host_unit_test_module(name=MODULE_NAME)
1332 new_finder.test_finder_instance, MODULE_NAME)
1339 self.create_single_test_infos(obj, test_id, test_name=MODULE_NAME,
1342 device_test_module(name=MODULE_NAME)
1355 new_finder.test_finder_instance, MODULE_NAME)
[all …]
Dcli_translator_unittest.py71 if test_name == uc.MODULE_NAME:
123 if test == uc.MODULE_NAME
126 one_test = [uc.MODULE_NAME]
127 mult_test = [uc.MODULE_NAME, uc.CLASS_NAME]
192 if test == uc.MODULE_NAME else uc.CLASS_INFOS2)
193 one_test = [uc.MODULE_NAME]
194 mult_test = [uc.MODULE_NAME, uc.CLASS_NAME]
270 self.args.tests = [uc.MODULE_NAME, uc.CLASS_NAME]
396 modules = [uc.MODULE_NAME, uc.MODULE2_NAME]
402 uc.MODULE_NAME, uc.MODULE2_NAME)
Dmodule_info.py276 if mod_name != mod_info.get(constants.MODULE_NAME, ''):
279 mod_info[constants.MODULE_NAME] = mod_name
317 modules.add(info.get(constants.MODULE_NAME))
327 _modules.add(info.get(constants.MODULE_NAME))
353 return [m.get(constants.MODULE_NAME)
436 if self.is_robolectric_test(mod_info.get(constants.MODULE_NAME)):
465 return self.is_auto_gen_test_config(mod_info.get(constants.MODULE_NAME))
846 if mod_info.get(constants.MODULE_NAME, '') == mod_name:
861 declared_module_name = mod_info.get(constants.MODULE_NAME)
Datest_unittest.py113 mod_one = {constants.MODULE_NAME: mod_one_name,
163 mod_one = {constants.MODULE_NAME: mod_one_name,
168 mod_two = {constants.MODULE_NAME: mod_two_name,
173 mod_three = {constants.MODULE_NAME: mod_two_name,
Dconstants_default.py90 MODULE_NAME = 'module_name' variable
/tools/asuite/atest-py2/
Dmodule_info.py124 if mod_name != mod_info.get(constants.MODULE_NAME, ''):
127 mod_info[constants.MODULE_NAME] = mod_name
155 return [m.get(constants.MODULE_NAME)
167 if mod_name == module_info.get(constants.MODULE_NAME, ''):
199 modules.add(info.get(constants.MODULE_NAME))
201 modules.add(info.get(constants.MODULE_NAME))
221 if self.is_robolectric_test(mod_info.get(constants.MODULE_NAME)):
249 return self.is_auto_gen_test_config(mod_info.get(constants.MODULE_NAME))
Dunittest_constants.py33 MODULE_NAME = 'CtsJankDeviceTestCases' variable
62 MODULE_INFO = test_info.TestInfo(MODULE_NAME,
88 CLASS_INFO = test_info.TestInfo(MODULE_NAME,
103 PACKAGE_INFO = test_info.TestInfo(MODULE_NAME,
107 PATH_INFO = test_info.TestInfo(MODULE_NAME,
111 EMPTY_PATH_INFO = test_info.TestInfo(MODULE_NAME,
121 MODULE_NAME,
142 TEST_MAPPING_TEST = {'name': MODULE_NAME, 'host': True}
Dmodule_info_unittest.py40 NON_RUN_ROBO_MOD = {constants.MODULE_NAME: NON_RUN_ROBO_MOD_NAME,
43 RUN_ROBO_MOD = {constants.MODULE_NAME: RUN_ROBO_MOD_NAME,
55 MODULE_INFO = {constants.MODULE_NAME: 'random_name',
111 constants.MODULE_NAME: mod_one},
113 constants.MODULE_NAME: mod_two}}
115 path_to_mod_info = {mod_path_one: [{constants.MODULE_NAME: mod_one,
117 mod_path_two: [{constants.MODULE_NAME: mod_two,
151 module_list.append(path_to_mod_info.get(constants.MODULE_NAME))
193 non_installed_module_info = {constants.MODULE_NAME: 'rand_name'}
Dcli_translator_unittest.py64 if test_name == uc.MODULE_NAME:
109 if test == uc.MODULE_NAME
112 one_test = [uc.MODULE_NAME]
113 mult_test = [uc.MODULE_NAME, uc.CLASS_NAME]
176 if test == uc.MODULE_NAME else uc.CLASS_INFOS2)
177 one_test = [uc.MODULE_NAME]
178 mult_test = [uc.MODULE_NAME, uc.CLASS_NAME]
232 self.args.tests = [uc.MODULE_NAME, uc.CLASS_NAME]
348 modules = [uc.MODULE_NAME, uc.MODULE2_NAME]
354 uc.MODULE_NAME, uc.MODULE2_NAME)
Datest_unittest.py109 mod_one = {constants.MODULE_NAME: mod_one_name,
157 mod_one = {constants.MODULE_NAME: mod_one_name,
162 mod_two = {constants.MODULE_NAME: mod_two_name,
167 mod_three = {constants.MODULE_NAME: mod_two_name,
Dconstants_default.py78 MODULE_NAME = 'module_name' variable
/tools/asuite/atest-py2/test_runners/
Datest_tf_test_runner_unittest.py69 CLASS1_INFO = test_info.TestInfo(uc.MODULE_NAME,
75 CLASS2_INFO = test_info.TestInfo(uc.MODULE_NAME,
81 CLASS3_INFO = test_info.TestInfo(uc.MODULE_NAME,
88 CLASS4_INFO = test_info.TestInfo(uc.MODULE_NAME,
95 uc.MODULE_NAME,
100 uc.MODULE_NAME,
106 uc.MODULE_NAME,
114 uc.MODULE_NAME,
122 uc.MODULE_NAME,
128 uc.MODULE_NAME,
[all …]
/tools/loganalysis/src/com/android/loganalysis/item/
DDmesgModuleInfoItem.java27 public static final String MODULE_NAME = "MODULE_NAME"; field in DmesgModuleInfoItem
40 MODULE_NAME,
53 setAttribute(MODULE_NAME, moduleName); in setModuleName()
58 return (String) getAttribute(MODULE_NAME); in getModuleName()
/tools/asuite/atest/test_runners/
Datest_tf_test_runner_unittest.py82 CLASS1_INFO = test_info.TestInfo(uc.MODULE_NAME,
88 CLASS2_INFO = test_info.TestInfo(uc.MODULE_NAME,
94 CLASS3_INFO = test_info.TestInfo(uc.MODULE_NAME,
101 CLASS4_INFO = test_info.TestInfo(uc.MODULE_NAME,
108 uc.MODULE_NAME,
113 uc.MODULE_NAME,
119 uc.MODULE_NAME,
127 uc.MODULE_NAME,
135 uc.MODULE_NAME,
141 uc.MODULE_NAME,
[all …]
/tools/asuite/atest-py2/tools/
Datest_tools_unittest.py47 mock_testable_mod.return_value = {uc.MODULE_NAME, uc.MODULE2_NAME}
92 self.assertTrue(uc.MODULE_NAME in _cache)
/tools/metalava/src/main/java/com/android/tools/metalava/
DDriver.kt48 import org.jetbrains.kotlin.config.CommonConfigurationKeys.MODULE_NAME in <lambda>()
759 config.kotlinCompilerConfig.put(MODULE_NAME, METALAVA_SYNTHETIC_SUFFIX) in createProjectEnvironment()