Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 25 of 31) sorted by relevance

12

/test/vts/utils/python/common/
Dcmd_utils.py56 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/
DVtsKernelProcFileApiTest.py25 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 …]
DProcUidIoStatsTest.py17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
DProcVmstatTest.py17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
DProcMiscTest.py17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
DProcUidTimeInStateTest.py17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
DProcAsoundTests.py18 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
19 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
DProcQtaguidCtrlTest.py17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
DProcStatTest.py17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
DProcCpuFileTests.py17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
DProcUidConcurrentTimeTests.py17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
DProcZoneInfoTest.py17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
DProcFsFileTests.py19 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
20 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
DProcVmallocInfoTest.py17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
18 from vts.testcases.kernel.api.proc.KernelProcFileTestBase import repeat_rule, literal_token
DProcKmsgTest.py18 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
DProcCmdlineTest.py17 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
DProcRemoveUidRangeTest.py18 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
DProcVersionTest.py18 from vts.testcases.kernel.api.proc import KernelProcFileTestBase
/test/vts/runners/host/
Dutils.py336 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/
Dcheckpoint_utils.py64 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/
Dproc_utils.py159 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/
Dcommand_test.py128 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/
Dfastboot.py35 proc = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True)
36 (out, err) = proc.communicate()
/test/vts-testcase/vndk/
Dutils.py50 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/
Ddump_abi.py36 proc = subprocess.Popen(
38 stdout, stderr = proc.communicate()
39 if proc.returncode:

12