/external/autotest/server/cros/ |
repair_utils_unittest.py | 64 """Test that, for a given host, we get the last job ran on that host.""" 66 host = models.Host(hostname='host') 67 host.save() 73 job=old_job, host=host, status='test', 81 job=new_job, host=host, status='test' [all...] |
/external/chromium-trace/catapult/third_party/typ/typ/ |
__init__.py | 44 Host class. This can be used by other python code to write more 61 from typ.host import Host 75 'Host',
|
/external/ppp/pppd/plugins/radius/etc/ |
dictionary.compat | 10 ATTRIBUTE Login-Host 14 ipaddr 28 ATTRIBUTE Login-Host 14 ipaddr
|
/external/jcommander/ |
Android.mk | 25 # Host JAR builds have every single file because all the standard APIs are available. 37 # Host Java build 40 LOCAL_MODULE := jcommander-host 44 # Host dalvik build
|
/packages/inputmethods/LatinIME/native/jni/ |
HostUnitTests.mk | 15 # Host build is never supported in unbundled (NDK/tapas) build 18 # HACK: Temporarily disable host tool build on Mac until the build system is ready for C++11. 29 #################### Host library for unit test 30 # TODO: Remove -std=c++11 once it is set by default on host build. 42 #################### Host native tests 46 # TODO: Remove -std=c++11 once it is set by default on host build.
|
/external/autotest/frontend/afe/ |
rpc_interface.py | 21 modify_host(2, hostname='myhost') # modify hostname of host with database ID 2 22 modify_host('ipaj2', hostname='myhost') # modify hostname of host 'ipaj2' 94 hosts.append(models.Host.smart_get(h.id)) 141 host_objs = models.Host.smart_get_bulk(hosts) 143 models.Host.check_no_platform(host_objs) 175 host_objs = models.Host.smart_get_bulk(hosts) 181 # For example, we add a label L1 to a host in shard S1. 200 host_objs = models.Host.smart_get_bulk(hosts) 213 host_objs = models.Host.smart_get_bulk(hosts) 267 {'locked': 'Please provide a reason for locking when adding host.'} [all...] |
models_test.py | 23 def _check_acls(self, host, acl_name_list): 25 in host.aclgroup_set.all()] 55 # ensure that when adding a host which was previously used as a one-time 56 # host, the status isn't reset, since this can interfere with the 58 host = models.Host.create_one_time_host('othost') 59 self.assertEquals(host.invalid, True) 60 self.assertEquals(host.status, models.Host.Status.READY) 62 host.status = models.Host.Status.RUNNIN [all...] |
resources.py | 227 class Host(EntryWithInvalid): 228 model = models.Host 237 doc='Username of user who locked this host, if locked') 245 doc='Username of user with access to this host') 257 return cls(request, models.Host.objects.get(hostname=hostname)) 265 rep = super(Host, self).short_representation() 278 rep = super(Host, self).full_representation() 287 queue_entries.set_query_parameters(host=self.instance.hostname) 289 health_tasks.set_query_parameters(host=self.instance.hostname) 308 host = models.Host.add_object(hostname=input_dict['hostname'] [all...] |
models.py | 42 all at once. Any host with a label having an atomic group will only be 104 only_if_needed: If True, a Host with this label can only be used if that 128 """Enqueue a job on any host of this label. 171 # can run on the same host, if the shard hostname is localhost we 175 # host), but for rpcs that are performed *on* the shard, they need to 431 class Host(model_logic.ModelWithInvalid, rdb_model_extensions.AbstractHostModel, 438 locked: if true, host is locked and will not be queued 443 status: string describing status of host 444 invalid: true if the host has been deleted 445 protection: indicates what can be done to this host during repai 727 host = dbmodels.ForeignKey(Host) variable in class:HostAttribute 1734 host = dbmodels.ForeignKey(Host) variable in class:IneligibleHostQueue 1769 host = dbmodels.ForeignKey(Host, blank=True, null=True) variable in class:HostQueueEntry 2024 host = dbmodels.ForeignKey(Host, blank=False, null=False) variable in class:SpecialTask [all...] |
/external/autotest/scheduler/shard/ |
shard_client_integration_tests.py | 102 """Test simple host serialization.""" 104 host = self.db_helper.create_host(name='test_host') 105 serialized_host = host.serialize() 106 models.Host.objects.all().delete() 107 models.Host.deserialize(serialized_host) 108 models.Host.objects.get(hostname='test_host')
|
/external/avahi/avahi-sharp/ |
AvahiTest.cs | 119 Console.WriteLine ("Resolved {0} to {1}", args.Address, args.Host); 120 HostNameResolver hr = new HostNameResolver (client, args.Host); 129 Console.WriteLine ("Resolved {0} to {1}", args.Host, args.Address);
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
EnvironmentGetter.java | 19 import com.google.caliper.model.Host; 39 Host getHost() { 40 return new Host.Builder() 56 propertyMap.put("host.availableProcessors", 74 propertyMap.put("host.cpus", Integer.toString(cpuInfo.get("processor").size())); 76 propertyMap.put("host.cpu.cores", describe(cpuInfo, s)); 77 propertyMap.put("host.cpu.names", describe(cpuInfo, "model name")); 78 propertyMap.put("host.cpu.cachesize", describe(cpuInfo, "cache size")); 82 propertyMap.put("host.memory.physical", memInfo.get("MemTotal").toString()); 83 propertyMap.put("host.memory.swap", memInfo.get("SwapTotal").toString()) [all...] |
TrialModule.java | 24 import com.google.caliper.model.Host; 120 final Host host, 135 .host(host)
|
/external/nist-sip/java/gov/nist/core/ |
HostNameParser.java | 43 * Parser for host names. 163 lexer.getBuffer() + ": Illegal Host name ", 171 public Host host() throws ParseException { method in class:HostNameParser 173 dbg_enter("host"); 201 lexer.getBuffer() + ": Missing host name", 204 return new Host(hostname); 207 dbg_leave("host"); 218 * @return true if the host part of <tt>uriHeader</tt> could be an IPv6 223 // approximately detect the end the host part 240 String host = uriHeader.substring(0, hostEnd); local 265 Host host = this.host(); local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/address/ |
Authority.java | 55 * Return the host name in encoded form. 131 * Get the host name. 132 * @return Host (null if not set) 134 public Host getHost() { 180 * set the host. 181 * @param host Host to set 183 public void setHost(Host host) { 186 hostPort.setHost(host); [all...] |
/external/expat/ |
Android.mk | 4 # and the host (as a static library for tools to use). 21 # For the host 24 # Host static library 41 # Host shared library 50 LOCAL_MODULE:= libexpat-host
|
/external/jsr330/ |
Android.mk | 31 # Host-side Java build 34 LOCAL_MODULE := jsr330-host 37 # Host-side Dalvik build 48 LOCAL_MODULE := jsr330-tck-host 49 LOCAL_JAVA_LIBRARIES := jsr330-host junit
|
/frameworks/compile/mclinker/lib/LD/ |
RelocationFactory.cpp | 15 #include <llvm/Support/Host.h> 46 // byte swapping if the host and target have different endian
|
/external/boringssl/ |
Android.mk | 1 # Note that some host libraries have the same module name as the target 50 # Host static library 71 # Host shared library 74 LOCAL_MODULE := libcrypto-host 114 # Host static library 117 LOCAL_MODULE := libssl_static-host 131 # Host static tool (for linux only). 140 LOCAL_SHARED_LIBRARIES=libcrypto-host libssl-host 148 # Host shared librar [all...] |
/external/autotest/client/common_lib/hosts/ |
base_classes.py | 4 This module defines the base classes for the Host hierarchy. 7 You should import the "hosts" package instead of importing each type of host. 9 Host: a machine on which you can run programs 26 class Host(object): 40 to super. When overriding methods that are a NOP in Host, the subclass 48 then the method should raise NotImplementedError in Host, and 90 Run a command on this host. 171 calls to Host.get_boot_id() return the same string if the host did 214 """ Wait for the host to come back from a reboot. This is a generi [all...] |
/external/autotest/scheduler/ |
monitor_db_cleanup_test.py | 30 self.hosts[i].status = models.Host.Status.REPAIR_FAILED 45 self.assertEquals(tasks[0].host.id, 1) 56 self.hosts[i].status = models.Host.Status.REPAIR_FAILED 72 self.assertTrue(tasks[0].host.id in (1, 4, 5, 6)) 73 self.assertTrue(tasks[1].host.id in (1, 4, 5, 6))
|
monitor_db_cleanup.py | 141 model_pairs = ((models.Host, 'labels', models.Label, 'host_set'), 142 (models.AclGroup, 'hosts', models.Host, 'aclgroup_set'), 197 hosts = models.Host.objects.filter( 198 status=models.Host.Status.REPAIR_FAILED, 210 total_hosts, ', '.join(host.hostname for host in hosts)) 211 for host in hosts: 213 host=host, task=models.SpecialTask.Task.VERIFY)
|
/external/clang/ |
clang-host-build.mk | 45 define transform-host-clang-td-to-out 47 @echo "Host Clang TableGen: $(TBLGEN_LOCAL_MODULE) (gen-$(1)) <= $<" 51 -I $(LLVM_ROOT_PATH)/host/include \
|
/external/nist-sip/java/gov/nist/javax/sip/ |
ListeningPointImpl.java | 37 import gov.nist.core.Host; 86 * @param host host string 91 public static String makeKey(String host, int port, String transport) { 92 return new StringBuffer(host) 103 * @return get the host 249 targetHostPort.setHost(new Host( ipAddress));
|
/external/autotest/server/ |
site_host_attributes.py | 5 """Host attributes define properties on individual hosts. 7 Host attributes are specified a strings with the format: 41 We also consult the AFE database for its labels which are all treated as host 73 """Host attribute class for site specific attributes.""" 75 def __init__(self, host): 78 We look up the host in both the hardcoded configuration and the AFE 82 host: Host name to find attributes for. 85 if host in private_host_attributes: 86 logging.info('Including private_host_attributes file for %s', host) [all...] |