Home
last modified time | relevance | path

Searched refs:uriString (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/net/
DUri.java431 public static Uri parse(String uriString) { in parse() argument
432 return new StringUri(uriString); in parse()
466 private final String uriString; field in Uri.StringUri
468 private StringUri(String uriString) { in StringUri() argument
469 if (uriString == null) { in StringUri()
473 this.uriString = uriString; in StringUri()
486 parcel.writeString(uriString); in writeToParcel()
495 ? cachedSsi = uriString.indexOf(':') in findSchemeSeparator()
505 ? cachedFsi = uriString.indexOf('#', findSchemeSeparator()) in findFragmentSeparator()
517 if (uriString.length() == ssi + 1) { in isHierarchical()
[all …]
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java119 public Builder(String uriString) throws ParseException { in Builder() argument
120 if (uriString == null) { in Builder()
123 URI uri = mAddressFactory.createURI(fix(uriString)); in Builder()
127 throw new ParseException(uriString + " is not a SIP URI", 0); in Builder()
151 private String fix(String uriString) { in fix() argument
152 return (uriString.trim().toLowerCase().startsWith("sip:") in fix()
153 ? uriString in fix()
154 : "sip:" + uriString); in fix()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java54 String uriString = intent.getStringExtra("uri"); in onCreate() local
55 mUri = (uriString == null ? null : Uri.parse(uriString)); in onCreate()
59 Log.e(TAG, "could not parse Uri " + uriString); in onCreate()
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
DBitmapRequestKeyImpl.java32 public BitmapRequestKeyImpl(String uriString) { in BitmapRequestKeyImpl() argument
33 mUriString = uriString; in BitmapRequestKeyImpl()
36 url = new URL(uriString); in BitmapRequestKeyImpl()
/frameworks/base/media/java/android/media/
DRingtoneManager.java429 String uriString = cursor.getString(URI_COLUMN_INDEX); in getRingtonePosition() local
430 if (currentUri == null || !uriString.equals(previousUriString)) { in getRingtonePosition()
431 currentUri = Uri.parse(uriString); in getRingtonePosition()
441 previousUriString = uriString; in getRingtonePosition()
616 final String uriString = Settings.System.getString(context.getContentResolver(), setting); in getActualDefaultRingtoneUri()
617 return uriString != null ? Uri.parse(uriString) : null; in getActualDefaultRingtoneUri()
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java436 String uriString = sb.toString(); in testHierarchical() local
438 Uri uri = Uri.parse(uriString); in testHierarchical()
442 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
444 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
451 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
453 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
468 uriString, ssp, built, scheme, authority, path, query, fragment); in testHierarchical()
470 uriString, ssp, built, scheme, authority, path, query, fragment); in testHierarchical()
482 uriString, ssp, built, scheme, authority, path, query, fragment); in testHierarchical()
484 uriString, ssp, built, scheme, authority, path, query, fragment); in testHierarchical()
[all …]
/frameworks/base/core/java/android/nfc/
DNdefRecord.java344 String uriString = uri.toString(); in createUri() local
345 if (uriString.length() == 0) throw new IllegalArgumentException("uri is empty"); in createUri()
349 if (uriString.startsWith(URI_PREFIX_MAP[i])) { in createUri()
351 uriString = uriString.substring(URI_PREFIX_MAP[i].length()); in createUri()
355 byte[] uriBytes = uriString.getBytes(StandardCharsets.UTF_8); in createUri()
383 public static NdefRecord createUri(String uriString) { in createUri() argument
384 return createUri(Uri.parse(uriString)); in createUri()
/frameworks/base/core/java/android/preference/
DRingtonePreference.java196 final String uriString = getPersistedString(null); in onRestoreRingtone() local
197 return !TextUtils.isEmpty(uriString) ? Uri.parse(uriString) : null; in onRestoreRingtone()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfoAsyncQuery.java497 String uriString = uri.toString(); in sanitizeUriToString() local
498 int indexOfLastSlash = uriString.lastIndexOf('/'); in sanitizeUriToString()
500 return uriString.substring(0, indexOfLastSlash) + "/xxxxxxx"; in sanitizeUriToString()
502 return uriString; in sanitizeUriToString()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java546 final String uriString = data.getString(uriIndex); in onLoadFinished() local
549 uri = Uri.parse(uriString).buildUpon().clearQuery().build(); in onLoadFinished()
551 uri = Uri.parse(uriString).buildUpon().query(null).build(); in onLoadFinished()
/frameworks/base/core/java/android/app/
DDownloadManager.java434 Request(String uriString) { in Request() argument
435 mUri = Uri.parse(uriString); in Request()
/frameworks/base/docs/html/guide/topics/text/
Dcopy-paste.jd713 String uriString = "content://com.example.contacts" + "/" + "Smith…
715 // uriString now contains content://com.example.contacts/Smith.
718 Uri copyUri = Uri.parse(uriString);
851 uriString = CONTACTS + COPY_PATH + "/" + lastName;
854 Uri copyUri = Uri.parse(uriString);