/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 207 final String scheme = uri.getScheme(); 208 if ("data".equals(scheme)) {
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RecentsProvider.java | 104 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) 109 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(AUTHORITY) 115 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT)
|
/frameworks/base/core/java/android/nfc/ |
H A D | NfcAdapter.java | 79 * so that MIME, URI scheme and URI host are always lower-case. 784 * Uri you provide must have either scheme 'file' or scheme 'content'. 850 String scheme = uri.getScheme(); 851 if (scheme == null || (!scheme.equalsIgnoreCase("file") && 852 !scheme.equalsIgnoreCase("content"))) { 854 "either scheme file or scheme content"); 864 * must have either scheme 'fil [all...] |
/frameworks/base/core/java/android/content/ |
H A D | Intent.java | 246 * type is included in the Intent, instead the <b>scheme</b> of the 248 * considered. Again like the action, if we are matching a scheme it 1531 * it can also use the {@link #URI_ANDROID_APP_SCHEME android-app:} scheme to identify 1598 * Input: The data must be a package: URI whose scheme specific part is 4271 * granted.) Another URI is considered a prefix match only when scheme, 4648 * always has the "intent:" scheme. This syntax can be used when you want 4651 * with {@link #parseUri}, any other scheme will result in a generic 4658 * always has the "android-app:" scheme. This is a variation of 4664 * android-app://{package_id}[/{scheme}[/{host}[/{path}]]][#Intent;{...}]</pre> 4666 * <p>In this scheme, onl 8533 toUriFragment(StringBuilder uri, String scheme, String defAction, String defPackage, int flags) argument 8554 toUriInner(StringBuilder uri, String scheme, String defAction, String defPackage, int flags) argument [all...] |
H A D | ContentResolver.java | 363 * using the content:// scheme. 411 * using the content:// scheme. 453 * @param uri The URI, using the content:// scheme, for the content to 490 * @param uri The URI, using the content:// scheme, for the content to 686 String scheme = uri.getScheme(); 687 if (SCHEME_ANDROID_RESOURCE.equals(scheme)) { 697 } else if (SCHEME_FILE.equals(scheme)) { 965 String scheme = uri.getScheme(); 966 if (SCHEME_ANDROID_RESOURCE.equals(scheme)) { 976 } else if (SCHEME_FILE.equals(scheme)) { [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 986 final String scheme = uri.getScheme(); 987 if (ContentResolver.SCHEME_FILE.equals(scheme)) { 990 } else if (ContentResolver.SCHEME_CONTENT.equals(scheme) 1073 final String scheme = uri.getScheme(); 1074 if ("file".equals(scheme)) { 1076 } else if (scheme != null) { 2424 String scheme = uri.getScheme(); 2425 if(scheme == null || scheme.equals("file")) {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Icon.java | 330 final String scheme = uri.getScheme(); 332 if (ContentResolver.SCHEME_CONTENT.equals(scheme) 333 || ContentResolver.SCHEME_FILE.equals(scheme)) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SuggestionsAdapter.java | 526 String scheme = uri.getScheme(); 527 if (ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme)) { 723 .scheme(ContentResolver.SCHEME_CONTENT)
|
/frameworks/base/core/java/android/app/ |
H A D | DownloadManager.java | 443 String scheme = uri.getScheme(); 444 if (scheme == null || (!scheme.equals("http") && !scheme.equals("https"))) {
|
H A D | SearchManager.java | 889 .scheme(ContentResolver.SCHEME_CONTENT)
|
/frameworks/base/core/java/android/service/notification/ |
H A D | Condition.java | 216 .scheme(Condition.SCHEME)
|
H A D | ZenModeConfig.java | 776 return new Uri.Builder().scheme(Condition.SCHEME) 804 return new Uri.Builder().scheme(Condition.SCHEME) 902 return new Uri.Builder().scheme(Condition.SCHEME)
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 862 final String scheme = uri.getScheme(); 863 if (ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme)) { 872 } else if (ContentResolver.SCHEME_CONTENT.equals(scheme) 873 || ContentResolver.SCHEME_FILE.equals(scheme)) {
|
H A D | SuggestionsAdapter.java | 592 String scheme = uri.getScheme(); 593 if (ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme)) {
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/ |
H A D | FileOperationServiceTest.java | 171 .scheme("content")
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | Settings.java | 3128 String scheme = tmpPa.getDataScheme(ischeme); 3129 if (scheme != null && !scheme.isEmpty()) { 3134 builder.scheme(scheme); 3140 scheme, ssp, null, null, userId); 3148 builder.scheme(scheme); 3157 scheme, null, auth, path, userId); 3162 builder.scheme(schem 3213 applyDefaultPreferredActivityLPw(PackageManagerService service, Intent intent, int flags, ComponentName cn, String scheme, PatternMatcher ssp, IntentFilter.AuthorityEntry auth, PatternMatcher path, int userId) argument [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | PduPersister.java | 935 String scheme = uri.getScheme(); 936 if (null == scheme || scheme.equals("") || 937 scheme.equals(ContentResolver.SCHEME_FILE)) { 940 } else if (scheme.equals("http")) { 943 } else if (scheme.equals(ContentResolver.SCHEME_CONTENT)) { 964 throw new IllegalArgumentException("Given Uri scheme is not supported");
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
H A D | AbstractProxyTest.java | 37 import org.apache.http.conn.scheme.Scheme;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsApplication.java | 182 * Support smsto Uri scheme. 186 * Support smsto Uri scheme. 711 * Updates the ACTION_SENDTO activity to the specified component for the specified scheme. 714 ComponentName componentName, int userId, String scheme) { 715 // Build the set of existing activities that handle this scheme 716 Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts(scheme, "", null)); 729 // Update the preferred SENDTO activity for the specified scheme 733 intentFilter.addDataScheme(scheme); 713 replacePreferredActivity(PackageManager packageManager, ComponentName componentName, int userId, String scheme) argument
|
/frameworks/av/media/libstagefright/ |
H A D | Utils.cpp | 1628 // find scheme 1629 AString scheme; local 1645 scheme = AString(uri, 0, i); 1646 scheme.append("://<suppressed>"); 1647 return scheme; 1649 return AString("<no-scheme URI suppressed>");
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | FileProvider.java | 693 return new Uri.Builder().scheme("content")
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteControllerDialog.java | 1346 String scheme = uri.getScheme().toLowerCase(); 1348 if (ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme) 1349 || ContentResolver.SCHEME_CONTENT.equals(scheme) 1350 || ContentResolver.SCHEME_FILE.equals(scheme)) {
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 159 String scheme = uri.getScheme(); 161 if (scheme.equals("tel") || scheme.equals("sip")) {
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvContract.java | 139 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(AUTHORITY) 1888 * the scheme {@link android.content.ContentResolver#SCHEME_FILE}.
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 73 new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(AUTHORITY).build();
|