Home
last modified time | relevance | path

Searched refs:uriString (Results 1 – 25 of 25) 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.writeString(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/media/libstagefright/include/media/stagefright/
DDataSource.h64 virtual bool getUri(char *uriString, size_t bufferSize) final { in getUri() argument
65 int ret = snprintf(uriString, bufferSize, "%s", getUri().c_str()); in getUri()
89 mWrapper->getUri = [](void *handle, char *uriString, size_t bufferSize) -> bool { in wrap()
90 return ((DataSource*)handle)->getUri(uriString, bufferSize); in wrap()
DDataSourceBase.h61 virtual bool getUri(char *uriString, size_t bufferSize);
/frameworks/av/include/media/
DDataSource.h64 virtual bool getUri(char *uriString, size_t bufferSize) final { in getUri() argument
65 int ret = snprintf(uriString, bufferSize, "%s", getUri().c_str()); in getUri()
89 mWrapper->getUri = [](void *handle, char *uriString, size_t bufferSize) -> bool { in wrap()
90 return ((DataSource*)handle)->getUri(uriString, bufferSize); in wrap()
DDataSourceBase.h61 virtual bool getUri(char *uriString, size_t bufferSize);
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.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/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTileUtils.java319 String uriString, Map<String, IContentProvider> providerMap) { in getIconFromUri() argument
320 Bundle bundle = getBundleFromUri(context, uriString, providerMap); in getIconFromUri()
349 public static String getTextFromUri(Context context, String uriString, in getTextFromUri() argument
351 Bundle bundle = getBundleFromUri(context, uriString, providerMap); in getTextFromUri()
355 private static Bundle getBundleFromUri(Context context, String uriString, in getBundleFromUri() argument
357 if (TextUtils.isEmpty(uriString)) { in getBundleFromUri()
360 Uri uri = Uri.parse(uriString); in getBundleFromUri()
371 method, uriString, null); in getBundleFromUri()
/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/core/tests/coretests/src/android/net/
DUriTest.java447 String uriString = sb.toString(); in testHierarchical() local
449 Uri uri = Uri.parse(uriString); in testHierarchical()
453 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
455 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
462 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
464 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
479 uriString, ssp, built, scheme, authority, path, query, fragment); in testHierarchical()
481 uriString, ssp, built, scheme, authority, path, query, fragment); in testHierarchical()
493 uriString, ssp, built, scheme, authority, path, query, fragment); in testHierarchical()
495 uriString, ssp, built, scheme, authority, path, query, fragment); in testHierarchical()
[all …]
/frameworks/base/core/java/android/nfc/
DNdefRecord.java346 String uriString = uri.toString(); in createUri() local
347 if (uriString.length() == 0) throw new IllegalArgumentException("uri is empty"); in createUri()
351 if (uriString.startsWith(URI_PREFIX_MAP[i])) { in createUri()
353 uriString = uriString.substring(URI_PREFIX_MAP[i].length()); in createUri()
357 byte[] uriBytes = uriString.getBytes(StandardCharsets.UTF_8); in createUri()
385 public static NdefRecord createUri(String uriString) { in createUri() argument
386 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/telephony/java/com/android/internal/telephony/
DCallerInfoAsyncQuery.java539 String uriString = uri.toString(); in sanitizeUriToString() local
540 int indexOfLastSlash = uriString.lastIndexOf('/'); in sanitizeUriToString()
542 return uriString.substring(0, indexOfLastSlash) + "/xxxxxxx"; in sanitizeUriToString()
544 return uriString; in sanitizeUriToString()
/frameworks/base/services/core/java/com/android/server/incident/
DPendingReports.java373 private PendingReportRec findAndRemovePendingReportRecLocked(String uriString) { in findAndRemovePendingReportRecLocked() argument
374 final Uri uri = Uri.parse(uriString); in findAndRemovePendingReportRecLocked()
380 Log.w(TAG, "Can't parse id from: " + uriString); in findAndRemovePendingReportRecLocked()
/frameworks/av/media/libstagefright/
DDataSourceBase.cpp126 bool DataSourceBase::getUri(char *uriString __unused, size_t bufferSize __unused) { in getUri()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java350 public void setupUri(String uriString) { in setupUri() argument
351 if (uriString == null) { in setupUri()
352 uriString = KeyguardSliceProvider.KEYGUARD_SLICE_URI; in setupUri()
361 mKeyguardSliceUri = Uri.parse(uriString); in setupUri()
/frameworks/base/media/java/android/media/
DRingtoneManager.java778 final String uriString = Settings.System.getStringForUser(context.getContentResolver(), in getActualDefaultRingtoneUri()
780 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.java464 Request(String uriString) { in Request() argument
465 mUri = Uri.parse(uriString); in Request()
DIActivityManager.aidl94 ParcelFileDescriptor openContentUri(in String uriString); in openContentUri() argument
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java7817 public ParcelFileDescriptor openContentUri(String uriString) throws RemoteException { in openContentUri() argument
7820 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/ ...