/aosp_15_r20/libcore/luni/src/test/java/libcore/java/net/ |
H A D | URITest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 20 import java.net.URI; 27 URI uri = new URI("http://username:password@host:8080/directory/file?query#ref"); in testUriParts() local 28 assertEquals("http", uri.getScheme()); in testUriParts() 29 assertEquals("username:password@host:8080", uri.getAuthority()); in testUriParts() 30 assertEquals("username:password@host:8080", uri.getRawAuthority()); in testUriParts() 31 assertEquals("username:password", uri.getUserInfo()); in testUriParts() 32 assertEquals("username:password", uri.getRawUserInfo()); in testUriParts() 33 assertEquals("host", uri.getHost()); in testUriParts() 34 assertEquals(8080, uri.getPort()); in testUriParts() [all …]
|
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/test/java/com/google/android/exoplayer2/util/ |
H A D | UriUtilTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 19 import static com.google.android.exoplayer2.util.UriUtil.resolve; 22 import android.net.Uri; 32 * Tests normal usage of {@link UriUtil#resolve(String, String)}. 34 * <p>The test cases are taken from RFC-3986 5.4.1. 40 assertThat(resolve(base, "g:h")).isEqualTo("g:h"); in resolveNormal() 41 assertThat(resolve(base, "g")).isEqualTo("http://a/b/c/g"); in resolveNormal() 42 assertThat(resolve(base, "g/")).isEqualTo("http://a/b/c/g/"); in resolveNormal() 43 assertThat(resolve(base, "/g")).isEqualTo("http://a/g"); in resolveNormal() 44 assertThat(resolve(base, "//g")).isEqualTo("http://g"); in resolveNormal() [all …]
|
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/test/java/com/google/android/exoplayer2/util/ |
H A D | UriUtilTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 19 import static com.google.android.exoplayer2.util.UriUtil.resolve; 22 import android.net.Uri; 32 * Tests normal usage of {@link UriUtil#resolve(String, String)}. 34 * <p>The test cases are taken from RFC-3986 5.4.1. 40 assertThat(resolve(base, "g:h")).isEqualTo("g:h"); in resolveNormal() 41 assertThat(resolve(base, "g")).isEqualTo("http://a/b/c/g"); in resolveNormal() 42 assertThat(resolve(base, "g/")).isEqualTo("http://a/b/c/g/"); in resolveNormal() 43 assertThat(resolve(base, "/g")).isEqualTo("http://a/g"); in resolveNormal() 44 assertThat(resolve(base, "//g")).isEqualTo("http://g"); in resolveNormal() [all …]
|
/aosp_15_r20/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
H A D | HttpUrlTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 21 import java.net.URI; 42 assertEquals(expected, HttpUrl.parse("http://host/").resolve(" ")); in parseTrimsAsciiWhitespace() 43 assertEquals(expected, HttpUrl.parse("http://host/").resolve(" . ")); in parseTrimsAsciiWhitespace() 59 assertEquals("/%C2%A0", HttpUrl.parse("http://h/\u00a0").encodedPath()); // non-breaking space in parseDoesNotTrimOtherWhitespaceCharacters() 66 … assertEquals("/%E2%80%84", HttpUrl.parse("http://h/\u2004").encodedPath()); // three-per-em space in parseDoesNotTrimOtherWhitespaceCharacters() 67 assertEquals("/%E2%80%85", HttpUrl.parse("http://h/\u2005").encodedPath()); // four-per-em space in parseDoesNotTrimOtherWhitespaceCharacters() 68 assertEquals("/%E2%80%86", HttpUrl.parse("http://h/\u2006").encodedPath()); // six-per-em space in parseDoesNotTrimOtherWhitespaceCharacters() 73 assertEquals("/%E2%80%8B", HttpUrl.parse("http://h/\u200b").encodedPath()); // zero-width space in parseDoesNotTrimOtherWhitespaceCharacters() 74 …assertEquals("/%E2%80%8C", HttpUrl.parse("http://h/\u200c").encodedPath()); // zero-width non-join… in parseDoesNotTrimOtherWhitespaceCharacters() [all …]
|
/aosp_15_r20/packages/apps/Launcher3/res/xml/ |
D | default_workspace_5x5.xml | 1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2009 The Android Open Source Project 8 http://www.apache.org/licenses/LICENSE-2.0 15 --> 17 <favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"> 19 <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> 20 <!-- Dialer, Messaging, [Maps/Music], Browser, Camera --> 21 <resolve 22 launcher:container="-101" 26 <favorite launcher:uri="#Intent;action=android.intent.action.DIAL;end" /> [all …]
|
D | default_workspace_4x4.xml | 1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2009 The Android Open Source Project 8 http://www.apache.org/licenses/LICENSE-2.0 15 --> 17 <favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"> 19 <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> 20 <!-- Dialer, Messaging, Browser, Camera --> 21 <resolve 22 launcher:container="-101" 26 <favorite launcher:uri="#Intent;action=android.intent.action.DIAL;end" /> [all …]
|
D | default_workspace_6x5.xml | 1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2021 The Android Open Source Project 8 http://www.apache.org/licenses/LICENSE-2.0 15 --> 17 <favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"> 19 <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> 20 <!-- Mail Calendar Gallery Store Internet Camera --> 21 <resolve 22 launcher:container="-101" 26 …<favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category… [all …]
|
D | default_workspace_5x8.xml | 1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2021 The Android Open Source Project 8 http://www.apache.org/licenses/LICENSE-2.0 15 --> 17 <favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"> 19 <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> 20 <!-- Mail Calendar Gallery Store Internet Camera --> 21 <resolve 22 launcher:container="-101" 26 …<favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category… [all …]
|
D | default_workspace_3x3.xml | 1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2015 The Android Open Source Project 8 http://www.apache.org/licenses/LICENSE-2.0 15 --> 17 <favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"> 19 <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> 20 <!-- Messaging, [All Apps], Dialer --> 22 <resolve 23 launcher:container="-101" 27 …<favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category… [all …]
|
/aosp_15_r20/external/dokka/core/src/main/kotlin/Formats/JavaLayoutHtml/ |
H A D | JavaLayoutHtmlGenerator.kt | 11 import java.net.URI in <lambda>() 31 override fun tryGetContainerUri(node: DocumentationNode): URI? { in <lambda>() 33 NodeKind.Module -> URI("/").resolve(node.name + "/") in <lambda>() 34 …NodeKind.Package -> tryGetContainerUri(node.getOwnerOrReport())?.resolve(node.name.replace('.', '/… in <lambda>() 35 NodeKind.GroupNode -> tryGetContainerUri(node.getOwnerOrReport()) in <lambda>() 36 …in NodeKind.classLike -> tryGetContainerUri(node.getOwnerOrReport())?.resolve("${node.classNodeNam… in <lambda>() 37 else -> null in <lambda>() 41 override fun tryGetMainUri(node: DocumentationNode): URI? { in <lambda>() 43 NodeKind.Package -> tryGetContainerUri(node)?.resolve("package-summary.html") in <lambda>() 44 in NodeKind.classLike -> tryGetContainerUri(node)?.resolve("#") in <lambda>() [all …]
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/nio/file/ |
D | Path.java | 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 30 import java.net.URI; 55 * defines the {@link #resolve(Path) resolve} and {@link #resolveSibling(Path) 74 * directory and is UTF-8 encoded. 107 * elements then each non-empty string, including {@code first}, is 111 * {@link FileSystem#getSeparator name-separator} as the separator. 116 * string and {@code more} does not contain any non-empty strings. 129 * Path path = dir.resolve("file"); 151 * Returns a {@code Path} by converting a URI. 155 * URI {@link URI#getScheme scheme} of the given URI. URI schemes are [all …]
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/9/libcore/ojluni/src/main/java/java/nio/file/ |
D | Path.java | 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 30 import java.net.URI; 55 * defines the {@link #resolve(Path) resolve} and {@link #resolveSibling(Path) 74 * directory and is UTF-8 encoded. 107 * elements then each non-empty string, including {@code first}, is 111 * {@link FileSystem#getSeparator name-separator} as the separator. 116 * string and {@code more} does not contain any non-empty strings. 129 * Path path = dir.resolve("file"); 151 * Returns a {@code Path} by converting a URI. 155 * URI {@link URI#getScheme scheme} of the given URI. URI schemes are [all …]
|
/aosp_15_r20/libcore/ojluni/src/main/java/java/nio/file/ |
H A D | Path.java | 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 30 import java.net.URI; 55 * defines the {@link #resolve(Path) resolve} and {@link #resolveSibling(Path) 74 * directory and is UTF-8 encoded. 107 * elements then each non-empty string, including {@code first}, is 111 * {@link FileSystem#getSeparator name-separator} as the separator. 116 * string and {@code more} does not contain any non-empty strings. 129 * Path path = dir.resolve("file"); 151 * Returns a {@code Path} by converting a URI. 155 * URI {@link URI#getScheme scheme} of the given URI. URI schemes are [all …]
|
/aosp_15_r20/external/apache-xml/src/main/java/org/apache/xml/utils/ |
H A D | QName.java | 10 * http://www.apache.org/licenses/LICENSE-2.0 19 * $Id: QName.java 468655 2006-10-28 07:12:06Z minchau $ 37 * then the prefix is expanded into a URI reference using the namespace declarations 39 * consisting of the local part of the name and the possibly null URI reference 55 * The namespace URI. 80 * 20001019: Try making this public, to support Serializable? -- JKESS 85 * Constructs a new QName with the specified namespace URI and 88 * @param namespaceURI The namespace URI if known, or null 97 * Constructs a new QName with the specified namespace URI and 100 * @param namespaceURI The namespace URI if known, or null [all …]
|
/aosp_15_r20/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/base/ |
D | SliceManager.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 29 import android.net.Uri; 56 getManagerMethod("enforceSlicePermission", Uri.class, int.class, int.class, String[].class); 60 getManagerMethod("grantPermissionFromUser", Uri.class, String.class, boolean.class); 80 * Category used to resolve intents that can be rendered as slices. 92 * The meta-data key that allows an activity to easily be linked directly to a slice. 94 * <p>An activity can be statically linked to a slice uri by including a meta-data item for this 95 * key that contains a valid slice uri for the same application declaring the activity. 100 * <meta-data android:name="android.metadata.SLICE_URI" 133 * <p>Pinned state is not persisted across reboots, so apps are expected to re-pin any slices they [all …]
|
/aosp_15_r20/frameworks/base/core/java/android/app/slice/ |
H A D | SliceManager.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 34 import android.net.Uri; 80 * Category used to resolve intents that can be rendered as slices. 92 * The meta-data key that allows an activity to easily be linked directly to a slice. 94 * An activity can be statically linked to a slice uri by including a meta-data item 95 * for this key that contains a valid slice uri for the same application declaring 101 * <meta-data android:name="android.metadata.SLICE_URI" 127 * Pinned state is not persisted across reboots, so apps are expected to re-pin any slices 133 * @param uri The uri of the slice being pinned. 135 * @see SliceProvider#onSlicePinned(Uri) [all …]
|
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/doc/reference/com/google/android/exoplayer2/util/ |
H A D | UriUtil.html | 2 <!-- NewPage --> 4 …-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" s… 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 8 <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style"> 11 <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></sc… 12 <!--[if IE]> 13 <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"><… 14 <![endif]--> 15 <script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script> 16 <script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script> [all …]
|
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/docs/doc/reference/com/google/android/exoplayer2/util/ |
H A D | UriUtil.html | 2 <!-- NewPage --> 4 …-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" s… 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 8 <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style"> 11 <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></sc… 12 <!--[if IE]> 13 <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"><… 14 <![endif]--> 15 <script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script> 16 <script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script> [all …]
|
/aosp_15_r20/external/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ |
H A D | UserAuthorizer.java | 48 import java.net.URI; 56 /** Handles an interactive 3-Legged-OAuth2 (3LO) user consent authorization. */ 59 static final URI DEFAULT_CALLBACK_URI = URI.create("/oauth2callback"); 67 private final URI callbackUri; 70 private final URI tokenServerUri; 71 private final URI userAuthUri; 80 * @param callbackUri URI for implementation of the OAuth2 web callback 83 * @param tokenServerUri URI of the end point that provides tokens 84 * @param userAuthUri URI of the Web UI for user consent 91 URI callbackUri, in UserAuthorizer() [all …]
|
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/util/ |
H A D | UriUtil.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 18 import android.net.Uri; 30 * <p>The value at this position in the array is the index of the ':' after the scheme. Equals -1 31 * if the URI is a relative reference (no scheme). The hier-part starts at (schemeColon + 1), 32 * including when the URI has no scheme. 41 * authority part is non-empty (in this case the double-slash means the first segment is empty). 48 * before the query. Equals fragment if no query part, and (fragment - 1) if the query part is a 56 * before the fragment. Equal to the length of the URI if no fragment part, and (length - 1) if 64 * Like {@link #resolve(String, String)}, but returns a {@link Uri} instead of a {@link String}. 66 * @param baseUri The base URI. [all …]
|
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/util/ |
H A D | UriUtil.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 18 import android.net.Uri; 30 * <p>The value at this position in the array is the index of the ':' after the scheme. Equals -1 31 * if the URI is a relative reference (no scheme). The hier-part starts at (schemeColon + 1), 32 * including when the URI has no scheme. 41 * authority part is non-empty (in this case the double-slash means the first segment is empty). 48 * before the query. Equals fragment if no query part, and (fragment - 1) if the query part is a 56 * before the fragment. Equal to the length of the URI if no fragment part, and (length - 1) if 64 * Like {@link #resolve(String, String)}, but returns a {@link Uri} instead of a {@link String}. 66 * @param baseUri The base URI. [all …]
|
/aosp_15_r20/external/libcups/cups/ |
H A D | dest.c | 2 * User-defined destination (and option) support for CUPS. 4 * Copyright © 2007-2019 by Apple Inc. 5 * Copyright © 1997-2007 by Easy Software Products. 15 #include "cups-private.h" 16 #include "debug-internal.h" 32 # include <avahi-client/client.h> 33 # include <avahi-client/lookup.h> 34 # include <avahi-common/simple-watch.h> 35 # include <avahi-common/domain.h> 36 # include <avahi-common/error.h> [all …]
|
/aosp_15_r20/cts/hostsidetests/appsecurity/test-apps/OrderedActivityApp/src/android/appsecurity/cts/orderedactivity/ |
H A D | PackageResolutionTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 25 import android.net.Uri; 42 intent.setData(Uri.parse("https://www.google.com/cts/packageresolution")); in queryActivityOrdered() 43 final List<ResolveInfo> resolve = pm.queryIntentActivities(intent, 0 /*flags*/); in queryActivityOrdered() local 45 assertNotNull(resolve); in queryActivityOrdered() 46 assertEquals(4, resolve.size()); in queryActivityOrdered() 48 resolve.get(0).activityInfo.name); in queryActivityOrdered() 50 resolve.get(1).activityInfo.name); in queryActivityOrdered() 52 resolve.get(2).activityInfo.name); in queryActivityOrdered() 54 resolve.get(3).activityInfo.name); in queryActivityOrdered() [all …]
|
/aosp_15_r20/external/apache-http/src/org/apache/http/client/utils/ |
H A D | URIUtils.java | 2 …* $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main… 4 * $Date: 2008-05-03 03:39:28 -0700 (Sat, 03 May 2008) $ 15 * http://www.apache.org/licenses/LICENSE-2.0 32 import java.net.URI; 38 * A collection of utilities for {@link URI URIs}, to workaround 39 * bugs within the class or for ease-of-use features. 42 …* Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.h… 49 * Constructs a {@link URI} using all the parameters. This should be 51 * {@link URI#URI(String, String, String, int, String, String, String)} 52 * or any of the other URI multi-argument URI constructors. [all …]
|
/aosp_15_r20/external/grpc-grpc-java/googleapis/src/main/java/io/grpc/googleapis/ |
H A D | GoogleCloudToProdNameResolver.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 40 import java.net.URI; 57 "http://metadata.google.internal/computeMetadata/v1/instance/network-interfaces/0/ipv6s"; 58 static final String C2P_AUTHORITY = "traffic-director-c2p.xds.googleapis.com"; 84 // Delegate to DNS if user-provided bootstrap is found. 95 GoogleCloudToProdNameResolver(URI targetUri, Args args, Resource<Executor> executorResource, in GoogleCloudToProdNameResolver() 102 GoogleCloudToProdNameResolver(URI targetUri, Args args, Resource<Executor> executorResource, in GoogleCloudToProdNameResolver() 138 resolve(); in start() 141 private void resolve() { in resolve() method in GoogleCloudToProdNameResolver 156 class Resolve implements Runnable { in resolve() class [all …]
|