Home
last modified time | relevance | path

Searched refs:ModuleInfo (Results 1 – 24 of 24) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DModulePusher.java89 static final class ModuleInfo { class in ModulePusher
106 ModuleInfo(String packageName, String versionCode, boolean isApk) { in ModuleInfo() method in ModulePusher.ModuleInfo
112 public static ModuleInfo create(String packageName, String versionCode, boolean isApk) { in create()
113 return new ModuleInfo(packageName, versionCode, isApk); in create()
118 if (other instanceof ModuleInfo) { in equals()
119 ModuleInfo moduleInfo = (ModuleInfo) other; in equals()
161 List<ModuleInfo> pushedModules = pushModulesToDevice(device, moduleFiles); in installModules()
257 List<ModuleInfo> pushModulesToDevice( in pushModulesToDevice()
260 List<ModuleInfo> pushedModules = new ArrayList<>(); in pushModulesToDevice()
297 ModuleInfo pushFile( in pushFile()
[all …]
/tools/asuite/atest/
Dmodule_info.py61 ) -> ModuleInfo:
77 def load_from_dict(name_to_module_info: Dict[str, Any]) -> ModuleInfo:
80 return ModuleInfo(
89 def create_empty() -> ModuleInfo:
91 return ModuleInfo()
96 ) -> ModuleInfo:
208 return ModuleInfo(
467 class ModuleInfo: class
576 return ModuleInfo.has_test_config(info)
1059 return self._get_all_modules(type_predicate=ModuleInfo.is_unit_test)
[all …]
Dtest_runner_handler.py105 mod_info: module_info.ModuleInfo, argument
Dbazel_mode.py182 mod_info: module_info.ModuleInfo, enabled_features: Set[Features] = None argument
381 mod_info: module_info.ModuleInfo, argument
1482 mod_info: module_info.ModuleInfo, argument
1527 mod_info: module_info.ModuleInfo, argument
1554 mod_info: module_info.ModuleInfo, argument
1573 mod_info: module_info.ModuleInfo, argument
1694 mod_info: module_info.ModuleInfo, argument
1759 mod_info: module_info.ModuleInfo, argument
Dmodule_info_unittest.py278 @mock.patch.object(module_info.ModuleInfo, 'get_robolectric_type')
289 @mock.patch.object(module_info.ModuleInfo, 'is_module')
549 self.assertTrue(module_info.ModuleInfo.is_unit_test(maininfo_with_unittest))
693 @mock.patch.object(module_info.ModuleInfo, 'get_testable_modules')
Datest_main.py1225 mod_info: module_info.ModuleInfo, argument
1303 mod_info: module_info.ModuleInfo, argument
1413 mod_info: module_info.ModuleInfo, argument
Dcli_translator_unittest.py507 @mock.patch.object(module_info.ModuleInfo, 'get_testable_modules')
/tools/asuite/atest/test_finders/
Dtest_finder_utils_unittest.py288 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
303 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
323 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
343 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
364 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
384 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
401 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
417 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
433 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
453 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
[all …]
Dcache_finder_unittest.py38 self.cache_finder.module_info = mock.Mock(spec=module_info.ModuleInfo)
175 self.cache_finder.module_info = mock.Mock(spec=module_info.ModuleInfo)
Dmodule_finder_unittest.py390 self.mod_finder.module_info = mock.Mock(spec=module_info.ModuleInfo)
1569 @mock.patch.object(module_info.ModuleInfo, 'get_instrumentation_target_apps')
1570 @mock.patch.object(module_info.ModuleInfo, 'get_robolectric_type')
1571 @mock.patch.object(module_info.ModuleInfo, 'is_testable_module')
Dtest_finder_utils.py1214 module_info_obj: module_info.ModuleInfo, test_name: str argument
/tools/asuite/atest/coverage/
Dcoverage.py88 mod_info: module_info.ModuleInfo, argument
130 mod_info: module_info.ModuleInfo, argument
181 info, mod_info: module_info.ModuleInfo, seen: Set[str] argument
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py318 atest_module_info = module_info.ModuleInfo()
366 atest_module_info = module_info.ModuleInfo()
408 atest_module_info = module_info.ModuleInfo()
500 all_module_list = module_info.ModuleInfo().name_to_module_info.keys()
/tools/treble/split/
Dmanifest_split_test.py125 module_info = manifest_split.ModuleInfo(module_info_file.name,
170 manifest_split.ModuleInfo(module_info_file.name, repo_projects,
452 @unittest.mock.patch.object(manifest_split.ModuleInfo, '__init__', autospec=True)
Dmanifest_split.py202 class ModuleInfo: class
535 module_info = ModuleInfo(module_info_file, repo_projects,
/tools/asuite/aidegen/lib/
Dmodule_info.py34 class AidegenModuleInfo(module_info.ModuleInfo, metaclass=Singleton):
Dcommon_util.py345 amodule_info = module_info.ModuleInfo()
348 amodule_info = module_info.ModuleInfo(force_build=True)
Dnative_module_info_unittest.py322 @mock.patch.object(atest.module_info.ModuleInfo, '_load_module_info_file')
Dsource_locator_unittest.py504 @mock.patch.object(amodule_info.ModuleInfo, 'get_paths')
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DModulePusherTest.java137 protected ModulePusher.ModuleInfo retrieveModuleInfo(File packageFile) { in setUp()
139 return ModuleInfo.create(APEX_PACKAGE_NAME, "2", false); in setUp()
141 return ModuleInfo.create(APK_PACKAGE_NAME, "2", true); in setUp()
143 return ModuleInfo.create(SPLIT_APK_PACKAGE_NAME, "2", true); in setUp()
/tools/asuite/aidegen/idea/
Diml_unittest.py195 mod_info = module_info.ModuleInfo()
/tools/asuite/atest/docs/
Ddevelop_test_finders.md17 Examples of metadata would be the ```ModuleInfo``` object or the dirs that hold
/tools/asuite/atest/test_runners/
Datest_tf_test_runner.py154 mod_info: module_info.ModuleInfo = None, argument
1321 mod_info: module_info.ModuleInfo, argument
1355 extra_args: Dict[str, Any], mod_info: module_info.ModuleInfo = None argument
1622 return not self._info or not module_info.ModuleInfo.is_unit_test(
Datest_tf_test_runner_unittest.py1229 self.tr.module_info = module_info.ModuleInfo(
1262 self.tr.module_info = module_info.ModuleInfo(
1293 self.tr.module_info = module_info.ModuleInfo()