Home
last modified time | relevance | path

Searched refs:getScheme (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java77 assertEquals("robert", u.getScheme()); in testBuildUponOpaqueStringUri()
198 assertEquals("foo", b.getScheme()); in testBuildUponOpaqueUri()
211 assertEquals("foo", b.getScheme()); in testBuildUponEncodedOpaqueUri()
299 assertEquals("empty", uri.getScheme()); in testSchemeOnly()
371 assertEquals("mailto", uri.getScheme()); in testOpaqueUri()
499 assertEquals(scheme, uri.getScheme()); in compareHierarchical()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java154 if (data != null && data.getScheme() != null) { in onIntentSelected()
159 || (!"file".equals(data.getScheme()) in onIntentSelected()
160 && !"content".equals(data.getScheme()))) { in onIntentSelected()
161 filter.addDataScheme(data.getScheme()); in onIntentSelected()
/frameworks/base/core/java/android/net/http/
DHttpConnection.java92 String getScheme() { in getScheme() method in HttpConnection
DRequestQueue.java330 HttpHost httpHost = new HttpHost(uri.getHost(), uri.getPort(), uri.getScheme()); in queueRequest()
378 HttpHost host = new HttpHost(uri.getHost(), uri.getPort(), uri.getScheme()); in queueSynchronousRequest()
DHttpAuthHeader.java184 public int getScheme() { in getScheme() method in HttpAuthHeader
DHttpsConnection.java418 String getScheme() { in getScheme() method in HttpsConnection
DConnection.java504 abstract String getScheme(); in getScheme() method in Connection
/frameworks/base/core/java/android/provider/
DApplications.java92 if (!ContentResolver.SCHEME_CONTENT.equals(appUri.getScheme())) return null; in uriToComponentName()
/frameworks/base/core/java/android/content/
DContentResolver.java219 if (!SCHEME_CONTENT.equals(url.getScheme())) { in getType()
354 String scheme = uri.getScheme(); in openInputStream()
518 String scheme = uri.getScheme(); in openAssetFileDescriptor()
912 if (!SCHEME_CONTENT.equals(uri.getScheme())) { in acquireProvider()
931 if (!SCHEME_CONTENT.equals(uri.getScheme())) { in acquireExistingProvider()
DClipData.java391 if ("content".equals(uri.getScheme())) { in newUri()
/frameworks/base/core/java/android/net/
DUri.java170 public abstract String getScheme(); in getScheme() method in Uri
361 String scheme = getScheme(); in toSafeString()
527 public String getScheme() { in getScheme() method in Uri.StringUri
775 .scheme(getScheme()) in buildUpon()
782 .scheme(getScheme()) in buildUpon()
863 public String getScheme() { in getScheme() method in Uri.OpaqueUri
1178 public String getScheme() { in getScheme() method in Uri.HierarchicalUri
DWebAddress.java142 public String getScheme() { in getScheme() method in WebAddress
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBench.java57 String scheme = uri.getScheme(); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java65 String scheme = mUri.getScheme(); in onCreate()
/frameworks/base/media/java/android/media/
DMediaMetadataRetriever.java135 String scheme = uri.getScheme(); in setDataSource()
DMediaPlayer.java775 String scheme = uri.getScheme(); in setDataSource()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestProvider.java101 TestCase.assertTrue(ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())); in queryEntities()
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java134 String scheme = fileUri.getScheme();
352 String scheme = pPackageURI.getScheme(); in copyFile()
/frameworks/base/core/java/android/webkit/
DCookieManager.java406 if (!cookieEntry.secure || HTTPS.equals(uri.getScheme())) { in setCookie()
521 boolean secure = HTTPS.equals(uri.getScheme()); in getCookie()
886 if (uri.getScheme().equalsIgnoreCase("file")) { in getHostAndPath()
DBrowserFrame.java509 String schemePlusHost = uri.getScheme() + uri.getHost(); in handleMessage()
914 String schemePlusHost = uri.getScheme() + uri.getHost(); in maybeSavePassword()
/frameworks/base/services/java/com/android/server/
DClipboardService.java151 if (!"content".equals(uri.getScheme())) { in checkUriOwnerLocked()
DIntentResolver.java211 final String scheme = intent.getScheme(); in queryIntentFromList()
222 String scheme = intent.getScheme(); in queryIntent()
/frameworks/support/v4/java/android/support/v4/content/
DLocalBroadcastManager.java206 final String scheme = intent.getScheme(); in sendBroadcast()
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java759 String scheme = uri.getScheme(); in convertUriToPath()
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java560 String scheme = uri.getScheme(); in getDrawable()

12