Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DUri.java457 public static Uri parse(String uriString) { in parse() argument
458 return new StringUri(uriString); in parse()
492 private final String uriString; field in Uri.StringUri
494 private StringUri(String uriString) { in StringUri() argument
495 if (uriString == null) { in StringUri()
499 this.uriString = uriString; in StringUri()
512 parcel.writeString8(uriString); in writeToParcel()
521 ? cachedSsi = uriString.indexOf(':') in findSchemeSeparator()
531 ? cachedFsi = uriString.indexOf('#', findSchemeSeparator()) in findFragmentSeparator()
543 if (uriString.length() == ssi + 1) { in isHierarchical()
[all …]
/frameworks/av/include/media/
DDataSource.h59 virtual bool getUri(char *uriString, size_t bufferSize) final { in getUri() argument
60 int ret = snprintf(uriString, bufferSize, "%s", getUri().c_str()); in getUri()
84 mWrapper->getUri = [](void *handle, char *uriString, size_t bufferSize) -> bool { in wrap()
85 return ((DataSource*)handle)->getUri(uriString, bufferSize); in wrap()
DMediaExtractorPluginApi.h36 bool (*getUri)(void *handle, char *uriString, size_t bufferSize);
DMediaExtractorPluginHelper.h319 bool getUri(char *uriString, size_t bufferSize) { in getUri() argument
320 return mSource->getUri(mSource->handle, uriString, bufferSize); in getUri()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java120 public Builder(String uriString) throws ParseException { in Builder() argument
121 if (uriString == null) { in Builder()
124 URI uri = mAddressFactory.createURI(fix(uriString)); in Builder()
128 throw new ParseException(uriString + " is not a SIP URI", 0); in Builder()
152 private String fix(String uriString) { in fix() argument
153 return (uriString.trim().toLowerCase().startsWith("sip:") in fix()
154 ? uriString in fix()
155 : "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/telephony/src/java/com/android/internal/telephony/util/
DVoicemailNotificationSettingsUtil.java84 String uriString = prefs.getString( in getRingTonePreference() local
87 return !TextUtils.isEmpty(uriString) ? Uri.parse(uriString) : null; in getRingTonePreference()
146 String uriString = prefs.getString( in migrateVoicemailRingtoneSettingsIfNeeded() local
150 editor.putString(key, uriString) in migrateVoicemailRingtoneSettingsIfNeeded()
/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/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DSwitchController.java115 final String uriString = new Uri.Builder() in getBundle() local
121 bundle.putString(META_DATA_PREFERENCE_SWITCH_URI, uriString); in getBundle()
123 bundle.putString(META_DATA_PREFERENCE_ICON_URI, uriString); in getBundle()
126 bundle.putString(META_DATA_PREFERENCE_TITLE_URI, uriString); in getBundle()
129 bundle.putString(META_DATA_PREFERENCE_SUMMARY_URI, uriString); in getBundle()
DTileUtils.java411 final String uriString = tile.getMetaData().getString(metaDataKey); in getCompleteUri() local
412 if (TextUtils.isEmpty(uriString)) { in getCompleteUri()
416 final Uri uri = Uri.parse(uriString); in getCompleteUri()
425 + " in AndroidManifest.xml for " + uriString); in getCompleteUri()
DSwitchesProvider.java99 public Bundle call(String method, String uriString, Bundle extras) { in call() argument
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java450 String uriString = sb.toString(); in testHierarchical() local
452 Uri uri = Uri.parse(uriString); in testHierarchical()
456 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
458 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
465 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
467 uriString, ssp, uri, 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()
496 uriString, ssp, built, scheme, authority, path, query, fragment); in testHierarchical()
498 uriString, ssp, built, scheme, authority, path, query, fragment); in testHierarchical()
[all …]
/frameworks/base/core/java/android/nfc/
DNdefRecord.java347 String uriString = uri.toString(); in createUri() local
348 if (uriString.length() == 0) throw new IllegalArgumentException("uri is empty"); in createUri()
352 if (uriString.startsWith(URI_PREFIX_MAP[i])) { in createUri()
354 uriString = uriString.substring(URI_PREFIX_MAP[i].length()); in createUri()
358 byte[] uriBytes = uriString.getBytes(StandardCharsets.UTF_8); in createUri()
386 public static NdefRecord createUri(String uriString) { in createUri() argument
387 return createUri(Uri.parse(uriString)); in createUri()
/frameworks/base/core/java/android/preference/
DRingtonePreference.java208 final String uriString = getPersistedString(null); in onRestoreRingtone() local
209 return !TextUtils.isEmpty(uriString) ? Uri.parse(uriString) : null; in onRestoreRingtone()
/frameworks/base/telecomm/java/android/telecom/
DCallerInfoAsyncQuery.java544 String uriString = uri.toString(); in sanitizeUriToString() local
545 int indexOfLastSlash = uriString.lastIndexOf('/'); in sanitizeUriToString()
547 return uriString.substring(0, indexOfLastSlash) + "/xxxxxxx"; in sanitizeUriToString()
549 return uriString; in sanitizeUriToString()
/frameworks/base/services/core/java/com/android/server/incident/
DPendingReports.java375 private PendingReportRec findAndRemovePendingReportRecLocked(String uriString) { in findAndRemovePendingReportRecLocked() argument
376 final Uri uri = Uri.parse(uriString); in findAndRemovePendingReportRecLocked()
382 Log.w(TAG, "Can't parse id from: " + uriString); in findAndRemovePendingReportRecLocked()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java360 public void setupUri(String uriString) { in setupUri() argument
361 if (uriString == null) { in setupUri()
362 uriString = KeyguardSliceProvider.KEYGUARD_SLICE_URI; in setupUri()
371 mKeyguardSliceUri = Uri.parse(uriString); in setupUri()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaDataManager.kt431 val uriString = metadata.getString(uri) in loadBitmapFromUri() constant
432 if (!TextUtils.isEmpty(uriString)) { in loadBitmapFromUri()
433 val albumArt = loadBitmapFromUri(Uri.parse(uriString)) in loadBitmapFromUri()
/frameworks/base/media/java/android/media/
DRingtoneManager.java785 final String uriString = Settings.System.getStringForUser(context.getContentResolver(), in getActualDefaultRingtoneUri()
787 Uri ringtoneUri = uriString != null ? Uri.parse(uriString) : null; in getActualDefaultRingtoneUri()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java612 final String uriString = data.getString(uriIndex); in onLoadFinished() local
615 uri = Uri.parse(uriString).buildUpon().clearQuery().build(); in onLoadFinished()
617 uri = Uri.parse(uriString).buildUpon().query(null).build(); in onLoadFinished()
/frameworks/base/core/java/android/app/
DDownloadManager.java473 Request(String uriString) { in Request() argument
474 mUri = Uri.parse(uriString); in Request()
DIActivityManager.aidl96 ParcelFileDescriptor openContentUri(in String uriString); in openContentUri() argument
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java8283 public ParcelFileDescriptor openContentUri(String uriString) throws RemoteException { in openContentUri() argument
8286 final Uri uri = Uri.parse(uriString); in openContentUri()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...