/frameworks/base/core/java/android/net/ |
D | Uri.java | 365 String scheme = getScheme(); in toSafeString() local 367 if (scheme != null) { in toSafeString() 368 if (scheme.equalsIgnoreCase("tel") || scheme.equalsIgnoreCase("sip") in toSafeString() 369 || scheme.equalsIgnoreCase("sms") || scheme.equalsIgnoreCase("smsto") in toSafeString() 370 || scheme.equalsIgnoreCase("mailto")) { in toSafeString() 372 builder.append(scheme); in toSafeString() 391 if (scheme != null) { in toSafeString() 392 builder.append(scheme); in toSafeString() 529 private volatile String scheme = NOT_CACHED; field in Uri.StringUri 533 boolean cached = (scheme != NOT_CACHED); in getScheme() [all …]
|
D | WebAddress.java | 138 public void setScheme(String scheme) { in setScheme() argument 139 mScheme = scheme; in setScheme()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriTest.java | 46 .scheme("http") in testParcelling() 74 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); in testBuildUponOpaqueStringUri() 139 .scheme("http") in testEqualsAndHashCode() 148 .scheme("http") in testEqualsAndHashCode() 202 .scheme("foo") in testBuildUponEncodedOpaqueUri() 359 .scheme("mailto") in testOpaqueUri() 411 private static void testHierarchical(String scheme, String authority, in testHierarchical() argument 427 if (scheme != null) { in testHierarchical() 428 sb.insert(0, scheme + ":"); in testHierarchical() 440 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical() [all …]
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | data-element.jd | 14 android:<a href="#scheme">scheme</a>="<i>string</i>" /></pre></dd> 26 <p style="margin-left: 2em">{@code scheme://host:port/path} <i>or</i> 31 If a <code><a href="{@docRoot}guide/topics/manifest/data-element.html#scheme">scheme</a></code> is … 44 <data android:scheme="something" android:host="project.example.com" /> 51 <data android:scheme="something" /> 75 unless a <code><a href="{@docRoot}guide/topics/manifest/data-element.html#scheme">scheme</a></code>… 131 <code><a href="#scheme">scheme</a></code> and <code><a href="#host">host</a></code> 137 if the <code><a href="#scheme">scheme</a></code> and 141 <dt><a name="scheme"></a>{@code android:scheme}</dt> 142 <dd>The scheme part of a URI. This is the minimal essential attribute for [all …]
|
/frameworks/base/core/java/android/text/util/ |
D | Linkify.java | 306 public static final void addLinks(TextView text, Pattern pattern, String scheme) { in addLinks() argument 307 addLinks(text, pattern, scheme, null, null); in addLinks() 325 public static final void addLinks(TextView text, Pattern p, String scheme, in addLinks() argument 329 if (addLinks(s, p, scheme, matchFilter, transformFilter)) { in addLinks() 346 public static final boolean addLinks(Spannable text, Pattern pattern, String scheme) { in addLinks() argument 347 return addLinks(text, pattern, scheme, null, null); in addLinks() 365 String scheme, MatchFilter matchFilter, in addLinks() argument 368 String prefix = (scheme == null) ? "" : scheme.toLowerCase(); in addLinks()
|
/frameworks/base/services/java/com/android/server/ |
D | IntentResolverOld.java | 212 final String scheme = intent.getScheme(); in queryIntentFromList() local 216 resolvedType, scheme, listCut.get(i), resultList, userId); in queryIntentFromList() 224 String scheme = intent.getScheme(); in queryIntent() local 232 TAG, "Resolving type " + resolvedType + " scheme " + scheme in queryIntent() 279 if (scheme != null) { in queryIntent() 280 schemeCut = mSchemeToFilter.get(scheme); in queryIntent() 287 if (resolvedType == null && scheme == null && intent.getAction() != null) { in queryIntent() 295 resolvedType, scheme, firstTypeCut, finalList, userId); in queryIntent() 299 resolvedType, scheme, secondTypeCut, finalList, userId); in queryIntent() 303 resolvedType, scheme, thirdTypeCut, finalList, userId); in queryIntent() [all …]
|
D | IntentResolver.java | 223 final String scheme = intent.getScheme(); in queryIntentFromList() local 227 resolvedType, scheme, listCut.get(i), resultList, userId); in queryIntentFromList() 235 String scheme = intent.getScheme(); in queryIntent() local 243 TAG, "Resolving type " + resolvedType + " scheme " + scheme in queryIntent() 290 if (scheme != null) { in queryIntent() 291 schemeCut = mSchemeToFilter.get(scheme); in queryIntent() 298 if (resolvedType == null && scheme == null && intent.getAction() != null) { in queryIntent() 306 resolvedType, scheme, firstTypeCut, finalList, userId); in queryIntent() 310 resolvedType, scheme, secondTypeCut, finalList, userId); in queryIntent() 314 resolvedType, scheme, thirdTypeCut, finalList, userId); in queryIntent() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbAccessoryUriActivity.java | 66 String scheme = mUri.getScheme(); in onCreate() local 67 if (!"http".equals(scheme) && !"https".equals(scheme)) { in onCreate()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
D | ImageUtils.java | 230 String scheme = uri.getScheme(); in getImageBounds() local 252 String scheme = uri.getScheme(); in openInputStream() local 253 if ("http".equals(scheme) || "https".equals(scheme)) { in openInputStream() 264 } else if ("data".equals(scheme)) { in openInputStream()
|
/frameworks/base/core/java/android/content/ |
D | IntentFilter.java | 585 public final void addDataScheme(String scheme) { in addDataScheme() argument 587 if (!mDataSchemes.contains(scheme)) { in addDataScheme() 588 mDataSchemes.add(scheme.intern()); in addDataScheme() 615 public final boolean hasDataScheme(String scheme) { in hasDataScheme() argument 616 return mDataSchemes != null && mDataSchemes.contains(scheme); in hasDataScheme() 900 public final int matchData(String type, String scheme, Uri data) { in matchData() argument 914 if (schemes.contains(scheme != null ? scheme : "")) { in matchData() 940 if (scheme != null && !"".equals(scheme) in matchData() 941 && !"content".equals(scheme) in matchData() 942 && !"file".equals(scheme)) { in matchData() [all …]
|
D | ContentResolver.java | 481 String scheme = uri.getScheme(); in openInputStream() local 482 if (SCHEME_ANDROID_RESOURCE.equals(scheme)) { in openInputStream() 492 } else if (SCHEME_FILE.equals(scheme)) { in openInputStream() 645 String scheme = uri.getScheme(); in openAssetFileDescriptor() local 646 if (SCHEME_ANDROID_RESOURCE.equals(scheme)) { in openAssetFileDescriptor() 656 } else if (SCHEME_FILE.equals(scheme)) { in openAssetFileDescriptor()
|
/frameworks/base/media/java/android/media/ |
D | MediaMetadataRetriever.java | 153 String scheme = uri.getScheme(); in setDataSource() local 154 if(scheme == null || scheme.equals("file")) { in setDataSource()
|
D | MediaExtractor.java | 82 String scheme = uri.getScheme(); in setDataSource() local 83 if(scheme == null || scheme.equals("file")) { in setDataSource()
|
D | MediaPlayer.java | 868 String scheme = uri.getScheme(); in setDataSource() local 869 if(scheme == null || scheme.equals("file")) { in setDataSource() 1754 String scheme = uri.getScheme(); in addTimedTextSource() local 1755 if(scheme == null || scheme.equals("file")) { in addTimedTextSource()
|
/frameworks/base/core/java/android/net/http/ |
D | HttpAuthHeader.java | 287 String scheme = header.substring(0, i).trim(); in parseScheme() local 288 if (scheme.equalsIgnoreCase(DIGEST_TOKEN)) { in parseScheme() 294 if (scheme.equalsIgnoreCase(BASIC_TOKEN)) { in parseScheme()
|
D | AndroidHttpClient.java | 36 import org.apache.http.conn.scheme.PlainSocketFactory; 37 import org.apache.http.conn.scheme.Scheme; 38 import org.apache.http.conn.scheme.SchemeRegistry;
|
/frameworks/base/core/java/android/nfc/ |
D | NfcActivityManager.java | 302 String scheme = uri.getScheme(); in createBeamShareData() local 303 if (scheme == null || (!scheme.equalsIgnoreCase("file") && in createBeamShareData() 304 !scheme.equalsIgnoreCase("content"))) { in createBeamShareData()
|
D | NfcAdapter.java | 649 String scheme = uri.getScheme(); in setBeamPushUris() local 650 if (scheme == null || (!scheme.equalsIgnoreCase("file") && in setBeamPushUris() 651 !scheme.equalsIgnoreCase("content"))) { in setBeamPushUris()
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | RsBench.java | 57 String scheme = uri.getScheme(); in onCreate() local 58 if ("iterations".equals(scheme)) { in onCreate()
|
/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/drm/java/android/drm/ |
D | DrmManagerClient.java | 827 String scheme = uri.getScheme(); in convertUriToPath() local 828 if (null == scheme || scheme.equals("") || in convertUriToPath() 829 scheme.equals(ContentResolver.SCHEME_FILE)) { in convertUriToPath() 832 } else if (scheme.equals("http")) { in convertUriToPath() 835 } else if (scheme.equals(ContentResolver.SCHEME_CONTENT)) { in convertUriToPath()
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
D | FsUtils.java | 30 import org.apache.http.conn.scheme.PlainSocketFactory; 31 import org.apache.http.conn.scheme.Scheme; 32 import org.apache.http.conn.scheme.SchemeRegistry;
|
/frameworks/ex/common/java/com/android/common/ |
D | Search.java | 89 .scheme(ContentResolver.SCHEME_CONTENT) in getSuggestions()
|
/frameworks/base/docs/html/guide/appendix/ |
D | app-intents.jd | 46 java.lang.String) Uri.fromParts(scheme, ssp, fragment)} factory 67 <td>Opens the Maps application to the given location or query. The Geo URI scheme 79 <td>Opens the Street View application to the given location. The URI scheme is
|
D | g-app-intents.jd | 55 java.lang.String) Uri.fromParts(scheme, ssp, fragment)} factory 77 <td>Opens the Maps application to the given location or query. The Geo URI scheme 90 <td>Opens the Street View application to the given location. The URI scheme is
|