/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
D | Scheme.java | 35 return CONTENT.equals(uri.getScheme()); in isContent() 39 return FILE.equals(uri.getScheme()); in isFile() 43 return HTTP.equals(uri.getScheme()); in isHttp() 47 return HTTPS.equals(uri.getScheme()); in isHttps()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | UriUtils.java | 120 return ContentResolver.SCHEME_ANDROID_RESOURCE.equals(uri.getScheme()); in isAndroidResourceUri() 152 return uri == null ? false : SCHEME_ACCOUNT_IMAGE.equals(uri.getScheme()); in isAccountImageUri() 200 return ContentResolver.SCHEME_CONTENT.equals(uri.getScheme()) || in isContentUri() 201 ContentResolver.SCHEME_FILE.equals(uri.getScheme()); in isContentUri() 208 return SCHEME_SHORTCUT_ICON_RESOURCE.equals(uri.getScheme()); in isShortcutIconResourceUri() 243 String scheme = resourceUri.getScheme() == null ? null in isWebUri() 244 : resourceUri.getScheme().toLowerCase(); in isWebUri()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | Uri_BuilderTest.java | 28 assertEquals("http", uri.getScheme()); in testBuilderOperations() 38 assertEquals("mailto", uri.getScheme()); in testBuilderOperations() 51 assertEquals("http", uri.getScheme()); in testBuilderOperations() 61 assertEquals("mailto", uri.getScheme()); in testBuilderOperations()
|
D | UriTest.java | 55 assertEquals("robert", u.getScheme()); in testBuildUpon() 67 assertEquals("foo", b.getScheme()); in testBuildUpon() 76 assertEquals("foo", b.getScheme()); in testBuildUpon() 82 assertEquals("scheme", b.getScheme()); in testBuildUpon() 348 assertEquals("mailto", uri.getScheme()); in testOpaqueUri() 475 assertEquals(scheme, uri.getScheme()); in compareHierarchical()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UriUtil.java | 83 final String scheme = uri.getScheme(); in isLocalResourceUri() 93 final String scheme = uri.getScheme(); in isBugleAppResource() 98 return uri != null && TextUtils.equals(uri.getScheme(), ContentResolver.SCHEME_FILE); in isFileUri() 117 return SUPPORTED_SCHEME.contains(uri.getScheme()); in isLocalUri() 127 return TextUtils.equals(ContentResolver.SCHEME_CONTENT, uri.getScheme()) in isMediaStoreUri() 323 return uri != null && SMS_MMS_SCHEMES.contains(uri.getScheme()); in isSmsMmsUri()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | MimeTypeUtil.java | 32 if (uri.getScheme() == null) return null; in getMimeTypeForUri() 34 if (uri.getScheme().equals(ContentResolver.SCHEME_CONTENT)) { in getMimeTypeForUri() 37 } else if (uri.getScheme().equals(ContentResolver.SCHEME_FILE)) { in getMimeTypeForUri()
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | UriRecord.java | 71 String scheme = mUri.getScheme(); in getIntentForUri() 82 String scheme = mUri.getScheme(); in getPrettyUriString() 119 if (mUri.getScheme().equalsIgnoreCase("file")) { in onClick() 177 if (mUri != null && mUri.getScheme().equalsIgnoreCase("file") && in requestPermissionIfNeeded()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | LocalPrintJob.java | 180 if (IPPS_SCHEME.equals(path.getScheme())) { in onPrinterFound() 251 if (IPPS_SCHEME.equals(newUri.getScheme()) && newUri.getPort() > 0 && in deliver() 252 IPP_SCHEME.equals(mPath.getScheme())) { in deliver() 258 if (mCapabilities.certificate != null && !IPPS_SCHEME.equals(mPath.getScheme())) { in deliver()
|
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/ |
D | CallRedirectionProcessorHelper.java | 158 return Uri.fromParts(handle.getScheme(), number, null); in formatNumberToE164() 174 return Uri.fromParts(handle.getScheme(), number, null); in removePostDialDigits() 184 .scheme(gatewayUri.getScheme()) in getGatewayInfoFromGatewayUri()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | ConferenceParticipantConnectionTest.java | 79 assertEquals(expected.getScheme(), actual.getScheme()); in assertUrisEqual()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | UriImage.java | 94 String scheme = mUri.getScheme(); in openOrDownloadInner() 237 return ContentResolver.SCHEME_FILE.equals(mUri.getScheme()); in isSharable() 260 if (ContentResolver.SCHEME_FILE.equals(mUri.getScheme())) { in getDetails()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | BeamShareActivity.java | 132 if (uri.getScheme().equalsIgnoreCase("content") || in tryUri() 133 uri.getScheme().equalsIgnoreCase("file")) { in tryUri() 223 if (uri.getScheme().equalsIgnoreCase("file") && in parseShareIntentAndFinish()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | UriImage.java | 55 if (mUri.getScheme().equals("file")) { in getInputStream() 67 if (mUri.getScheme().equals("file")) { in getPFD()
|
D | BaseImageList.java | 180 return Util.equals(base.getScheme(), uri.getScheme()) in isChildImageUri()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiQrCode.java | 207 public String getScheme() { in getScheme() method in WifiQrCode 239 if (SCHEME_DPP.equals(wifiQrCode.getScheme())) { in getValidWifiDppQrCodeOrNull()
|
D | AdbQrCode.java | 36 if (!WifiQrCode.SCHEME_ZXING_WIFI_NETWORK_CONFIG.equals(getScheme())) { in AdbQrCode()
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | ManualDiscovery.java | 102 String givenScheme = printerUri.getScheme(); in addManualPrinter() 107 String scheme = uri.getScheme(); in addManualPrinter()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | MovieViewControl.java | 88 String scheme = mUri.getScheme(); in MovieViewControl() 138 String scheme = uri.getScheme(); in uriSupportsBookmarks()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | PackageIconLoader.java | 110 if (ContentResolver.SCHEME_ANDROID_RESOURCE.equals(uri.getScheme())) { in getIcon() 144 String scheme = uri.getScheme(); in getDrawable()
|
/packages/apps/Dialer/java/com/android/dialer/precall/impl/ |
D | CallingAccountSelector.java | 99 switch (builder.getUri().getScheme()) { in runWithUi() 117 "unable to process scheme " + builder.getUri().getScheme()); in runWithUi()
|
D | MalformedNumberRectifier.java | 56 if (!PhoneAccount.SCHEME_TEL.equals(builder.getUri().getScheme())) { in runWithoutUi()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | DeepLinkUtils.java | 32 return data != null && SCHEME.equals(data.getScheme()) in isDeepLink()
|
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/ |
D | FileUploadActivity.java | 276 if (uri.getScheme().equals(ContentResolver.SCHEME_FILE)) { in uriToFile() 278 } else if (uri.getScheme().equals(ContentResolver.SCHEME_CONTENT)) { in uriToFile()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | NotificationSoundPreference.java | 68 } else if(ContentResolver.SCHEME_ANDROID_RESOURCE.equals(uri.getScheme())) { in updateRingtoneName()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/ |
D | GpsCoordinatesTextClassifierTest.java | 109 wasClassified = "geo".equals(test.getIntent().getData().getScheme()); in assertClassifiedGeo()
|