/external/autotest/client/cros/ |
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)
|
asan.py | 24 symbol = utils.system_output(scanelf_command)
|
/external/autotest/client/site_tests/network_DhcpRequestHostName/ |
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_TPMPing/ |
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/kernel_HdParm/ |
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/ |
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/site_tests/hardware_ProbeComponents/ |
hardware_ProbeComponents.py | 20 probe_results = utils.system_output('gooftool probe')
|
/external/autotest/client/site_tests/platform_DaemonsRespawn/ |
platform_DaemonsRespawn.py | 14 utils.system_output(self.bindir + "/test_respawn.sh",
|
/external/autotest/client/site_tests/platform_OpenSSLActual/ |
platform_OpenSSLActual.py | 15 out = utils.system_output('%s %s' % (base, rest))
|
/external/autotest/client/bin/ |
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_cmd, ignore_status=True [all...] |
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.expect_call(a_cmd).and_return('586' [all...] |
/external/autotest/client/common_lib/cros/ |
adb_keepalive.py | 21 output = utils.system_output('adb get-state', ignore_status=True) 30 output = utils.system_output('adb connect %s' % pipes.quote(target),
|
/external/autotest/client/site_tests/platform_InputBrightness/ |
platform_InputBrightness.py | 36 utils.system_output(self.RESET_BRIGHTNESS_CMD) 52 utils.system_output(self.RESET_BRIGHTNESS_CMD) 66 sys_brightness = utils.system_output(self.BRIGHTNESS_CMD) 89 utils.system_output(self.RESET_BRIGHTNESS_CMD)
|
/external/autotest/client/site_tests/security_RootfsOwners/ |
security_RootfsOwners.py | 20 cmd_output = utils.system_output(cmd, ignore_status=True)
|
/external/autotest/client/site_tests/power_Draw/ |
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/ |
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/hardware_TPMCheck/ |
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/ |
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/site_tests/hardware_RealtekCardReader/ |
hardware_RealtekCardReader.py | 16 lsusb_output = utils.system_output("lsusb -t")
|
/external/autotest/client/site_tests/hardware_TPMLoadKey/ |
hardware_TPMLoadKey.py | 24 result = utils.system_output(cmd, retain_output=True,
|
/external/autotest/client/site_tests/kernel_Bootcache/ |
kernel_Bootcache.py | 31 result = utils.system_output(
|
/external/autotest/client/tests/hwclock/ |
hwclock.py | 15 date = utils.system_output('LC_ALL=C /sbin/hwclock')
|
/external/autotest/client/site_tests/desktopui_GmailLatency/ |
desktopui_GmailLatency.py | 35 orig_pid = utils.system_output('pgrep %s' % 50 new_pid = utils.system_output('pgrep %s' %
|
/external/autotest/client/site_tests/hardware_GPS/ |
hardware_GPS.py | 23 gpsd_status = utils.system_output('initctl status gpsd') 36 gpspipe = utils.system_output(
|
/external/autotest/client/site_tests/kernel_VbootContextEC/ |
kernel_VbootContextEC.py | 42 vboot_context = utils.system_output('mosys nvram vboot read').strip() 55 vc_got = utils.system_output('mosys nvram vboot read').strip()
|