Home
last modified time | relevance | path

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

12

/packages/apps/Email/src/com/android/email/mail/
DStore.java106 public static StoreInfo getStoreInfo(String scheme, Context context) { in getStoreInfo() argument
107 StoreInfo result = getStoreInfo(R.xml.stores_product, scheme, context); in getStoreInfo()
109 result = getStoreInfo(R.xml.stores, scheme, context); in getStoreInfo()
114 public static StoreInfo getStoreInfo(int resourceId, String scheme, Context context) { in getStoreInfo() argument
123 if (scheme != null && scheme.startsWith(xmlScheme)) { in getStoreInfo()
DSender.java80 String scheme = xml.getAttributeValue(null, "scheme"); in findSender() local
81 if (uri.startsWith(scheme)) { in findSender()
/packages/apps/Browser/src/com/android/browser/
DAddBookmarkPage.java184 String scheme = uriObj.getScheme(); in save() local
185 if (!("about".equals(scheme) || "data".equals(scheme) in save()
186 || "javascript".equals(scheme) in save()
187 || "file".equals(scheme) || "content".equals(scheme))) { in save()
/packages/apps/Email/src/com/android/email/mail/transport/
DSmtpSender.java76 String scheme = uri.getScheme(); in SmtpSender() local
77 if (scheme == null || !scheme.startsWith("smtp")) { in SmtpSender()
84 if (scheme.contains("+ssl")) { in SmtpSender()
87 } else if (scheme.contains("+tls")) { in SmtpSender()
90 boolean trustCertificates = scheme.contains("+trustallcerts"); in SmtpSender()
/packages/apps/Camera/src/com/android/camera/
DMovieViewControl.java86 String scheme = mUri.getScheme(); in MovieViewControl() local
87 if ("http".equalsIgnoreCase(scheme) in MovieViewControl()
88 || "rtsp".equalsIgnoreCase(scheme)) { in MovieViewControl()
136 String scheme = uri.getScheme(); in uriSupportsBookmarks() local
138 return ("content".equalsIgnoreCase(scheme) in uriSupportsBookmarks()
DMenuHelper.java146 String scheme = uri.getScheme(); in isWhiteListUri()
149 if (scheme.equals("content") && authority.equals("media")) { in isWhiteListUri()
153 if (scheme.equals("file")) { in isWhiteListUri()
/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()
DMenuHelper.java148 String scheme = uri.getScheme(); in isWhiteListUri()
151 if (scheme.equals("content") && authority.equals("media")) { in isWhiteListUri()
155 if (scheme.equals("file")) { in isWhiteListUri()
/packages/apps/GlobalSearch/tests/permission/src/com/android/globalsearch/
DProvidersPermissionTest.java32 .scheme(ContentResolver.SCHEME_CONTENT) in testSuggestionProviderRequires_GET_SUGGESTIONS()
44 .scheme(ContentResolver.SCHEME_CONTENT) in testStatsProviderRequires_WRITE_STATS()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppSendFileInfo.java96 String scheme = u.getScheme(); in generateFileInfo() local
101 if (scheme.equals("content") && authority.equals("media")) { in generateFileInfo()
117 } else if (scheme.equals("file")) { in generateFileInfo()
/packages/apps/Contacts/src/com/android/contacts/ui/
DShowOrCreateActivity.java97 String scheme = null; in onCreate() local
100 scheme = data.getScheme(); in onCreate()
121 if (Constants.SCHEME_MAILTO.equals(scheme)) { in onCreate()
127 } else if (Constants.SCHEME_TEL.equals(scheme)) { in onCreate()
/packages/apps/Email/tests/src/com/android/email/activity/setup/
DAccountSetupAccountTypeUnitTests.java111 private Account createTestAccount(String scheme) { in createTestAccount() argument
113 account.setStoreUri(mContext, scheme + "://user:pass@server.com:123"); in createTestAccount()
/packages/apps/Mms/src/com/android/mms/transaction/
DRetryScheduler.java129 DefaultRetryScheme scheme = new DefaultRetryScheme(mContext, retryIndex); in scheduleRetry() local
142 if ((retryIndex < scheme.getRetryLimit()) && retry) { in scheduleRetry()
143 long retryAt = current + scheme.getWaitingInterval(); in scheduleRetry()
/packages/apps/Email/src/com/android/email/mail/store/
DPop3Store.java110 String scheme = uri.getScheme(); in Pop3Store() local
111 if (scheme == null || !scheme.startsWith(STORE_SCHEME_POP3)) { in Pop3Store()
118 if (scheme.contains("+ssl")) { in Pop3Store()
121 } else if (scheme.contains("+tls")) { in Pop3Store()
124 boolean trustCertificates = scheme.contains(STORE_SECURITY_TRUST_CERTIFICATES); in Pop3Store()
DImapStore.java132 String scheme = uri.getScheme(); in ImapStore() local
133 if (scheme == null || !scheme.startsWith(STORE_SCHEME_IMAP)) { in ImapStore()
140 if (scheme.contains("+ssl")) { in ImapStore()
143 } else if (scheme.contains("+tls")) { in ImapStore()
146 boolean trustCertificates = scheme.contains(STORE_SECURITY_TRUST_CERTIFICATES); in ImapStore()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DGlobalSearchSupportTest.java57 Uri searchUri = new Uri.Builder().scheme("content").authority(ContactsContract.AUTHORITY) in testSearchSuggestionsNotInVisibleGroup()
241 Uri searchUri = new Uri.Builder().scheme("content").authority(ContactsContract.AUTHORITY) in assertSearchSuggestion()
298 Uri searchUri = new Uri.Builder().scheme("content").authority(ContactsContract.AUTHORITY) in testSearchSuggestionsByPhoneNumber()
DLegacyContactsProviderTest.java743 Uri searchUri = new Uri.Builder().scheme("content").authority(Contacts.AUTHORITY) in testSearchSuggestionsNotInMyContacts()
867 Uri searchUri = new Uri.Builder().scheme("content").authority(Contacts.AUTHORITY) in assertSearchSuggestion()
908 Uri searchUri = new Uri.Builder().scheme("content").authority(Contacts.AUTHORITY) in testSearchSuggestionsByPhoneNumber()
/packages/apps/Mms/src/com/android/mms/ui/
DUriImage.java61 String scheme = uri.getScheme(); in UriImage() local
62 if (scheme.equals("content")) { in UriImage()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupExchange.java309 String scheme = (sslRequired)
324 scheme,
/packages/apps/GlobalSearch/src/com/android/globalsearch/
DSearchableSuggestionSource.java232 .scheme(ContentResolver.SCHEME_CONTENT) in getSuggestions()
300 .scheme(ContentResolver.SCHEME_CONTENT) in getValidationCursor()
/packages/apps/Email/src/com/android/email/
DController.java785 String scheme = info.mScheme; in isMessagingController() local
787 return ("pop3".equals(scheme) || "imap".equals(scheme)); in isMessagingController()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java1025 String scheme = uri.getScheme(); in startPlayback() local
1026 if ("file".equals(scheme)) { in startPlayback()
1032 if (! ContentResolver.SCHEME_CONTENT.equals(scheme) || in startPlayback()
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationsProvider.java448 .scheme(ContentResolver.SCHEME_ANDROID_RESOURCE) in updateApplicationsList()
/packages/apps/Contacts/src/com/android/contacts/
DContactsUtils.java248 final Uri imUri = new Uri.Builder().scheme(Constants.SCHEME_IMTO).authority( in buildImIntent()
/packages/apps/Email/src/com/android/exchange/
DSyncManager.java38 import org.apache.http.conn.scheme.PlainSocketFactory;
39 import org.apache.http.conn.scheme.Scheme;
40 import org.apache.http.conn.scheme.SchemeRegistry;

12