Home
last modified time | relevance | path

Searched refs:stringUrl (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/net/src/android/net/cts/
DMailToTest.java63 String stringUrl = mailTo_2.toString(); in testParseMailToURI() local
64 assertTrue(stringUrl.startsWith("mailto:?")); in testParseMailToURI()
65 assertTrue(stringUrl.contains("to=infobot%40example.com&")); in testParseMailToURI()
66 assertTrue(stringUrl.contains("subject=current-issue&")); in testParseMailToURI()
76 stringUrl = mailTo_3.toString(); in testParseMailToURI()
77 assertTrue(stringUrl.startsWith("mailto:?")); in testParseMailToURI()
78 assertTrue(stringUrl.contains("to=infobot%40example.com&")); in testParseMailToURI()
79 assertTrue(stringUrl.contains("body=send%20current-issue&")); in testParseMailToURI()
89 stringUrl = mailTo_4.toString(); in testParseMailToURI()
90 assertTrue(stringUrl.startsWith("mailto:?")); in testParseMailToURI()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Images_MediaTest.java116 String stringUrl = null; in testInsertImageWithImagePath() local
118 stringUrl = Media.insertImage(mContentResolver, path, TEST_TITLE1, null); in testInsertImageWithImagePath()
125 assertInsertionSuccess(stringUrl); in testInsertImageWithImagePath()
132 stringUrl = null; in testInsertImageWithImagePath()
134 stringUrl = Media.insertImage(mContentResolver, path, TEST_TITLE2, null); in testInsertImageWithImagePath()
141 assertInsertionSuccess(stringUrl); in testInsertImageWithImagePath()
144 c = Media.query(mContentResolver, Uri.parse(stringUrl), in testInsertImageWithImagePath()
167 c = Media.query(mContentResolver, Uri.parse(stringUrl), in testInsertImageWithImagePath()
184 String stringUrl = null; in testInsertImageWithBitmap() local
186 stringUrl = Media.insertImage(mContentResolver, src, TEST_TITLE3, TEST_DESCRIPTION3); in testInsertImageWithBitmap()
[all …]
DMediaStore_Images_ThumbnailsTest.java191 String stringUrl = null; in testQueryExternalMiniThumbnails() local
193 stringUrl = Media.insertImage(mContentResolver, src, "cts" + System.nanoTime(), null); in testQueryExternalMiniThumbnails()
198 assertNotNull(stringUrl); in testQueryExternalMiniThumbnails()
199 Uri stringUri = Uri.parse(stringUrl); in testQueryExternalMiniThumbnails()
227 stringUrl = Media.insertImage(mContentResolver, src, "cts" + System.nanoTime(), null); in testQueryExternalMiniThumbnails()
228 c = mContentResolver.query(Uri.parse(stringUrl), in testQueryExternalMiniThumbnails()