/external/nist-sip/java/gov/nist/javax/sip/stack/ |
HopImpl.java | 54 protected String host; field in class:HopImpl 65 return host + ":" + port + "/" + transport; 69 * Create new hop given host, port and transport. 75 host = hostName; 79 if(host.indexOf(":") >= 0) 80 if(host.indexOf("[") < 0) 81 host = "[" + host + "]"; 90 * @param hop is a hop string in the form of host:port/Transport 104 this.host = hop.substring(0,colon) [all...] |
/external/okhttp/android/main/java/com/squareup/okhttp/ |
HttpHandler.java | 113 String host = url.getHost(); local 114 if (!NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted(host)) { 115 throw new IOException("Cleartext HTTP traffic to " + host + " not permitted");
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
WebPlatformUrlTestData.java | 42 String host = ""; field in class:WebPlatformUrlTestData 64 host = value;
|
/external/tensorflow/tensorflow/core/lib/io/ |
path.cc | 68 // no "/" in the path, the first part of the output is the scheme and host, and 72 StringPiece scheme, host, path; local 73 ParseURI(uri, &scheme, &host, &path); 81 return std::make_pair(StringPiece(uri.begin(), host.end() - uri.begin()), 207 void ParseURI(StringPiece remaining, StringPiece* scheme, StringPiece* host, 221 *host = StringPiece(remaining.begin(), 0); 226 // 1. Parse host 227 if (!strings::Scanner(remaining).ScanUntil('/').GetResult(&remaining, host)) { 228 // No path, so the rest of the URI is the host. 229 *host = remaining [all...] |
/external/tensorflow/tensorflow/core/platform/ |
file_system_test.cc | 122 StringPiece scheme, host, path; local 123 io::ParseURI(name, &scheme, &host, &path); 125 ASSERT_EQ(host, "solarsystem");
|
/external/testng/src/main/java/org/testng/internal/remote/ |
SlavePool.java | 42 Socket host = null; local 45 host = m_hosts.take(); 46 result = m_connectionInfos.get(host);
|
/external/testng/src/main/java/org/testng/remote/adapter/ |
DefaultMastertAdapter.java | 43 // Create one socket per host found
47 String host = m_hosts[i];
local 48 String[] s = host.split(":");
55 Utils.error("Couldn't connect to " + host + ": " + e.getMessage());
|
/external/vogar/src/vogar/ |
SshTarget.java | 31 * Runs actions on a remote host using SSH. 35 private final String host; field in class:SshTarget 45 host = hostAndPort.substring(0, colon); 48 host = hostAndPort; 51 sshCommandPrefixList = ImmutableList.of("ssh", "-p", Integer.toString(port), host, "-C"); 93 new Command(log, "ssh", "-p", Integer.toString(port), host, 94 "-L", port + ":" + host + ":" + port, "-N").start(); 102 local.getPath(), host + ":" + remote.getPath()).execute(); 111 host + ":" + remote.getPath(), local.getPath()).execute();
|
/frameworks/base/cmds/statsd/src/external/ |
puller_util.cpp | 56 Value& host = (*host_values)[i - 1].mValue; local 58 if (child.getType() != host.getType()) { 63 host.setInt(host.int_value + child.int_value); 66 host.setLong(host.long_value + child.long_value); 90 * Process all data and merge isolated with host if necessary. 128 // map of host uid to their position in the original vector
|
/frameworks/base/core/java/android/net/ |
PacProxySelector.java | 123 String host = hostPort[0]; local 125 return new Proxy(type, InetSocketAddress.createUnresolved(host, port));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
DozeFactory.java | 49 DozeHost host = getHost(dozeService); local 57 wrappedService = new DozeBrightnessHostForwarder(wrappedService, host); 66 createDozeTriggers(context, sensorManager, host, alarmManager, config, params, 68 createDozeUi(context, host, wakeLock, machine, handler, alarmManager, params), 70 createDozeScreenBrightness(context, wrappedService, sensorManager, host, params, 79 DozeMachine.Service service, SensorManager sensorManager, DozeHost host, 83 return new DozeScreenBrightness(context, service, sensorManager, sensor, host, handler, 88 DozeHost host, AlarmManager alarmManager, AmbientDisplayConfiguration config, 91 return new DozeTriggers(context, machine, host, alarmManager, config, params, 95 private DozeMachine.Part createDozeUi(Context context, DozeHost host, WakeLock wakeLock [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...] |
/libcore/ojluni/src/main/java/java/util/logging/ |
SocketHandler.java | 59 * <li> <handler-name>.host 60 * specifies the target host name to connect to (no default). </li> 85 private String host; field in class:SocketHandler 109 host = manager.getStringProperty(cname + ".host", null); 116 * @throws IllegalArgumentException if the host or port are invalid or 119 * host and port. 129 System.err.println("SocketHandler: connect failed to " + host + ":" + port); 136 * Construct a <tt>SocketHandler</tt> using a specified host and port. 139 * properties (or their default values) except that the given target host [all...] |
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
FakeSSLSession.java | 25 final String host; field in class:FakeSSLSession 27 public FakeSSLSession(String host) { 28 this.host = host; 44 return host.getBytes(); 72 return host;
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/ |
PawSecretCodeListener.java | 60 String host = intent.getData().getHost(); local 61 if (TextUtils.isEmpty(host)) { 69 if (!TextUtils.equals(secretCode, host)) {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
CertificateRequestor.java | 32 public static final String EXTRA_HOST = "CertificateRequestor.host"; 45 String host = i.getStringExtra(EXTRA_HOST); local 52 host, port,
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
Utils.java | 151 * Redact the URL for non-VERBOSE logging. Replace url with only the host part and the length 166 String host = ""; local 170 host = url.getHost(); 174 // Print "http://host[length]" 176 sb.append(protocol).append("://").append(host)
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
EmailAddress.java | 67 * @param host A string representing the host following the '@' symbol 69 public EmailAddress(final String user, final String host) { 70 this(user, host, false); 77 * @param host A string representing the host following the '@' symbol 80 public EmailAddress(final String user, final String host, final boolean i18n) { 83 setHost(host); 97 (atIndex == (emailString.length() - 1))) { // last character, no host 102 host = emailString.substring(atIndex + 1) 270 protected String host = null; field in class:EmailAddress [all...] |
YouTubeUtil.java | 49 final String host = uri.getHost(); local 50 if (YOUTUBE_HOST_1.equalsIgnoreCase(host) 51 || YOUTUBE_HOST_2.equalsIgnoreCase(host) 52 || YOUTUBE_HOST_3.equalsIgnoreCase(host) 53 || YOUTUBE_HOST_4.equalsIgnoreCase(host) 54 || YOUTUBE_HOST_5.equalsIgnoreCase(host)) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
AdvancedOptionsFlowUtil.java | 60 String host = flowInfo.get(AdvancedOptionsFlowInfo.PROXY_HOSTNAME); local 67 result = WifiConfigHelper.validate(host, portStr, exclusionList); 72 mIpConfiguration.setHttpProxy(new ProxyInfo(host, port, exclusionList));
|
/system/extras/multinetwork/ |
httpurl.cpp | 38 std::string host; member in struct:Parameters 54 parameters->host = std::string(args.arg1).substr(strlen(HTTP_PREFIX)); 55 const auto first_slash = parameters->host.find_first_of('/'); 57 parameters->path = parameters->host.substr(first_slash); 58 parameters->host.erase(first_slash); 61 if (parameters->host.size() == 0) { 62 std::cerr << "Host portion cannot be empty." << std::endl; 66 if (parameters->host[0] == '[') { 67 const auto closing_bracket = parameters->host.find_first_of(']'); 72 parameters->hostname = parameters->host.substr(1, closing_bracket - 1) [all...] |
/tools/tradefederation/core/prod-tests/src/com/android/wireless/tests/ |
RadioHelper.java | 108 String failString = "ping: unknown host"; 111 String host = PING_SERVER_LIST[i]; local 112 CLog.d("Start ping test, ping %s", host); 113 String res = mDevice.executeShellCommand("ping -c 10 -w 100 " + host);
|
/development/ide/emacs/ |
android-common.el | 92 (defun android-host () 135 (defun android-find-host-bin (binary) 136 "Return the full path to the host BINARY. 137 Binaries don't depend on the device, just on the host type. 138 Try first to locate BINARY in the out/host tree. Fallback using 141 (let ((path (concat (android-find-build-tree-root) "out/host/" 142 (android-host) "/bin/" binary))) 151 (android-find-host-bin "adb")) 158 (concat (android-find-host-bin "fastboot") " -p " (android-product)))
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
TabHostTest.java | 203 TabHost host = new TabHost(activity); local 204 assertThat(host.getTabWidget(), instanceOf(TabWidget.class));
|
/bionic/tests/ |
ifaddrs_test.cpp | 174 char host[NI_MAXHOST]; local 178 host, NI_MAXHOST, nullptr, 0, NI_NUMERICHOST); 181 strcpy(host, "???"); 183 printf("\t\t%s: <%s>\n", what, host);
|