/external/autotest/client/cros/ |
H A D | upstart.py | 34 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 D | asan.py | 24 symbol = utils.system_output(scanelf_command)
|
/external/autotest/client/site_tests/kernel_TPMPing/ |
H A D | kernel_TPMPing.py | 14 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 D | hardware_ProbeComponents.py | 20 probe_results = utils.system_output('gooftool probe')
|
/external/autotest/client/site_tests/network_DhcpRequestHostName/ |
H A D | network_DhcpRequestHostName.py | 27 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 D | kernel_HdParm.py | 23 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 D | security_SeccompSyscallFilters.py | 37 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 D | package_unittest.py | 21 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 D | package.py | 33 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 D | platform_DaemonsRespawn.py | 14 utils.system_output(self.bindir + "/test_respawn.sh",
|
/external/autotest/client/site_tests/platform_OpenSSLActual/ |
H A D | platform_OpenSSLActual.py | 15 out = utils.system_output('%s %s' % (base, rest))
|
/external/autotest/client/site_tests/security_RootfsOwners/ |
H A D | security_RootfsOwners.py | 21 cmd_output = utils.system_output(cmd, ignore_status=True)
|
/external/autotest/client/site_tests/hardware_GPS/ |
H A D | hardware_GPS.py | 23 gpsd_status = utils.system_output('initctl status gpsd') 36 gpspipe = utils.system_output(
|
/external/autotest/client/site_tests/network_NegotiatedLANSpeed/ |
H A D | network_NegotiatedLANSpeed.py | 22 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 D | security_Libcontainer.py | 28 utils.system_output(binpath, retain_output=True)
|
/external/autotest/client/tests/hwclock/ |
H A D | hwclock.py | 15 date = utils.system_output('LC_ALL=C /sbin/hwclock')
|
/external/autotest/client/site_tests/power_Draw/ |
H A D | power_Draw.py | 24 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 D | security_SysVIPC.py | 26 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 D | kernel_fs_Punybench.py | 35 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 D | hardware_TPMCheck.py | 38 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 D | platform_InputScreenshot.py | 38 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 D | arc_common.py | 33 output = utils.system_output(
|
/external/autotest/client/site_tests/firmware_RomSize/ |
H A D | firmware_RomSize.py | 15 data = utils.system_output("flashrom --get-size %s" % target)
|
/external/autotest/client/site_tests/hardware_I2CProbe/ |
H A D | hardware_I2CProbe.py | 21 result = utils.system_output(full_cmd)
|
/external/autotest/client/site_tests/hardware_RealtekCardReader/ |
H A D | hardware_RealtekCardReader.py | 16 lsusb_output = utils.system_output("lsusb -t")
|