Searched refs:system_output (Results 1 - 25 of 177) sorted by relevance

12345678

/external/autotest/client/cros/
H A Dupstart.py34 return utils.system_output('status %s' % service_name).find('start/running') != -1
45 utils.system_output('restart %s' % service_name)
47 utils.system_output('start %s' % service_name)
H A Dasan.py24 symbol = utils.system_output(scanelf_command)
/external/autotest/client/site_tests/kernel_TPMPing/
H A Dkernel_TPMPing.py14 tpm_version = utils.system_output("tpm_version")
21 version = utils.system_output('/bin/uname -r').strip()
28 result = utils.system_output('awk \'/Linux version [0-9]+\./ '
/external/autotest/client/site_tests/hardware_ProbeComponents/
H A Dhardware_ProbeComponents.py20 probe_results = utils.system_output('gooftool probe')
/external/autotest/client/site_tests/network_DhcpRequestHostName/
H A Dnetwork_DhcpRequestHostName.py27 pid = utils.system_output('pgrep shill')
28 process_info = utils.system_output('ps %s' % pid)
35 original_hostname = utils.system_output('hostname')
70 system_hostname = utils.system_output('hostname')
73 utils.system_output('hostname %s' % original_hostname)
/external/autotest/client/site_tests/kernel_HdParm/
H A Dkernel_HdParm.py23 result = utils.system_output('hdparm -T %s' % disk)
26 result = utils.system_output('hdparm -t %s' % disk)
/external/autotest/client/site_tests/security_SeccompSyscallFilters/
H A Dsecurity_SeccompSyscallFilters.py37 utils.system_output(binpath, retain_output = True)
38 utils.system_output("su chronos -c %s" % binpath, retain_output = True)
/external/autotest/client/bin/
H A Dpackage_unittest.py21 self.god.stub_function(utils, "system_output")
26 utils.system_output.expect_call(
28 utils.system_output.expect_call(
49 utils.system_output.expect_call(v_cmd).and_return(ver)
53 utils.system_output.expect_call(s_cmd).and_return('source')
55 utils.system_output.expect_call(v_cmd).and_return(ver)
57 utils.system_output.expect_call(a_cmd).and_return('586')
84 utils.system_output.expect_call(v_cmd).and_return(ver)
87 utils.system_output.expect_call(v_cmd).and_return(ver)
89 utils.system_output
[all...]
H A Dpackage.py33 file_result = utils.system_output('file ' + rpm_package)
46 i_cmd = 'rpm -q ' + utils.system_output(v_cmd) + ' 2>&1 >/dev/null'
50 source = utils.system_output(s_cmd)
55 package_info['version'] = utils.system_output(v_cmd)
56 package_info['arch'] = utils.system_output(a_cmd)
119 file_result = utils.system_output('file ' + dpkg_package)
133 i_cmd = 'dpkg -s ' + utils.system_output(v_cmd) + ' 2>/dev/null'
136 package_info['version'] = utils.system_output(v_cmd)
137 package_info['arch'] = utils.system_output(a_cmd)
139 package_status = utils.system_output(i_cm
[all...]
/external/autotest/client/site_tests/platform_DaemonsRespawn/
H A Dplatform_DaemonsRespawn.py14 utils.system_output(self.bindir + "/test_respawn.sh",
/external/autotest/client/site_tests/platform_OpenSSLActual/
H A Dplatform_OpenSSLActual.py15 out = utils.system_output('%s %s' % (base, rest))
/external/autotest/client/site_tests/security_RootfsOwners/
H A Dsecurity_RootfsOwners.py21 cmd_output = utils.system_output(cmd, ignore_status=True)
/external/autotest/client/site_tests/hardware_GPS/
H A Dhardware_GPS.py23 gpsd_status = utils.system_output('initctl status gpsd')
36 gpspipe = utils.system_output(
/external/autotest/client/site_tests/network_NegotiatedLANSpeed/
H A Dnetwork_NegotiatedLANSpeed.py22 out = utils.system_output('ifconfig %s' % name)
32 out = utils.system_output('ethtool %s | grep Speed | \
/external/autotest/client/site_tests/security_Libcontainer/
H A Dsecurity_Libcontainer.py28 utils.system_output(binpath, retain_output=True)
/external/autotest/client/tests/hwclock/
H A Dhwclock.py15 date = utils.system_output('LC_ALL=C /sbin/hwclock')
/external/autotest/client/site_tests/power_Draw/
H A Dpower_Draw.py24 if utils.system_output('status powerd').find('start/running') != -1:
26 utils.system_output('stop powerd')
57 utils.system_output('start powerd');
/external/autotest/client/site_tests/security_SysVIPC/
H A Dsecurity_SysVIPC.py26 utils.system_output('ipcs > "%s/ipcs-output.txt"' % self.resultsdir)
44 for link in utils.system_output(cmd).splitlines():
53 for line in utils.system_output(cmd, ignore_status=True).splitlines():
67 for line in utils.system_output(cmd, ignore_status=True).splitlines():
103 queues = utils.system_output('ipcs -q | grep ^0', ignore_status=True)
/external/autotest/client/site_tests/kernel_fs_Punybench/
H A Dkernel_fs_Punybench.py35 result = utils.system_output(
55 utils.system_output('mkdir -p %s %s' % (dir, mnt))
56 utils.system_output('mount -t ecryptfs %s %s %s' %
67 utils.system_output('umount ' + mnt)
68 utils.system_output('rm -R ' + dir)
69 utils.system_output('rm -R ' + mnt)
364 utils.system_output('swapoff /dev/zram0')
367 utils.system_output('stop ui')
379 utils.system_output('swapon /dev/zram0')
380 utils.system_output('star
[all...]
/external/autotest/client/site_tests/hardware_TPMCheck/
H A Dhardware_TPMCheck.py38 return not utils.system_output(cmd, ignore_status=True).strip()
48 return utils.system_output(cmd, ignore_status=True).strip()
86 output = utils.system_output(cmd, ignore_status=True).strip()
/external/autotest/client/site_tests/platform_InputScreenshot/
H A Dplatform_InputScreenshot.py38 utils.system_output('rm -f %s/%s %s/%s' %(self._TMP, self._SCREENSHOT,
53 if not (utils.system_output('sync; sleep 2; find %s -name "%s"'
57 filesize = utils.system_output('ls -l %s/%s | cut -d" " -f5'
/external/autotest/client/common_lib/cros/
H A Darc_common.py33 output = utils.system_output(
/external/autotest/client/site_tests/firmware_RomSize/
H A Dfirmware_RomSize.py15 data = utils.system_output("flashrom --get-size %s" % target)
/external/autotest/client/site_tests/hardware_I2CProbe/
H A Dhardware_I2CProbe.py21 result = utils.system_output(full_cmd)
/external/autotest/client/site_tests/hardware_RealtekCardReader/
H A Dhardware_RealtekCardReader.py16 lsusb_output = utils.system_output("lsusb -t")

Completed in 1839 milliseconds

12345678