Home
last modified time | relevance | path

Searched refs:uriString (Results 1 – 15 of 15) sorted by relevance

/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationsAdapter.java51 String uriString = getColumnString(cursor, columnName); in getColumnUri() local
52 if (TextUtils.isEmpty(uriString)) return null; in getColumnUri()
53 return Uri.parse(uriString); in getColumnUri()
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java349 String uriString = (uri != null) ? uri.toString() : ""; in makeImageList() local
355 if (uriString.startsWith("content://drm")) { in makeImageList()
358 } else if (uriString.startsWith("content://media/external/video")) { in makeImageList()
361 } else if (isSingleImageMode(uriString)) { in makeImageList()
370 static boolean isSingleImageMode(String uriString) { in isSingleImageMode() argument
371 return !uriString.startsWith( in isSingleImageMode()
373 && !uriString.startsWith( in isSingleImageMode()
/packages/apps/Mms/src/com/android/mms/transaction/
DNotificationTransaction.java80 TransactionSettings connectionSettings, String uriString) { in NotificationTransaction() argument
83 mUri = Uri.parse(uriString); in NotificationTransaction()
89 Log.e(TAG, "Failed to load NotificationInd from: " + uriString, e); in NotificationTransaction()
/packages/apps/Gallery3D/src/com/cooliris/media/
DMediaItemTexture.java103 String uriString = item.mContentUri; in load() local
104 if (uriString != null) { in load()
105 Uri uri = Uri.parse(uriString); in load()
DLocalDataSource.java114 private static boolean isSingleImageMode(String uriString) { in isSingleImageMode() argument
115 return !uriString.equals(MediaStore.Images.Media.EXTERNAL_CONTENT_URI.toString()) in isSingleImageMode()
116 && !uriString.equals(MediaStore.Images.Media.INTERNAL_CONTENT_URI.toString()); in isSingleImageMode()
230 private static boolean isImage(String uriString) { in isImage() argument
231 return !uriString.startsWith(MediaStore.Video.Media.EXTERNAL_CONTENT_URI.toString()); in isImage()
DImageManager.java280 static boolean isSingleImageMode(String uriString) { in isSingleImageMode() argument
281 return !uriString.startsWith(MediaStore.Images.Media.EXTERNAL_CONTENT_URI.toString()) in isSingleImageMode()
282 && !uriString.startsWith(MediaStore.Images.Media.INTERNAL_CONTENT_URI.toString()); in isSingleImageMode()
/packages/apps/Email/src/com/android/email/mail/transport/
DSmtpSender.java67 private SmtpSender(Context context, String uriString) throws MessagingException { in SmtpSender() argument
71 uri = new URI(uriString); in SmtpSender()
/packages/apps/Mms/src/com/android/mms/ui/
DComposeMessageActivity.java800 String uriString = uris.remove(0); in addCallAndContactMenuItems() local
802 while (uris.contains(uriString)) { in addCallAndContactMenuItems()
803 uris.remove(uriString); in addCallAndContactMenuItems()
806 int sep = uriString.indexOf(":"); in addCallAndContactMenuItems()
809 prefix = uriString.substring(0, sep); in addCallAndContactMenuItems()
810 uriString = uriString.substring(sep + 1); in addCallAndContactMenuItems()
815 R.string.menu_send_email).replace("%s", uriString); in addCallAndContactMenuItems()
817 Uri.parse("mailto:" + uriString)); in addCallAndContactMenuItems()
822 addToContacts = !haveEmailContact(uriString); in addCallAndContactMenuItems()
825 R.string.menu_call_back).replace("%s", uriString); in addCallAndContactMenuItems()
[all …]
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java240 String uriString = ha.getStoreUri(); in testHostAuthSecurityUri() local
241 assertTrue(uriString.startsWith("protocol://")); in testHostAuthSecurityUri()
243 uriString = ha.getStoreUri(); in testHostAuthSecurityUri()
244 assertTrue(uriString.startsWith("protocol+ssl+://")); in testHostAuthSecurityUri()
246 uriString = ha.getStoreUri(); in testHostAuthSecurityUri()
247 assertTrue(uriString.startsWith("protocol+ssl+trustallcerts://")); in testHostAuthSecurityUri()
250 uriString = ha.getStoreUri(); in testHostAuthSecurityUri()
251 assertTrue(uriString.startsWith("protocol+tls+://")); in testHostAuthSecurityUri()
253 uriString = ha.getStoreUri(); in testHostAuthSecurityUri()
254 assertTrue(uriString.startsWith("protocol+tls+trustallcerts://")); in testHostAuthSecurityUri()
/packages/apps/Email/src/com/android/email/activity/
DMessageView.java210 String uriString = (String) msg.obj; in handleMessage() local
212 mMessageContentView.loadUrl(uriString); in handleMessage()
266 public void loadContentUri(String uriString) { in loadContentUri() argument
268 msg.obj = uriString; in loadContentUri()
DMessageCompose.java216 public static boolean actionCompose(Context context, String uriString, long accountId) { in actionCompose() argument
220 i.setData(Uri.parse(uriString)); in actionCompose()
/packages/apps/Browser/src/com/android/browser/
DTab.java279 String uriString = mVoiceSearchData.mVoiceSearchHtmls.get(index); in activateVoiceSearchMode() local
280 if (uriString != null) { in activateVoiceSearchMode()
281 Uri dataUri = Uri.parse(uriString); in activateVoiceSearchMode()
292 uriString.substring(RecognizerResultsIntent in activateVoiceSearchMode()
/packages/apps/Email/src/com/android/email/mail/store/
DImapStore.java153 private ImapStore(Context context, String uriString) throws MessagingException { in ImapStore() argument
157 uri = new URI(uriString); in ImapStore()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java2274 private void assertBooleanUriParameter(String uriString, String parameter, in assertBooleanUriParameter() argument
2277 Uri.parse(uriString), parameter, defaultValue)); in assertBooleanUriParameter()
2483 private void assertQueryParameter(String uriString, String parameter, String expectedValue) { in assertQueryParameter() argument
2485 Uri.parse(uriString), parameter)); in assertQueryParameter()
/packages/apps/Email/src/com/android/email/provider/
DEmailContent.java2297 public void setStoreUri(String uriString) { in setStoreUri() argument
2299 URI uri = new URI(uriString); in setStoreUri()