Home
last modified time | relevance | path

Searched refs:run_output (Results 1 – 25 of 38) sorted by relevance

12

/external/autotest/server/site_tests/brillo_RecoverFromBadImage/
Dbrillo_RecoverFromBadImage.py44 host.run_output('bootctl get-current-slot').strip())
48 host.run_output('bootctl get-number-slots').strip())
84 for device in host.run_output(cmd).splitlines():
109 host.run_output('blockdev --getbsz %s' % device).strip())
111 host.run_output('blockdev --getsize64 %s' % device).strip())
173 host.run_output('bootctl get-current-slot').strip())
/external/autotest/server/site_tests/brillo_PowerMgmtInterfaces/
Dbrillo_PowerMgmtInterfaces.py17 cpuidle_driver = host.run_output('cat /sys/devices/system/cpu/cpuidle/current_driver')
23 …cpufreq_governors = host.run_output('cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_go…
29 wakelock_ls = host.run_output('ls /sys/power/wake_lock')
32 pm_states = host.run_output('cat /sys/power/state')
/external/autotest/server/site_tests/brillo_BootLoader/
Dbrillo_BootLoader.py34 self.num_slots = int(self.dut.run_output('bootctl get-number-slots'))
36 self.suffix_a = self.dut.run_output('bootctl get-suffix 0')
37 self.suffix_b = self.dut.run_output('bootctl get-suffix 1')
42 self.boot_a_size = int(self.dut.run_output(
44 self.boot_b_size = int(self.dut.run_output(
93 return int(self.dut.run_output('bootctl get-current-slot'))
/external/autotest/client/common_lib/cros/manual/
Dcfm_helper.py244 dut.run_output(cmd)
255 core_files_output = dut.run_output(cmd).splitlines()
327 last_lines['messages'] = dut.run_output(cmd).strip().split()[0]
329 last_lines['chrome'] = dut.run_output(cmd).strip().split()[0]
331 last_lines['ui']= dut.run_output(cmd)
335 last_lines['atrus'] = dut.run_output(cmd).strip().split()[0]
356 output = dut.run_output(cmd).split('\n')
372 output = dut.run_output(cmd).split('\n')
/external/autotest/server/site_tests/kernel_IdlePerf/
Dkernel_IdlePerf.py75 arch = host.run_output('uname -m')
87 state_dirs = host.run_output(
95 self.cpu_count = int(host.run_output('nproc --all'))
112 return host.run_output('cat ' + DISABLE_PATH.format(0, 1)) == '0'
120 host.run_output('echo {} > {}'.format(x, path))
/external/autotest/client/common_lib/cros/cfm/
Dcras_node_collector.py45 lines = self._host.run_output(cmd).split('\n')
56 lines = self._host.run_output(cmd).split('\n')
74 lines = self._host.run_output(cmd).split('\n')
90 lines = self._host.run_output(cmd).split('\n')
Dcras_node_collector_unittest.py44 mock_host.run_output.side_effect = [output_devices, output_nodes]
85 mock_host.run_output.side_effect = [input_devices, input_nodes]
/external/autotest/server/site_tests/brillo_KernelHeadsetTest/
Dbrillo_KernelHeadsetTest.py29 result = host.run_output(
39 result = host.run_output('cat /sys/class/switch/h2w/name',
/external/autotest/server/site_tests/android_Invariants/
Dandroid_Invariants.py37 tokens = self.host.run_output('ls -LZ %s' % path).split()
47 hardware = self.host.run_output('getprop ro.hardware')
/external/autotest/server/site_tests/brillo_Invariants/
Dbrillo_Invariants.py37 tokens = self.host.run_output('ls -LZ %s' % path).split()
47 hardware = self.host.run_output('getprop ro.hardware')
/external/autotest/server/site_tests/brillo_ProcLibMemoryInventory/
Dbrillo_ProcLibMemoryInventory.py76 procrank_output = host.run_output(PROCRANK_CMD).splitlines()
124 librank_output = host.run_output(LIBRANK_CMD).splitlines()
/external/autotest/server/site_tests/power_DarkResumeDisplay/
Dpower_DarkResumeDisplay.py33 platform = host.run_output('mosys platform name')
61 output = host.run_output('cat %s' % ERROR_FILE)
/external/autotest/server/cros/update_engine/
Domaha_devserver.py164 self._devserver_ssh.run_output('uptime',
238 self._devserver_ssh.run_output(remote_cmd,
301 return self._devserver_ssh.run_output('cat %s' % filename,
/external/autotest/server/cros/
Dcamerabox_utils.py82 selinux_mode = self.host.run_output('getenforce')
116 run_output('android-sh -c "pm list features"'))
/external/autotest/server/site_tests/brillo_KernelVersionTest/
Dbrillo_KernelVersionTest.py28 result = host.run_output('uname -r').strip()
/external/autotest/server/site_tests/brillo_NVRAM/
Dbrillo_NVRAM.py24 return host.run_output('getprop %s' % property_name).strip()
/external/autotest/server/site_tests/brillo_DiskSizeTest/
Dbrillo_DiskSizeTest.py29 df_output = host.run_output('df %s' % path).splitlines()
/external/autotest/server/hosts/
Dadb_host.py355 lambda: self.run_output(cmd, ignore_status=True),
365 return self.run_output('getprop %s' % BOARD_FILE)
875 file_info = self.run_output('ls -ld %s' % dest)
992 return self.run_output('getprop %s' % RELEASE_FILE)
1009 tmp_dir = self.run_output('mktemp -d -p %s' % parent)
1026 if self.run_output('getprop ro.product.brand') == 'Brillo':
/external/autotest/server/site_tests/brillo_Gtests/
Dbrillo_Gtests.py89 for line in self.host.run_output(
118 gtest_suites_path = self.host.run_output(list_cmd).splitlines()
/external/autotest/server/site_tests/brillo_StorageWriteSpeedTest/
Dbrillo_StorageWriteSpeedTest.py37 result = host.run_output(
/external/autotest/server/site_tests/brillo_MemorySizeTest/
Dbrillo_MemorySizeTest.py35 meminfo_output = host.run_output('cat /proc/meminfo').splitlines()
/external/autotest/server/brillo/
Dhost_utils.py36 return int(host.run_output(background_cmd).strip())
/external/autotest/server/site_tests/brillo_CrashLogging/
Dbrillo_CrashLogging.py50 logs = self.host.run_output(
/external/autotest/server/site_tests/enterprise_CFM_VolumeChange/
Denterprise_CFM_VolumeChange.py46 self._host.run_output(cmd).splitlines()[0].strip())
/external/autotest/server/site_tests/android_CrashLogging/
Dandroid_CrashLogging.py55 logs = self.host.run_output(

12