Home
last modified time | relevance | path

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

12345

/packages/apps/Settings/src/com/android/settings/slices/
DCustomSliceRegistry.java65 .scheme(ContentResolver.SCHEME_CONTENT)
75 .scheme(ContentResolver.SCHEME_CONTENT)
85 .scheme(ContentResolver.SCHEME_CONTENT)
95 .scheme(ContentResolver.SCHEME_CONTENT)
105 .scheme(ContentResolver.SCHEME_CONTENT)
115 .scheme(ContentResolver.SCHEME_CONTENT)
125 .scheme(ContentResolver.SCHEME_CONTENT)
135 .scheme(ContentResolver.SCHEME_CONTENT)
144 .scheme(ContentResolver.SCHEME_CONTENT)
153 .scheme(ContentResolver.SCHEME_CONTENT)
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DCustomSliceRegistry.java62 .scheme(ContentResolver.SCHEME_CONTENT)
72 .scheme(ContentResolver.SCHEME_CONTENT)
82 .scheme(ContentResolver.SCHEME_CONTENT)
92 .scheme(ContentResolver.SCHEME_CONTENT)
102 .scheme(ContentResolver.SCHEME_CONTENT)
112 .scheme(ContentResolver.SCHEME_CONTENT)
122 .scheme(ContentResolver.SCHEME_CONTENT)
131 .scheme(ContentResolver.SCHEME_CONTENT)
140 .scheme(ContentResolver.SCHEME_CONTENT)
149 .scheme(ContentResolver.SCHEME_CONTENT)
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProviderTest.java88 .scheme("badscheme") in getType_notContentScheme_throwsIllegalArgumentException()
99 .scheme(ContentResolver.SCHEME_CONTENT) in getType_invalidAuthority_throwsIllegalArgumentException()
110 .scheme(ContentResolver.SCHEME_CONTENT) in getType_emptyPath_throwsIllegalArgumentException()
119 .scheme(ContentResolver.SCHEME_CONTENT) in getType_missingPackageName_throwsIllegalArgumentException()
129 .scheme(ContentResolver.SCHEME_CONTENT) in getType_missingFileName_throwsIllegalArgumentException()
139 .scheme(ContentResolver.SCHEME_CONTENT) in getType_incorrectFileName_throwsIllegalArgumentException()
158 .scheme(ContentResolver.SCHEME_CONTENT) in getType_packageNotAModule_throwsIllegalArgumentException()
177 .scheme(ContentResolver.SCHEME_CONTENT) in getType_validUri_returnsHtmlMimeType()
188 .scheme("badscheme") in openFile_notContentScheme_throwsIllegalArgumentException()
199 .scheme(ContentResolver.SCHEME_CONTENT) in openFile_invalidAuthority_throwsIllegalArgumentException()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSettingsSliceProviderTest.java246 .scheme(ContentResolver.SCHEME_CONTENT) in onBindSlice_requestsBlockedSlice_returnsNull()
291 .scheme(SCHEME_CONTENT) in getDescendantUris_invalidPath_returnsEmpty()
306 .scheme(SCHEME_CONTENT) in getDescendantUris_platformSlice_doesNotReturnOEMSlice()
320 .scheme(SCHEME_CONTENT) in getDescendantUris_oemSlice_doesNotReturnPlatformSlice()
335 .scheme(SCHEME_CONTENT) in getDescendantUris_oemSlice_returnsOEMUriDescendant()
342 .scheme(SCHEME_CONTENT) in getDescendantUris_oemSlice_returnsOEMUriDescendant()
358 .scheme(SCHEME_CONTENT) in getDescendantUris_oemSliceNoPath_returnsOEMUriDescendant()
364 .scheme(SCHEME_CONTENT) in getDescendantUris_oemSliceNoPath_returnsOEMUriDescendant()
380 .scheme(SCHEME_CONTENT) in getDescendantUris_platformSlice_returnsPlatformUriDescendant()
387 .scheme(SCHEME_CONTENT) in getDescendantUris_platformSlice_returnsPlatformUriDescendant()
[all …]
DSliceBroadcastReceiverTest.java94 .scheme(ContentResolver.SCHEME_CONTENT) in onReceive_toggleChanged()
149 .scheme(ContentResolver.SCHEME_CONTENT) in toggleUpdate_synchronously_notifyChange_should_be_called()
187 .scheme(ContentResolver.SCHEME_CONTENT) in onReceive_sliderChanged()
292 .scheme(ContentResolver.SCHEME_CONTENT) in toggleUpdate_unavailableUriNotified()
333 .scheme(ContentResolver.SCHEME_CONTENT) in sliderUpdate_unavailableUriNotified()
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapContract.java164 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildAccountUri()
176 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildAccountUriwithId()
188 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildMessageUri()
200 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildMessageUri()
213 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildMessageUriWithId()
227 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildFolderUri()
240 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildConversationUri()
253 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildConvoContactsUri()
265 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildConvoContactsUri()
279 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildConvoContactsUriWithId()
/packages/apps/Tag/src/com/android/apps/tag/record/
DUriRecord.java71 String scheme = mUri.getScheme(); in getIntentForUri() local
72 if ("tel".equals(scheme)) { in getIntentForUri()
74 } else if ("sms".equals(scheme) || "smsto".equals(scheme)) { in getIntentForUri()
82 String scheme = mUri.getScheme(); in getPrettyUriString() local
83 boolean tel = "tel".equals(scheme); in getPrettyUriString()
84 boolean sms = "sms".equals(scheme) || "smsto".equals(scheme); in getPrettyUriString()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java83 final String scheme = uri.getScheme(); in isLocalResourceUri() local
84 return TextUtils.equals(scheme, ContentResolver.SCHEME_ANDROID_RESOURCE) || in isLocalResourceUri()
85 TextUtils.equals(scheme, ContentResolver.SCHEME_CONTENT) || in isLocalResourceUri()
86 TextUtils.equals(scheme, ContentResolver.SCHEME_FILE); in isLocalResourceUri()
93 final String scheme = uri.getScheme(); in isBugleAppResource() local
94 return TextUtils.equals(scheme, ContentResolver.SCHEME_ANDROID_RESOURCE); in isBugleAppResource()
106 .scheme(ContentResolver.SCHEME_ANDROID_RESOURCE) in getUriForResourceId()
DAvatarUriUtil.java84 public static final Uri DEFAULT_BACKGROUND_AVATAR = new Uri.Builder().scheme(SCHEME)
130 builder.scheme(SCHEME); in joinAvatarUriToGroup()
213 builder.scheme(SCHEME); in createSimIconUri()
236 builder.scheme(SCHEME); in fromLocalResourceWithFallback()
247 builder.scheme(SCHEME); in fromName()
260 builder.scheme(SCHEME); in fromIdentifier()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DUtils.java104 String scheme = uri.getScheme(); in piiHandle() local
106 if (!TextUtils.isEmpty(scheme)) { in piiHandle()
107 sb.append(scheme).append(":"); in piiHandle()
111 if (PhoneAccount.SCHEME_TEL.equals(scheme)) { in piiHandle()
113 } else if (PhoneAccount.SCHEME_SIP.equals(scheme)) { in piiHandle()
/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()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DMdnsDiscovery.java67 public MdnsDiscovery(BuiltInPrintService printService, String scheme) { in MdnsDiscovery() argument
70 switch (scheme) { in MdnsDiscovery()
78 throw new IllegalArgumentException("unrecognized scheme " + scheme); in MdnsDiscovery()
114 String scheme = info.getServiceType().contains(SERVICE_IPPS) ? SCHEME_IPPS : SCHEME_IPP; in toNetworkPrinter() local
115 Uri path = Uri.parse(scheme + "://" + info.getHost().getHostAddress() + ":" + info.getPort() in toNetworkPrinter()
DManualDiscovery.java107 String scheme = uri.getScheme(); in addManualPrinter() local
108 if (!TextUtils.isEmpty(givenScheme) && !scheme.equals(givenScheme)) { in addManualPrinter()
114 Uri targetUri = uri.buildUpon().scheme(scheme).encodedAuthority(authority).path(path) in addManualPrinter()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppSendFileInfo.java105 String scheme = uri.getScheme(); in generateFileInfo() local
112 if ("content".equals(scheme)) { in generateFileInfo()
151 } else if ("file".equals(scheme)) { in generateFileInfo()
171 if (scheme.equals("content")) { in generateFileInfo()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPicasaSource.java111 .scheme("content") in openCursor()
215 .scheme("content") in findImages()
260 .scheme("content") in resolveAccount()
294 .scheme("content") in resolveAlbumIds()
335 .scheme("content") in findAlbums()
437 .scheme("content") in getStream()
/packages/apps/Contacts/src/com/android/contacts/activities/
DShowOrCreateActivity.java105 String scheme = null; in onCreate() local
108 scheme = data.getScheme(); in onCreate()
129 if (ContactsUtils.SCHEME_MAILTO.equals(scheme)) { in onCreate()
135 } else if (PhoneAccount.SCHEME_TEL.equals(scheme)) { in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DUriImage.java94 String scheme = mUri.getScheme(); in openOrDownloadInner() local
95 if (ContentResolver.SCHEME_CONTENT.equals(scheme) in openOrDownloadInner()
96 || ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme) in openOrDownloadInner()
97 || ContentResolver.SCHEME_FILE.equals(scheme)) { in openOrDownloadInner()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java602 String scheme = srcUri.getScheme(); in getLocalFileFromUri() local
603 if (scheme == null) { in getLocalFileFromUri()
611 if (scheme.equals(ContentResolver.SCHEME_CONTENT)) { in getLocalFileFromUri()
624 } else if (scheme.equals(ContentResolver.SCHEME_FILE)) { in getLocalFileFromUri()
743 String scheme = sourceUri.getScheme(); in isFileUri() local
744 if (scheme != null && scheme.equals(ContentResolver.SCHEME_FILE)) { in isFileUri()
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectPhoneNumbersListFragment.java81 final String scheme = getActivity().getIntent().getStringExtra( in onOptionsItemSelected() local
86 getActivity(), getAdapter().getSelectedContactIdsArray(), scheme); in onOptionsItemSelected()
88 GroupUtil.startSendToSelectionActivity(this, list, scheme, title); in onOptionsItemSelected()
DMultiSelectEmailAddressesListFragment.java81 final String scheme = getActivity().getIntent().getStringExtra( in onOptionsItemSelected() local
86 getActivity(), getAdapter().getSelectedContactIdsArray(), scheme); in onOptionsItemSelected()
88 GroupUtil.startSendToSelectionActivity(this, list, scheme, title); in onOptionsItemSelected()
/packages/apps/TV/src/com/android/tv/util/images/
DBitmapUtils.java197 String scheme = uri.getScheme(); in isContentResolverUri() local
198 return ContentResolver.SCHEME_CONTENT.equals(scheme) in isContentResolverUri()
199 || ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme) in isContentResolverUri()
200 || ContentResolver.SCHEME_FILE.equals(scheme); in isContentResolverUri()
/packages/apps/ThemePicker/src/com/android/customization/model/grid/
DLauncherGridOptionsProvider.java95 .scheme(ContentResolver.SCHEME_CONTENT) in fetch()
111 .scheme(ContentResolver.SCHEME_CONTENT) in fetch()
129 .scheme(ContentResolver.SCHEME_CONTENT) in applyGrid()
/packages/apps/Music/kotlin/src/com/android/music/
DAudioPreview.kt83 val scheme: String? = mUri?.getScheme() in onCreate() constant
90 if (scheme == "http") { in onCreate()
152 if (scheme == ContentResolver.SCHEME_CONTENT) { in onCreate()
163 } else if (scheme == "file") { in onCreate()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java88 String scheme = mUri.getScheme(); in onCreate() local
97 if (scheme.equals("http")) { in onCreate()
167 if (scheme.equals(ContentResolver.SCHEME_CONTENT)) { in onCreate()
179 } else if (scheme.equals("file")) { in onCreate()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/
DWikidata.java129 ub.scheme("https"); in getSearchUri()
175 ub.scheme("https"); in getContentUri()
204 ub.scheme("https"); in getSparqlUri()

12345