/external/autotest/contrib/ |
dhcp_failed_machines.py | 29 if line.split() and line.split()[0] == 'host': 41 r'(?P<command>[A-Z]+) (?:from|on|for) (?P<host>\d+.\d+.\d+.\d+)') 59 host = m.group('host') 61 offers[host] = offers.get(host, 0) + 1 62 if offers[host] > 2: 63 offenders.add(host) 65 offers[host] = 0
|
servo-stat | 7 # The DUT name is the host name without the .cros, or -servo. 27 # possible errors about host keys, so we need a temporary file 28 # where host keys can be cached. 60 local host=$1 63 atest host stat $host | awk "/^$attr *: / {count++; print \$3} 68 local host=$1 70 # Get the servo host from the afe. If not present, infer it from the hostname. 71 local servo_host=$(get_afe_host_attr $host servo_host ${host}-servo [all...] |
/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...] |
/external/autotest/server/site_tests/firmware_ConsecutiveLidSwitch/ |
firmware_ConsecutiveLidSwitch.py | 28 def initialize(self, host, cmdline_args): 32 super(firmware_ConsecutiveLidSwitch, self).initialize(host, 46 def run_once(self, host): 50 autotest_client = autotest.Autotest(host) 54 original_boot_id = host.get_boot_id() 72 boot_id = host.get_boot_id()
|
/external/autotest/server/site_tests/firmware_ECWakeSource/ |
firmware_ECWakeSource.py | 22 def initialize(self, host, cmdline_args): 23 super(firmware_ECWakeSource, self).initialize(host, cmdline_args) 41 def run_once(self, host): 48 autotest_client = autotest.Autotest(host) 52 original_boot_id = host.get_boot_id() 76 boot_id = host.get_boot_id()
|
/external/javassist/src/main/javassist/ |
URLClassPath.java | 46 * <p>Here, we assume that <code>host</code> is "www.javassist.org", 52 * @param host host name 59 public URLClassPath(String host, int port, 61 hostname = host; 122 * @param host host name 129 public static byte[] fetchClass(String host, int port, 134 URLConnection con = fetchClass0(host, port, 161 private static URLConnection fetchClass0(String host, int port [all...] |
/external/python/cpython2/Tools/ssl/ |
get-remote-certificate.py | 5 # args are HOST:PORT [, HOST:PORT...] 11 def fetch_server_certificate (host, port): 55 (host, port, tfile)) 61 (host, port)) 67 (host, port)) 77 host, port = arg.split(":") 78 sys.stdout.write(fetch_server_certificate(host, int(port)))
|
/prebuilts/go/darwin-x86/src/net/http/cookiejar/ |
jar_test.go | 181 for host, want := range hasPortTests { 182 if got := hasPort(host); got != want { 183 t.Errorf("%q: got %t, want %t", host, got, want) 213 for host, want := range jarKeyTests { 214 if got := jarKey(host, testPSL{}); got != want { 215 t.Errorf("%q: got %q, want %q", host, got, want) 243 for host, want := range jarKeyNilPSLTests { 244 if got := jarKey(host, nil); got != want { 245 t.Errorf("%q: got %q, want %q", host, got, want) 261 for host, want := range isIPTests [all...] |
jar.go | 116 // request to host/path. It is the caller's responsibility to check if the 118 func (e *entry) shouldSend(https bool, host, path string) bool { 119 return e.domainMatch(host) && e.pathMatch(path) && (https || !e.Secure) 123 func (e *entry) domainMatch(host string) bool { 124 if e.Domain == host { 127 return !e.HostOnly && hasDotSuffix(host, e.Domain) 162 host, err := canonicalHost(u.Host) 166 key := jarKey(host, j.psList) 190 if !e.shouldSend(https, host, path) [all...] |
/prebuilts/go/darwin-x86/src/net/ |
netgo_unix_test.go | 17 host := "localhost" 19 _, err, ok := cgoLookupIP(ctx, host) 26 if _, err := DefaultResolver.goLookupIP(ctx, host); err != nil {
|
/prebuilts/go/linux-x86/src/net/http/cookiejar/ |
jar_test.go | 181 for host, want := range hasPortTests { 182 if got := hasPort(host); got != want { 183 t.Errorf("%q: got %t, want %t", host, got, want) 213 for host, want := range jarKeyTests { 214 if got := jarKey(host, testPSL{}); got != want { 215 t.Errorf("%q: got %q, want %q", host, got, want) 243 for host, want := range jarKeyNilPSLTests { 244 if got := jarKey(host, nil); got != want { 245 t.Errorf("%q: got %q, want %q", host, got, want) 261 for host, want := range isIPTests [all...] |
jar.go | 116 // request to host/path. It is the caller's responsibility to check if the 118 func (e *entry) shouldSend(https bool, host, path string) bool { 119 return e.domainMatch(host) && e.pathMatch(path) && (https || !e.Secure) 123 func (e *entry) domainMatch(host string) bool { 124 if e.Domain == host { 127 return !e.HostOnly && hasDotSuffix(host, e.Domain) 162 host, err := canonicalHost(u.Host) 166 key := jarKey(host, j.psList) 190 if !e.shouldSend(https, host, path) [all...] |
/prebuilts/go/linux-x86/src/net/ |
netgo_unix_test.go | 17 host := "localhost" 19 _, err, ok := cgoLookupIP(ctx, host) 26 if _, err := DefaultResolver.goLookupIP(ctx, host); err != nil {
|
/toolchain/binutils/binutils-2.27/binutils/testsuite/binutils-all/ |
size.exp | 23 if ![is_remote host] { 37 if [is_remote host] { 38 set testfile [remote_download host tmpdir/bintest.o]
|
/cts/tests/signature/tests/ |
run_unit_tests.sh | 27 HOST=`uname` 28 if [ "$HOST" == "Linux" ]; then 30 elif [ "$HOST" == "Darwin" ]; then 38 JAR_DIR=${ANDROID_BUILD_TOP}/out/host/$OS/framework 47 -cp ${JAR_PATH} com.android.tradefed.command.Console run singleCommand host -n --class android.signature.cts.tests.AllTests "$@"
|
/development/build/tools/ |
patch_windows_sdk.sh | 30 # $2 = The out/host/windows directory, which contains the new Windows 74 ${TOPDIR}out/host/linux-x86/bin/atree -f ${TOPDIR}development/build/sdk-windows-x86.atree \ 75 -I $WIN_OUT_DIR/host/windows-x86 \ 90 cp -f $V $WIN_OUT_DIR/host/windows-x86/bin/$i $TEMP_SDK_DIR/../$i 94 cp -f $V $WIN_OUT_DIR/host/windows-x86/lib/$i $TEMP_SDK_DIR/../$i
|
/external/autotest/server/site_tests/brillo_DiskSizeTest/ |
brillo_DiskSizeTest.py | 18 def run_once(self, host=None, path=_DEFAULT_PATH, 22 @param host: a host object representing the DUT. 29 df_output = host.run_output('df %s' % path).splitlines()
|
/external/autotest/server/site_tests/brillo_KernelVersionTest/ |
brillo_KernelVersionTest.py | 18 def run_once(self, host=None, min_version=_DEFAULT_MIN_VERSION): 21 @param host: A host object representing the DUT. 28 result = host.run_output('uname -r').strip()
|
/external/autotest/server/site_tests/display_LidCloseOpen/ |
display_LidCloseOpen.py | 38 self.host.servo.lid_close() 45 self.host.servo.lid_open() 72 if self.host.ping_wait_down(timeout=self.TIMEOUT_SUSPEND_TRANSITION): 83 if not self.host.ping_wait_down(timeout=self.TIMEOUT_SUSPEND_CHECK): 101 def run_once(self, host, plug_status, test_mirrored=False): 104 if not host.get_board_type() == 'CHROMEBOOK': 108 board_name = host.get_board().split(':')[1] 113 self.host = host 118 if self.host.servo is None [all...] |
/external/autotest/server/site_tests/enterprise_KioskEnrollmentServer/ |
enterprise_KioskEnrollmentServer.py | 14 def run_once(self, host=None, kiosk_app_attributes=None): 15 self.client = host
|
/external/autotest/server/site_tests/firmware_Cr50RejectUpdate/ |
firmware_Cr50RejectUpdate.py | 26 def initialize(self, host, cmdline_args): 28 super(firmware_Cr50RejectUpdate, self).initialize(host, cmdline_args, 38 if cr50_utils.GetChipBoardId(host) == cr50_utils.ERASED_CHIP_BID: 45 self.host = host 50 self.host.reboot() 69 self.host.send_file(path, self.TEST_PATH) 77 result = self.host.run('gsctool -a %s %s' % (arg, self.TEST_PATH),
|
/external/autotest/server/site_tests/firmware_FWMPDisableCCD/ |
firmware_FWMPDisableCCD.py | 22 def initialize(self, host, cmdline_args, ccd_lockout): 24 super(firmware_FWMPDisableCCD, self).initialize(host, cmdline_args) 26 self.host = host 49 result = self.host.run('gsctool -U -a', 115 tpm_utils.ClearTPMOwnerRequest(self.host, wait_for_ready=True) 118 autotest.Autotest(self.host).run_test('firmware_SetFWMP', flags=flags, 140 tpm_utils.ClearTPMOwnerRequest(self.host)
|
/external/autotest/server/site_tests/firmware_TPMVersionCheck/ |
firmware_TPMVersionCheck.py | 17 def initialize(self, host, cmdline_args, dev_mode=False, ec_wp=None): 18 super(firmware_TPMVersionCheck, self).initialize(host, cmdline_args,
|
/external/autotest/tko/ |
db_mysql.py | 9 def connect(self, host, database, user, password, port): 11 'host': host,
|
/external/chromium-libpac/test/js-unittest/ |
binding_from_global.js | 6 function FindProxyForURL(url, host) {
|