Searched refs:host (Results 176 - 200 of 1683) sorted by relevance

1234567891011>>

/external/autotest/server/hosts/
H A Dbase_label.py19 We'll check if the label already exists on the host and return True if so.
20 Otherwise we'll check if the label should exist on the host.
24 def exists_wrapper(self, host):
29 @param host: The host object to run methods on.
31 @returns True if the label already exists on the host, otherwise run
34 info = host.host_info_store.get()
35 return (self._NAME in info.labels) or exists(self, host)
41 This class contains the scaffolding for the host-specific labels.
64 def generate_labels(self, host)
[all...]
/external/clang/
H A Dupdate-prebuilts.py57 def host_to_build_host(host):
58 """Gets the build host name for an NDK host tag.
66 }[host]
69 def build_name(host):
70 """Gets the build name for a given host.
79 }[host]
91 def package_name(build_number, host):
97 return 'clang-{}-{}-x86.tar.bz2'.format(build_number, host)
100 def download_build(host, build_numbe
[all...]
/external/autotest/server/site_tests/firmware_FastbootErase/
H A Dfirmware_FastbootErase.py28 def initialize(self, host, cmdline_args, dev_mode=False):
29 super(firmware_FastbootErase, self).initialize(host, cmdline_args)
47 result = self.faft_client.host.run_shell_command_get_output(
64 self.faft_client.host.run_shell_command(
68 self.faft_client.host.run_shell_command('adb reboot bootloader')
75 self.faft_client.host.run_shell_command('fastboot erase kernel')
76 self.faft_client.host.run_shell_command('fastboot continue')
90 self.faft_client.host.run_shell_command(
92 self.faft_client.host.run_shell_command(
98 self.faft_client.host
[all...]
/external/autotest/site_utils/lib/
H A Dinfra.py66 def host_object_runner(host, **kwargs):
68 Returns a function that returns the output of running a command via a host
71 @param host: The host to run a command on.
75 host_object = _host_objects[host]
79 host_object = ssh_host.SSHHost(host, user=username)
80 _host_objects[host] = host_object
84 Runs a command via a host object on the enclosed host. Translates
85 host
[all...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DDelegatingSSLSocketFactory.java43 @Override public SSLSocket createSocket(String host, int port) throws IOException { argument
44 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port);
49 String host, int port, InetAddress localAddress, int localPort) throws IOException {
50 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port, localAddress, localPort);
54 @Override public SSLSocket createSocket(InetAddress host, int port) throws IOException { argument
55 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port);
60 InetAddress host, int port, InetAddress localAddress, int localPort) throws IOException {
61 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port, localAddress, localPort);
74 Socket socket, String host, int port, boolean autoClose) throws IOException {
75 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(socket, host, por
48 createSocket( String host, int port, InetAddress localAddress, int localPort) argument
59 createSocket( InetAddress host, int port, InetAddress localAddress, int localPort) argument
73 createSocket( Socket socket, String host, int port, boolean autoClose) argument
[all...]
/external/autotest/client/common_lib/cros/
H A Dautoupdater_unittest.py41 update_url, host=self.mox.CreateMockAnything())
44 self.mox.StubOutWithMock(updater.host, 'get_release_version')
45 updater.host.get_release_version().MultipleTimes().AndReturn(
53 self.mox.StubOutWithMock(updater.host, 'get_release_version')
54 updater.host.get_release_version().MultipleTimes().AndReturn(
62 self.mox.StubOutWithMock(updater.host, 'get_release_version')
63 updater.host.get_release_version().MultipleTimes().AndReturn('1111.0.0')
70 self.mox.StubOutWithMock(updater.host, 'get_release_version')
71 updater.host.get_release_version().MultipleTimes().AndReturn(
92 update_url, host
[all...]
/external/autotest/client/common_lib/hosts/
H A Drepair.py6 Framework for host verification and repair in Autotest.
140 def _record(self, host, silent, *record_args):
142 Log a status record for `host`.
144 Call `host.record()` with the given `record_args`, unless
147 @param host Host which will record the status record.
150 @param record_args Arguments to pass to `host.record()`.
153 host.record(*record_args)
156 def _verify_list(self, host, verifiers, silent):
158 Test a list of verifiers against a given host.
172 @param host Th
[all...]
/external/autotest/site_utils/
H A Dmass_update.py37 # Default path for individual host logs. Each host will have it's own file. E.g.
38 # <default_log_path>/<host>.log
63 """Responsible for ssh-test, locking, imaging, and unlocking a host.
65 Uses the atest CLI for host control and the image_to_live script to actually
66 update the host. Each thread will continue to process hosts until the queue
70 _SSH_FAILURE = 1 # Could not SSH to host or related SSH failure.
82 host = self._hosts.popleft()
85 self._logger.info('Updating host %s' % host)
[all...]
/external/autotest/server/site_tests/platform_ExternalUSBStress/
H A Dplatform_ExternalUSBStress.py18 def run_once(self, host, client_autotest, repeat, network_debug):
22 if host.servo.get('lid_open') == 'not_applicable':
26 host.servo.lid_open()
27 if host.servo.get('lid_open') != 'yes':
30 autotest_client = autotest.Autotest(host)
72 host.servo.set('dut_hub1_rst1', reset)
86 connected = strip_lsusb_output(host.run('lsusb').stdout.strip())
109 boot_id = host.get_boot_id()
111 host.servo.lid_close()
113 thread = threading.Thread(target = host
[all...]
/external/autotest/server/site_tests/platform_ServoPowerStateController/
H A Dplatform_ServoPowerStateController.py16 def initialize(self, host):
23 if not self.host.ssh_ping():
26 self.host.servo.switch_usbkey('off')
38 if not self.host.wait_up(timeout=300):
43 boot_from_usb = self.host.is_boot_from_usb()
57 if not self.host.ping_wait_down(timeout=10):
60 if self.host.ping_wait_up(timeout=30):
72 self.host.servo.switch_usbkey('off')
76 self.host.servo.switch_usbkey('dut')
86 self.host
[all...]
/external/autotest/cli/
H A Dhost.py4 The host module contains the objects and method used to
5 manage a host in Autotest.
8 create: adds host(s)
9 delete: deletes host(s)
10 list: lists host(s)
11 stat: displays host(s) information
12 mod: modifies host(s)
13 jobs: lists all jobs that ran on host(s)
32 class host(topic_common.atest): class in inherits:topic_common.atest
34 atest host [creat
[all...]
/external/apache-http/src/org/apache/http/impl/cookie/
H A DRFC2965DomainAttributeHandler.java83 // MAY NOT be an IP address of a host name
92 * Host A's name domain-matches host B's if
94 * <ul>their host name strings string-compare equal; or</ul>
100 * @param host host name where cookie is received from or being sent to.
102 * @return true if the specified host matches the given domain.
104 public boolean domainMatch(String host, String domain) { argument
105 boolean match = host.equals(domain)
106 || (domain.startsWith(".") && host.endsWith(domain));
122 String host
[all...]
/external/dagger2/
H A DAndroid.mk17 # build dagger2 host jar
22 LOCAL_MODULE := dagger2-host
28 dagger2-inject-host \
34 # build dagger2 producers host jar
39 LOCAL_MODULE := dagger2-producers-host
45 dagger2-host \
46 dagger2-inject-host \
52 # build dagger2 compiler host jar
57 LOCAL_MODULE := dagger2-compiler-host
67 dagger2-host \
[all...]
/external/autotest/server/
H A Dsite_crashcollect.py158 @param host_resultdir The result directory for this host for this test run.
166 def _find_orphaned_crashdumps(host):
167 """Return file paths of crashdumps on host.
169 @param host A host object of the device.
171 return host.list_files_glob(os.path.join(constants.CRASH_DIR, '*'))
174 def report_crashdumps(host):
175 """Report on crashdumps for host.
180 @param host A host objec
[all...]
H A Dautotest_unittest.py20 # 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.sysinfo = self.god.create_mock_class(
28 self.host.job.profilers = self.god.create_mock_class(
30 self.host.job.profilers.add_log = {}
31 self.host
[all...]
/external/caliper/
H A DAndroid.mk20 # build caliper host jar
25 LOCAL_MODULE := caliper-host
33 apache-commons-math-host \
34 caliper-gson-host \
35 caliper-java-allocation-instrumenter-host \
36 caliper-jersey-client-host \
37 caliper-jersey-core-host \
38 caliper-joda-time-host \
39 caliper-jsr311-api-host \
40 dagger2-host \
[all...]
/external/libmicrohttpd/src/testcurl/https/
H A Dtest_https_sni.c67 struct Hosts *host; local
69 host = malloc (sizeof (struct Hosts));
70 if (NULL == host)
72 host->hostname = hostname;
73 host->next = hosts;
74 hosts = host;
85 gnutls_pcert_import_x509_raw (&host->pcrt, &data, GNUTLS_X509_FMT_PEM,
105 gnutls_privkey_init (&host->key);
107 gnutls_privkey_import_x509_raw (host->key,
144 struct Hosts *host; local
[all...]
/external/autotest/server/site_tests/audio_InternalCardNodes/
H A Daudio_InternalCardNodes.py25 def run_once(self, host):
26 chameleon_board = host.chameleon
28 host, results_dir=self.resultsdir)
45 if audio_test_utils.has_internal_speaker(host):
51 if audio_test_utils.has_internal_microphone(host):
58 board_name = host.get_board().split(':')[1]
76 host, audio_facade, self.resultsdir)
/external/autotest/server/site_tests/platform_RebootAfterUpdate/
H A Dplatform_RebootAfterUpdate.py41 def reboot_with_timeout(cls, host, reason):
44 @param host: Autotest host object to reboot.
51 host.reboot()
60 def run_once(self, host, job_repo_url=None):
63 @param host: a host object representing the DUT
70 updater = autoupdate_utils.get_updater_from_repo_url(host, job_repo_url)
74 self.reboot_with_timeout(host, 'update')
84 client_at = autotest.Autotest(host)
[all...]
/external/icu/android_icu4j/
H A DAndroid.mk52 # build repackaged ICU for host for testing purposes
62 icu4j-icudata-host-jarjar \
63 icu4j-icutzdata-host-jarjar
65 LOCAL_MODULE := android-icu4j-host
69 # build repackaged ICU tests for host for testing purposes
72 # java -cp ${ANDROID_BUILD_TOP}/out/host/linux-x86/framework/android-icu4j-tests-host.jar org.junit.runner.JUnitCore android.icu.dev.test.TestAll
75 # java -cp ${ANDROID_BUILD_TOP}/out/host/linux-x86/framework/android-icu4j-tests-host.jar android.icu.dev.test.TestAll
85 android-icu4j-host \
[all...]
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
H A DHttpsTransportSE.java19 private final String host; field in class:HttpsTransportSE
24 public HttpsTransportSE(String host, int port, String file, int timeout) { argument
25 super(HttpsTransportSE.PROTOCOL + "://" + host + ":" + port + file);
27 + host + ":" + port + file);
28 this.host = host;
41 serviceConnection = new HttpsServiceConnectionSE(host, port, file, timeout);
/external/autotest/server/site_tests/audio_AudioBluetoothConnectionStability/
H A Daudio_AudioBluetoothConnectionStability.py30 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):
/external/autotest/server/site_tests/debugd_DevTools/
H A Ddebugd_DevTools.py20 def create_tools(self, host):
29 @param host: Host device.
33 if not debugd_dev_tools.are_dev_tools_available(host):
45 self.rootfs_tool.initialize(host)
47 tool.initialize(host, save_initial_state=True)
50 def cleanup_tools(self, host):
57 @param host: Host device.
66 debugd_dev_tools.remove_temp_files(host)
117 def run_once(self, host=None):
118 self.create_tools(host)
[all...]
/external/autotest/server/site_tests/provision_AndroidUpdate/
H A Dprovision_AndroidUpdate.py24 def initialize(self, host, value, force=False, is_test_na=False,
28 @param host: The host object to update to |value|.
29 @param value: String of the image we want to install on the host.
46 def run_once(self, host, value=None, force=False, repair=False, board=None,
50 @param host: The host object to update to |value|.
51 @param value: The host object to provision with a build corresponding
60 @param board: Board name of the device. For host created in testbed,
61 it does not have host label
[all...]
/external/autotest/client/common_lib/cros/graphite/
H A Dautotest_es.py24 We can also specify which port and host to use.
93 def post(use_http=ES_USE_HTTP, host=METADATA_ES_SERVER, port=ES_PORT,
102 esmd = es_utils.ESMetadata(use_http=use_http, host=host, port=port,
107 def bulk_post(data_list, host=METADATA_ES_SERVER, port=ES_PORT,
116 esmd = es_utils.ESMetadata(use_http=True, host=host, port=port,
126 def execute_query(host=METADATA_ES_SERVER, port=ES_PORT,
134 esmd = es_utils.ESMetadata(use_http=True, host=host, por
[all...]

Completed in 627 milliseconds

1234567891011>>