Searched refs:uriString (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/imageprocessing/
H A DImageSetupWorker.java40 String uriString = getInputData().getString(URI_KEY, null);
41 if (TextUtils.isEmpty(uriString)) {
47 image.mOriginalAssetName = uriString;
53 static OneTimeWorkRequest createWork(String uriString) { argument
54 Data input = new Data.Builder().putString(URI_KEY, uriString).build();
H A DImageProcessingWorker.java50 String uriString = getInputData().getString(URI_KEY, null);
51 if (TextUtils.isEmpty(uriString)) {
56 Bitmap image = retrieveImage(uriString);
73 .setProcessed(uriString, filePath);
84 private Bitmap retrieveImage(String uriString) { argument
85 Uri uri = Uri.parse(uriString);
145 static OneTimeWorkRequest createWork(String uriString) { argument
146 Data input = new Data.Builder().putString(URI_KEY, uriString).build();
H A DImageProcessingActivity.java98 String uriString = data.getClipData().getItemAt(i).getUri().toString();
99 setupWork[i] = ImageSetupWorker.createWork(uriString);
100 processingWork[i] = ImageProcessingWorker.createWork(uriString);
109 String uriString = data.getData().toString();
110 OneTimeWorkRequest setupWork = ImageSetupWorker.createWork(uriString);
111 OneTimeWorkRequest processingWork = ImageProcessingWorker.createWork(uriString);
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
H A DBitmapRequestKeyImpl.java32 public BitmapRequestKeyImpl(String uriString) { argument
33 mUriString = uriString;
36 url = new URL(uriString);
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DImageViewBindingAdapterTest.java59 String uriString = ContentResolver.SCHEME_ANDROID_RESOURCE + "://" +
62 mBinder.setUriString(uriString);
63 mBinder.setUri(Uri.parse(uriString));
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbAccessoryUriActivity.java54 String uriString = intent.getStringExtra("uri");
55 mUri = (uriString == null ? null : Uri.parse(uriString));
59 Log.e(TAG, "could not parse Uri " + uriString);
/frameworks/base/core/java/android/net/
H A DUri.java447 * @param uriString an RFC 2396-compliant, encoded URI
448 * @throws NullPointerException if uriString is null
451 public static Uri parse(String uriString) { argument
452 return new StringUri(uriString);
486 private final String uriString; field in class:Uri.StringUri
488 private StringUri(String uriString) { argument
489 if (uriString == null) {
490 throw new NullPointerException("uriString");
493 this.uriString = uriString;
722 parseAuthority(String uriString, int ssi) argument
763 parsePath(String uriString, int ssi) argument
1293 private volatile String uriString = NOT_CACHED; field in class:Uri.HierarchicalUri
[all...]
/frameworks/av/include/media/
H A DDataSource.h63 virtual bool getUri(char *uriString, size_t bufferSize) final {
64 int ret = snprintf(uriString, bufferSize, "%s", getUri().c_str());
H A DDataSourceBase.h61 virtual bool getUri(char *uriString, size_t bufferSize);
/frameworks/av/media/libmediaextractor/include/media/
H A DDataSource.h63 virtual bool getUri(char *uriString, size_t bufferSize) final {
64 int ret = snprintf(uriString, bufferSize, "%s", getUri().c_str());
H A DDataSourceBase.h61 virtual bool getUri(char *uriString, size_t bufferSize);
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipProfile.java116 * @param uriString the URI string as "sip:<user_name>@<domain>"
119 public Builder(String uriString) throws ParseException { argument
120 if (uriString == null) {
121 throw new NullPointerException("uriString cannot be null");
123 URI uri = mAddressFactory.createURI(fix(uriString));
127 throw new ParseException(uriString + " is not a SIP URI", 0);
151 private String fix(String uriString) { argument
152 return (uriString.trim().toLowerCase().startsWith("sip:")
153 ? uriString
154 : "sip:" + uriString);
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
H A DVoicemailNotificationSettingsUtil.java84 String uriString = prefs.getString(
87 return !TextUtils.isEmpty(uriString) ? Uri.parse(uriString) : null;
146 String uriString = prefs.getString(
150 editor.putString(key, uriString)
/frameworks/base/core/java/android/preference/
H A DRingtonePreference.java199 final String uriString = getPersistedString(null);
200 return !TextUtils.isEmpty(uriString) ? Uri.parse(uriString) : null;
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
H A DChannelLogoUtils.java162 private static URLConnection getUrlConnection(String uriString) throws IOException { argument
163 URLConnection urlConnection = new URL(uriString).openConnection();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DTileUtils.java496 String uriString = tile.metaData.getString(META_DATA_PREFERENCE_SUMMARY_URI);
497 Bundle bundle = getBundleFromUri(context, uriString, providerMap);
513 * @param uriString URI for the content provider
518 String uriString, Map<String, IContentProvider> providerMap) {
519 Bundle bundle = getBundleFromUri(context, uriString, providerMap);
542 * @param uriString URI for the content provider
547 public static String getTextFromUri(Context context, String uriString, argument
549 Bundle bundle = getBundleFromUri(context, uriString, providerMap);
553 private static Bundle getBundleFromUri(Context context, String uriString, argument
555 if (TextUtils.isEmpty(uriString)) {
517 getIconFromUri(Context context, String packageName, String uriString, Map<String, IContentProvider> providerMap) argument
[all...]
/frameworks/support/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/
H A DSliceBrowser.java253 String uriString = uri.toString();
254 if (uriString.contains(query)) {
255 ranking.put(uriString, uriString.indexOf(query));
256 suggestions.add(uriString);
/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/
H A DSliceBrowser.java253 String uriString = uri.toString();
254 if (uriString.contains(query)) {
255 ranking.put(uriString, uriString.indexOf(query));
256 suggestions.add(uriString);
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriTest.java447 String uriString = sb.toString();
449 Uri uri = Uri.parse(uriString);
453 uriString, ssp, uri, scheme, authority, path, query, fragment);
455 uriString, ssp, uri, scheme, authority, path, query, fragment);
462 uriString, ssp, uri, scheme, authority, path, query, fragment);
464 uriString, ssp, uri, scheme, authority, path, query, fragment);
479 uriString, ssp, built, scheme, authority, path, query, fragment);
481 uriString, ssp, built, scheme, authority, path, query, fragment);
493 uriString, ssp, built, scheme, authority, path, query, fragment);
495 uriString, ss
506 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument
[all...]
/frameworks/base/core/java/android/nfc/
H A DNdefRecord.java344 String uriString = uri.toString();
345 if (uriString.length() == 0) throw new IllegalArgumentException("uri is empty");
349 if (uriString.startsWith(URI_PREFIX_MAP[i])) {
351 uriString = uriString.substring(URI_PREFIX_MAP[i].length());
355 byte[] uriBytes = uriString.getBytes(StandardCharsets.UTF_8);
368 * The uriString parameter will be normalized with
372 * {@link IllegalArgumentException} may be thrown if the uriString
379 * @param uriString string URI to encode.
381 * @throws IllegalArugmentException if the uriString i
383 createUri(String uriString) argument
[all...]
/frameworks/av/media/libmediaextractor/
H A DDataSourceBase.cpp126 bool DataSourceBase::getUri(char *uriString __unused, size_t bufferSize __unused) {
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java539 String uriString = uri.toString();
540 int indexOfLastSlash = uriString.lastIndexOf('/');
542 return uriString.substring(0, indexOfLastSlash) + "/xxxxxxx";
544 return uriString;
/frameworks/base/media/java/android/media/
H A DRingtoneManager.java551 String uriString = cursor.getString(URI_COLUMN_INDEX);
552 if (currentUri == null || !uriString.equals(previousUriString)) {
553 currentUri = Uri.parse(uriString);
563 previousUriString = uriString;
809 final String uriString = Settings.System.getStringForUser(context.getContentResolver(),
811 Uri ringtoneUri = uriString != null ? Uri.parse(uriString) : null;
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSliceView.java349 public void setupUri(String uriString) { argument
350 if (uriString == null) {
351 uriString = KeyguardSliceProvider.KEYGUARD_SLICE_URI;
360 mKeyguardSliceUri = Uri.parse(uriString);
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java612 final String uriString = data.getString(uriIndex);
615 uri = Uri.parse(uriString).buildUpon().clearQuery().build();
617 uri = Uri.parse(uriString).buildUpon().query(null).build();

Completed in 466 milliseconds

12