Home
last modified time | relevance | path

Searched refs:getUserInfo (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DHandler.java44 String userInfo1 = u1.getUserInfo(); in equals()
45 String userInfo2 = u2.getUserInfo(); in equals()
DFtpURLConnection.java184 String userInfo = url.getUserInfo(); in FtpURLConnection()
/libcore/luni/src/test/java/libcore/java/net/
DURLTest.java48 assertEquals("username:password", url.getUserInfo()); in testUrlParts()
307 assertEquals(null, url.getUserInfo()); in testNoHost()
328 assertEquals(null, url.getUserInfo()); in testEmptyHostAndNoPath()
342 assertEquals(null, url.getUserInfo()); in testNoHostAndNoPath()
356 assertNull(url.getUserInfo()); in testAtSignInUserInfo()
363 assertEquals("user", url.getUserInfo()); in testUserNoPassword()
370 assertEquals("user", url.getUserInfo()); in testUserNoPasswordExplicitPort()
378 assertEquals("user:password", url.getUserInfo()); in testUserPasswordHostPort()
386 assertEquals("user:password", url.getUserInfo()); in testUserPasswordEmptyHostPort()
394 assertEquals("user:password", url.getUserInfo()); in testUserPasswordEmptyHostEmptyPort()
[all …]
DURITest.java31 assertEquals("username:password", uri.getUserInfo()); in testUriParts()
135 assertEquals(null, uri.getUserInfo()); in testAtSignInUserInfo()
142 assertEquals("user", uri.getUserInfo()); in testUserNoPassword()
151 assertEquals(null, uri.getUserInfo()); in testUserNoHost()
158 assertEquals("user", uri.getUserInfo()); in testUserNoPasswordExplicitPort()
166 assertEquals("user:password", uri.getUserInfo()); in testUserPasswordHostPort()
175 assertEquals(null, uri.getUserInfo()); in testUserPasswordEmptyHostPort()
184 assertEquals(null, uri.getUserInfo()); in testUserPasswordEmptyHostEmptyPort()
213 assertEquals(null, uri.getUserInfo()); in testAtSignInPath()
598 assertEquals("user:pa55w?rd", uri.getUserInfo()); in testEncodingParts()
DOldURLTest.java158 .getUserInfo()); in testURLString()
496 assertEquals("Assert 0: Wrong user","myUser:password",url.getUserInfo()); in testGetUserInfo()
497 String userInfo = urlNoUserInfo.getUserInfo(); in testGetUserInfo()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURITest.java288 assertNull("wrong userinfo", uri.getUserInfo()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String()
382 assertEquals("wrong userinfo", "us:e@r", uri.getUserInfo()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_lang_StringLjava_lang_String()
482 assertNull("wrong authority", uri.getUserInfo()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String()
483 assertNull("wrong userinfo", uri.getUserInfo()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String()
1201 String result = uris[i].getUserInfo(); in test_getUserInfo()
DURLTest.java932 assertNull(testURL.getUserInfo()); in test_getAuthority()
941 assertNull(testURL.getUserInfo()); in test_getAuthority()
949 assertNull("wrong userInfo2", testURL.getUserInfo()); in test_getAuthority()
/libcore/ojluni/annotations/hiddenapi/java/net/
DURL.java104 public java.lang.String getUserInfo() { in getUserInfo() method in URL
DURI.java138 public java.lang.String getUserInfo() { in getUserInfo() method in URI
/libcore/ojluni/src/main/java/java/net/
DURLStreamHandler.java126 String userInfo = u.getUserInfo(); in parseURL()
DURL.java767 public String getUserInfo() { in getUserInfo() method in URL
DURI.java1221 public String getUserInfo() { in getUserInfo() method in URI
1947 appendSchemeSpecificPart(sb, null, getAuthority(), getUserInfo(), in defineSchemeSpecificPart()
/libcore/api/
Dcurrent.txt6103 method public String getUserInfo();
6141 method public String getUserInfo();