/tools/test/connectivity/acts/framework/acts/libs/proc/ |
D | job.py | 72 command=[], argument 90 self.command = command 103 self.command, self._raw_stdout, self._raw_stderr, 108 def run(command, argument 136 proc = subprocess.Popen(command, 140 shell=not isinstance(command, list)) 152 result = Result(command=command, 162 logging.error("Command %s with %s timeout setting timed out", command, 172 def run_async(command, env=None): argument 190 proc = subprocess.Popen(command, [all …]
|
D | process.py | 50 def __init__(self, command, **kwargs): argument 58 if not self._use_shell and isinstance(command, str): 59 command = shlex.split(command) 60 self._command = command 234 def __start_process(command, **kwargs): argument 238 'Starting command "%s" with kwargs %s', command, kwargs) 239 return subprocess.Popen(command, **kwargs) 250 command = self._command 252 self._process = self.__start_process(command, 263 command) [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/ |
D | b29_lib.py | 110 command = '--serial={}'.format(self.port) 111 debug_bridge_process = self._send_command(command=command) 144 def _send_command(self, command): argument 152 '{} {} {}'.format(DEBUG_BRIDGE, '--rpc_port=-1', command), 170 command = '--serial=%s --debug_spi=dfu --sqif_partition=8' % self.port 171 debug_bridge_process = self._send_command(command=command) 192 command = '--serial={} --ping={}'.format(self.port, component) 193 debug_bridge_process = self._send_command(command=command) 213 command = '--serial={} --charger_reset'.format(self.port) 214 reset_charger_process = self._send_command(command=command)
|
D | logserial.py | 105 command = 'udevadm info -q property -n {}'.format(port) 106 property_list = subprocess.check_output(command, shell=True) 139 command = ( 146 res = subprocess.check_output(command, shell=True) 306 def write(self, command, wait_time=0.2): argument 314 if command: 316 command += self.terminator 318 self.connection_handle.write(command.encode()) 321 logging.info('cmd [{}] sent.'.format(command.strip()))
|
/tools/test/openhst/ |
D | stress_test.py | 199 def __init__(self, name, command, output, events, argument 218 self.command = command 258 logging.info("Restarting process %s", "".join(str(self.command))) 269 self.process = pexpect.spawn(" ".join(self.command), timeout=None) 272 self.process = subprocess.Popen(self.command, stdout=subprocess.PIPE) 418 command = [ 421 command.extend(["%s:S" % tag for tag in config.tag_to_suppress]) 424 command = [ 432 name, command, os.path.join( 443 command = shlex.split( [all …]
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/ |
D | ota_runner_factory.py | 78 command = DEFAULT_OTA_COMMAND 80 command = config[ota_tool_class_name] 81 if type(command) is list: 83 if len(command) == 1: 84 command = command[0] 99 command) 106 command=DEFAULT_OTA_COMMAND, argument 123 ota_tool = ota_tool_factory.create(ota_tool_class_name, command)
|
/tools/test/openhst/resources/ |
D | stress_test.dsp_trigger_sw_rejection.ascii_proto | 9 command: "shell input keyevent 3" 13 command: "shell input keyevent 26" 17 command: "shell dumpsys battery unplug" 21 command: "shell dumpsys deviceidle force-idle" 30 command: "shell input keyevent 3" 34 command: "shell input keyevent 26" 38 command: "shell dumpsys battery unplug" 42 command: "shell dumpsys deviceidle force-idle"
|
D | stress_test.dsp_trigger_and_screen_off.ascii_proto | 11 command: "shell input keyevent 3" 15 command: "shell input keyevent 26" 19 command: "shell dumpsys battery unplug" 23 command: "shell dumpsys deviceidle force-idle"
|
/tools/treble/build/sandbox/ |
D | nsjail_test.py | 34 command=['/bin/bash'], 55 command=['/bin/bash'], 67 command=['/bin/bash'], 83 command=['/bin/bash'], 91 command=['/bin/bash'], 113 command=['/bin/bash'], 134 command=['/bin/bash'], 155 command=['/bin/bash'],
|
D | nsjail.py | 49 def run(command, argument 112 command=command, 143 def get_command(command, argument 311 nsjail_command.extend(command) 486 command=args.command.split(),
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | contest.py | 374 command = data.decode() 377 command = re.sub('\r?\n$', '', command) 380 "client: {}".format(command)) 382 if command == self.AUTOMATION_DUT_ON: 388 elif command == self.AUTOMATION_DUT_OFF: 393 elif command.startswith(self.NOTIFICATION_TESTPLAN_START): 396 elif command.startswith(self.NOTIFICATION_TESTCASE_START): 399 elif command.startswith(self.NOTIFICATION_TESCASE_END): 402 elif command.startswith(self.NOTIFICATION_TESTPLAN_END): 406 self.log.error('Unhandled automation command: ' + command)
|
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_tools/ |
D | ota_tool_factory_test.py | 22 def __init__(self, command): argument 23 self.command = command 32 MockOtaTool.__name__: lambda command: MockOtaTool(command), 45 MockOtaTool.__name__: lambda command: MockOtaTool(command),
|
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/ |
D | sl4a_manager_test.py | 207 command = 'ngo45hke3b4vie3mv5ni93,vfu3j' 208 sl4a_manager._SL4A_ROOT_FIND_PORT_CMD = command 211 self.assertEqual(manager._get_all_ports_command(), command) 222 command = 'ngo45hke3b4vie3mv5ni93,vfu3j' 223 sl4a_manager._SL4A_ROOT_FIND_PORT_CMD = command 226 self.assertEqual(manager._get_all_ports_command(), command) 237 command = 'ngo45hke3b4vie3mv5ni93,vfu3j' 238 sl4a_manager._SL4A_USER_FIND_PORT_CMD = command 241 self.assertEqual(manager._get_all_ports_command(), command) 418 def close(command): argument [all …]
|
/tools/test/connectivity/acts_tests/tests/google/gnss/ |
D | GnssUserBuildBroadcomConfigurationTest.py | 43 command = f"sed -i s/{pattern}/{target}/g {self.full_path}" 44 self.ad.adb.shell(command) 55 command = f"grep {key} {self.full_path}" 56 result = self.ad.adb.shell(command) 81 command = f"ls {file_pattern}" 83 self.ad.adb.shell(command) 130 command = f"rm -f {self.supl_log}" 131 self.ad.adb.shell(command) 230 command = f"rm -f {self.esw_crash_dump_pattern}" 231 self.ad.adb.shell(command) [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/ |
D | connection.py | 49 self.result.command, self.result.stdout, self.result.stderr) 154 command, argument 200 full_command = 'echo "CONNECTED: %s"; %s' % (identifier, command) 224 result = job.Result(command=result.command, 276 self.run(command, timeout, ignore_status, env, io_encoding, 280 def run_async(self, command, env=None): argument 301 command = '(%s) < /dev/null > /dev/null 2>&1 & echo -n $!' % command 302 result = self.run(command, env=env)
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/ |
D | ota_tool_factory.py | 21 AdbSideloadOtaTool.__name__: lambda command: AdbSideloadOtaTool(command), 22 UpdateDeviceOtaTool.__name__: lambda command: UpdateDeviceOtaTool(command), 27 def create(ota_tool_class, command): argument 49 new_update_tool = _CONSTRUCTORS[ota_tool_class](command)
|
D | update_device_ota_tool.py | 34 def __init__(self, command): argument 35 super(UpdateDeviceOtaTool, self).__init__(command) 38 utils.unzip_maintain_permissions(self.command, self.unzip_path) 40 self.command = os.path.join(self.unzip_path, 'update_device.py') 46 self.command, ota_runner.serial, ota_runner.get_ota_package())
|
/tools/test/connectivity/acts_tests/tests/google/bt/ |
D | relay_tool.py | 142 if args.command: 143 if args.command[0] not in func_names: 145 (repr(args.command[0]), repr(func_names)), file=sys.stderr) 148 func = getattr(relay_device, args.command[0]) 150 ret = func(*args.command[1:]) 160 args.command[0], file=sys.stderr) 161 print_docstring(relay_device, args.command[0])
|
/tools/acloud/delete/ |
D | delete_test.py | 45 delete_report = report.Report(command="delete") 73 delete_report = report.Report(command="delete") 94 delete_report = report.Report(command="delete") 128 delete_report = report.Report(command="delete") 143 delete_report = report.Report(command="delete") 166 delete_report = report.Report(command="delete") 183 delete_report = report.Report(command="delete") 202 delete_report = report.Report(command="delete") 221 delete_report = report.Report(command="delete") 247 delete_report = report.Report(command="delete") [all …]
|
/tools/asuite/atest/bazel/ |
D | atest_bazel_mode.md | 2 Atest is a command line tool that allows users to run Android tests locally 3 without requiring knowledge of Trade Federation test harness command line 38 command increases the test timeout: 46 files to correctly invoke ```bazel test``` command. The Bazel BUILD files are 77 At last, ```bazel test``` command is executed for the test targets. 85 the summary result is that atest invokes Bazel command with default parameters. 86 Bazel command option "--test_output" is defaulted to be "summary". User has the 87 option to view "all" output when we later implement command option passing from 89 More details about Bazel [--test_output flag](https://docs.bazel.build/versions/main/command-line-r…
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | fastboot.py | 61 command = ' '.join((self.fastboot_str, name, arg_str)) 63 result = self.connection.run(command, 67 result = job.run(command, ignore_status=True, timeout=timeout) 71 if "getvar" in command: 77 cmd=command, stdout=out, stderr=err, ret_code=ret)
|
/tools/test/connectivity/acts/framework/acts/controllers/spirent_lib/ |
D | gss6450.py | 180 raise GSS6450Error(error=errmsg, command='get_storage_media') 300 raise GSS6450Error(error=errmsg, command='set_rfport_voltage') 318 raise GSS6450Error(error=errmsg, command='set_attenuation') 348 command='set_playback_offset') 372 command='set_storage_media') 381 command='set_storage_media')
|
/tools/treble/hacksaw/client/ |
D | command.go | 25 const usage = `Usage: hacksaw <command> <options> 202 command := args[1] 204 switch command { 221 return fmt.Errorf("Command \"%s %s\" not found", command, subcommand) 239 return fmt.Errorf("Command \"%s %s\" not found", command, subcommand) 244 return fmt.Errorf("Command \"%s\" not found", command)
|
/tools/test/connectivity/acts/framework/acts/controllers/spectracom_lib/ |
D | gsg6.py | 99 raise GSG6Error(error=errmsg, command='set_power') 160 raise GSG6Error(error=errmsg, command='toggle_scenario_power') 193 raise GSG6Error(error=errmsg, command='set_scenario_power') 199 raise GSG6Error(error=errmsg, command='set_scenario_power') 219 raise GSG6Error(error=errmsg, command='set_scenario_power')
|
/tools/acloud/public/ |
D | report.py | 121 def __init__(self, command): argument 127 self.command = command 267 command=self.command,
|