HomeSort by relevance Sort by last modified time
    Searched refs:host (Results 201 - 225 of 3943) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/autotest/server/site_tests/audio_AudioBluetoothConnectionStability/
audio_AudioBluetoothConnectionStability.py 30 self.host, self.audio_facade, self.resultsdir,
34 def run_once(self, host, suspend=False,
37 self.host = host
40 host, results_dir=self.resultsdir)
43 chameleon_board = host.chameleon
47 factory, host)
62 host, self.audio_facade, self.resultsdir, 'after_binding')
64 if audio_test_utils.has_internal_microphone(host):
  /libcore/ojluni/src/main/java/java/util/logging/
SocketHandler.java 59 * <li> &lt;handler-name&gt;.host
60 * specifies the target host name to connect to (no default). </li>
85 private String host; field in class:SocketHandler
109 host = manager.getStringProperty(cname + ".host", null);
116 * @throws IllegalArgumentException if the host or port are invalid or
119 * host and port.
129 System.err.println("SocketHandler: connect failed to " + host + ":" + port);
136 * Construct a <tt>SocketHandler</tt> using a specified host and port.
139 * properties (or their default values) except that the given target host
    [all...]
  /external/autotest/client/common_lib/brillo/
hal_utils.py 8 def has_hal(hal_library_name, host=None, accept_64bit=True, accept_32bit=True):
9 """Detect if the host has the given HAL.
18 @param host: optional host object representing a remote DUT. If None,
26 run = utils.run if host is None else host.run
  /external/autotest/frontend/client/src/autotest/afe/models/
Host.java 7 public class Host extends JSONObject {
8 public static Host fromJsonObject(JSONObject object) {
10 Host host = new Host(); local
11 Utils.updateObject(host, object);
12 return host;
17 if (!(other instanceof Host)) {
21 Host otherHost = (Host) other
    [all...]
  /external/autotest/server/site_tests/brillo_ADBLogcatTest/
brillo_ADBLogcatTest.py 17 def run_once(self, host=None):
21 host.adb_run('logcat -d', stdout=logcat_log)
22 result = host.run('dmesg')
  /external/autotest/server/site_tests/brillo_KernelHeadsetTest/
brillo_KernelHeadsetTest.py 20 def run_once(self, host=None):
23 @param host: A host object representing the DUT.
29 result = host.run_output(
39 result = host.run_output('cat /sys/class/switch/h2w/name',
  /external/autotest/server/site_tests/power_DarkResumeDisplay/
power_DarkResumeDisplay.py 23 def initialize(self, host):
24 self.dark_resume_utils = DarkResumeUtils(host,
28 def verify_host_supports_test(self, host):
29 """Check if the test works on the given host
31 @param host: reference to the host object
33 platform = host.run_output('mosys platform name')
39 kernel_ver = host.run('uname -r').stdout.rstrip()
49 cmd = host.run('test -r %s' % ERROR_FILE, ignore_status=True)
55 def get_crtc_error_count(self, host)
    [all...]
  /external/autotest/server/site_tests/power_RPMTest/
power_RPMTest.py 13 def initialize(self, host, verify=True):
15 @param host: The host to run the test on
17 check with the host whether it sees the same state
19 self._host = host
20 self._host_at = autotest.Autotest(host)
  /external/autotest/server/site_tests/stress_ClientTestReboot/
stress_ClientTestReboot.py 17 host = hosts.create_host(client_ip)
18 autotest_client = autotest.Autotest(host)
22 host.reboot()
  /external/ltp/testcases/network/tcp_cmds/host/
host01 21 # FILE : host
23 # PURPOSE: To test the basic functionality of the `host` command.
43 exists awk host hostname
62 if rhost_addr=$(host $RHOST); then
64 if ! host $rhost_addr 2>&1 >/dev/null; then
65 end_testcase "reverse lookup with host failed"
69 end_testcase "host $RHOST on local machine failed"
  /external/autotest/tko/
retrieve_logs.cgi 57 host = args['host']
62 host, job_path)
64 http_path = 'http://%s%s' % (host, job_path)
70 # browser used to navigate frontends (that runs on the host of
73 if utils.DEFAULT_VM_GATEWAY in host:
74 normalized_host = host.replace(utils.DEFAULT_VM_GATEWAY, 'localhost')
77 normalized_host = utils.normalize_hostname(host)
79 # Ignore error: 'socket.herror: [Errno 1] Unknown host'
81 normalized_host = host
    [all...]
  /external/autotest/server/
autotest.py 101 def __init__(self, host=None):
102 self.host = host
119 def get_client_autodir_paths(cls, host):
125 def get_installed_autodir(cls, host):
127 Find where the Autotest client is installed on the host.
131 autodir = host.get_autodir()
133 logging.debug('Using existing host autodir: %s', autodir)
136 for path in Autotest.get_client_autodir_paths(host):
139 host.run('test -x %s' % utils.sh_escape(autotest_binary)
    [all...]
  /external/autotest/server/hosts/
cros_firmware.py 63 def _is_firmware_repair_supported(host):
65 Check if a host supports firmware repair.
72 @return A true value if the host should use `FirmwareStatusVerifier`
75 info = host.host_info_store.get()
79 def _is_firmware_update_supported(host):
90 @param host The host to be checked for update policy.
91 @return A true value if the host should use
94 info = host.host_info_store.get()
121 def _get_available_firmware(host, model)
    [all...]
cros_label.py 27 def _parse_lsb_output(host):
30 @param host: Host that the command will be executed against
34 run_method=host.run)
45 def generate_labels(self, host):
51 for label in host._afe_host.labels:
55 return [_parse_lsb_output(host).board]
63 def generate_labels(self, host):
66 for label in host._afe_host.labels:
70 lsb_output = _parse_lsb_output(host)
    [all...]
cros_label_unittest.py 81 """Simple host for running mock'd host commands"""
100 host = MockHost([],
104 self.assertEqual(ModelLabel().generate_labels(host), ['coral'])
111 host = MockHost([],
116 self.assertEqual(ModelLabel().generate_labels(host), ['coral'])
123 host = MockHost([],
128 self.assertEqual(ModelLabel().generate_labels(host), ['pyro'])
134 host = MockHost([],
137 self.assertEqual(ModelLabel().generate_labels(host), ['pyro']
    [all...]
jetstream_host_unittest.py 19 host = jetstream_host.JetstreamHost('')
20 host.prepare_for_update()
28 host = jetstream_host.JetstreamHost('')
29 host.prepare_for_update()
  /toolchain/binutils/binutils-2.27/binutils/testsuite/binutils-all/
readelf.exp 50 set got [remote_exec host "$READELF $READELFFLAGS -h $binary_file" "" "/dev/null" "readelf.out"]
51 if [is_remote host] then {
52 remote_upload host "readelf.out"
88 set got [remote_exec host "$READELF $READELFFLAGS $options $binary_file" "" "/dev/null" "readelf.out"]
155 set tempfile [remote_download host tmpdir/testprog.o]
158 set got [remote_exec host "$READELF $READELFFLAGS -wi $tempfile" "" "/dev/null" "readelf.out"]
161 set output [remote_upload host readelf.out]
231 set tempfile [remote_download host tmpdir/dw2-compressed.o]
234 set got [remote_exec host "$READELF $READELFFLAGS -wa $tempfile" "" "/dev/null" "readelf.out"]
237 set output [remote_upload host readelf.out
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/
gopher.py 5 # Usage: gopher [ [selector] host [port] ]
12 # Default selector, host and port
40 # Open a TCP connection to a given host and port
41 def open_socket(host, port):
47 s.connect((host, port))
50 # Send a selector to a given host and port, return a file with the reply
51 def send_request(selector, host, port):
52 s = open_socket(host, port)
58 def get_menu(selector, host, port):
59 f = send_request(selector, host, port)
    [all...]
  /external/python/cpython2/Demo/sockets/
gopher.py 5 # Usage: gopher [ [selector] host [port] ]
12 # Default selector, host and port
40 # Open a TCP connection to a given host and port
41 def open_socket(host, port):
47 s.connect((host, port))
50 # Send a selector to a given host and port, return a file with the reply
51 def send_request(selector, host, port):
52 s = open_socket(host, port)
58 def get_menu(selector, host, port):
59 f = send_request(selector, host, port
    [all...]
  /libcore/ojluni/src/main/java/java/net/
InetAddress.java 58 * corresponding host name (depending on whether it is constructed
59 * with a host name or whether it has already done reverse host name
74 * interface, in case the server host has multiple interfaces.
82 * host. This address is often used when testing a
115 * <h4> Host Name Resolution </h4>
117 * Host name-to-IP address <i>resolution</i> is accomplished through
122 * one. For any host name, its corresponding IP address is returned.
125 * the host associated with the IP address is returned.
127 * <p> The InetAddress class provides methods to resolve host names t
654 String host = null; local
1573 String host = (String)gf.get("hostName", null); local
    [all...]
  /build/make/core/
host_java_library_common.mk 18 # Common rules for building a host java library.
35 LOCAL_JAVA_LIBRARIES += host-libprotobuf-java-micro
38 LOCAL_JAVA_LIBRARIES += host-libprotobuf-java-nano
41 LOCAL_JAVA_LIBRARIES += host-libprotobuf-java-full
43 LOCAL_JAVA_LIBRARIES += host-libprotobuf-java-lite
  /external/autotest/server/site_tests/autoupdate_Rollback/
autoupdate_Rollback.py 16 def run_once(self, host, job_repo_url=None):
19 @param host: A host object representing the DUT.
26 updater = autoupdate_utils.get_updater_from_repo_url(host, job_repo_url)
34 host.reboot()
44 host.reboot()
  /external/autotest/server/site_tests/buffet_PrivetSetupFlow/
buffet_PrivetSetupFlow.py 37 def warmup(self, host, router_hostname=None):
46 config.restart_with_config(host=host)
49 client_hostname=host.hostname,
52 self._shill_xmlrpc_proxy = wifi_client.get_xmlrpc_proxy(host)
56 host=host)
59 def cleanup(self, host):
64 buffet_config.naive_restart(host=host)
    [all...]
  /external/autotest/server/site_tests/cellular_ChromeEndToEnd/
cellular_ChromeEndToEnd.py 29 def run_once(self, host, test):
32 @param host: A host object representing the DUT.
37 self._client = host
38 self._servo = host.servo
41 logging.info('Host %s does not have a servo.', host.hostname)
  /external/autotest/server/site_tests/firmware_ClearTPMOwnerAndReset/
firmware_ClearTPMOwnerAndReset.py 21 def run_once(self, host):
23 tpm_utils.ClearTPMOwnerRequest(host)
25 logging.info(tpm_utils.TPMStatus(host))
30 while utils.ping(host.ip, deadline=5, tries=1):

Completed in 504 milliseconds

1 2 3 4 5 6 7 891011>>