/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/imageprocessing/ |
H A D | ImageSetupWorker.java | 40 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 D | ImageProcessingWorker.java | 50 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 D | ImageProcessingActivity.java | 98 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 D | BitmapRequestKeyImpl.java | 32 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 D | ImageViewBindingAdapterTest.java | 59 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 D | UsbAccessoryUriActivity.java | 54 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 D | Uri.java | 447 * @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 D | DataSource.h | 63 virtual bool getUri(char *uriString, size_t bufferSize) final { 64 int ret = snprintf(uriString, bufferSize, "%s", getUri().c_str());
|
H A D | DataSourceBase.h | 61 virtual bool getUri(char *uriString, size_t bufferSize);
|
/frameworks/av/media/libmediaextractor/include/media/ |
H A D | DataSource.h | 63 virtual bool getUri(char *uriString, size_t bufferSize) final { 64 int ret = snprintf(uriString, bufferSize, "%s", getUri().c_str());
|
H A D | DataSourceBase.h | 61 virtual bool getUri(char *uriString, size_t bufferSize);
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SipProfile.java | 116 * @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 D | VoicemailNotificationSettingsUtil.java | 84 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 D | RingtonePreference.java | 199 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 D | ChannelLogoUtils.java | 162 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 D | TileUtils.java | 496 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 D | SliceBrowser.java | 253 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 D | SliceBrowser.java | 253 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 D | UriTest.java | 447 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 D | NdefRecord.java | 344 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 D | DataSourceBase.cpp | 126 bool DataSourceBase::getUri(char *uriString __unused, size_t bufferSize __unused) {
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallerInfoAsyncQuery.java | 539 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 D | RingtoneManager.java | 551 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 D | KeyguardSliceView.java | 349 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 D | PhotoViewController.java | 612 final String uriString = data.getString(uriIndex); 615 uri = Uri.parse(uriString).buildUpon().clearQuery().build(); 617 uri = Uri.parse(uriString).buildUpon().query(null).build();
|