OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:urlString
(Results
1 - 25
of
301
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/apps/Messaging/src/com/android/messaging/util/
YouTubeUtil.java
36
public static String getYoutubePreviewImageLink(String
urlString
) {
44
if (!
urlString
.startsWith("http")) {
46
urlString
= "http://" +
urlString
;
48
final Uri uri = Uri.parse(
urlString
);
/external/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/
MainTest.java
32
assertEquals("http://example.com/", request.
urlString
());
39
assertEquals("http://example.com/", request.
urlString
());
47
assertEquals("http://example.com/", request.
urlString
());
56
assertEquals("http://example.com/", request.
urlString
());
66
assertEquals("http://example.com/", request.
urlString
());
74
assertEquals("http://example.com/", request.
urlString
());
82
assertEquals("http://example.com/", request.
urlString
());
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
BiDiTestBasic.java
71
String
urlString
= url.toString();
72
int urlLength =
urlString
.length();
75
int startSchemeIndex =
urlString
.startsWith("https") ? 5 : 0;
76
int startDomainIndex =
urlString
.indexOf(domainAndRegistry);
95
if (stopIndex <
urlString
.length()) {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.p2.console_1.0.200.v20100601.jar
/packages/apps/Messaging/src/android/support/v7/mms/
Utils.java
154
* @param
urlString
157
static String redactUrlForNonVerbose(String
urlString
) {
160
return
urlString
;
162
if (TextUtils.isEmpty(
urlString
)) {
163
return
urlString
;
168
final URL url = new URL(
urlString
);
177
.append("[").append(
urlString
.length()).append("]");
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
SystemIDResolver.java
83
String
urlString
;
87
urlString
= "file://" + absolutePath;
89
urlString
= "file:///" + absolutePath;
92
urlString
= "file:" + localPath;
94
return replaceChars(
urlString
);
275
* @param
urlString
SystemID string
281
public static String getAbsoluteURI(String
urlString
, String base)
285
return getAbsoluteURI(
urlString
);
292
uri = new URI(baseURI,
urlString
);
/external/apache-xml/src/main/java/org/apache/xml/utils/
SystemIDResolver.java
76
String
urlString
;
80
urlString
= "file://" + absolutePath;
82
urlString
= "file:///" + absolutePath;
85
urlString
= "file:" + localPath;
87
return replaceChars(
urlString
);
268
* @param
urlString
SystemID string
274
public static String getAbsoluteURI(String
urlString
, String base)
278
return getAbsoluteURI(
urlString
);
285
uri = new URI(baseURI,
urlString
);
/external/webrtc/webrtc/examples/objc/AppRTCDemo/
ARDAppEngineClient.m
45
NSString *
urlString
= nil;
47
urlString
=
50
urlString
=
54
NSURL *roomURL = [NSURL URLWithString:
urlString
];
95
NSString *
urlString
=
98
NSURL *url = [NSURL URLWithString:
urlString
];
136
NSString *
urlString
=
138
NSURL *url = [NSURL URLWithString:
urlString
];
ARDWebSocketChannel.m
99
NSString *
urlString
=
102
NSURL *url = [NSURL URLWithString:
urlString
];
116
NSString *
urlString
=
119
NSURL *url = [NSURL URLWithString:
urlString
];
/external/guava/guava/src/com/google/common/base/
FinalizableReferenceQueue.java
315
String
urlString
= finalizerUrl.toString();
316
if (!
urlString
.endsWith(finalizerPath)) {
317
throw new IOException("Unsupported path style: " +
urlString
);
319
urlString
=
urlString
.substring(0,
urlString
.length() - finalizerPath.length());
320
return new URL(finalizerUrl,
urlString
);
/frameworks/base/core/java/android/net/
PacProxySelector.java
69
String
urlString
;
77
urlString
= uri.toURL().toString();
79
urlString
= uri.getHost();
81
urlString
= uri.getHost();
84
response = mProxyService.resolvePacFile(uri.getHost(),
urlString
);
/cts/tests/tests/media/src/android/media/cts/
StreamingMediaPlayerTest.java
99
String
urlString
= dynamicConfig.getValue(HTTP_H263_AMR_VIDEO_1_KEY);
100
playVideoTest(
urlString
, 176, 144);
108
String
urlString
= dynamicConfig.getValue(HTTP_H263_AMR_VIDEO_2_KEY);
109
playVideoTest(
urlString
, 176, 144);
117
String
urlString
= dynamicConfig.getValue(HTTP_MPEG4_SP_AAC_VIDEO_1_KEY);
118
playVideoTest(
urlString
, 176, 144);
126
String
urlString
= dynamicConfig.getValue(HTTP_MPEG4_SP_AAC_VIDEO_2_KEY);
127
playVideoTest(
urlString
, 176, 144);
135
String
urlString
= dynamicConfig.getValue(HTTP_H264_BASE_AAC_VIDEO_1_KEY);
136
playVideoTest(
urlString
, 640, 360)
[
all
...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
InitialObjectDescriptor.java
36
bit(8)
URLstring
[URLlength];
59
String
urlString
;
84
urlString
= IsoTypeReader.readString(bb, urlLength);
124
sb.append(",
urlString
='").append(
urlString
).append('\'');
/developers/build/prebuilts/gradle/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/
MainActivity.java
118
private String loadFromNetwork(String
urlString
) throws IOException {
123
stream = downloadUrl(
urlString
);
136
* @param
urlString
A string representation of a URL.
140
private InputStream downloadUrl(String
urlString
) throws IOException {
142
URL url = new URL(
urlString
);
/developers/samples/android/connectivity/network/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/
MainActivity.java
118
private String loadFromNetwork(String
urlString
) throws IOException {
123
stream = downloadUrl(
urlString
);
136
* @param
urlString
A string representation of a URL.
140
private InputStream downloadUrl(String
urlString
) throws IOException {
142
URL url = new URL(
urlString
);
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
MainActivity.java
118
private String loadFromNetwork(String
urlString
) throws IOException {
123
stream = downloadUrl(
urlString
);
136
* @param
urlString
A string representation of a URL.
140
private InputStream downloadUrl(String
urlString
) throws IOException {
142
URL url = new URL(
urlString
);
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
ResultsUploader.java
81
@Nullable String
urlString
= resultProcessorConfig.options().get("url");
82
if (Strings.isNullOrEmpty(
urlString
)) {
87
this.uploadUri = Optional.of(new URI(
urlString
).resolve(POST_PATH));
89
throw new InvalidConfigurationException(
urlString
+ " is an invalid upload url", e);
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/
AboutPreferenceFragment.java
93
private void startActivityForUrl(String
urlString
) {
96
intent.setData(Uri.parse(
urlString
));
/external/jetty/src/java/org/eclipse/jetty/util/resource/
JarResource.java
142
String
urlString
= this.getURL().toExternalForm().trim();
143
int endOfJarUrl =
urlString
.indexOf("!/");
147
throw new IOException("Not a valid jar url: "+
urlString
);
149
URL jarFileURL = new URL(
urlString
.substring(startOfJarUrl, endOfJarUrl));
150
String subEntryName = (endOfJarUrl+2 <
urlString
.length() ?
urlString
.substring(endOfJarUrl + 2) : null);
/development/samples/training/threadsample/src/com/example/android/threadsample/
DisplayActivity.java
413
String
urlString
;
428
urlString
= intent.getDataString();
434
if (!
urlString
.equals(photoFragment.getURLString())) {
437
photoFragment.setPhoto(
urlString
);
449
photoFragment.setPhoto(
urlString
);
PhotoFragment.java
182
* @param
urlString
A String representation of the URL pointing to the picture
184
public void setPhoto(String
urlString
) {
185
mURLString =
urlString
;
/external/apache-xml/src/main/java/org/apache/xpath/
SourceTreeManager.java
110
* @param
urlString
Value from an xsl:import or xsl:include's href attribute,
119
String base, String
urlString
, SourceLocator locator)
127
source = m_uriResolver.resolve(
urlString
, base);
132
String uri = SystemIDResolver.getAbsoluteURI(
urlString
, base);
228
* @param base The base URI to use if the
urlString
is relative.
229
* @param
urlString
An absolute or relative URL string.
233
* base and
urlString
.
238
String base, String
urlString
, SourceLocator locator, XPathContext xctxt)
245
Source source = this.resolveURI(base,
urlString
, locator);
247
// System.out.println("getSourceTree - base: "+base+",
urlString
: "+urlString+", source: "+source.getSystemId())
[
all
...]
/packages/services/Mms/src/com/android/mms/service/
MmsHttpClient.java
100
* @param
urlString
The request URL, for sending it is usually the MMSC, and for downloading
113
public byte[] execute(String
urlString
, byte[] pdu, String method, boolean isProxySet,
116
LogUtil.d(requestId, "HTTP: " + method + " " + redactUrlForNonVerbose(
urlString
)
127
final URL url = new URL(
urlString
);
216
final String redactedUrl = redactUrlForNonVerbose(
urlString
);
220
final String redactedUrl = redactUrlForNonVerbose(
urlString
);
415
* @param
urlString
418
public static String redactUrlForNonVerbose(String
urlString
) {
421
return
urlString
;
423
if (TextUtils.isEmpty(
urlString
)) {
[
all
...]
/development/samples/training/network-usage/src/com/example/android/networkusage/
NetworkActivity.java
215
private String loadXmlFromNetwork(String
urlString
) throws XmlPullParserException, IOException {
235
stream = downloadUrl(
urlString
);
265
private InputStream downloadUrl(String
urlString
) throws IOException {
266
URL url = new URL(
urlString
);
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
NetworkActivity.java
215
private String loadXmlFromNetwork(String
urlString
) throws XmlPullParserException, IOException {
235
stream = downloadUrl(
urlString
);
265
private InputStream downloadUrl(String
urlString
) throws IOException {
266
URL url = new URL(
urlString
);
Completed in 967 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>