Searched refs:host (Results 76 - 100 of 1683) sorted by relevance

1234567891011>>

/external/autotest/server/site_tests/firmware_Cr50UpdateScriptStress/
H A Dfirmware_Cr50UpdateScriptStress.py27 def run_once(self, host):
29 last_message = cr50_utils.CheckForFailures(host, '')
32 cr50_utils.ClearUpdateStateAndReboot(host)
34 cr50_utils.CheckForFailures(host, last_message)
/external/curl/docs/examples/
H A Dresolve.c23 * Use CURLOPT_RESOLVE to feed custom IP addresses for given host name + port
34 struct curl_slist *host = NULL; local
41 host = curl_slist_append(NULL, "example.com:80:127.0.0.1");
45 curl_easy_setopt(curl, CURLOPT_RESOLVE, host);
53 curl_slist_free_all(host);
/external/nist-sip/java/gov/nist/javax/sip/stack/
H A DHopImpl.java54 protected String host; field in class:HopImpl
65 return host + ":" + port + "/" + transport;
69 * Create new hop given host, port and transport.
75 host = hostName;
79 if(host.indexOf(":") >= 0)
80 if(host.indexOf("[") < 0)
81 host = "[" + host + "]";
90 * @param hop is a hop string in the form of host:port/Transport
104 this.host
[all...]
/external/autotest/contrib/
H A Dshared_hosts.py18 for host in cautotest_hosts:
19 if host in cautotest_cq_hosts:
20 print host
H A Ddeploy_puppet.sh82 for host in ${hosts}; do
83 echo ${host}
88 for host in ${hosts}; do
89 git_pull="ssh -t ${host} -- 'sudo git --work-tree=/root/chromeos-admin --git-dir=/root/chromeos-admin/.git pull'"
90 run_puppet="ssh ${host} -- 'sudo /root/chromeos-admin/puppet/run_puppet'"
91 echo -e "\n********** Processing ${host} ****************\n"
100 echo -e "\n********* Finished processing ${host} *******\n"
/external/autotest/server/cros/multimedia/
H A Dbluetooth_hid_facade_adapter.py13 The Autotest host object representing the remote DUT, passed to this
17 def __init__(self, host, remote_facade_proxy):
20 @param host: Host object representing a remote host.
24 self._client = host
26 super(BluetoothHIDFacadeRemoteAdapter, self).__init__(host)
/external/autotest/server/site_tests/desktopui_CrashyRebootServer/
H A Ddesktopui_CrashyRebootServer.py26 def run_once(self, host=None):
27 host.run('rm -f /var/lib/ui/reboot-timestamps')
28 boot_id = host.get_boot_id()
37 client_at = autotest.Autotest(host)
43 collector = autotest.log_collector(host, None, '.')
44 host.job.add_client_log(host.hostname,
47 job_record_context = host.job.get_record_context()
49 logging.info('Waiting for host to go down.')
50 if not host
[all...]
/external/autotest/server/site_tests/platform_InternalDisplay/
H A Dplatform_InternalDisplay.py24 boot_id = self.host.get_boot_id()
25 thread = threading.Thread(target = self.host.suspend)
27 self.host.test_wait_for_sleep(_LONG_TIMEOUT)
30 def run_once(self,host):
32 self.host = host
34 board_type = self.host.get_board_type()
38 board = self.host.get_board().split(':')[-1]
44 self.host.reboot()
45 if self.host
[all...]
/external/skia/gn/
H A Dpush_to_android.py12 host, serial, stamp = sys.argv[1:]
13 device = '/data/local/tmp/' + os.path.basename(host)
18 subprocess.check_output(['adb'] + restrict + ['push', host, device])
/external/autotest/client/common_lib/cros/
H A Davahi_utils.py25 def avahi_config(options, src_file='/etc/avahi/avahi-daemon.conf', host=None):
37 @param host: An optional host object if running against a remote host.
41 run = utils.run if host is None else host.run
64 def avahi_ping(host=None):
72 @param host: An optional host object if running against a remote host
[all...]
/external/autotest/server/
H A Dtest.py61 host, at, outputdir = self._install()
62 # TODO(kevcheng): remove when host client install is supported for
64 if not host.is_client_install_supported:
65 logging.debug('host client install not supported, skipping %s:',
70 host.erase_dir_contents(outputdir)
71 func(self, mytest, host, at, outputdir)
86 # for now support a single host
87 self.host = None
98 if not self.host:
100 self.host
[all...]
/external/guava/guava/src/com/google/common/net/
H A DHostAndPort.java34 * An immutable representation of a host and port.
59 * host field (if desired) is the caller's responsibility.
72 private final String host; field in class:HostAndPort
77 /** True if the parsed host has colons, but no surrounding brackets. */
80 private HostAndPort(String host, int port, boolean hasBracketlessColons) { argument
81 this.host = host;
94 return host;
122 * Build a HostAndPort instance from separate host and port values.
127 * @param host th
133 fromParts(String host, int port) argument
151 fromHost(String host) argument
[all...]
/external/autotest/server/cros/
H A Dautoupdate_utils.py14 def get_updater_from_repo_url(host, job_repo_url=None):
18 assigned to their host that is associated with the version of the build that
27 @param host: The host for the DUT of the server-side test.
33 # specified in the host attributes for the host.
36 host, host.job_repo_url_attribute)
39 'Could not find a job_repo_url for the given host.')
49 host
[all...]
/external/autotest/server/cros/clique_lib/
H A Dclique_dut_log_collector.py25 host = dut.host
26 # Set the job on the host object for log collection.
27 host.job = job
28 logging.info("Collecting logs from: %s", host.hostname)
29 crashcollect.get_crashinfo(host, 0)
/external/autotest/server/site_tests/factory_Basic/
H A Dfactory_Basic.py16 def initialize(self, host, test_list_path, test_list_name):
19 @param host: The host to run this test on.
24 self._goofy_client = goofy_client.GoofyProxy(host)
26 host.send_file(test_list_path,
31 host.run('factory_restart -a')
34 def run_once(self, host, test_list_name):
/external/autotest/server/site_tests/platform_FullyChargedPowerStatus/
H A Dplatform_FullyChargedPowerStatus.py21 self.host.power_on()
30 power_supply_info = self.host.get_power_supply_info()
72 return self.host.run('ls %s' % _CHROME_PATH,
82 boot_id = self.host.get_boot_id()
83 thread = threading.Thread(target = self.host.suspend)
85 self.host.test_wait_for_sleep(_LONG_TIMEOUT)
90 def run_once(self, host, power_status_sets):
91 self.host = host
92 self.autotest_client = autotest.Autotest(self.host)
[all...]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowIntentFilterAuthorityEntry.java9 private String host; field in class:ShadowIntentFilterAuthorityEntry
12 public void __constructor__(String host, String port) { argument
13 this.host = host;
23 return host;
/external/autotest/server/site_tests/platform_ImageLoaderServer/
H A Dplatform_ImageLoaderServer.py30 def run_once(self, host):
32 self.host = host
33 self.autotest_client = autotest.Autotest(self.host)
64 self.host.send_file(version1, version1)
65 self.host.send_file(version2, version2)
67 self.host.run('tar xvf "%s" -C "%s"' % (version1, '/home/chronos'))
68 self.host.run('tar xvf "%s" -C "%s"' % (version2, '/home/chronos'))
71 self.host.run('chmod -R 0755 "%s"' % (version1_unpack))
72 self.host
[all...]
/external/autotest/cli/
H A Dchange_protection_level.py7 from autotest_lib.cli import rpc, host namespace
23 for host in hosts:
25 afe_proxy.run('modify_host', host['id'], protection=protection_level)
27 print 'For host %s:', host['hostname']
30 print 'Host %s succeeded' % host['hostname']
33 print ','.join(set(leftover_args[1:]) - set(host['hostname'] for host in hosts))
/external/autotest/server/hosts/
H A Dadb_label.py24 def generate_labels(self, host):
25 return [host.get_board_name()]
29 """Determine whether a host has a camera HAL in the image."""
33 def exists(self, host):
34 return hal_utils.has_hal('camera', host=host)
42 def exists(self, host):
43 results = host.run('cat /sys/class/switch/h2w/state',
H A Dcros_firmware.py61 def _is_firmware_repair_supported(host):
63 Check if a host supports firmware repair.
70 @return A true value if the host should use `FirmwareStatusVerifier`
73 info = host.host_info_store.get()
77 def _is_firmware_update_supported(host):
88 @param host The host to be checked for update policy.
89 @return A true value if the host should use
92 info = host.host_info_store.get()
98 Verify that a host'
[all...]
H A Dcros_label.py30 def generate_labels(self, host):
36 for label in host._afe_host.labels:
44 # just call the host's get_board() method.
46 run_method=host.run)
63 def exists(self, host):
69 result = host.run(search_cmd, stdout_tee=None, stderr_tee=None,
80 def exists(self, host):
81 result = host.run('test -d /sys/class/bluetooth/hci0',
88 """Label to determine the type of EC on this host."""
92 def exists(self, host)
[all...]
/external/autotest/server/site_tests/brillo_RecoverFromBadImage/
H A Dbrillo_RecoverFromBadImage.py25 def resolve_slot(self, host, partition):
28 @param host: A host object representing the DUT.
44 host.run_output('bootctl get-current-slot').strip())
48 host.run_output('bootctl get-number-slots').strip())
72 def find_partition_device(self, host, partition):
75 @param host: A host object representing the DUT.
84 for device in host.run_output(cmd).splitlines():
96 def get_device_block_info(self, host, devic
[all...]
/external/caliper/caliper/src/main/java/com/google/caliper/model/
H A DScenario.java38 private Host host; field in class:Scenario
45 this.host = Host.DEFAULT;
51 this.host = builder.host;
56 public Host host() { method in class:Scenario
57 return host;
73 return this.host.equals(that.host)
85 .putObject(host, HostFunnel.INSTANCE)
99 .add("environment", host)
106 private Host host; field in class:Scenario.Builder
110 public Builder host(Host.Builder hostBuilder) { method in class:Scenario.Builder
114 host(Host host) argument
[all...]
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DClientSessionContext.java23 * Caches client sessions. Indexes by host and port. Users are typically
24 * looking to reuse any session for a given host and port.
32 * Sessions indexed by host and port. Protect from concurrent
53 String host = session.getPeerHost();
55 if (host == null) {
58 HostAndPort hostAndPortKey = new HostAndPort(host, port);
65 * Finds a cached session for the given host name and port.
67 * @param host of server
71 public SSLSession getSession(String host, int port) { argument
72 if (host
127 final String host; field in class:ClientSessionContext.HostAndPort
130 HostAndPort(String host, int port) argument
[all...]

Completed in 1267 milliseconds

1234567891011>>