Home
last modified time | relevance | path

Searched refs:baseUri (Results 1 – 18 of 18) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DUriUtil.java73 public static Uri resolveToUri(@Nullable String baseUri, @Nullable String referenceUri) { in resolveToUri() argument
74 return Uri.parse(resolve(baseUri, referenceUri)); in resolveToUri()
85 public static String resolve(@Nullable String baseUri, @Nullable String referenceUri) { in resolve() argument
89 baseUri = baseUri == null ? "" : baseUri; in resolve()
100 int[] baseIndices = getUriIndices(baseUri); in resolve()
104 return uri.append(baseUri, 0, baseIndices[FRAGMENT]).append(referenceUri).toString(); in resolve()
110 return uri.append(baseUri, 0, baseIndices[QUERY]).append(referenceUri).toString(); in resolve()
116 uri.append(baseUri, 0, baseLimit).append(referenceUri); in resolve()
123 uri.append(baseUri, 0, baseIndices[PATH]).append(referenceUri); in resolve()
133 uri.append(baseUri, 0, baseIndices[PATH]).append('/').append(referenceUri); in resolve()
[all …]
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DRangedUri.java62 public Uri resolveUri(String baseUri) { in resolveUri() argument
63 return UriUtil.resolveToUri(baseUri, referenceUri); in resolveUri()
72 public String resolveUriString(String baseUri) { in resolveUriString() argument
73 return UriUtil.resolve(baseUri, referenceUri); in resolveUriString()
90 public RangedUri attemptMerge(@Nullable RangedUri other, String baseUri) { in attemptMerge() argument
91 final String resolvedUri = resolveUriString(baseUri); in attemptMerge()
92 if (other == null || !resolvedUri.equals(other.resolveUriString(baseUri))) { in attemptMerge()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsPlaylist.java28 public final String baseUri; field in HlsPlaylist
44 protected HlsPlaylist(String baseUri, List<String> tags, boolean hasIndependentSegments) { in HlsPlaylist() argument
45 this.baseUri = baseUri; in HlsPlaylist()
DHlsMediaPlaylist.java251 String baseUri, in HlsMediaPlaylist() argument
265 super(baseUri, tags, hasIndependentSegments); in HlsMediaPlaylist()
331 baseUri, in copyWith()
357 baseUri, in copyWithEndTag()
DHlsMasterPlaylist.java195 String baseUri, in HlsMasterPlaylist() argument
207 super(baseUri, tags, hasIndependentSegments); in HlsMasterPlaylist()
226 baseUri, in copy()
DHlsPlaylistParser.java261 private static HlsMasterPlaylist parseMasterPlaylist(LineIterator iterator, String baseUri) in parseMasterPlaylist() argument
345 UriUtil.resolveToUri(baseUri, parseStringAttr(line, REGEX_URI, variableDefinitions)); in parseMasterPlaylist()
351 uri = UriUtil.resolveToUri(baseUri, line); in parseMasterPlaylist()
418 @Nullable Uri uri = referenceUri == null ? null : UriUtil.resolveToUri(baseUri, referenceUri); in parseMasterPlaylist()
515 baseUri, in parseMasterPlaylist()
563 HlsMasterPlaylist masterPlaylist, LineIterator iterator, String baseUri) throws IOException { in parseMediaPlaylist() argument
791 baseUri, in parseMediaPlaylist()
DDefaultHlsPlaylistTracker.java229 masterPlaylist = HlsMasterPlaylist.createSingleVariantMasterPlaylist(result.baseUri); in onLoadCompleted()
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/
DSsManifestParser.java97 private final String baseUri; field in SsManifestParser.ElementParser
103 public ElementParser(@Nullable ElementParser parent, String baseUri, String tag) { in ElementParser() argument
105 this.baseUri = baseUri; in ElementParser()
128 ElementParser childElementParser = newChildParser(this, tagName, baseUri); in parse()
165 private ElementParser newChildParser(ElementParser parent, String name, String baseUri) { in newChildParser() argument
167 return new QualityLevelParser(parent, baseUri); in newChildParser()
169 return new ProtectionParser(parent, baseUri); in newChildParser()
171 return new StreamIndexParser(parent, baseUri); in newChildParser()
349 public SmoothStreamingMediaParser(ElementParser parent, String baseUri) { in SmoothStreamingMediaParser() argument
350 super(parent, baseUri, TAG); in SmoothStreamingMediaParser()
[all …]
DSsManifest.java77 private final String baseUri; field in SsManifest.StreamElement
85 String baseUri, in StreamElement() argument
100 baseUri, in StreamElement()
118 String baseUri, in StreamElement() argument
133 this.baseUri = baseUri; in StreamElement()
159 return new StreamElement(baseUri, chunkTemplate, type, subType, timescale, name, maxWidth, in copy()
213 return UriUtil.resolveToUri(baseUri, chunkUrl); in buildRequestUri()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/offline/
DHlsDownloader.java106 SegmentDownloader.getCompressibleDataSpec(Uri.parse(playlist.baseUri))); in getSegments()
155 String baseUri = mediaPlaylist.baseUri; in addSegment() local
158 Uri keyUri = UriUtil.resolveToUri(baseUri, segment.fullSegmentEncryptionKeyUri); in addSegment()
163 Uri segmentUri = UriUtil.resolveToUri(baseUri, segment.url); in addSegment()
/external/dokka/core/src/main/kotlin/Model/
DCodeNode.kt6 class CodeNode(text: String, baseUri: String): TextNode(text, baseUri) {
/external/parameter-framework/upstream/xmlserializer/
DXmlDocSource.cpp222 xml_unique_ptr baseUri(xmlPathToURI((const xmlChar *)base.c_str()), xmlFree); in mkUri() local
225 xml_unique_ptr xmlUri(xmlBuildURI(relativeUri.get(), baseUri.get()), xmlFree); in mkUri()
/external/nanohttpd/nanolets/src/main/java/fi/iki/elonen/router/
DRouterNanoHTTPD.java211 String baseUri = uriResource.getUri(); in get() local
213 for (int index = 0; index < Math.min(baseUri.length(), realUri.length()); index++) { in get()
214 if (baseUri.charAt(index) != realUri.charAt(index)) { in get()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DEABContactManager.java537 Cursor runQuery(ContentResolver resolver, String[] projection, Uri baseUri) { in runQuery() argument
538 Uri uri = baseUri; in runQuery()
786 public CursorTranslator(Cursor cursor, Uri baseUri) { in CursorTranslator() argument
788 mBaseUri = baseUri; in CursorTranslator()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsMediaChunk.java96 UriUtil.resolveToUri(mediaPlaylist.baseUri, mediaSegment.url), in createInstance()
119 Uri initSegmentUri = UriUtil.resolveToUri(mediaPlaylist.baseUri, initSegment.url); in createInstance()
DHlsChunkSource.java539 return UriUtil.resolveToUri(playlist.baseUri, segment.fullSegmentEncryptionKeyUri); in getFullEncryptionKeyUri()
649 Uri chunkUri = UriUtil.resolveToUri(playlist.baseUri, segment.url); in getDataSpec()
/external/parameter-framework/upstream/parameter/
DParameterMgr.h720 _xmlDoc *doc, const std::string &baseUri, ElementLibrary eElementLibrary,
DParameterMgr.cpp621 CElement *pRootElement, _xmlDoc *doc, const string &baseUri, in xmlParse() argument
626 elementSerializingContext.set(_pElementLibrarySet->getElementLibrary(eElementLibrary), baseUri); in xmlParse()