Searched refs:package_name (Results 1 – 7 of 7) sorted by relevance
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | android_device.py | 649 def get_package_pid(self, package_name): argument 663 '%s | grep "S %s"' % (cmd, package_name), 665 if package_name not in out: 669 self.log.info('apk %s has pid %s.', package_name, pid) 680 'Exception %s', package_name, cmd, e) 681 self.log.debug("apk %s is not running", package_name) 851 def is_apk_installed(self, package_name): argument 865 package_name)) 870 'Received error:\n%s', package_name, err) 876 def is_apk_running(self, package_name): argument [all …]
|
/tools/asuite/aidegen/lib/ |
D | source_locator_unittest.py | 69 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 …]
|
D | source_locator.py | 332 package_name = self._get_package_name(abs_java_path) 333 if package_name: 334 return self._parse_source_path(java_file, package_name) 338 def _parse_source_path(java_file, package_name): argument 374 pattern = r'%s/%s$' % (package_name, java_file_name) 412 package_name = None 417 package_name = match.group('package') 419 return package_name
|
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/ |
D | gnss_test_utils.py | 470 def pull_package_apk(ad, package_name): argument 480 out = ad.adb.shell("pm path %s" % package_name) 483 tutils.abort_all_tests(ad.log, "Couldn't find apk of %s" % package_name) 486 ad.log.info("Get apk of %s from %s" % (package_name, apk_source)) 492 def reinstall_package_apk(ad, package_name, apk_path): argument 506 ad.log.info("Re-install %s with path: %s" % (package_name, apk_path)) 509 package_check = ad.adb.shell("pm path %s" % package_name) 512 ad.log, "%s is not properly re-installed." % package_name) 513 ad.log.info("%s is re-installed successfully." % package_name)
|
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/ |
D | mg3710a.py | 494 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/asuite/atest/test_finders/ |
D | module_finder.py | 266 package_name = test_finder_utils.get_package_name(dir_item) 267 if package_name: 274 [test_info.TestFilter(package_name, methods)])
|
/tools/tradefederation/core/atest/test_finders/ |
D | module_finder.py | 264 package_name = test_finder_utils.get_package_name(dir_item) 265 if package_name: 272 [test_info.TestFilter(package_name, methods)])
|