Searched refs:base_utils (Results 1 – 21 of 21) sorted by relevance
/external/autotest/client/common_lib/ |
D | base_utils_unittest.py | 16 from autotest_lib.client.common_lib import base_utils, autotemp 23 self.god.stub_function(base_utils, "open") 31 self.assertEqual(base_utils.ip_to_long('0.0.0.0'), 0) 32 self.assertEqual(base_utils.ip_to_long('255.255.255.255'), 4294967295) 33 self.assertEqual(base_utils.ip_to_long('192.168.0.1'), 3232235521) 34 self.assertEqual(base_utils.ip_to_long('1.2.4.8'), 16909320) 38 self.assertEqual(base_utils.long_to_ip(0), '0.0.0.0') 39 self.assertEqual(base_utils.long_to_ip(4294967295), '255.255.255.255') 40 self.assertEqual(base_utils.long_to_ip(3232235521), '192.168.0.1') 41 self.assertEqual(base_utils.long_to_ip(16909320), '1.2.4.8') [all …]
|
D | site_utils.py | 16 from autotest_lib.client.common_lib import base_utils 67 cmd_result = base_utils.run('readlink -f /sys/class/net/eth0') 69 cmd_result = base_utils.run('readlink -f /sys/class/net/eth1') 110 return base_utils.run(ping_cmd, args=args, verbose=True, 112 stdout_tee=base_utils.TEE_TO_LOGS, 113 stderr_tee=base_utils.TEE_TO_LOGS).exit_status 192 interface_link = base_utils.run( 283 base_utils.run(cmd, timeout=transfer_timeout, verbose=True) 285 base_utils.run(acl_cmd, timeout=acl_timeout, verbose=True) 289 base_utils.run(cmd, timeout=transfer_timeout, verbose=True, [all …]
|
D | site_utils_unittest.py | 7 from autotest_lib.client.common_lib import base_utils 255 self.god.stub_with(base_utils, 'run', run_func) 257 base_utils.CmdResult(exit_status=0, stdout='not_u_s_b')) 265 self.god.stub_with(base_utils, 'run', run_func) 267 base_utils.CmdResult(exit_status=-1, stdout='blah')) 275 self.god.stub_with(base_utils, 'run', run_func) 285 self.god.stub_with(base_utils, 'run', run_func) 287 base_utils.CmdResult(exit_status=0, stdout='is usb')) 289 base_utils.CmdResult(exit_status=0, stdout='not_u_s_b'))
|
D | utils.py | 11 from autotest_lib.client.common_lib.base_utils import *
|
/external/autotest/client/cros/multimedia/ |
D | usb_facade_native.py | 13 from autotest_lib.client.common_lib import base_utils 152 base_utils.open_write_close( 154 base_utils.open_write_close( 325 read_product_name = base_utils.read_one_line(path) 414 base_utils.open_write_close(self._USB_BIND_FILE_PATH, 432 base_utils.open_write_close(self._USB_UNBIND_FILE_PATH,
|
/external/autotest/client/site_tests/hardware_Usb30Throughput/ |
D | hardware_Usb30Throughput.py | 12 from autotest_lib.client.bin import base_utils 104 base_utils.drop_caches() 106 base_utils.force_copy(src, dst)
|
/external/autotest/client/site_tests/power_VideoDetector/ |
D | power_VideoDetector.py | 9 from autotest_lib.client.common_lib import base_utils, error 48 base_utils.wait_for_value(backlight.get_max_level)
|
/external/autotest/site_utils/sponge_lib/ |
D | autotest_job_info.py | 10 from autotest_lib.client.common_lib import base_utils 134 self.keyvals = base_utils.read_keyval(keyvals_file)
|
/external/autotest/server/cros/ |
D | tradefed_test.py | 37 from autotest_lib.client.common_lib import base_utils 168 job = base_utils.BgJob([script_filename, target], 170 stdout_tee=base_utils.TEE_TO_LOGS, 171 stderr_tee=base_utils.TEE_TO_LOGS, 178 base_utils.nuke_subprocess(job.sp) 179 base_utils.join_bg_jobs([job])
|
/external/autotest/server/ |
D | utils.py | 12 from autotest_lib.server.base_utils import *
|
/external/autotest/client/bin/ |
D | utils.py | 13 from autotest_lib.client.bin.base_utils import *
|
D | site_utils.py | 20 from autotest_lib.client.bin import base_utils 972 socfamily = base_utils.get_cpu_soc_family()
|
/external/autotest/client/cros/ |
D | storage.py | 12 from autotest_lib.client.common_lib import base_utils 424 args_dict = base_utils.args_to_dict(args)
|
D | power_utils.py | 6 from autotest_lib.client.common_lib import base_utils 131 result = base_utils.run(cmd, ignore_status=True) 346 result = base_utils.run(cmd, ignore_status=True)
|
D | liststorage.py | 24 from autotest_lib.client.common_lib import base_utils as utils
|
D | power_suspend.py | 8 from autotest_lib.client.common_lib import base_utils, error
|
/external/autotest/server/cros/chaos_lib/ |
D | chaos_runner.py | 13 from autotest_lib.client.common_lib import utils as base_utils unknown 141 results = base_utils.run('lsof -i:%s' % WEBDRIVER_PORT,
|
/external/autotest/client/site_tests/power_LoadTest/ |
D | power_LoadTest.py | 7 from autotest_lib.client.common_lib import base_utils 579 result = base_utils.run(cmd, ignore_status=True) 642 result = base_utils.run(cmd, ignore_status=True)
|
/external/autotest/site_utils/ |
D | server_manager_utils.py | 19 from autotest_lib.client.common_lib import base_utils as utils
|
/external/autotest/server/cros/network/ |
D | wifi_client.py | 15 from autotest_lib.client.common_lib import base_utils 1327 ' "%s"' % base_utils.sh_escape(message))
|
/external/autotest/docs/ |
D | best-practices.md | 180 …r tool. There are some helpful utility functions in client/common_lib/base_utils.py. Trivial exa…
|