/tools/repohooks/rh/ |
D | git.py | 30 import rh.utils 37 result = rh.utils.run_command(cmd, capture_output=True) 42 result = rh.utils.run_command(cmd, capture_output=True) 53 result = rh.utils.run_command(cmd, capture_output=True) 60 result = rh.utils.run_command(cmd, capture_output=True) 66 result = rh.utils.run_command(cmd, capture_output=True) 77 result = rh.utils.run_command(cmd, capture_output=True) 92 return rh.utils.run_command(cmd, capture_output=True).output 118 return rh.utils.run_command(cmd, capture_output=True).output 122 RawDiffEntry = rh.utils.collection( [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/sniffer_lib/local/ |
D | local_base.py | 30 from acts import utils 57 utils.exe_cmd("ifconfig", self._interface, "down") 58 utils.exe_cmd("iwconfig", self._interface, "mode", "monitor") 59 utils.exe_cmd("ifconfig", self._interface, "up") 90 utils.exe_cmd("iwconfig", self._interface, "channel", 131 self._process = utils.start_standing_subprocess(cmd) 140 utils.stop_standing_subprocess(self._process, kill_signal=signal.SIGINT) 150 utils.wait_for_standing_subprocess(self._process, timeout)
|
/tools/acloud/internal/lib/ |
D | utils_test.py | 28 from acloud.internal.lib import utils 39 utils.CreateSshKeyPairIfNotExist(private_key, public_key) 49 utils.CreateSshKeyPairIfNotExist(private_key, public_key) 52 utils.SSH_KEYGEN_CMD + ["-C", getpass.getuser(), "-f", private_key], 60 @utils.RetryOnException(_IsValueError, num_retry) 77 self.assertRaises(ValueError, utils.RetryExceptionType, 91 self.assertRaises(ValueError, utils.RetryExceptionType,
|
D | base_cloud_client.py | 33 from acloud.internal.lib import utils 85 return utils.RetryExceptionType( 214 return utils.Retry( 274 executor = utils.BatchHttpRequestExecutor(
|
/tools/test/connectivity/acts/tests/google/wifi/rtt/functional/ |
D | RttDisableTest.py | 18 from acts import utils 61 asserts.assert_true(utils.force_airplane_mode(dut, True), 64 asserts.assert_true(utils.enable_doze(dut), "Can't enable doze") 66 utils.set_location_service(dut, False) 81 asserts.assert_true(utils.force_airplane_mode(dut, False), 84 asserts.assert_true(utils.disable_doze(dut), "Can't disable doze") 86 utils.set_location_service(dut, True)
|
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/ |
D | AttachTest.py | 20 from acts import utils 121 asserts.assert_true(utils.enable_doze(dut), "Can't enable doze") 125 asserts.assert_true(utils.disable_doze(dut), "Can't disable doze") 138 utils.set_location_service(dut, False) 142 utils.set_location_service(dut, True) 157 utils.force_airplane_mode(dut, True) 162 utils.force_airplane_mode(dut, False)
|
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/ |
D | error_reporter.py | 22 from acts import utils 90 adb_uptime = utils.get_process_uptime('adb') 121 zygote_uptime = utils.get_device_process_uptime(adb, 'zygote') 133 netd_uptime = utils.get_device_process_uptime(adb, 'netd') 145 adbd_uptime = utils.get_device_process_uptime(adb, 'adbd') 179 sl4a_uptime = utils.get_device_process_uptime(
|
/tools/test/connectivity/tools/lab/metrics/ |
D | metric.py | 17 from utils import job 18 from utils import shell
|
D | network_metric.py | 18 from utils import job 19 from utils import shell
|
/tools/repohooks/tools/ |
D | clang-format.py | 34 import rh.utils 86 result = rh.utils.run_command(cmd, capture_output=True) 87 except rh.utils.RunCommandError as e: 105 rh.utils.run_command(['git', 'apply'], input=stdout)
|
D | google-java-format.py | 35 import rh.utils 86 diff = rh.utils.run_command(diff_cmd, capture_output=True).output 94 stdout = rh.utils.run_command(cmd,
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiServiceApiTest.py | 24 from acts import utils 56 utils.require_sl4a((self.dut, )) 57 utils.sync_device_time(self.dut) 77 config_ssid = self.TEST_SSID_PREFIX + utils.rand_ascii_str(8) 78 config_password = utils.rand_ascii_str(8)
|
D | WifiStaApConcurrencyTest.py | 27 import acts.utils as utils namespace 61 utils.require_sl4a((self.dut, self.dut_client)) 62 utils.sync_device_time(self.dut) 63 utils.sync_device_time(self.dut_client) 139 acts.utils.set_location_service(self.dut, True) 147 acts.utils.set_location_service(self.dut, False) 195 ap_ssid = "softap_" + utils.rand_ascii_str(8) 196 ap_password = utils.rand_ascii_str(8)
|
D | WifiSoftApTest.py | 22 from acts import utils 55 utils.require_sl4a((self.dut, self.dut_client)) 56 utils.sync_device_time(self.dut) 57 utils.sync_device_time(self.dut_client) 84 ap_ssid = "softap_" + utils.rand_ascii_str(8) 85 ap_password = utils.rand_ascii_str(8)
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | WifiBaseTest.py | 27 from acts import utils 72 ref_2g_ssid = '2g_%s' % utils.rand_ascii_str(ssid_length_2g) 73 ref_2g_passphrase = utils.rand_ascii_str(passphrase_length_2g) 75 ref_5g_ssid = '5g_%s' % utils.rand_ascii_str(ssid_length_5g) 76 ref_5g_passphrase = utils.rand_ascii_str(passphrase_length_5g) 135 open_2g_ssid = '2g_%s' % utils.rand_ascii_str(ssid_length_2g) 136 open_5g_ssid = '5g_%s' % utils.rand_ascii_str(ssid_length_5g)
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ |
D | ota_updater.py | 17 from acts import utils 63 utils.get_current_epoch_time())
|
/tools/test/connectivity/acts/framework/acts/test_utils/power/ |
D | PowerBaseTest.py | 25 from acts import utils 224 utils.require_sl4a((self.dut, )) 229 utils.set_ambient_display(self.dut, False) 230 utils.set_auto_rotate(self.dut, False) 231 utils.set_adaptive_brightness(self.dut, False) 232 utils.sync_device_time(self.dut) 233 utils.set_location_service(self.dut, False) 234 utils.set_mobile_data_always_on(self.dut, False) 235 utils.disable_doze_light(self.dut) 236 utils.disable_doze(self.dut) [all …]
|
D | PowerCoexBaseTest.py | 19 from acts import utils 59 utils.set_mobile_data_always_on(self.dut, True)
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | TelephonyLabPowerTest.py | 35 from acts.utils import create_dir 36 from acts.utils import disable_doze 37 from acts.utils import set_adaptive_brightness 38 from acts.utils import set_ambient_display 39 from acts.utils import set_auto_rotate 40 from acts.utils import set_location_service
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
D | TelLivePostflightTest.py | 20 from acts import utils 60 utils.create_dir(crash_path) 81 utils.create_dir(crash_path)
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | PowerBaseTest.py | 26 from acts import utils 33 from acts.utils import create_dir 34 from acts.utils import force_airplane_mode 35 from acts.utils import get_current_human_time 36 from acts.utils import set_adaptive_brightness 37 from acts.utils import set_ambient_display 38 from acts.utils import set_auto_rotate 39 from acts.utils import set_location_service 40 from acts.utils import sync_device_time 459 utils.create_dir(os.path.dirname(file_path))
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | iperf_client.py | 19 from acts import utils 49 utils.create_dir(self.log_path)
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/ |
D | update_device_ota_tool.py | 24 from acts import utils 39 utils.unzip_maintain_permissions(self.command, self.unzip_path)
|
/tools/test/connectivity/acts/framework/acts/ |
D | config_parser.py | 24 from acts import utils 67 if l not in utils.valid_filename_chars: 241 configs = utils.load_config(test_config_path) 295 configs[k_log_path] = utils.abs_path(configs[k_log_path]) 298 config_path, _ = os.path.split(utils.abs_path(test_config_path))
|
/tools/test/connectivity/acts/tests/google/power/tel/lab/temp/ |
D | iperf_server.py | 21 from acts import utils 209 utils.create_dir(self.log_path) 235 self.iperf_process = utils.start_standing_subprocess(cmd) 252 utils.stop_standing_subprocess(self.iperf_process)
|