/external/autotest/server/site_tests/firmware_Cr50UpdateScriptStress/ |
H A D | firmware_Cr50UpdateScriptStress.py | 27 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 D | resolve.c | 23 * 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 D | HopImpl.java | 54 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 D | shared_hosts.py | 18 for host in cautotest_hosts: 19 if host in cautotest_cq_hosts: 20 print host
|
H A D | deploy_puppet.sh | 82 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 D | bluetooth_hid_facade_adapter.py | 13 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 D | desktopui_CrashyRebootServer.py | 26 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 D | platform_InternalDisplay.py | 24 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 D | push_to_android.py | 12 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 D | avahi_utils.py | 25 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 D | test.py | 61 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 D | HostAndPort.java | 34 * 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 D | autoupdate_utils.py | 14 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 D | clique_dut_log_collector.py | 25 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 D | factory_Basic.py | 16 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 D | platform_FullyChargedPowerStatus.py | 21 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 D | ShadowIntentFilterAuthorityEntry.java | 9 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 D | platform_ImageLoaderServer.py | 30 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 D | change_protection_level.py | 7 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 D | adb_label.py | 24 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 D | cros_firmware.py | 61 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 D | cros_label.py | 30 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 D | brillo_RecoverFromBadImage.py | 25 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 D | Scenario.java | 38 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 D | ClientSessionContext.java | 23 * 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...] |