/test/vts/utils/python/common/ |
D | cmd_utils.py | 56 proc = utils.start_standing_subprocess(cmd) 60 out, err = proc.communicate() 61 result.append((out, err, proc.returncode)) 69 if proc.poll() is None: 70 utils.kill_process_group(proc) 73 and proc.returncode == EXIT_CODE_TIMEOUT_ON_WINDOWS) 74 or proc.returncode == EXIT_CODE_TIMEOUT_ON_LINUX): 80 return "", "", proc.returncode 93 proc = subprocess.Popen( 95 (stdout, stderr) = proc.communicate() [all …]
|
/test/vts-testcase/kernel/api/proc/ |
D | VtsKernelProcFileApiTest.py | 25 from vts.testcases.kernel.api.proc import ProcAsoundTests 26 from vts.testcases.kernel.api.proc import ProcCmdlineTest 27 from vts.testcases.kernel.api.proc import ProcCpuFileTests 28 from vts.testcases.kernel.api.proc import ProcFsFileTests 29 from vts.testcases.kernel.api.proc import ProcKmsgTest 30 from vts.testcases.kernel.api.proc import ProcMapsTest 31 from vts.testcases.kernel.api.proc import ProcMiscTest 32 from vts.testcases.kernel.api.proc import ProcMemInfoTest 33 from vts.testcases.kernel.api.proc import ProcModulesTest 34 from vts.testcases.kernel.api.proc import ProcQtaguidCtrlTest [all …]
|
D | ProcUidIoStatsTest.py | 17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase 18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
|
D | ProcVmstatTest.py | 17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase 18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
|
D | ProcMiscTest.py | 17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase 18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
|
D | ProcUidTimeInStateTest.py | 17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase 18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
|
D | ProcAsoundTests.py | 18 from vts.testcases.kernel.api.proc import KernelProcFileTestBase 19 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
|
D | ProcQtaguidCtrlTest.py | 17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase 18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
|
D | ProcStatTest.py | 17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase 18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
|
D | ProcCpuFileTests.py | 17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase 18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
|
D | ProcUidConcurrentTimeTests.py | 17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase 18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
|
D | ProcZoneInfoTest.py | 17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase 18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
|
D | ProcFsFileTests.py | 19 from vts.testcases.kernel.api.proc import KernelProcFileTestBase 20 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
|
D | ProcVmallocInfoTest.py | 17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase 18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
|
D | ProcKmsgTest.py | 18 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
|
D | ProcCmdlineTest.py | 17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
|
D | ProcRemoveUidRangeTest.py | 18 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
|
D | ProcVersionTest.py | 18 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
|
/test/vts/runners/host/ |
D | utils.py | 336 proc = subprocess.Popen( 338 (out, err) = proc.communicate() 344 def _assert_subprocess_running(proc): argument 353 ret = proc.poll() 355 out, err = proc.communicate() 357 " stdout: %s" % (proc.pid, ret, err, out)) 396 def kill_process_group(proc, signal_no=signal.SIGTERM): argument 409 pid = proc.pid 447 proc = subprocess.Popen( 454 proc = subprocess.Popen( [all …]
|
/test/vts-testcase/kernel/checkpoint/ |
D | checkpoint_utils.py | 64 proc = subprocess.Popen(args=cmd, 67 _timer = Timer(timeout, kill, [proc]) 70 (out, err) = proc.communicate() 77 if proc.returncode != 0: 78 raise AdbError(cmd, out, err, proc.returncode) 79 return out, err, proc.returncode
|
/test/vts/testcases/host/kernel_proc_file_api_test/ |
D | proc_utils.py | 159 proc = subprocess.Popen(args=cmd, 162 _timer = Timer(timeout, kill, [proc]) 165 (out, err) = proc.communicate() 170 return out.decode('UTF-8'), err.decode('UTF-8'), proc.returncode 175 return out.decode('ISO-8859-1'), err.decode('ISO-8859-1'), proc.returncode
|
/test/framework/harnesses/host_controller/command_processor/ |
D | command_test.py | 128 proc = subprocess.Popen( 135 target=LogOutputStream, args=(logging.INFO, proc.stdout)) 137 target=LogOutputStream, args=(logging.ERROR, proc.stderr)) 142 proc.wait() 143 logging.info("Return code: %d", proc.returncode) 144 proc.stdin.close()
|
/test/vts/utils/python/controllers/ |
D | fastboot.py | 35 proc = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True) 36 (out, err) = proc.communicate()
|
/test/vts-testcase/vndk/ |
D | utils.py | 50 proc = subprocess.Popen(cmd, shell=False, stdin=subprocess.PIPE, 52 out, err = proc.communicate() 58 return out, err, proc.returncode
|
/test/vts-testcase/vndk/golden/ |
D | dump_abi.py | 36 proc = subprocess.Popen( 38 stdout, stderr = proc.communicate() 39 if proc.returncode:
|