/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowIntentFilterAuthorityEntry.java | 9 private String host; field in class:ShadowIntentFilterAuthorityEntry 12 public void __constructor__(String host, String port) { 13 this.host = host; 23 return host;
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowAppWidgetHostView.java | 14 private AppWidgetHost host; field in class:ShadowAppWidgetHostView 33 return host; 36 public void setHost(AppWidgetHost host) { 37 this.host = host;
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-x86-64/ |
dwarfreloc.exp | 80 set status [remote_exec host [concat sh -c [list "$cmd >dump.out 2>ld.stderr"]] "" "/dev/null"] 82 remote_upload host "ld.stderr" 84 remote_file host delete "ld.stderr" 91 remote_upload host "dump.out" 99 remote_file host delete "dump.out" 105 set status [remote_exec host [concat sh -c [list "$cmd >dump.out 2>ld.stderr"]] "" "/dev/null"] 107 remote_upload host "ld.stderr" 109 remote_file host delete "ld.stderr" 116 remote_upload host "dump.out" 124 remote_file host delete "dump.out [all...] |
/external/autotest/client/common_lib/cros/ |
path_utils.py | 11 def get_install_path(filename, host=None): 16 @param host Host object representing the remote machine. 21 if host is not None: 22 run = host.run 34 result = host.run('ls %s 2> /dev/null' % ' '.join(glob_list), 40 def must_be_installed(cmd, host=None): 46 @param host Host object representing the remote machine. 51 if host is not None [all...] |
/external/autotest/cli/ |
change_protection_level.py | 7 from autotest_lib.cli import rpc, host 23 for host in hosts: 25 afe_proxy.run('modify_host', host['id'], protection=protection_level) 27 print 'For host %s:', host['hostname'] 30 print 'Host %s succeeded' % host['hostname'] 33 print ','.join(set(leftover_args[1:]) - set(host['hostname'] for host in hosts))
|
/external/autotest/server/site_tests/platform_ActivateDate/ |
platform_ActivateDate.py | 17 def run_once(self, host): 18 host.run('truncate -s 0 /var/log/messages') 19 host.run('activate_date --clean') 23 host.reboot() 36 success = 'Activation date set' in host.run(get_log_cmd).stdout 46 host.reboot() 48 if not host.run('vpd_get_value ActivateDate').stdout:
|
/external/curl/lib/vauth/ |
vauth.c | 40 * service/host@realm (Not currently used) 41 * service/host (Not used by GSS-API) 47 * host [in] - The host name. 53 char *Curl_auth_build_spn(const char *service, const char *host, 59 if(host && realm) 60 spn = aprintf("%s/%s@%s", service, host, realm); 61 else if(host) 62 spn = aprintf("%s/%s", service, host); 70 TCHAR *Curl_auth_build_spn(const char *service, const char *host, [all...] |
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/media/ |
PlaybackControlGlueTest.java | 105 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); local 107 mGlue.setHost(host); 108 Mockito.verify(mGlue, times(1)).onAttachedToHost(host); 109 assertSame(mGlue, host.mGlue); 110 assertSame(host, mGlue.getHost()); 111 assertTrue(host.mPlaybackRowPresenter instanceof PlaybackControlsRowPresenter); 112 assertTrue(host.mRow instanceof PlaybackControlsRow); 131 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); local 133 mGlue.setHost(host); 134 Mockito.verify(mGlue, times(1)).onAttachedToHost(host); 153 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); local 182 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); local [all...] |
/external/autotest/server/site_tests/audio_AudioRoutingUSB/ |
audio_AudioRoutingUSB.py | 17 def get_opened_device(self, host): 19 output = host.run('lsof -Fn +D /dev/snd', ignore_status=True).stdout 22 def run_once(self, host): 24 host.run('aplay /dev/zero </dev/null >/dev/null 2>&1 &') 25 self.run_test_while_audio_is_playing(host) 27 host.run('killall aplay') 29 def run_test_while_audio_is_playing(self, host): 30 host.servo.set('dut_usb2_prtctl', 'on') 33 host.servo.set('usb_mux_oe2', 'off') 35 dev1 = self.get_opened_device(host) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
RecyclerViewAccessibilityDelegate.java | 43 public boolean performAccessibilityAction(View host, int action, Bundle args) { 44 if (super.performAccessibilityAction(host, action, args)) { 55 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { 56 super.onInitializeAccessibilityNodeInfo(host, info); 64 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { 65 super.onInitializeAccessibilityEvent(host, event); 67 if (host instanceof RecyclerView && !shouldIgnore()) { 68 RecyclerView rv = (RecyclerView) host; 86 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { 87 super.onInitializeAccessibilityNodeInfo(host, info) [all...] |
/external/autotest/server/site_tests/platform_Vpd/ |
platform_Vpd.py | 39 def get_stat(self, host, path): 40 """Return user, group and permissions of file on host. 42 @param host: the host machine to test 48 if not self.file_exists(host, path): 51 user = host.run('stat -c %U ' + path).stdout.strip() 52 group = host.run('stat -c %G ' + path).stdout.strip() 53 mode = host.run('stat -c %a ' + path).stdout.strip() 57 def file_exists(self, host, path): 60 @param host: the host machin [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
Scenario.java | 24 import com.google.caliper.model.Host.HostFunnel; 38 private Host host; field in class:Scenario 45 this.host = Host.DEFAULT; 51 this.host = builder.host; 56 public Host host() { method in class:Scenario 57 return host; 106 private Host host; field in class:Scenario.Builder 110 public Builder host(Host.Builder hostBuilder) { method in class:Scenario.Builder 114 public Builder host(Host host) { method in class:Scenario.Builder [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/autotest/server/ |
adb_utils.py | 18 def install_apk_from_build(host, apk, build_artifact, package_name=None, 22 @param host: An ADBHost object to install apk. 38 if host.is_apk_installed(package_name): 42 # Pull devserver_url given ARC++ enabled host 44 host.hostname).url() 48 info = host.host_info_store.get() 49 job_repo_url = info.attributes.get(host.job_repo_url_attribute, '') 52 'The host %s has no attribute %s. `install_apk_from_build` ' 54 (host.hostname, host.job_repo_url_attribute) [all...] |
/external/ltp/testcases/network/multicast/mc_gethost/ |
mc_gethost.c | 0 /* host - print information about a host 5 /* DECWRL Header: host.c,v 1.1 89/04/05 15:41:12 vixie Locked $ */ 29 struct hostent *host; local 73 if (!(host = gethostbyaddr((char *)b_addr, size, af))) { 80 host = gethostbyname2(arg, af); 82 host = gethostbyname(arg); 83 if (!host) { 88 printf("name: %s\n", host->h_name); 89 if (host->h_aliases && *host->h_aliases) [all...] |
/external/autotest/server/hosts/ |
cros_firmware_unittest.py | 97 host = mock.Mock() 98 host.run.return_value = result 100 fw = cros_firmware._get_available_firmware(host, 'lumpy') 106 host = mock.Mock() 107 host.run.return_value = result 109 fw = cros_firmware._get_available_firmware(host, 'lumpy') 115 host = mock.Mock() 116 host.run.return_value = result 118 fw = cros_firmware._get_available_firmware(host, 'lumpy') 124 host = mock.Mock( [all...] |
/external/autotest/server/cros/ |
provision_actionables.py | 17 def execute(self, job, host, *args, **kwargs): 21 @param host: A host to run this action against. 45 def execute(self, job, host, *args, **kwargs): 49 @param host: A host to run this action against. 56 return job.run_test(self.test, host=host, *args, **kwargs) 62 def execute(self, job, host, *args, **kwargs): 66 @param host: A host to run this action against [all...] |
/external/autotest/server/site_tests/android_Invariants/ |
android_Invariants.py | 24 self.host.run('test %s -%s %s' % ('!' if negative else '', test, path)) 37 tokens = self.host.run_output('ls -LZ %s' % path).split() 47 hardware = self.host.run_output('getprop ro.hardware') 51 def run_once(self, host=None): 54 @param host: host object representing the device under test. 56 self.host = host
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
RFC2109DomainHandler.java | 75 String host = origin.getHost(); local 80 if (!domain.equals(host)) { 85 + "\" does not match the host \"" 86 + host + "\""); 101 host = host.toLowerCase(Locale.ENGLISH); 102 if (!host.endsWith(domain)) { 105 + "\". Domain of origin: \"" + host + "\""); 107 // host minus domain may not contain any dots 108 String hostWithoutDomain = host.substring(0, host.length() - domain.length()) 124 String host = origin.getHost(); local [all...] |
/external/autotest/contrib/ |
deploy_puppet.sh | 82 for host in ${hosts}; do 83 echo ${host} 88 for host in ${hosts}; do 89 run_puppet="ssh ${host} -- 'sudo /root/chromeos-admin/puppet/sync_and_run_puppet -f'" 90 echo -e "\n********** Processing ${host} ****************\n" 95 echo -e "\n********* Finished processing ${host} *******\n"
|
haveservo | 4 # DUT, if there's a corresponding servo host name, print the DUT's 17 for host in [l.strip() for l in sys.stdin.readlines()]: 18 servo_name = servo_host.make_servo_hostname(host.strip()) 20 print host
|
shared_hosts.py | 18 for host in cautotest_hosts: 19 if host in cautotest_cq_hosts: 20 print host
|
/external/autotest/server/cros/cfm/configurable_test/ |
action_context.py | 8 host=None, 23 @param host an Host instance. 30 # TODO(kerl) consider using a facade to the Host to only provide an 32 self.host = host
|
configurable_cfm_test.py | 32 File contents collector that executes commands against the host. 34 def __init__(self, host): 36 Initializes with a host. 38 @param host a host object as available from CfmBaseTest.host 40 self.host = host 49 return self.host.run_output('cat "%s"' % path) 57 def initialize(self, host, cfm_test) [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
PeerInfoProvider.java | 19 * A provider for the peer host and port information. 46 * This method attempts to create a textual representation of the peer host or IP. Does 60 static PeerInfoProvider forHostAndPort(final String host, final int port) { 64 return host; 69 return host;
|