Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 25 of 55) 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/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/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/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.java306 String scheme = uri.getScheme(); in needsRlzString() local
307 if (("http".equals(scheme) || "https".equals(scheme)) && in needsRlzString()
/packages/apps/Phone/src/com/android/phone/
DCallController.java205 String scheme = uri.getScheme(); in placeCall() local
210 log("- scheme: " + scheme); in placeCall()
331 final String scheme = (uri != null) ? uri.getScheme() : null; in placeCallInternal() local
359 phone = PhoneUtils.pickPhoneBasedOnNumber(mCM, scheme, number, sipPhoneUri); in placeCallInternal()
499 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.java581 String scheme = uri.getScheme(); in processIntent() local
582 if (Constants.SCHEME_SIP.equals(scheme) || PhoneNumberUtils.isUriNumber(number)) { in processIntent()
647 String scheme = uri.getScheme(); in handleNonVoiceCapable() local
662 if (Intent.ACTION_CALL.equals(action) && (Constants.SCHEME_TEL.equals(scheme))) { in handleNonVoiceCapable()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppSendFileInfo.java103 String scheme = u.getScheme(); in generateFileInfo() local
110 if (scheme.equals("content")) { in generateFileInfo()
126 } else if (scheme.equals("file")) { in generateFileInfo()
/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/Contacts/src/com/android/contacts/activities/
DShowOrCreateActivity.java98 String scheme = null; in onCreate() local
101 scheme = data.getScheme(); in onCreate()
122 if (Constants.SCHEME_MAILTO.equals(scheme)) { in onCreate()
128 } else if (Constants.SCHEME_TEL.equals(scheme)) { in onCreate()
DNonPhoneActivity.java59 final String scheme = data.getScheme(); in getPhoneNumber()
60 if (!Constants.SCHEME_TEL.equals(scheme)) return null; in getPhoneNumber()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DUriImage.java92 String scheme = mUri.getScheme(); in openOrDownloadInner() local
93 if (ContentResolver.SCHEME_CONTENT.equals(scheme) in openOrDownloadInner()
94 || ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme) in openOrDownloadInner()
95 || ContentResolver.SCHEME_FILE.equals(scheme)) { in openOrDownloadInner()
/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/PackageInstaller/src/com/android/packageinstaller/
DInstallAppProgress.java164 final String scheme = mPackageURI.getScheme(); in onCreate() local
165 if (scheme != null && !"file".equals(scheme)) { in onCreate()
166 throw new IllegalArgumentException("unexpected scheme " + scheme); in onCreate()
DPackageInstallerActivity.java289 final String scheme = mPackageURI.getScheme();
290 if (scheme != null && !"file".equals(scheme)) {
291 throw new IllegalArgumentException("unexpected scheme " + scheme);
/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/Mms/src/com/android/mms/transaction/
DRetryScheduler.java128 DefaultRetryScheme scheme = new DefaultRetryScheme(mContext, retryIndex); in scheduleRetry() local
173 if ((retryIndex < scheme.getRetryLimit()) && retry) { in scheduleRetry()
174 long retryAt = current + scheme.getWaitingInterval(); in scheduleRetry()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockIconLoader.java54 .scheme(ContentResolver.SCHEME_ANDROID_RESOURCE) in getIconUri()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DPackageIconLoader.java144 String scheme = uri.getScheme(); in getDrawable() local
145 if (ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme)) { in getDrawable()
/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()
DMockProviderTests.java86 Uri uri = new Uri.Builder().scheme("content").authority(CANHAZ_AUTHORITY) in setupPonies()
101 return new Uri.Builder().scheme("content").authority(CANHAZ_AUTHORITY) in getPonyUri()
/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()
/packages/apps/Mms/src/com/android/mms/model/
DVideoModel.java65 String scheme = uri.getScheme(); in initModelFromUri() local
66 if (scheme.equals("content")) { in initModelFromUri()

123