Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 25 of 80) sorted by relevance

1234

/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapContract.java164 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildAccountUri()
173 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildAccountUriwithId()
184 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildMessageUri()
195 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildMessageUri()
207 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildMessageUriWithId()
220 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildFolderUri()
233 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildConversationUri()
246 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildConvoContactsUri()
258 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildConvoContactsUri()
271 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildConvoContactsUriWithId()
/packages/apps/Tag/src/com/android/apps/tag/record/
DUriRecord.java66 String scheme = mUri.getScheme(); in getIntentForUri() local
67 if ("tel".equals(scheme)) { in getIntentForUri()
69 } else if ("sms".equals(scheme) || "smsto".equals(scheme)) { in getIntentForUri()
77 String scheme = mUri.getScheme(); in getPrettyUriString() local
78 boolean tel = "tel".equals(scheme); in getPrettyUriString()
79 boolean sms = "sms".equals(scheme) || "smsto".equals(scheme); in getPrettyUriString()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java201 public static int getSchemeFlags(String scheme) { in getSchemeFlags() argument
202 String[] schemeParts = scheme.split("\\+"); in getSchemeFlags()
540 String scheme = uri.getScheme(); in setHostAuthFromString() local
541 setConnection(scheme, uri.getHost(), uri.getPort()); in setHostAuthFromString()
547 public void setConnection(String scheme, String host, int port) { in setConnection() argument
548 String[] schemeParts = scheme.split("\\+"); in setConnection()
551 int flags = getSchemeFlags(scheme); in setConnection()
567 final String scheme = uri.getScheme(); in getProtocolFromString() local
568 final String[] schemeParts = scheme.split("\\+"); in getProtocolFromString()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java82 final String scheme = uri.getScheme(); in isLocalResourceUri() local
83 return TextUtils.equals(scheme, ContentResolver.SCHEME_ANDROID_RESOURCE) || in isLocalResourceUri()
84 TextUtils.equals(scheme, ContentResolver.SCHEME_CONTENT) || in isLocalResourceUri()
85 TextUtils.equals(scheme, ContentResolver.SCHEME_FILE); in isLocalResourceUri()
92 final String scheme = uri.getScheme(); in isBugleAppResource() local
93 return TextUtils.equals(scheme, ContentResolver.SCHEME_ANDROID_RESOURCE); in isBugleAppResource()
105 .scheme(ContentResolver.SCHEME_ANDROID_RESOURCE) in getUriForResourceId()
DAvatarUriUtil.java84 public static final Uri DEFAULT_BACKGROUND_AVATAR = new Uri.Builder().scheme(SCHEME)
130 builder.scheme(SCHEME); in joinAvatarUriToGroup()
213 builder.scheme(SCHEME); in createSimIconUri()
236 builder.scheme(SCHEME); in fromLocalResourceWithFallback()
247 builder.scheme(SCHEME); in fromName()
260 builder.scheme(SCHEME); in fromIdentifier()
/packages/services/Telephony/src/com/android/phone/
DCallController.java210 String scheme = uri.getScheme(); in placeCall() local
215 log("- scheme: " + scheme); in placeCall()
297 final String scheme = (uri != null) ? uri.getScheme() : null; in placeCallInternal() local
327 phone = PhoneUtils.pickPhoneBasedOnNumber(mCM, scheme, number, sipPhoneUri, in placeCallInternal()
468 boolean voicemailUriSpecified = scheme != null && in placeCallInternal()
469 scheme.equals(PhoneAccount.SCHEME_VOICEMAIL); in placeCallInternal()
/packages/apps/Gallery/src/com/android/camera/
DMovieViewControl.java88 String scheme = mUri.getScheme(); in MovieViewControl() local
89 if ("http".equalsIgnoreCase(scheme) in MovieViewControl()
90 || "rtsp".equalsIgnoreCase(scheme)) { in MovieViewControl()
138 String scheme = uri.getScheme(); in uriSupportsBookmarks() local
140 return ("content".equalsIgnoreCase(scheme) in uriSupportsBookmarks()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java602 String scheme = srcUri.getScheme(); in getLocalFileFromUri() local
603 if (scheme == null) { in getLocalFileFromUri()
611 if (scheme.equals(ContentResolver.SCHEME_CONTENT)) { in getLocalFileFromUri()
624 } else if (scheme.equals(ContentResolver.SCHEME_FILE)) { in getLocalFileFromUri()
743 String scheme = sourceUri.getScheme(); in isFileUri() local
744 if (scheme != null && scheme.equals(ContentResolver.SCHEME_FILE)) { in isFileUri()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPicasaSource.java111 .scheme("content") in openCursor()
215 .scheme("content") in findImages()
260 .scheme("content") in resolveAccount()
294 .scheme("content") in resolveAlbumIds()
335 .scheme("content") in findAlbums()
437 .scheme("content") in getStream()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DInstallAppProgress.java175 final String scheme = mPackageURI.getScheme(); in onCreate() local
176 if (scheme != null && !"file".equals(scheme) && !"package".equals(scheme)) { in onCreate()
179 throw new IllegalArgumentException("unexpected scheme " + scheme); in onCreate()
DPackageInstallerActivity.java481 final String scheme = mPackageURI.getScheme();
482 if (scheme != null && !"file".equals(scheme) && !"package".equals(scheme)) {
483 Log.w(TAG, "Unsupported scheme " + scheme);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppSendFileInfo.java103 String scheme = uri.getScheme(); in generateFileInfo() local
110 if ("content".equals(scheme)) { in generateFileInfo()
136 } else if ("file".equals(scheme)) { in generateFileInfo()
146 if (scheme.equals("content")) { in generateFileInfo()
/packages/apps/Browser/src/com/android/browser/
DIntentHandler.java319 String scheme = uri.getScheme(); in isForbiddenUri() local
321 if (scheme == null) { in isForbiddenUri()
325 scheme = scheme.toLowerCase(Locale.US); in isForbiddenUri()
327 if (allowed.equals(scheme)) { in isForbiddenUri()
DUrlUtils.java112 String scheme = matcher.group(1); in smartUrlFilter() local
113 String lcScheme = scheme.toLowerCase(); in smartUrlFilter()
114 if (!lcScheme.equals(scheme)) { in smartUrlFilter()
DUrlHandler.java323 String scheme = uri.getScheme(); in needsRlzString() local
324 if (("http".equals(scheme) || "https".equals(scheme)) && in needsRlzString()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DUtils.java762 String scheme = uri.getScheme(); in normalizeUri() local
763 if (scheme == null) return uri; // give up in normalizeUri()
764 String lowerScheme = scheme.toLowerCase(Locale.US); in normalizeUri()
765 if (scheme.equals(lowerScheme)) return uri; // no change in normalizeUri()
767 return uri.buildUpon().scheme(lowerScheme).build(); in normalizeUri()
967 final String scheme = normalizeUri(uri).getScheme(); in divertMailtoUri() local
968 if (TextUtils.equals(MAILTO_SCHEME, scheme)) { in divertMailtoUri()
/packages/apps/Contacts/src/com/android/contacts/activities/
DShowOrCreateActivity.java106 String scheme = null; in onCreate() local
109 scheme = data.getScheme(); in onCreate()
130 if (ContactsUtils.SCHEME_MAILTO.equals(scheme)) { in onCreate()
136 } else if (PhoneAccount.SCHEME_TEL.equals(scheme)) { in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DUriImage.java94 String scheme = mUri.getScheme(); in openOrDownloadInner() local
95 if (ContentResolver.SCHEME_CONTENT.equals(scheme) in openOrDownloadInner()
96 || ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme) in openOrDownloadInner()
97 || ContentResolver.SCHEME_FILE.equals(scheme)) { in openOrDownloadInner()
/packages/services/Telecomm/src/com/android/server/telecom/
DLog.java348 String scheme = uri.getScheme(); in piiHandle() local
350 if (!TextUtils.isEmpty(scheme)) { in piiHandle()
351 sb.append(scheme).append(":"); in piiHandle()
355 if (PhoneAccount.SCHEME_TEL.equals(scheme)) { in piiHandle()
360 } else if (PhoneAccount.SCHEME_SIP.equals(scheme)) { in piiHandle()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java88 String scheme = mUri.getScheme(); in onCreate() local
97 if (scheme.equals("http")) { in onCreate()
168 if (scheme.equals(ContentResolver.SCHEME_CONTENT)) { in onCreate()
180 } else if (scheme.equals("file")) { in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DUriUtils.java163 String scheme = resourceUri.getScheme() == null ? null in isWebUri() local
165 return HTTP_PREFIX.equals(scheme) || HTTPS_PREFIX.equals(scheme); in isWebUri()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DEmailClientConnectionManager.java29 import org.apache.http.conn.scheme.PlainSocketFactory;
30 import org.apache.http.conn.scheme.Scheme;
31 import org.apache.http.conn.scheme.SchemeRegistry;
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java106 String scheme = handle.getScheme(); in onCreateOutgoingConnection() local
108 if (PhoneAccount.SCHEME_VOICEMAIL.equals(scheme)) { in onCreateOutgoingConnection()
131 if (!PhoneAccount.SCHEME_TEL.equals(scheme)) { in onCreateOutgoingConnection()
132 Log.d(this, "onCreateOutgoingConnection, Handle %s is not type tel", scheme); in onCreateOutgoingConnection()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java1020 final String scheme = uri.getScheme(); in convertUriToPath() local
1021 if (null == scheme || scheme.equals("") || in convertUriToPath()
1022 scheme.equals(ContentResolver.SCHEME_FILE)) { in convertUriToPath()
1025 } else if (scheme.equals("http")) { in convertUriToPath()
1028 } else if (scheme.equals(ContentResolver.SCHEME_CONTENT)) { in convertUriToPath()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMoviePlayer.java324 String scheme = mUri.getScheme(); in startVideo() local
325 if ("http".equalsIgnoreCase(scheme) || "rtsp".equalsIgnoreCase(scheme)) { in startVideo()

1234