/frameworks/base/core/java/android/net/ |
D | Uri.java | 367 String scheme = getScheme(); in toSafeString() local 369 if (scheme != null) { in toSafeString() 370 if (scheme.equalsIgnoreCase("tel") || scheme.equalsIgnoreCase("sip") in toSafeString() 371 || scheme.equalsIgnoreCase("sms") || scheme.equalsIgnoreCase("smsto") in toSafeString() 372 || scheme.equalsIgnoreCase("mailto")) { in toSafeString() 374 builder.append(scheme); in toSafeString() 387 } else if (scheme.equalsIgnoreCase("http") || scheme.equalsIgnoreCase("https") in toSafeString() 388 || scheme.equalsIgnoreCase("ftp")) { in toSafeString() 398 if (scheme != null) { in toSafeString() 399 builder.append(scheme); in toSafeString() [all …]
|
D | WebAddress.java | 145 public void setScheme(String scheme) { in setScheme() argument 146 mScheme = scheme; in setScheme()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriTest.java | 48 .scheme("http") in testParcelling() 76 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); in testBuildUponOpaqueStringUri() 141 .scheme("http") in testEqualsAndHashCode() 150 .scheme("http") in testEqualsAndHashCode() 204 .scheme("foo") in testBuildUponEncodedOpaqueUri() 361 .scheme("mailto") in testOpaqueUri() 413 private static void testHierarchical(String scheme, String authority, in testHierarchical() argument 429 if (scheme != null) { in testHierarchical() 430 sb.insert(0, scheme + ":"); in testHierarchical() 442 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical() [all …]
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
D | IntentFilterVerificationReceiver.java | 87 String scheme = inputExtras.getString( in onReceive() local 113 sourceAssets.add(createWebAssetString(scheme, host)); in onReceive() 136 logValidationParametersForCTS(verificationId, scheme, finalHosts, packageName); in onReceive() 149 private void logValidationParametersForCTS(int verificationId, String scheme, in logValidationParametersForCTS() argument 152 Log.i(TAG, String.format(CTS_LOG_FORMAT, verificationId, scheme, hostString, packageName)); in logValidationParametersForCTS() 168 private String createWebAssetString(String scheme, String host) throws MalformedURLException { in createWebAssetString() argument 172 if (!scheme.equals("http") && !scheme.equals("https")) { in createWebAssetString() 176 return String.format(WEB_ASSET_FORMAT, new URL(scheme, host, "").toString()); in createWebAssetString()
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | data-element.jd | 8 <dd><pre class="stx"><data android:<a href="#scheme">scheme</a>="<i>string</i>" 27 {@code <scheme>://<host>:<port>[<path>|<pathPrefix>|<pathPattern>]}</p> 32 …<li>If a <code><a href="{@docRoot}guide/topics/manifest/data-element.html#scheme">scheme</a></code> 45 <data android:scheme="something" android:host="project.example.com" /> 52 <data android:scheme="something" /> 75 <dt><a name="scheme"></a>{@code android:scheme}</dt> 76 <dd>The scheme part of a URI. This is the minimal essential attribute for 77 specifying a URI; at least one {@code scheme} attribute must be set 81 A scheme is specified without the trailing colon (for example, 88 attribute) but no scheme, the {@code content:} and {@code file:} schemes are [all …]
|
/frameworks/base/core/java/android/text/util/ |
D | Linkify.java | 331 @Nullable String scheme) { in addLinks() argument 332 addLinks(text, pattern, scheme, null, null, null); in addLinks() 350 @Nullable String scheme, @Nullable MatchFilter matchFilter, in addLinks() argument 352 addLinks(text, pattern, scheme, null, matchFilter, transformFilter); in addLinks() 395 @Nullable String scheme) { in addLinks() argument 396 return addLinks(text, pattern, scheme, null, null, null); in addLinks() 415 @Nullable String scheme, @Nullable MatchFilter matchFilter, in addLinks() argument 417 return addLinks(spannable, pattern, scheme, null, matchFilter, in addLinks() 449 String scheme = schemes[index]; in addLinks() local 450 schemesCopy[index + 1] = (scheme == null) ? "" : scheme.toLowerCase(Locale.ROOT); in addLinks()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | WebAsset.java | 134 String scheme = url.getProtocol().toLowerCase(Locale.US); in create() local 135 if (!scheme.equals("https") && !scheme.equals("http")) { in create()
|
D | URLFetcher.java | 92 final String scheme = url.getProtocol().toLowerCase(Locale.US); in getWebContentFromUrl() local 93 if (!scheme.equals("http") && !scheme.equals("https")) { in getWebContentFromUrl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbAccessoryUriActivity.java | 63 String scheme = mUri.getScheme(); in onCreate() local 64 if (!"http".equals(scheme) && !"https".equals(scheme)) { in onCreate()
|
/frameworks/base/core/java/android/content/ |
D | IntentFilter.java | 569 final String scheme = mDataSchemes.get(i); in handlesWebUris() local 571 SCHEME_HTTP.equals(scheme) || SCHEME_HTTPS.equals(scheme); in handlesWebUris() 793 public final void addDataScheme(String scheme) { in addDataScheme() argument 795 if (!mDataSchemes.contains(scheme)) { in addDataScheme() 796 mDataSchemes.add(scheme.intern()); in addDataScheme() 823 public final boolean hasDataScheme(String scheme) { in hasDataScheme() argument 824 return mDataSchemes != null && mDataSchemes.contains(scheme); in hasDataScheme() 1271 public final int matchData(String type, String scheme, Uri data) { in matchData() argument 1283 if (schemes.contains(scheme != null ? scheme : "")) { in matchData() 1323 if (scheme != null && !"".equals(scheme) in matchData() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | IntentResolver.java | 361 final String scheme = intent.getScheme(); in queryIntentFromList() local 365 resolvedType, scheme, listCut.get(i), resultList, userId); in queryIntentFromList() 373 String scheme = intent.getScheme(); in queryIntent() local 381 TAG, "Resolving type=" + resolvedType + " scheme=" + scheme in queryIntent() 430 if (scheme != null) { in queryIntent() 431 schemeCut = mSchemeToFilter.get(scheme); in queryIntent() 438 if (resolvedType == null && scheme == null && intent.getAction() != null) { in queryIntent() 446 resolvedType, scheme, firstTypeCut, finalList, userId); in queryIntent() 450 resolvedType, scheme, secondTypeCut, finalList, userId); in queryIntent() 454 resolvedType, scheme, thirdTypeCut, finalList, userId); in queryIntent() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | PhoneAccount.java | 579 for (String scheme : mSupportedUriSchemes) { in supportsUriScheme() 580 if (scheme != null && scheme.equals(uriScheme)) { in supportsUriScheme() 701 for (String scheme : mSupportedUriSchemes) { in toString() 702 sb.append(scheme) in toString()
|
D | Log.java | 169 String scheme = handle.getScheme(); in piiUri() local 170 if (!TextUtils.isEmpty(scheme)) { in piiUri() 171 sb.append(scheme).append(":"); in piiUri()
|
/frameworks/base/media/java/android/media/ |
D | MediaMetadataRetriever.java | 155 String scheme = uri.getScheme(); in setDataSource() local 156 if(scheme == null || scheme.equals("file")) { in setDataSource()
|
D | MediaExtractor.java | 99 String scheme = uri.getScheme(); in setDataSource() local 100 if (scheme == null || scheme.equals("file")) { in setDataSource()
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsContract.java | 670 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildRootsUri() 681 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildRootUri() 704 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildRecentDocumentsUri() 716 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(authority) in buildTreeDocumentUri() 729 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildDocumentUri() 757 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildDocumentUriUsingTree() 784 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(authority) in buildChildDocumentsUri() 814 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildChildDocumentsUriUsingTree() 831 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(authority) in buildSearchDocumentsUri()
|
/frameworks/base/docs/html/training/tv/start/ |
D | navigation.jd | 21 navigation scheme for your TV app depends on understanding these limited controls and the limits 28 This lesson explains the minimum requirements for creating effective TV app navigation scheme and 38 and right. To build a great TV-optimized app, you must provide a navigation scheme where the user 65 The Android framework automatically applies a directional navigation scheme based on the 67 navigation scheme in your app using a D-pad controller. After testing, if you decide you want 126 The success of an app's navigation scheme on TV devices is depends on how easy it is for 136 attributes to help users easily determine what actions they can take next. Use a uniform scheme
|
/frameworks/base/docs/html/training/app-links/ |
D | index.jd | 111 <data android:scheme="http" /> 112 <data android:scheme="https" /> 119 As this example shows, intent filters for app links must declare an {@code android:scheme} 168 <data android:scheme="http" android:host="www.android.com" /> 169 <data android:scheme="https" android:host="www.android.com" /> 203 <data android:scheme="http" android:host="www.domain1.com" /> 204 <data android:scheme="https" android:host="www.domain1.com" /> 212 <data android:scheme="https" android:host="www.domain2.com" /> 239 <data android:scheme="http" android:host="www.example.com" /> 240 <data android:scheme="https" android:host="mobile.example.com" /> [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverComparator.java | 69 String scheme = intent.getScheme(); in ResolverComparator() local 70 mHttp = "http".equals(scheme) || "https".equals(scheme); in ResolverComparator()
|
/frameworks/base/drm/java/android/drm/ |
D | DrmManagerClient.java | 834 String scheme = uri.getScheme(); in convertUriToPath() local 835 if (null == scheme || scheme.equals("") || in convertUriToPath() 836 scheme.equals(ContentResolver.SCHEME_FILE)) { in convertUriToPath() 839 } else if (scheme.equals("http")) { in convertUriToPath() 842 } else if (scheme.equals(ContentResolver.SCHEME_CONTENT)) { in convertUriToPath()
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | LocalBroadcastManager.java | 206 final String scheme = intent.getScheme(); in sendBroadcast() local 212 TAG, "Resolving type " + type + " scheme " + scheme in sendBroadcast() 231 int match = receiver.filter.match(action, type, scheme, data, in sendBroadcast()
|
/frameworks/base/core/java/org/apache/http/conn/scheme/ |
D | HostNameResolver.java | 32 package org.apache.http.conn.scheme;
|
D | LayeredSocketFactory.java | 32 package org.apache.http.conn.scheme;
|
D | SocketFactory.java | 32 package org.apache.http.conn.scheme;
|
/frameworks/base/core/java/android/nfc/ |
D | NfcActivityManager.java | 389 String scheme = uri.getScheme(); in createBeamShareData() local 390 if (scheme == null || (!scheme.equalsIgnoreCase("file") && in createBeamShareData() 391 !scheme.equalsIgnoreCase("content"))) { in createBeamShareData()
|