/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/autotest/server/site_tests/provision_FactoryImage/ |
provision_FactoryImage.py | 15 def run_once(self, host, image_url): 16 """Install image from URL `image_url` on `host`. 18 @param host Host object representing DUT to be re-imaged. 23 host.servo_install(
|
/external/autotest/site_utils/deploy_autotest/ |
lab_deploy_helper.py | 39 autotest_master = CONFIG.get_config_value('scheduler', 'host', type=str, 46 def devserver_restart(host): 47 """SSH's in to |host| and restarts the devserver instance. 49 This method uses puppet apply to restart the devserver instance on host. 51 logging.info('METHOD STUB called for restarting devserver on %s', host) 52 # host.run('puppet apply devserver_start') 55 def devserver_sync(host): 56 """SSH's in to |host| and syncs the devserver. 58 This method uses puppet apply to sync the devserver instance on host. 60 logging.info('METHOD STUB called for syncing devserver on %s', host) [all...] |
/external/avahi/avahi-daemon/ |
static-hosts.c | 43 char *host; member in struct:StaticHost 66 avahi_log_error("Host name conflict for \"%s\", not established.", h->host); 70 avahi_log_notice ("Static host name \"%s\" successfully established.", h->host); 74 avahi_log_notice ("Failed to establish static host name \"%s\": %s.", h->host, avahi_strerror (avahi_server_errno (s))); 89 s->host = NULL; 105 avahi_free(s->host); 110 static StaticHost *static_host_find(const char *host, const AvahiAddress *a) 187 char *host, *ip; local [all...] |
/external/autotest/server/ |
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 = hosts.create_target_machine [all...] |
autotest_unittest.py | 20 # create mock host object 21 self.host = self.god.create_mock_class(hosts.RemoteHost, "host") 22 self.host.hostname = "hostname" 23 self.host.job = self.god.create_mock_class(server_job.server_job, 25 self.host.job.run_test_cleanup = True 26 self.host.job.last_boot_tag = 'Autotest' 27 self.host.job.sysinfo = self.god.create_mock_class( 29 self.host.job.profilers = self.god.create_mock_class( 31 self.host.job.profilers.add_log = { [all...] |
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_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...] |
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
mock-archive.txt | 1 GET%www.zappos.com%/%%[('accept-encoding', 'gzip,deflate'), ('host', 'www.zappos.com')] 2 GET%www.zappos.com%/css/print.20110525145237.css%%[('accept-encoding', 'gzip,deflate'), ('host', 'www.zappos.com')] 3 GET%www.zappos.com%/favicon.ico%%[('accept-encoding', 'gzip,deflate'), ('host', 'www.zappos.com')] 4 GET%www.zappos.com%/hydra/hydra.p.20110607.js%%[('accept-encoding', 'gzip,deflate'), ('host', 'www.zappos.com')] 5 GET%www.zappos.com%/imgs/shadebg.20110525145241.png%%[('accept-encoding', 'gzip,deflate'), ('host', 'www.zappos.com')] 6 GET%www.msn.com%/%%[('accept-encoding', 'gzip,deflate'), ('host', 'www.msn.com')] 7 GET%www.msn.com%/?euid=&userGroup=W:default&PM=z:1%%[('accept-encoding', 'gzip,deflate'), ('host', 'www.msn.com'), ('x-requested-with', 'XMLHttpRequest')] 8 GET%www.msn.com%/?euid=342%%[('accept-encoding', 'gzip,deflate'), ('host', 'www.msn.com'), ('x-requested-with', 'XMLHttpRequest')] 9 GET%www.amazon.com%/%%[('accept-encoding', 'gzip,deflate'), ('host', 'www.amazon.com')] 10 GET%www.google.com%/%%[('accept-encoding', 'gzip,deflate'), ('host', 'www.google.com') [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...] |
/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...] |
/external/autotest/cli/ |
host.py | 5 The host module contains the objects and method used to 6 manage a host in Autotest. 9 create: adds host(s) 10 delete: deletes host(s) 11 list: lists host(s) 12 stat: displays host(s) information 13 mod: modifies host(s) 14 jobs: lists all jobs that ran on host(s) 29 class host(topic_common.atest): class in inherits:topic_common.atest 30 """Host clas [all...] |
/external/curl/tests/data/ |
test1087 | 29 Location: http://goto.second.host.now/10871002
56 Location: http://goto.second.host.now/10871002
78 HTTP, proxy with --anyauth and Location: to new host 81 http://first.host.it.is/we/want/that/page/10871000 -x %HOSTIP:%HTTPPORT --user iam:myself --location --anyauth 92 GET http://first.host.it.is/we/want/that/page/10871000 HTTP/1.1
93 Host: first.host.it.is
96 GET http://first.host.it.is/we/want/that/page/10871000 HTTP/1.1
97 Host: first.host.it.is [all...] |
test1088 | 30 Location: http://goto.second.host.now/10881002
57 Location: http://goto.second.host.now/10881002
79 HTTP, proxy with --anyauth and Location: to new host using location-trusted 82 http://first.host.it.is/we/want/that/page/10881000 -x %HOSTIP:%HTTPPORT --user iam:myself --location-trusted --anyauth 93 GET http://first.host.it.is/we/want/that/page/10881000 HTTP/1.1
94 Host: first.host.it.is
97 GET http://first.host.it.is/we/want/that/page/10881000 HTTP/1.1
98 Host: first.host.it.is [all...] |
/external/autotest/server/hosts/ |
factory.py | 1 """Provides a factory method to create a host object.""" 18 # Default ssh options used in creating a host. 28 # A list of all the possible host types, ordered according to frequency of 29 # host types in the lab, so the more common hosts don't incur a repeated ssh 30 # overhead in checking for less common host types. 38 """Returns parameters needed to ssh into a host. 40 There are currently 2 use cases for creating a host. 45 the same defaults as used in the server job to create a host. 59 """Detect host type. 61 Goes through all the possible host classes, calling check_host with [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...] |
/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...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldURITest.java | 42 "http://user@host:80", // UI, host,port 43 "http://user@host", // ui, host 44 "http://host", // host 45 "http://host:80", // host,port 48 "ht?tp://hoe@host:80", // miscellaneous tests 49 "mai/lto:hey?joe#man", "http://host/a%20path#frag" [all...] |
/external/autotest/scheduler/ |
rdb_hosts.py | 5 """RDB Host objects. 7 RDBHost: Basic host object, capable of retrieving fields of a host that 8 correspond to columns of the host table. 10 RDBServerHostWrapper: Server side host adapters that help in making a raw 11 database host object more ameanable to the classes and functions in the rdb 14 RDBClientHostWrapper: Scheduler host proxy that converts host information 15 returned by the rdb into a client host object capable of proxying updates 33 """A python host object representing a django model for the host."" [all...] |
/external/vogar/test/vogar/android/ |
HostRuntimeLocalTargetTest.java | 51 Mode hostRuntime = new HostRuntime(run, ModeId.HOST, Variant.X32); 64 + " ANDROID_ROOT=out/host/linux-x86" 65 + " LD_LIBRARY_PATH=out/host/linux-x86/lib" 66 + " DYLD_LIBRARY_PATH=out/host/linux-x86/lib" 68 + " out/host/linux-x86/bin/dalvikvm32" 71 + ":out/host/linux-x86/framework/core-libart-hostdex.jar" 72 + ":out/host/linux-x86/framework/conscrypt-hostdex.jar" 73 + ":out/host/linux-x86/framework/okhttp-hostdex.jar" 74 + ":out/host/linux-x86/framework/bouncycastle-hostdex.jar" 88 Mode hostRuntime = new HostRuntime(run, ModeId.HOST, Variant.X32) [all...] |
/external/autotest/server/site_tests/audio_AudioNodeSwitch/ |
control | 29 host = hosts.create_host(machine, chameleon_args=chameleon_args) 30 job.run_test("audio_AudioNodeSwitch", host=host, jack_node=True, tag='JACK') 31 job.run_test("audio_AudioNodeSwitch", host=host, hdmi_node=True, tag='HDMI') 32 job.run_test("audio_AudioNodeSwitch", host=host, usb_node=True, tag='USB')
|
/external/autotest/server/site_tests/brillo_PingTest/ |
brillo_PingTest.py | 16 """Ping an Internet host.""" 19 def run_once(self, host=None, ping_host=_DEFAULT_PING_HOST, 22 """Pings an Internet host with given timeout and count values. 24 @param host: A host object representing the DUT. 25 @param ping_host: The Internet host to ping. 34 host.run(cmd)
|
/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/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/autotest/server/site_tests/platform_InstallRecoveryImage/ |
platform_InstallRecoveryImage.py | 17 def run_once(self, host, image): 18 host.servo.install_recovery_image(image, 24 # Wait for the host to come up. 25 if host.ping_wait_up(timeout=self._RECOVERY_INSTALL_DELAY): 29 raise error.TestFail('Host failed to come back up after ' 32 host.servo.switch_usbkey('host')
|