/external/autotest/site_utils/rpm_control_system/ |
frontend_server.py | 225 hosts = self._afe.get_hosts(hostname=device_hostname) 226 if not hosts: 231 info = utils.PowerUnitInfo.get_powerunit_info(hosts[0])
|
/external/autotest/site_utils/ |
test_runner_utils_unittest.py | 180 def __init__(self, suite_control_files, hosts): 182 self._hosts = hosts 186 afe.create_job(control_file, hosts=self._hosts)
|
balance_pools.py | 152 during balancing. This is done for the sake of chameleon hosts, 171 @property total_hosts The total number of hosts in pool. 301 def _exchange_labels(dry_run, hosts, target_pool, spare_pool): 304 For all the given hosts, remove all labels associated with 312 @param hosts List of DUTs (AFE hosts) to be reassigned. 313 @param target_pool The `_DUTPool` object from which the hosts 315 @param spare_pool The `_DUTPool` object to which the hosts 320 len(hosts), spare_pool.pool, target_pool.pool) 334 len(hosts), [all...] |
/frameworks/support/webkit/src/main/java/androidx/webkit/ |
WebViewCompat.java | 182 * Sets the list of hosts (domain names/IP addresses) that are exempt from SafeBrowsing checks. 196 * The correct syntax for hosts is defined by <a 199 * @param hosts the list of hosts 200 * @param callback will be called with {@code true} if hosts are successfully added to the 201 * whitelist. It will be called with {@code false} if any hosts are malformed. The callback 207 public static void setSafeBrowsingWhitelist(@NonNull List<String> hosts, 212 WebView.setSafeBrowsingWhitelist(hosts, callback); 214 getFactory().getStatics().setSafeBrowsingWhitelist(hosts, callback);
|
/external/autotest/frontend/afe/ |
models.py | 45 An atomic group defines a collection of hosts which must only be scheduled 47 scheduled for a job at the same time as other hosts sharing that label. 77 """Enqueue a job on an associated atomic group of hosts. 558 """Get hosts by label filters. 560 @param label_names: label (string) lists for fetching hosts. 574 # Some labels don't exist in afe db, which means no hosts 589 """Get hosts by label_id filters. 591 @param label_ids: label id (int) lists for fetching hosts. 636 """Assigns hosts to a shard. 638 For all labels that have been assigned to a shard, all hosts tha 1129 hosts = dbmodels.ManyToManyField(Host, blank=True, variable in class:AclGroup [all...] |
/external/autotest/server/hosts/ |
testbed.py | 22 from autotest_lib.server.hosts import adb_host 23 from autotest_lib.server.hosts import base_label 24 from autotest_lib.server.hosts import host_info 25 from autotest_lib.server.hosts import testbed_label 26 from autotest_lib.server.hosts import teststation_host 50 This will create the Test Station Host and connected hosts (ADBHost for 92 """Return a list of all the hosts in this testbed. 94 @return: List of the hosts which includes the test station and the adb
|
servo_host.py | 22 from autotest_lib.client.common_lib import hosts 35 from autotest_lib.server.hosts import servo_repair 36 from autotest_lib.server.hosts import ssh_host 135 raise hosts.AutoservVerifyError( 427 control_type=control_type, hosts=[dut]) 514 from the default for servo Hosts, trigger an update, but 632 # For now, assume all servo hosts in the lab have power. 649 raise hosts.AutoservRepairError( [all...] |
base_classes_unittest.py | 10 from autotest_lib.server.hosts import base_classes 53 "HOSTS", "wait_up_processes", default="").and_return("") 62 "HOSTS", "wait_up_processes", default="").and_return(" ") 71 "HOSTS", "wait_up_processes", default="").and_return("proc1") 81 "HOSTS", "wait_up_processes", default="").and_return( 92 "HOSTS", "wait_up_processes", default="").and_return(
|
cros_firmware_unittest.py | 10 from server.hosts import cros_firmware
|
cros_host.py | 16 from autotest_lib.client.common_lib import hosts 37 from autotest_lib.server.hosts import abstract_ssh 38 from autotest_lib.server.hosts import base_label 39 from autotest_lib.server.hosts import cros_label 40 from autotest_lib.server.hosts import chameleon_host 41 from autotest_lib.server.hosts import cros_repair 42 from autotest_lib.server.hosts import plankton_host 43 from autotest_lib.server.hosts import servo_host 214 chameleon_args = hosts.CrosHost.get_chameleon_arguments(args_dict) 215 host = hosts.create_host(machine, chameleon_args=chameleon_args [all...] |
file_store.py | 9 from autotest_lib.server.hosts import host_info
|
/external/autotest/cli/ |
job_unittest.py | 238 u'job': {u'control_file': u"def run(machine):\n\thost = hosts.create_host(machine)\n\tat = autotest.Autotest(host)\n\tat.run_test('sleeptest')\n\nparallel_simple(run, machines)", 256 '--list-hosts'], 289 err_words_ok=['unassigned', 'meta-hosts'], 295 '--list-hosts'], 367 '--list-hosts-status', 'Running,Queued'], [all...] |
/external/autotest/scheduler/ |
host_scheduler_unittests.py | 26 """Verify scheduler behavior when pending jobs are already given hosts.""" 80 """Test that we handle inactive hqes with unleased hosts correctly.""" 99 """Test handling of inactive hqes assigned invalid, unleased hosts.""" 119 """Test handling of inactive hqes assigned leased hosts.""" 170 """Verify scheduler behavior when pending jobs are already given hosts.""" 181 """Test that frontend special tasks lock hosts.""" 182 # Create multiple tasks with hosts and make sure the hosts get locked. 283 hosts = [] 286 hosts.append(self.db_helper.create_host [all...] |
drones_unittest.py | 13 from autotest_lib.server.hosts import ssh_host
|
host_scheduler.py | 11 1. Hosts will not be assigned to multiple hqes simultaneously. The process 15 2. Hosts that are not being used by active hqes or incomplete special tasks 16 will be released back to the available hosts pool, for acquisition by 20 for hosts needed by frontend special tasks. The need for the latter is only 22 runs special tasks only after their hosts have been leased. 50 hosts with the same build. 109 in memory (for 10K hosts, the map should take less than 1M memory on 142 logging.debug('Suite %d got host %s, currently holding %d hosts', 147 def record_release(self, hosts): 150 @param hosts: A list of scheduler_models.Host objects [all...] |
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/proxy/ |
per_host.go | 78 // specifying hosts that should use the bypass proxy. Each value is either an 83 hosts := strings.Split(s, ",") 84 for _, host := range hosts {
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/proxy/ |
per_host.go | 78 // specifying hosts that should use the bypass proxy. Each value is either an 83 hosts := strings.Split(s, ",") 84 for _, host := range hosts {
|
/external/autotest/server/cros/network/ |
wifi_test_context_manager.py | 10 from autotest_lib.server import hosts 202 hosts.create_host(pcap_addr),'pcap') 214 hosts.SSHHost(attenuator_addr, port=22))
|
/external/autotest/site_utils/deployment/ |
commandline.py | 36 from autotest_lib.server.hosts import servo_host 362 Any number of hosts names are allowed on one line. Names are 374 sys.stderr.write('enter hosts (blank line to end):\n') 385 prompt = 'More hosts? [y/N]'
|
/frameworks/rs/ |
build_rs.py | 323 hosts = ['linux-x86', 'windows-x86'] 325 hosts = ['darwin-x86'] 333 for host in hosts:
|
/external/autotest/client/common_lib/ |
barrier.py | 162 self._members = [] # List of hosts we expect to find at the barrier. 494 def rendezvous(self, *hosts, **dargs): 498 self._members = list(hosts) 523 def rendezvous_servers(self, masterid, *hosts, **dargs): 527 self._members = list(hosts)
|
/external/autotest/client/common_lib/hosts/ |
base_classes_unittest.py | 9 from autotest_lib.client.common_lib.hosts import base_classes
|
/external/autotest/server/ |
server_job.py | 46 from autotest_lib.server.hosts import abstract_ssh 47 from autotest_lib.server.hosts import afe_store 48 from autotest_lib.server.hosts import file_store 49 from autotest_lib.server.hosts import shadowing_store 50 from autotest_lib.server.hosts import factory as host_factory 51 from autotest_lib.server.hosts import host_info 52 from autotest_lib.server.hosts import ssh_multiplex 311 self.hosts = set() 431 to properly clean up self.hosts created in forked subprocesses. 434 self._existing_hosts_on_fork = set(self.hosts) [all...] |
site_server_job_utils.py | 14 from autotest_lib.server import autotest, hosts, host_attributes
|
/external/autotest/server/site_tests/moblab_RunSuite/ |
moblab_RunSuite.py | 9 from autotest_lib.server.hosts import moblab_host 57 raise error.TestFail('All hosts for this MobLab are down. Please '
|