/tools/asuite/atest/test_finders/ |
D | module_finder_unittest.py | 43 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 …]
|
D | module_finder.py | 93 mod_info.get(constants.MODULE_NAME)) 95 testable_modules.append(mod_info.get(constants.MODULE_NAME))
|
/tools/asuite/atest-py2/test_finders/ |
D | module_finder_unittest.py | 35 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 …]
|
D | module_finder.py | 74 testable_modules.append(mod_info.get(constants.MODULE_NAME))
|
/tools/asuite/atest/ |
D | unittest_constants.py | 36 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 …]
|
D | module_info_unittest.py | 51 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 …]
|
D | bazel_mode_unittest.py | 47 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 …]
|
D | cli_translator_unittest.py | 71 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)
|
D | module_info.py | 276 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)
|
D | atest_unittest.py | 113 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,
|
D | constants_default.py | 90 MODULE_NAME = 'module_name' variable
|
/tools/asuite/atest-py2/ |
D | module_info.py | 124 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))
|
D | unittest_constants.py | 33 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}
|
D | module_info_unittest.py | 40 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'}
|
D | cli_translator_unittest.py | 64 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)
|
D | atest_unittest.py | 109 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,
|
D | constants_default.py | 78 MODULE_NAME = 'module_name' variable
|
/tools/asuite/atest-py2/test_runners/ |
D | atest_tf_test_runner_unittest.py | 69 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/ |
D | DmesgModuleInfoItem.java | 27 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/ |
D | atest_tf_test_runner_unittest.py | 82 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/ |
D | atest_tools_unittest.py | 47 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/ |
D | Driver.kt | 48 import org.jetbrains.kotlin.config.CommonConfigurationKeys.MODULE_NAME in <lambda>() 759 config.kotlinCompilerConfig.put(MODULE_NAME, METALAVA_SYNTHETIC_SUFFIX) in createProjectEnvironment()
|