Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/tv/interactive/
DAppLinkInfo.java42 @NonNull String uriString) { in AppLinkInfo() argument
48 this.mUri = Uri.parse(uriString); in AppLinkInfo()
79 String uriString = mUri == null ? null : mUri.toString(); in writeToParcel() local
80 dest.writeString(uriString); in writeToParcel()
94 String uriString = in.readString(); in AppLinkInfo() local
95 mUri = uriString == null ? null : Uri.parse(uriString); in AppLinkInfo()
/frameworks/base/media/java/android/media/tv/
DDsmccRequest.java58 String uriString = source.readString(); in DsmccRequest() local
59 mUri = uriString == null ? null : Uri.parse(uriString); in DsmccRequest()
78 String uriString = mUri == null ? null : mUri.toString(); in writeToParcel() local
79 dest.writeString(uriString); in writeToParcel()
DStreamEventRequest.java61 String uriString = source.readString(); in StreamEventRequest() local
62 mTargetUri = uriString == null ? null : Uri.parse(uriString); in StreamEventRequest()
90 String uriString = mTargetUri == null ? null : mTargetUri.toString(); in writeToParcel() local
91 dest.writeString(uriString); in writeToParcel()
DTunedInfo.java117 String uriString = source.readString(); in TunedInfo() local
118 mChannelUri = uriString == null ? null : Uri.parse(uriString); in TunedInfo()
196 String uriString = mChannelUri == null ? null : mChannelUri.toString(); in writeToParcel() local
197 dest.writeString(uriString); in writeToParcel()
DTableResponse.java219 String uriString = source.readString(); in TableResponse() local
220 mTableUri = uriString == null ? null : Uri.parse(uriString); in TableResponse()
296 String uriString = mTableUri == null ? null : mTableUri.toString(); in writeToParcel() local
297 dest.writeString(uriString); in writeToParcel()
/frameworks/base/core/java/android/net/
DUri.java466 public static Uri parse(String uriString) { in parse() argument
467 return new StringUri(uriString); in parse()
501 private final String uriString; field in Uri.StringUri
503 private StringUri(String uriString) { in StringUri() argument
504 if (uriString == null) { in StringUri()
508 this.uriString = uriString; in StringUri()
521 parcel.writeString8(uriString); in writeToParcel()
530 ? cachedSsi = uriString.indexOf(':') in findSchemeSeparator()
540 ? cachedFsi = uriString.indexOf('#', findSchemeSeparator()) in findFragmentSeparator()
552 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.java122 public Builder(String uriString) throws ParseException { in Builder() argument
123 if (uriString == null) { in Builder()
126 URI uri = mAddressFactory.createURI(fix(uriString)); in Builder()
130 throw new ParseException(uriString + " is not a SIP URI", 0); in Builder()
154 private String fix(String uriString) { in fix() argument
155 return (uriString.trim().toLowerCase().startsWith("sip:") in fix()
156 ? uriString in fix()
157 : "sip:" + uriString); in fix()
/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/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java74 String uriString = intent.getStringExtra("uri"); in onCreate() local
75 mUri = (uriString == null ? null : Uri.parse(uriString)); in onCreate()
79 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/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DEntryController.java92 final String uriString = new Uri.Builder() in getBundle() local
99 bundle.putString(META_DATA_PREFERENCE_ICON_URI, uriString); in getBundle()
102 bundle.putString(META_DATA_PREFERENCE_TITLE_URI, uriString); in getBundle()
105 bundle.putString(META_DATA_PREFERENCE_SUMMARY_URI, uriString); in getBundle()
108 bundle.putString(META_DATA_PREFERENCE_SWITCH_URI, uriString); in getBundle()
DTileUtils.java452 final String uriString = tile.getMetaData().getString(metaDataKey); in getCompleteUri() local
453 if (TextUtils.isEmpty(uriString)) { in getCompleteUri()
457 final Uri uri = Uri.parse(uriString); in getCompleteUri()
466 + " in AndroidManifest.xml for " + uriString); in getCompleteUri()
DEntriesProvider.java115 public Bundle call(String method, String uriString, Bundle extras) { in call() argument
/frameworks/base/nfc/java/android/nfc/
DNdefRecord.java349 String uriString = uri.toString(); in createUri() local
350 if (uriString.length() == 0) throw new IllegalArgumentException("uri is empty"); in createUri()
354 if (uriString.startsWith(URI_PREFIX_MAP[i])) { in createUri()
356 uriString = uriString.substring(URI_PREFIX_MAP[i].length()); in createUri()
360 byte[] uriBytes = uriString.getBytes(StandardCharsets.UTF_8); in createUri()
388 public static NdefRecord createUri(String uriString) { in createUri() argument
389 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/core/tests/coretests/src/android/net/
DUriTest.java477 String uriString = sb.toString(); in testHierarchical() local
479 Uri uri = Uri.parse(uriString); in testHierarchical()
483 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
485 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
492 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
494 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
509 uriString, ssp, built, scheme, authority, path, query, fragment); in testHierarchical()
511 uriString, ssp, built, scheme, authority, path, query, fragment); in testHierarchical()
523 uriString, ssp, built, scheme, authority, path, query, fragment); in testHierarchical()
525 uriString, ssp, built, scheme, authority, path, query, fragment); in testHierarchical()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceViewController.java172 public void setupUri(String uriString) { in setupUri() argument
173 if (uriString == null) { in setupUri()
174 uriString = KeyguardSliceProvider.KEYGUARD_SLICE_URI; in setupUri()
183 mKeyguardSliceUri = Uri.parse(uriString); in setupUri()
/frameworks/base/telecomm/java/android/telecom/
DCallerInfoAsyncQuery.java555 String uriString = uri.toString(); in sanitizeUriToString() local
556 int indexOfLastSlash = uriString.lastIndexOf('/'); in sanitizeUriToString()
558 return uriString.substring(0, indexOfLastSlash) + "/xxxxxxx"; in sanitizeUriToString()
560 return uriString; in sanitizeUriToString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleBackupHelper.java251 private void backupWidgetIdKey(String key, String uriString, SharedPreferences.Editor editor, in backupWidgetIdKey() argument
257 Uri uri = Uri.parse(uriString); in backupWidgetIdKey()
269 private void restoreWidgetIdKey(String key, String uriString, SharedPreferences.Editor editor, in restoreWidgetIdKey() argument
271 Uri uri = Uri.parse(uriString); in restoreWidgetIdKey()
/frameworks/base/services/core/java/com/android/server/incident/
DPendingReports.java421 private PendingReportRec findAndRemovePendingReportRecLocked(String uriString) { in findAndRemovePendingReportRecLocked() argument
422 final Uri uri = Uri.parse(uriString); in findAndRemovePendingReportRecLocked()
428 Log.w(TAG, "Can't parse id from: " + uriString); in findAndRemovePendingReportRecLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconsViewData.kt155 result = 31 * result + sourceIcon.uriString.hashCode() in hashCode()
/frameworks/base/media/java/android/media/
DRingtoneManager.java884 final String uriString = Settings.System.getStringForUser(context.getContentResolver(), in getActualDefaultRingtoneUri()
886 Uri ringtoneUri = uriString != null ? Uri.parse(uriString) : null; in getActualDefaultRingtoneUri()

12