Home
last modified time | relevance | path

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

/tools/asuite/aidegen/lib/
Dsource_locator_unittest.py69 package_name = source_locator.ModuleData._get_package_name(test_java)
70 self.assertEqual(package_name, result_package_name)
77 package_name = source_locator.ModuleData._get_package_name(test_java)
78 self.assertEqual(package_name, result_package_name)
185 package_name = 'c.d'
188 test_java, package_name)
193 package_name = 'c.d'
196 test_java, package_name)
201 package_name = 'x.y'
204 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/openwrt_lib/
Dnetwork_settings.py114 for package_name in package_list.split(" "):
115 if not self._package_installed(package_name):
116 self.ssh.run("opkg install %s" % package_name,
118 self.log.info("Package: %s installed." % package_name)
120 self.log.info("Package: %s skipped (already installed)." % package_name)
128 for package_name in package_list.split(" "):
129 if self._package_installed(package_name):
130 self.ssh.run("opkg remove %s" % package_name)
131 self.log.info("Package: %s removed." % package_name)
133 self.log.info("No exist package %s found." % package_name)
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py661 def get_package_pid(self, package_name): argument
675 '%s | grep "S %s"' % (cmd, package_name),
677 if package_name not in out:
681 self.log.info('apk %s has pid %s.', package_name, pid)
692 'Exception %s', package_name, cmd, e)
693 self.log.debug("apk %s is not running", package_name)
901 def is_apk_installed(self, package_name): argument
915 package_name))
920 'Received error:\n%s', package_name, err)
926 def is_apk_running(self, package_name): argument
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
Dmg3710a.py494 def load_waveform(self, package_name, pattern_name, memory, sg=1): argument
507 cmd = "MMEM{}:LOAD:WAV:WM{} '{}','{}'".format(sg, memory, package_name,
511 def select_waveform(self, package_name, pattern_name, memory, sg=1): argument
525 sg, memory, package_name, pattern_name)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/gnss/
Dgnss_test_utils.py517 def pull_package_apk(ad, package_name): argument
528 out = ad.adb.shell("pm path %s" % package_name)
531 tutils.abort_all_tests(ad.log, "Couldn't find apk of %s" % package_name)
534 ad.log.info("Get apk of %s from %s" % (package_name, apk_source))
562 def reinstall_package_apk(ad, package_name, apk_path): argument
576 ad.log.info("Re-install %s with path: %s" % (package_name, apk_path))
579 package_check = ad.adb.shell("pm path %s" % package_name)
582 ad.log, "%s is not properly re-installed." % package_name)
583 ad.log.info("%s is re-installed successfully." % package_name)
/tools/asuite/atest-py2/test_finders/
Dmodule_finder.py264 package_name = test_finder_utils.get_package_name(dir_item)
265 if package_name:
272 [test_info.TestFilter(package_name, methods)])
/tools/asuite/atest/test_finders/
Dmodule_finder.py347 package_name = test_finder_utils.get_package_name(dir_item)
348 if package_name:
355 [test_info.TestFilter(package_name, methods)])
Dtest_finder_utils_unittest.py721 package_name = 'com.test.hello_world_test'
725 self.assertEqual(package_name,
730 self.assertEqual(package_name,