Home
last modified time | relevance | path

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

/external/nist-sip/java/gov/nist/javax/sip/address/
DGenericURI.java55 protected String uriString; field in GenericURI
71 public GenericURI(String uriString) throws ParseException { in GenericURI() argument
73 this.uriString = uriString; in GenericURI()
74 int i = uriString.indexOf(":"); in GenericURI()
75 scheme = uriString.substring(0, i); in GenericURI()
85 return uriString; in encode()
89 return buffer.append(uriString); in encode()
DAddressFactoryImpl.java117 StringBuffer uriString = new StringBuffer("sip:"); in createSipURI() local
119 uriString.append(user); in createSipURI()
120 uriString.append("@"); in createSipURI()
128 uriString.append(host); in createSipURI()
133 SipUri sipUri = smp.parseSIPUrl(uriString.toString()); in createSipURI()
/external/libchrome/base/android/java/src/org/chromium/base/
DContentUriUtils.java73 public static int openContentUriForRead(String uriString) { in openContentUriForRead() argument
74 AssetFileDescriptor afd = getAssetFileDescriptor(uriString); in openContentUriForRead()
88 public static boolean contentUriExists(String uriString) { in contentUriExists() argument
91 asf = getAssetFileDescriptor(uriString); in contentUriExists()
113 public static String getMimeType(String uriString) { in getMimeType() argument
115 Uri uri = Uri.parse(uriString); in getMimeType()
129 private static AssetFileDescriptor getAssetFileDescriptor(String uriString) { in getAssetFileDescriptor() argument
131 Uri uri = Uri.parse(uriString); in getAssetFileDescriptor()
158 Log.w(TAG, "Cannot find content uri: " + uriString, e); in getAssetFileDescriptor()
160 Log.w(TAG, "Cannot open content uri: " + uriString, e); in getAssetFileDescriptor()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DUriUtil.java226 private static int[] getUriIndices(String uriString) { in getUriIndices() argument
228 if (TextUtils.isEmpty(uriString)) { in getUriIndices()
235 int length = uriString.length(); in getUriIndices()
236 int fragmentIndex = uriString.indexOf('#'); in getUriIndices()
240 int queryIndex = uriString.indexOf('?'); in getUriIndices()
247 int schemeIndexLimit = uriString.indexOf('/'); in getUriIndices()
251 int schemeIndex = uriString.indexOf(':'); in getUriIndices()
260 && uriString.charAt(schemeIndex + 1) == '/' in getUriIndices()
261 && uriString.charAt(schemeIndex + 2) == '/'; in getUriIndices()
264 pathIndex = uriString.indexOf('/', schemeIndex + 3); // find first '/' after "://" in getUriIndices()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DTelecomManagerFacade.java276 final String uriString, in telecomCall()
284 Uri uri = Uri.parse(uriString); in telecomCall()
286 telecomCallContentUri(uriString, videoCall); in telecomCall()
289 telecomCallNumber(uriString, videoCall); in telecomCall()
298 final String uriString, in telecomCallContentUri()
304 Uri uri = Uri.parse(uriString); in telecomCallContentUri()
360 final String uriString, in telecomCallTelUri()
365 if (!uriString.startsWith("tel:")) { in telecomCallTelUri()
366 Log.w("Invalid tel URI" + uriString); in telecomCallTelUri()
371 intent.setDataAndType(Uri.parse(uriString).normalizeScheme(), null); in telecomCallTelUri()
[all …]
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/
DSkiaImageDecoder.java52 String uriString = uri.toString(); in decode() local
56 if (uriString.startsWith(RESOURCE_PREFIX)) { in decode()
80 } else if (uriString.startsWith(ASSET_PREFIX)) { in decode()
81 String assetName = uriString.substring(ASSET_PREFIX.length()); in decode()
83 } else if (uriString.startsWith(FILE_PREFIX)) { in decode()
84 bitmap = BitmapFactory.decodeFile(uriString.substring(FILE_PREFIX.length()), options); in decode()
DSkiaImageRegionDecoder.java64 String uriString = uri.toString(); in init() local
65 if (uriString.startsWith(RESOURCE_PREFIX)) { in init()
89 } else if (uriString.startsWith(ASSET_PREFIX)) { in init()
90 String assetName = uriString.substring(ASSET_PREFIX.length()); in init()
92 } else if (uriString.startsWith(FILE_PREFIX)) { in init()
93 … decoder = BitmapRegionDecoder.newInstance(uriString.substring(FILE_PREFIX.length()), false); in init()
DSkiaPooledImageRegionDecoder.java156 String uriString = uri.toString(); in initialiseDecoder() local
159 if (uriString.startsWith(RESOURCE_PREFIX)) { in initialiseDecoder()
188 } else if (uriString.startsWith(ASSET_PREFIX)) { in initialiseDecoder()
189 String assetName = uriString.substring(ASSET_PREFIX.length()); in initialiseDecoder()
197 } else if (uriString.startsWith(FILE_PREFIX)) { in initialiseDecoder()
198 … decoder = BitmapRegionDecoder.newInstance(uriString.substring(FILE_PREFIX.length()), false); in initialiseDecoder()
200 File file = new File(uriString); in initialiseDecoder()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DImageSource.java45 String uriString = uri.toString(); in ImageSource() local
46 if (uriString.startsWith(FILE_SCHEME)) { in ImageSource()
47 File uriFile = new File(uriString.substring(FILE_SCHEME.length() - 1)); in ImageSource()
50 uri = Uri.parse(URLDecoder.decode(uriString, "UTF-8")); in ImageSource()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/
DDataSchemeDataSourceTest.java149 private static DataSpec buildDataSpec(String uriString) { in buildDataSpec() argument
150 return buildDataSpec(uriString, /* position= */ 0, /* length= */ C.LENGTH_UNSET); in buildDataSpec()
153 private static DataSpec buildDataSpec(String uriString, int position, int length) { in buildDataSpec() argument
154 return new DataSpec(Uri.parse(uriString), position, length); in buildDataSpec()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DCacheAsserts.java85 public RequestSet useBoundedDataSpecFor(String uriString) { in useBoundedDataSpecFor() argument
86 FakeData data = Assertions.checkStateNotNull(fakeDataSet.getData(uriString)); in useBoundedDataSpecFor()
89 if (Assertions.checkNotNull(spec.uri.getPath()).equals(uriString)) { in useBoundedDataSpecFor()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DSegmentBase.java357 String uriString = mediaTemplate.buildUri(representation.format.id, sequenceNumber, in getSegmentUrl() local
359 return new RangedUri(uriString, 0, C.LENGTH_UNSET); in getSegmentUrl()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsPlaylistParser.java853 String uriString = parseStringAttr(line, REGEX_URI, variableDefinitions); in parseDrmSchemeData() local
857 Base64.decode(uriString.substring(uriString.indexOf(',')), Base64.DEFAULT)); in parseDrmSchemeData()
861 String uriString = parseStringAttr(line, REGEX_URI, variableDefinitions); in parseDrmSchemeData() local
862 byte[] data = Base64.decode(uriString.substring(uriString.indexOf(',')), Base64.DEFAULT); in parseDrmSchemeData()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/upstream/
DDataSpec.java84 public Builder setUri(String uriString) { in setUri() argument
85 this.uri = Uri.parse(uriString); in setUri()