HomeSort by relevance Sort by last modified time
    Searched refs:host (Results 51 - 75 of 3190) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/autotest/server/site_tests/kernel_IgnoreGptOptionServer/
kernel_IgnoreGptOptionServer.py 14 def run_once(self, host=None):
17 host.run('cat /proc/cmdline | grep -E "( gpt)|(gpt )"')
23 host.reboot()
27 host.run ('dmesg | grep "%s"' % msg)
  /external/autotest/server/site_tests/power_BrightnessResetAfterReboot/
power_BrightnessResetAfterReboot.py 17 def run_once(self, host, client_autotest):
21 if host.has_internal_display() is None:
24 self.is_freon_build(host)
25 autotest_client = autotest.Autotest(host)
26 host.reboot()
31 host)
38 self.backlight_control('%s=0' % (self.SET_BRIGHTNESS_FLAG), host)
39 if not self.backlight_control(self.GET_BRIGHTNESS_FLAG, host) == 0:
42 self.backlight_control('%s=100' % (self.SET_BRIGHTNESS_FLAG), host)
43 if not self.backlight_control(self.GET_BRIGHTNESS_FLAG, host) == 100
    [all...]
  /external/curl/docs/examples/
resolve.c 29 struct curl_slist *host = NULL; local
32 HOST:PORT:ADDRESS where HOST is the name libcurl will try to resolve,
34 the HOST and ADDRESS is the numerical IP address
36 host = curl_slist_append(NULL, "example.com:80:127.0.0.1");
40 curl_easy_setopt(curl, CURLOPT_RESOLVE, host);
48 curl_slist_free_all(host);
  /external/nist-sip/java/gov/nist/javax/sip/stack/
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 = hop.substring(0,colon)
    [all...]
  /external/autotest/server/site_tests/desktopui_CrashyRebootServer/
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.wait_down(timeout=self.CRASHY_DEVICE_TIMEOUT_SECONDS
    [all...]
  /external/autotest/server/site_tests/platform_InternalDisplay/
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.has_internal_display() is not 'internal_display'
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
EmailAddress.java 67 * @param host A string representing the host following the '@' symbol
69 public EmailAddress(final String user, final String host) {
70 this(user, host, false);
77 * @param host A string representing the host following the '@' symbol
80 public EmailAddress(final String user, final String host, final boolean i18n) {
83 setHost(host);
97 (atIndex == (emailString.length() - 1))) { // last character, no host
102 host = emailString.substring(atIndex + 1)
270 protected String host = null; field in class:EmailAddress
    [all...]
  /external/autotest/client/common_lib/cros/
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...]
path_utils.py 11 def get_install_path(filename, host=None):
16 @param host Host object representing the remote machine.
21 if host is not None:
22 run = host.run
33 result = host.run('ls %s 2> /dev/null' % ' '.join(glob_list),
39 def must_be_installed(cmd, host=None):
45 @param host Host object representing the remote machine.
50 if host is not None
    [all...]
  /external/autotest/server/site_tests/power_ChargeStatus/
power_ChargeStatus.py 23 def initialize(self, host, cmdline_args):
29 self.power_control = args.get('power_control', host.POWER_CONTROL_RPM)
30 if self.power_control not in host.POWER_CONTROL_VALID_ARGS:
34 % (host.POWER_CONTROL_VALID_ARGS,
38 def run_once(self, host):
39 ac_state = self.get_ac_status(host)
40 bat_state = self.get_bat_status(host)
42 host.power_off(self.power_control)
43 ac_state = self.get_ac_status(host)
44 bat_state = self.get_bat_status(host)
    [all...]
  /cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
TestUtils.java 48 public static void assertTlsConnectionSucceeds(String host, int port) throws Exception {
49 assertSslSocketSucceeds(host, port);
50 assertHttpClientSucceeds(host, port, true /* https */);
51 assertUrlConnectionSucceeds(host, port, true /* https */);
54 public static void assertTlsConnectionFails(String host, int port) throws Exception {
55 assertSslSocketFails(host, port);
56 assertHttpClientFails(host, port, true /* https */);
57 assertUrlConnectionFails(host, port, true /* https */);
60 public static void assertCleartextConnectionSucceeds(String host, int port) throws Exception {
61 assertHttpClientSucceeds(host, port, false /* http */)
    [all...]
  /external/guava/guava/src/com/google/common/net/
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) {
81 this.host = host;
94 return host;
122 * Build a HostAndPort instance from separate host and port values.
127 * @param host the host string to parse. Must not contain a port number
169 String host; local
223 String host = hostPortString.substring(1, closeBracketIndex); local
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/net/
inet_makeaddr.c 36 * Formulate an Internet address from network + host. Used in
40 inet_makeaddr(in_addr_t net, in_addr_t host)
45 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);
47 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST);
49 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST);
51 addr = net | host;
  /external/autotest/server/site_tests/factory_Basic/
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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowIntentFilterAuthorityEntry.java 9 private String host; field in class:ShadowIntentFilterAuthorityEntry
12 public void __constructor__(String host, String port) {
13 this.host = host;
23 return host;
  /external/autotest/cli/
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/contrib/
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/site_tests/audio_AudioRoutingUSB/
audio_AudioRoutingUSB.py 17 def get_opened_device(self, host):
19 output = host.run('lsof -Fn +D /dev/snd', ignore_status=True).stdout
22 def run_once(self, host):
24 host.run('aplay /dev/zero </dev/null >/dev/null 2>&1 &')
25 self.run_test_while_audio_is_playing(host)
27 host.run('killall aplay')
29 def run_test_while_audio_is_playing(self, host):
30 host.servo.set('dut_usb2_prtctl', 'on')
33 host.servo.set('usb_mux_oe2', 'off')
35 dev1 = self.get_opened_device(host)
    [all...]
  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/
RecyclerViewAccessibilityDelegate.java 43 public boolean performAccessibilityAction(View host, int action, Bundle args) {
44 if (super.performAccessibilityAction(host, action, args)) {
55 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfoCompat info) {
56 super.onInitializeAccessibilityNodeInfo(host, info);
64 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) {
65 super.onInitializeAccessibilityEvent(host, event);
67 if (host instanceof RecyclerView && !shouldIgnore()) {
68 RecyclerView rv = (RecyclerView) host;
86 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfoCompat info) {
87 super.onInitializeAccessibilityNodeInfo(host, info)
    [all...]
  /external/autotest/server/site_tests/power_SuspendShutdown/
power_SuspendShutdown.py 21 def initialize(self, host):
25 @param host: Host/DUT object to run test on.
29 self.orig_boot_id = host.get_boot_id()
30 self.host = host
34 host.run('mount --bind /dev/full /sys/power/state')
39 host.run('echo %s > /tmp/retry_suspend_attempts;'
47 host.run('echo %s > /tmp/retry_suspend_ms;'
54 host.run('restart powerd'
    [all...]
  /external/autotest/server/
crashcollect.py 12 lambda host, test_start_time: None)
15 lambda host, test_start_time: None)
21 def get_crashdumps(host, test_start_time):
22 get_site_crashdumps(host, test_start_time)
26 def get_crashinfo(host, test_start_time):
34 get_crashdumps(host, test_start_time)
36 if wait_for_machine_to_recover(host):
38 get_site_crashinfo(host, test_start_time)
40 crashinfo_dir = get_crashinfo_dir(host, 'crashinfo')
41 collect_messages(host)
    [all...]
  /external/autotest/server/site_tests/platform_Vpd/
platform_Vpd.py 39 def get_stat(self, host, path):
40 """Return user, group and permissions of file on host.
42 @param host: the host machine to test
48 if not self.file_exists(host, path):
51 user = host.run('stat -c %U ' + path).stdout.strip()
52 group = host.run('stat -c %G ' + path).stdout.strip()
53 mode = host.run('stat -c %a ' + path).stdout.strip()
57 def file_exists(self, host, path):
60 @param host: the host machin
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/model/
Scenario.java 24 import com.google.caliper.model.Host.HostFunnel;
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;
106 private Host host; field in class:Scenario.Builder
110 public Builder host(Host.Builder hostBuilder) { method in class:Scenario.Builder
114 public Builder host(Host host) { method in class:Scenario.Builder
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
ClientSessionContext.java 24 * Caches client sessions. Indexes by host and port. Users are typically
25 * looking to reuse any session for a given host and port.
30 * Sessions indexed by host and port. Protect from concurrent
51 String host = session.getPeerHost(); local
53 if (host == null) {
56 HostAndPort hostAndPortKey = new HostAndPort(host, port);
63 * Finds a cached session for the given host name and port.
65 * @param host of server
69 public SSLSession getSession(String host, int port) {
70 if (host == null)
104 String host = session.getPeerHost(); local
125 final String host; field in class:ClientSessionContext.HostAndPort
    [all...]
  /external/autotest/server/site_tests/platform_CompromisedStatefulPartition/
platform_CompromisedStatefulPartition.py 25 def run_once(self, host, client_autotest):
31 if host.get_board_type() == 'OTHER':
33 autotest_client = autotest.Autotest(host)
34 host.reboot()
37 if not host.run(self.CMD_CORRUPT,
40 host.run('sync', ignore_status=True)
42 host.reboot()
43 host.run('sync', ignore_status=True)
45 if host.path_exists(self.OOBE_FILE):
53 if not host.path_exists(new_file)
    [all...]

Completed in 583 milliseconds

1 23 4 5 6 7 8 91011>>