Home
last modified time | relevance | path

Searched refs:package_name (Results 1 – 11 of 11) sorted by relevance

/tools/asuite/atest/
Dbazel_mode.py534 package_name = self._get_module_path(info)
541 package_name,
546 return self._add_target(package_name, name, create)
549 package_name = self._get_module_path(info)
555 package_name,
559 return self._add_target(package_name, name, create)
564 package_name = self._get_module_path(info)
568 package_name,
571 name, package_name, info, f'//{JDK_PACKAGE_NAME}:{JDK_NAME}'
576 package_name = self._get_module_path(info)
[all …]
Dbazel_mode_unittest.py2700 output_file_path, package_name, target_suffix = (
2709 self.assertEqual('path', package_name)
2719 output_file_path, package_name, target_suffix = (
2728 self.assertEqual('path1', package_name)
/tools/asuite/aidegen/lib/
Dsource_locator_unittest.py68 package_name = source_locator.ModuleData._get_package_name(test_java)
69 self.assertEqual(package_name, result_package_name)
76 package_name = source_locator.ModuleData._get_package_name(test_java)
77 self.assertEqual(package_name, result_package_name)
183 package_name = 'c.d'
186 test_java, package_name)
191 package_name = 'c.d'
194 test_java, package_name)
199 package_name = 'x.y'
202 test_java, package_name)
[all …]
Dsource_locator.py329 package_name = self._get_package_name(abs_java_path)
330 if package_name:
331 return self._parse_source_path(java_file, package_name)
335 def _parse_source_path(java_file, package_name): argument
371 pattern = r'%s/%s$' % (package_name, java_file_name)
409 package_name = None
414 package_name = match.group('package')
416 return package_name
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py758 def get_package_pid(self, package_name): argument
771 out = self.adb.shell('%s | grep "S %s"' % (cmd, package_name),
773 if package_name not in out:
777 self.log.info('apk %s has pid %s.', package_name, pid)
788 'Exception %s', package_name, cmd, e)
789 self.log.debug("apk %s is not running", package_name)
997 def get_apk_version(self, package_name): argument
1008 package_name)
1015 package_name, e)
1016 self.log.debug("apk %s is not found", package_name)
[all …]
/tools/asuite/atest/test_finders/
Dtest_filter_utils_unittest.py140 package_name = 'com.test.hello_world_test'
145 package_name, test_filter_utils.get_package_name(target_java)
151 package_name, test_filter_utils.get_package_name(target_kt)
Dcache_finder.py181 package_name = test_filter_utils.get_package_name(abs_src_path)
182 if filter_class == full_class_name or filter_class == package_name:
Dmodule_finder.py413 package_name = test_filter_utils.get_package_name(dir_item)
414 if package_name:
420 ti_filter = frozenset([test_info.TestFilter(package_name, methods)])
/tools/test/connectivity/acts/framework/acts/controllers/openwrt_lib/
Dnetwork_settings.py144 for package_name in package_list.split(" "):
145 if not self._package_installed(package_name):
146 self.ssh.run("opkg install %s" % package_name,
148 self.log.info("Package: %s installed." % package_name)
150 self.log.info("Package: %s skipped (already installed)." % package_name)
158 for package_name in package_list.split(" "):
159 if self._package_installed(package_name):
160 self.ssh.run("opkg remove %s" % package_name)
161 self.log.info("Package: %s removed." % package_name)
163 self.log.info("No exist package %s found." % package_name)
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
Dmg3710a.py491 def load_waveform(self, package_name, pattern_name, memory, sg=1): argument
504 cmd = "MMEM{}:LOAD:WAV:WM{} '{}','{}'".format(sg, memory, package_name,
508 def select_waveform(self, package_name, pattern_name, memory, sg=1): argument
522 sg, memory, package_name, pattern_name)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/gnss/
Dgnss_test_utils.py691 def pull_package_apk(ad, package_name): argument
701 out = ad.adb.shell("pm path %s" % package_name)
704 raise signals.TestError("Couldn't find apk of %s" % package_name)
707 ad.log.info("Get apk of %s from %s" % (package_name, apk_source))
735 def reinstall_package_apk(ad, package_name, apk_path): argument
749 ad.log.info("Re-install %s with path: %s" % (package_name, apk_path))
752 package_check = ad.adb.shell("pm path %s" % package_name)
755 ad.log, "%s is not properly re-installed." % package_name)
756 ad.log.info("%s is re-installed successfully." % package_name)