Home
last modified time | relevance | path

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

123

/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.java149 public static int getSchemeFlags(String scheme) { in getSchemeFlags() argument
150 String[] schemeParts = scheme.split("\\+"); in getSchemeFlags()
416 String scheme = uri.getScheme(); in setHostAuthFromString() local
417 auth.setConnection(scheme, uri.getHost(), uri.getPort()); in setHostAuthFromString()
423 public void setConnection(String scheme, String host, int port) { in setConnection() argument
424 String[] schemeParts = scheme.split("\\+"); in setConnection()
427 int flags = getSchemeFlags(scheme); in setConnection()
/packages/apps/Phone/src/com/android/phone/
DCallController.java209 String scheme = uri.getScheme(); in placeCall() local
214 log("- scheme: " + scheme); in placeCall()
335 final String scheme = (uri != null) ? uri.getScheme() : null; in placeCallInternal() local
363 phone = PhoneUtils.pickPhoneBasedOnNumber(mCM, scheme, number, sipPhoneUri); in placeCallInternal()
514 boolean voicemailUriSpecified = scheme != null && scheme.equals("voicemail"); in placeCallInternal()
DSipCallOptionHandler.java148 String scheme = uri.getScheme(); in onCreate() local
151 boolean isKnownCallScheme = Constants.SCHEME_TEL.equals(scheme) in onCreate()
152 || Constants.SCHEME_SIP.equals(scheme); in onCreate()
153 boolean isRegularCall = Constants.SCHEME_TEL.equals(scheme) in onCreate()
DOutgoingCallBroadcaster.java607 String scheme = uri.getScheme(); in processIntent() local
608 if (Constants.SCHEME_SIP.equals(scheme) || PhoneNumberUtils.isUriNumber(number)) { in processIntent()
674 String scheme = uri.getScheme(); in handleNonVoiceCapable() local
689 if (Intent.ACTION_CALL.equals(action) && (Constants.SCHEME_TEL.equals(scheme))) { in handleNonVoiceCapable()
/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/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPicasaSource.java113 .scheme("content") in openCursor()
217 .scheme("content") in findImages()
262 .scheme("content") in resolveAccount()
296 .scheme("content") in resolveAlbumIds()
337 .scheme("content") in findAlbums()
433 .scheme("content") in getStream()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DInstallAppProgress.java168 final String scheme = mPackageURI.getScheme(); in onCreate() local
169 if (scheme != null && !"file".equals(scheme) && !"package".equals(scheme)) { in onCreate()
170 throw new IllegalArgumentException("unexpected scheme " + scheme); in onCreate()
DPackageInstallerActivity.java357 final String scheme = mPackageURI.getScheme();
358 if (scheme != null && !"file".equals(scheme) && !"package".equals(scheme)) {
359 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/Contacts/src/com/android/contacts/activities/
DShowOrCreateActivity.java98 String scheme = null; in onCreate() local
101 scheme = data.getScheme(); in onCreate()
122 if (CallUtil.SCHEME_MAILTO.equals(scheme)) { in onCreate()
128 } else if (CallUtil.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/apps/Gallery2/src/com/android/photos/data/
DMediaCache.java334 public void addRetriever(String scheme, String authority, MediaRetriever retriever) { in addRetriever() argument
335 String differentiator = getDifferentiator(scheme, authority); in addRetriever()
641 private static String getDifferentiator(String scheme, String authority) { in getDifferentiator() argument
643 return scheme; in getDifferentiator()
645 StringBuilder differentiator = new StringBuilder(scheme); in getDifferentiator()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java87 String scheme = mUri.getScheme(); in onCreate() local
96 if (scheme.equals("http")) { in onCreate()
169 if (scheme.equals(ContentResolver.SCHEME_CONTENT)) { in onCreate()
181 } else if (scheme.equals("file")) { in onCreate()
/packages/apps/Browser/src/com/android/browser/
DUrlUtils.java111 String scheme = matcher.group(1); in smartUrlFilter() local
112 String lcScheme = scheme.toLowerCase(); in smartUrlFilter()
113 if (!lcScheme.equals(scheme)) { in smartUrlFilter()
DUrlHandler.java307 String scheme = uri.getScheme(); in needsRlzString() local
308 if (("http".equals(scheme) || "https".equals(scheme)) && in needsRlzString()
/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;
DAttachmentUtilities.java245 final String scheme = uri.getScheme(); in inferMimeTypeForUri() local
246 if (ContentResolver.SCHEME_CONTENT.equals(scheme)) { in inferMimeTypeForUri()
248 } else if (ContentResolver.SCHEME_FILE.equals(scheme)) { in inferMimeTypeForUri()
/packages/apps/Mms/src/com/android/mms/transaction/
DRetryScheduler.java126 DefaultRetryScheme scheme = new DefaultRetryScheme(mContext, retryIndex); in scheduleRetry() local
171 if ((retryIndex < scheme.getRetryLimit()) && retry) { in scheduleRetry()
172 long retryAt = current + scheme.getWaitingInterval(); in scheduleRetry()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchableSource.java102 .scheme(ContentResolver.SCHEME_CONTENT) in canRead()
360 .scheme(ContentResolver.SCHEME_CONTENT) in getSuggestUriBase()
418 .scheme(ContentResolver.SCHEME_CONTENT) in getValidationCursor()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMoviePlayer.java327 String scheme = mUri.getScheme(); in startVideo() local
328 if ("http".equalsIgnoreCase(scheme) || "rtsp".equalsIgnoreCase(scheme)) { in startVideo()
/packages/apps/Email/tests/src/com/android/email/activity/setup/
DAccountSetupAccountTypeTests.java89 private Account createTestAccount(String scheme) throws URISyntaxException { in createTestAccount() argument
92 HostAuth.setHostAuthFromString(auth, scheme + "://user:pass@server.com:123"); in createTestAccount()
/packages/apps/Contacts/src/com/android/contacts/
DNonPhoneActivity.java62 final String scheme = data.getScheme(); in getPhoneNumber()
63 if (!CallUtil.SCHEME_TEL.equals(scheme)) return null; in getPhoneNumber()
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMockProvider.java92 return new Uri.Builder().scheme("content").authority(AUTHORITY) in uri()
120 Uri newUri = new Uri.Builder().scheme("content").authority(AUTHORITY).path(table) in insert()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DMockProvider.java92 return new Uri.Builder().scheme("content").authority(AUTHORITY) in uri()
120 Uri newUri = new Uri.Builder().scheme("content").authority(AUTHORITY).path(table) in insert()

123