Home
last modified time | relevance | path

Searched full:uri (Results 1 – 25 of 5172) sorted by relevance

12345678910>>...207

/external/cronet/net/data/verify_certificate_chain_unittest/many-names/
Dok-all-types.pem47 CA Issuers - URI:http://url-for-aia/Intermediate.cer
52 URI:http://url-for-crl/Intermediate.crl
59URI:http://test/0, URI:http://test/1, URI:http://test/2, URI:http://test/3, URI:http://test/4, URI
810 CA Issuers - URI:http://url-for-aia/Root.cer
815 URI:http://url-for-crl/Root.crl
2077 URI:http://test/0
2078 URI:http://test/1
2079 URI:http://test/2
2080 URI:http://test/3
2081 URI:http://test/4
[all …]
Dok-different-types-ips.pem47 CA Issuers - URI:http://url-for-aia/Intermediate.cer
52 URI:http://url-for-crl/Intermediate.crl
268 CA Issuers - URI:http://url-for-aia/Root.cer
273 URI:http://url-for-crl/Root.crl
2331 URI:http://test/0
2332 URI:http://test/1
2333 URI:http://test/2
2334 URI:http://test/3
2335 URI:http://test/4
2336 URI:http://test/5
[all …]
Dok-different-types-dirnames.pem47 CA Issuers - URI:http://url-for-aia/Intermediate.cer
52 URI:http://url-for-crl/Intermediate.crl
544 CA Issuers - URI:http://url-for-aia/Root.cer
549 URI:http://url-for-crl/Root.crl
2607 URI:http://test/0
2608 URI:http://test/1
2609 URI:http://test/2
2610 URI:http://test/3
2611 URI:http://test/4
2612 URI:http://test/5
[all …]
Dok-different-types-dns.pem47 CA Issuers - URI:http://url-for-aia/Intermediate.cer
52 URI:http://url-for-crl/Intermediate.crl
373 CA Issuers - URI:http://url-for-aia/Root.cer
378 URI:http://url-for-crl/Root.crl
2436 URI:http://test/0
2437 URI:http://test/1
2438 URI:http://test/2
2439 URI:http://test/3
2440 URI:http://test/4
2441 URI:http://test/5
[all …]
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DBackendTestBase.java28 import android.net.Uri;
90 * {@link Backend#deleteDirectory}, {@link Backend#children}, and writing to a subdirectory uri.
107 * Returns a URI to a temporary directory for writing test data to. The {@code Backend} should be
110 protected abstract Uri legalUriBase() throws IOException; in legalUriBase()
113 * Returns a list of URIs for which {@code Backend.openForRead(uri)} is expected to throw {@code
116 protected List<Uri> illegalUrisToRead() { in illegalUrisToRead()
121 * Returns a list of URIs for which {@code Backend.openForWrite(uri)} is expected to throw {@code
124 protected List<Uri> illegalUrisToWrite() { in illegalUrisToWrite()
129 * Returns a list of URIs for which {@code Backend.openForAppend(uri)} is expected to throw {@code
132 protected List<Uri> illegalUrisToAppend() { in illegalUrisToAppend()
[all …]
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/spi/
DForwardingBackend.java18 import android.net.Uri;
42 * Rewrites the Uri to use the delegate's scheme. If subclass calls super.method(), this is
43 * invoked on the Uri before calling method() on delegate.
45 * <p>This method is a good place to do validation. If the Uri is invalid, implementation should
48 * @param uri The uri that will have its scheme rewritten.
49 * @return The uri with the scheme of the delegate.
51 protected Uri rewriteUri(Uri uri) throws IOException { in rewriteUri() argument
52 return uri.buildUpon().scheme(delegate().name()).build(); in rewriteUri()
58 * @param uri The uri that had its scheme rewritten.
59 * @return The uri with the scheme from this backend.
[all …]
DBackend.java18 import android.net.Uri;
33 * <p>Backend methods are expected to ignore the URI fragment, as the transform encoded in it are
38 * Name for this backend. Must be ASCII alphanumeric. Used as the scheme in the Uri.
40 * @return The name, which appears as the scheme of the uri.
45 * Open this Uri for reading.
47 * @param uri
51 default InputStream openForRead(Uri uri) throws IOException { in openForRead() argument
56 * Open this Uri for reading by native code in the form of a file descriptor URI.
58 * @return An fd URI. Caller is responsible for closing.
61 default Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() argument
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContentResolver.java24 import android.net.Uri;
63 private Map<Uri, BaseCursor> uriCursorMap = new HashMap<>();
64 private Map<Uri, InputStream> inputStreamMap = new HashMap<>();
65 private Map<Uri, OutputStream> outputStreamMap = new HashMap<>();
88 public final Uri uri; field in ShadowContentResolver.ContentObserverEntry
92 private ContentObserverEntry(Uri uri, boolean notifyForDescendents, ContentObserver observer) { in ContentObserverEntry() argument
93 this.uri = uri; in ContentObserverEntry()
97 if (uri == null || observer == null) { in ContentObserverEntry()
102 public boolean matches(Uri test) { in matches()
103 if (!Objects.equals(uri.getScheme(), test.getScheme())) { in matches()
[all …]
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContentResolver.java36 import android.net.Uri;
82 private static final Map<Uri, BaseCursor> uriCursorMap = new HashMap<>();
83 private static final Map<Uri, Supplier<InputStream>> inputStreamMap = new HashMap<>();
84 private static final Map<Uri, Supplier<OutputStream>> outputStreamMap = new HashMap<>();
120 public final Uri uri; field in ShadowContentResolver.ContentObserverEntry
124 private ContentObserverEntry(Uri uri, boolean notifyForDescendents, ContentObserver observer) { in ContentObserverEntry() argument
125 this.uri = uri; in ContentObserverEntry()
129 if (uri == null || observer == null) { in ContentObserverEntry()
134 public boolean matches(Uri test) { in matches()
135 if (!Objects.equals(uri.getScheme(), test.getScheme())) { in matches()
[all …]
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/common/internal/
DLiteTransformFragmentsTest.java20 import android.net.Uri;
32 Uri uri = Uri.parse("scheme:path"); in parseAbsentTransformFragment_yieldsEmpty() local
33 assertThat(LiteTransformFragments.parseTransformNames(uri)).isEmpty(); in parseAbsentTransformFragment_yieldsEmpty()
38 Uri uri = Uri.parse("scheme:path#"); in parseEmptyTransformFragment_yieldsEmpty() local
39 assertThat(LiteTransformFragments.parseTransformNames(uri)).isEmpty(); in parseEmptyTransformFragment_yieldsEmpty()
44 Uri uri = Uri.parse("scheme:path#nontransform"); in parseNonTransformFragment_yieldsEmpty() local
45 assertThat(LiteTransformFragments.parseTransformNames(uri)).isEmpty(); in parseNonTransformFragment_yieldsEmpty()
50 Uri uri = Uri.parse("scheme:path#transform=simple"); in parseSimpleTransformFragment_yieldsSpec() local
51 assertThat(LiteTransformFragments.parseTransformNames(uri)).containsExactly("simple"); in parseSimpleTransformFragment_yieldsSpec()
56 Uri uri = Uri.parse("scheme:path#transform=M1X_d"); in parseMixedTransformFragment_yieldsSpec() local
[all …]
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/
DSynchronousFileStorage.java18 import android.net.Uri;
161 * Open URI with an Opener. The Opener determines the return type, eg, a Stream or a Proto and is
164 * @param uri The URI to open.
170 public <T> T open(Uri uri, Opener<T> opener) throws IOException { in open() argument
171 OpenContext context = getContext(uri); in open()
176 * Deletes the file denoted by {@code uri}.
180 public void deleteFile(Uri uri) throws IOException { in deleteFile() argument
181 OpenContext context = getContext(uri); in deleteFile()
186 * Deletes the directory denoted by {@code uri}. The directory must be empty in order to be
191 public void deleteDirectory(Uri uri) throws IOException { in deleteDirectory() argument
[all …]
/external/cronet/base/android/java/src/org/chromium/base/
DContentUriUtils.java11 import android.net.Uri;
27 * This class provides methods to access content URI schemes.
37 * Provides functionality to translate a file into a content URI for use
42 * Generate a content URI from the given file.
46 Uri getContentUriFromFile(File file); in getContentUriFromFile()
59 * Get a URI for |file| which has the image capture. This function assumes that path of |file|
63 * @return URI for |file|.
67 public static Uri getContentUriFromFile(File file) { in getContentUriFromFile()
77 * Opens the content URI for reading, and returns the file descriptor to
80 * @param uriString the content URI to open
[all …]
/external/cronet/third_party/libxml/src/
Duri.c2 * uri.c: set of generic URI related routines
18 #include <libxml/uri.h>
27 * The definition of the URI regexp in the above RFC has no size limit
29 * data URI scheme as defined in RFC 2397. Even for data URI the usual
58 static void xmlCleanURI(xmlURIPtr uri);
204 * @uri: pointer to an URI structure
207 * Parse an URI scheme
214 xmlParse3986Scheme(xmlURIPtr uri, const char **str) { in xmlParse3986Scheme() argument
226 if (uri != NULL) { in xmlParse3986Scheme()
227 if (uri->scheme != NULL) xmlFree(uri->scheme); in xmlParse3986Scheme()
[all …]
/external/libxml2/
Duri.c2 * uri.c: set of generic URI related routines
18 #include <libxml/uri.h>
27 * The definition of the URI regexp in the above RFC has no size limit
29 * data URI scheme as defined in RFC 2397. Even for data URI the usual
58 static void xmlCleanURI(xmlURIPtr uri);
204 * @uri: pointer to an URI structure
207 * Parse an URI scheme
214 xmlParse3986Scheme(xmlURIPtr uri, const char **str) { in xmlParse3986Scheme() argument
226 if (uri != NULL) { in xmlParse3986Scheme()
227 if (uri->scheme != NULL) xmlFree(uri->scheme); in xmlParse3986Scheme()
[all …]
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/common/testing/
DFakeFileBackendTest.java20 import android.net.Uri;
46 protected Uri legalUriBase() throws IOException { in legalUriBase()
51 protected List<Uri> illegalUrisToRead() { in illegalUrisToRead()
56 protected List<Uri> illegalUrisToWrite() { in illegalUrisToWrite()
61 protected List<Uri> illegalUrisToAppend() { in illegalUrisToAppend()
67 Uri uri = tmpUri.newUri(); in throwsExceptions_forRead() local
69 assertThrows(FakeIOException.class, () -> backend.openForRead(uri)); in throwsExceptions_forRead()
70 assertThrows(FakeIOException.class, () -> backend.openForNativeRead(uri)); in throwsExceptions_forRead()
73 try (Closeable resource = backend.openForRead(uri)) {} in throwsExceptions_forRead()
74 Pair<Uri, Closeable> nativeOpen = backend.openForNativeRead(uri); in throwsExceptions_forRead()
[all …]
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/backends/
DAndroidFileBackendTest.java30 import android.net.Uri;
72 protected Uri legalUriBase() { in legalUriBase()
73 return Uri.parse("android://" + context.getPackageName() + "/files/common/shared/"); in legalUriBase()
77 protected List<Uri> illegalUrisToRead() { in illegalUrisToRead()
79 Uri.parse(legalUriBase() + "uriWithQuery?q=a"), in illegalUrisToRead()
80 Uri.parse("android:///null/uriWithInvalidLogicalLocation"), in illegalUrisToRead()
81 Uri.parse("android://" + context.getPackageName()), in illegalUrisToRead()
82 Uri.parse("android://" + context.getPackageName())); in illegalUrisToRead()
86 protected List<Uri> illegalUrisToWrite() { in illegalUrisToWrite()
88 Uri.parse("android://com.thirdparty.app/files/common/shared/uriAcrossAuthority")); in illegalUrisToWrite()
[all …]
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/backends/
DJavaFileBackend.java18 import android.net.Uri;
59 public InputStream openForRead(Uri uri) throws IOException { in openForRead() argument
60 File file = FileUriAdapter.instance().toFile(uri); in openForRead()
65 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() argument
66 File file = FileUriAdapter.instance().toFile(uri); in openForNativeRead()
72 public OutputStream openForWrite(Uri uri) throws IOException { in openForWrite() argument
73 File file = FileUriAdapter.instance().toFile(uri); in openForWrite()
79 public OutputStream openForAppend(Uri uri) throws IOException { in openForAppend() argument
80 File file = FileUriAdapter.instance().toFile(uri); in openForAppend()
86 public void deleteFile(Uri uri) throws IOException { in deleteFile() argument
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowContentResolverTest.java40 import android.net.Uri;
83 private Uri uri21;
84 private Uri uri22;
91 uri21 = Uri.parse(EXTERNAL_CONTENT_URI.toString() + "/21"); in setUp()
92 uri22 = Uri.parse(EXTERNAL_CONTENT_URI.toString() + "/22"); in setUp()
123 Uri uri, in getType_shouldReturnProviderValue()
132 public Uri insert(Uri uri, ContentValues values) { in getType_shouldReturnProviderValue()
137 public int delete(Uri uri, String selection, String[] selectionArgs) { in getType_shouldReturnProviderValue()
143 Uri uri, ContentValues values, String selection, String[] selectionArgs) { in getType_shouldReturnProviderValue()
148 public String getType(Uri uri) { in getType_shouldReturnProviderValue()
[all …]
/external/icing/icing/join/
Dqualified-id_test.cc33 // "namespace#uri" -> "namespace" + "uri" in TEST()
35 QualifiedId::Parse(R"(namespace#uri)")); in TEST()
37 EXPECT_THAT(id.uri(), R"(uri)"); in TEST()
41 // "namespace\\#uri" -> "namespace\" + "uri" in TEST()
43 QualifiedId::Parse(R"(namespace\\#uri)")); in TEST()
45 EXPECT_THAT(id1.uri(), R"(uri)"); in TEST()
47 // "namespace\\\##uri" -> "namespace\#" + "uri" in TEST()
49 QualifiedId::Parse(R"(namespace\\\##uri)")); in TEST()
51 EXPECT_THAT(id2.uri(), R"(uri)"); in TEST()
53 // "namespace#\#\\uri" -> "namespace" + "#\uri" in TEST()
[all …]
/external/apache-http/src/org/apache/http/client/utils/
DURIUtils.java32 import java.net.URI;
38 * A collection of utilities for {@link URI URIs}, to workaround
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.
73 * relative, if the URI string constructed from the given
78 public static URI createURI( in createURI()
112 return new URI(buffer.toString()); in createURI()
116 * A convenience method for creating a new {@link URI} whose scheme, host
118 * fragment are taken from the existing URI. The fragment is only used if
[all …]
/external/grpc-grpc/test/core/client_channel/
Duri_parser_test.cc33 grpc_uri* uri = grpc_uri_parse(uri_text, 0); in test_succeeds() local
34 GPR_ASSERT(uri); in test_succeeds()
35 GPR_ASSERT(0 == strcmp(scheme, uri->scheme)); in test_succeeds()
36 GPR_ASSERT(0 == strcmp(authority, uri->authority)); in test_succeeds()
37 GPR_ASSERT(0 == strcmp(path, uri->path)); in test_succeeds()
38 GPR_ASSERT(0 == strcmp(query, uri->query)); in test_succeeds()
39 GPR_ASSERT(0 == strcmp(fragment, uri->fragment)); in test_succeeds()
41 grpc_uri_destroy(uri); in test_succeeds()
53 grpc_uri* uri = grpc_uri_parse(uri_text, 0); in test_query_parts() local
54 GPR_ASSERT(uri); in test_query_parts()
[all …]
/external/webrtc/api/
Drtp_parameters.cc52 absl::string_view uri) in RtpHeaderExtensionCapability() argument
53 : uri(uri) {} in RtpHeaderExtensionCapability()
55 absl::string_view uri, in RtpHeaderExtensionCapability() argument
57 : uri(uri), preferred_id(preferred_id) {} in RtpHeaderExtensionCapability()
59 absl::string_view uri, in RtpHeaderExtensionCapability() argument
62 : uri(uri), preferred_id(preferred_id), direction(direction) {} in RtpHeaderExtensionCapability()
66 RtpExtension::RtpExtension(absl::string_view uri, int id) : uri(uri), id(id) {} in RtpExtension() argument
67 RtpExtension::RtpExtension(absl::string_view uri, int id, bool encrypt) in RtpExtension() argument
68 : uri(uri), id(id), encrypt(encrypt) {} in RtpExtension()
107 sb << "{uri: " << uri; in ToString()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/rtsp/src/test/java/com/google/android/exoplayer2/source/rtsp/
DRtspTrackTimingTest.java21 import android.net.Uri;
38 RtspTrackTiming.parseTrackTiming(rtpInfoString, Uri.parse("rtsp://video.example.com")); in parseTiming_withSeqNumberAndRtpTime()
42 assertThat(trackTiming.uri).isEqualTo(Uri.parse("rtsp://video.example.com/twister/video")); in parseTiming_withSeqNumberAndRtpTime()
53 RtspTrackTiming.parseTrackTiming(rtpInfoString, Uri.parse("rtsp://foo.com")); in parseTiming_withSeqNumberOnly()
57 assertThat(trackTiming.uri).isEqualTo(Uri.parse("rtsp://foo.com/bar.avi/streamid=0")); in parseTiming_withSeqNumberOnly()
61 assertThat(trackTiming.uri).isEqualTo(Uri.parse("rtsp://foo.com/bar.avi/streamid=1")); in parseTiming_withSeqNumberOnly()
74 rtpInfoString, Uri.parse("rtsp://video.example.com/twister"))); in parseTiming_withInvalidParameter_throws()
85 rtpInfoString, Uri.parse("rtsp://video.example.com/twister"))); in parseTiming_withNoParameter_throws()
96 rtpInfoString, Uri.parse("rtsp://video.example.com/twister"))); in parseTiming_withNoUrl_throws()
101 Uri uri = in resolveUri_withAbsoluteUri_succeeds() local
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/rtsp/src/test/java/com/google/android/exoplayer2/source/rtsp/
DRtspTrackTimingTest.java21 import android.net.Uri;
38 RtspTrackTiming.parseTrackTiming(rtpInfoString, Uri.parse("rtsp://video.example.com")); in parseTiming_withSeqNumberAndRtpTime()
42 assertThat(trackTiming.uri).isEqualTo(Uri.parse("rtsp://video.example.com/twister/video")); in parseTiming_withSeqNumberAndRtpTime()
53 RtspTrackTiming.parseTrackTiming(rtpInfoString, Uri.parse("rtsp://foo.com")); in parseTiming_withSeqNumberOnly()
57 assertThat(trackTiming.uri).isEqualTo(Uri.parse("rtsp://foo.com/bar.avi/streamid=0")); in parseTiming_withSeqNumberOnly()
61 assertThat(trackTiming.uri).isEqualTo(Uri.parse("rtsp://foo.com/bar.avi/streamid=1")); in parseTiming_withSeqNumberOnly()
74 rtpInfoString, Uri.parse("rtsp://video.example.com/twister"))); in parseTiming_withInvalidParameter_throws()
85 rtpInfoString, Uri.parse("rtsp://video.example.com/twister"))); in parseTiming_withNoParameter_throws()
96 rtpInfoString, Uri.parse("rtsp://video.example.com/twister"))); in parseTiming_withNoUrl_throws()
101 Uri uri = in resolveUri_withAbsoluteUri_succeeds() local
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/util/
DUriUtil.java18 import android.net.Uri;
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.
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.
67 * @param referenceUri The reference URI to resolve.
69 public static Uri resolveToUri(@Nullable String baseUri, @Nullable String referenceUri) { in resolveToUri()
70 return Uri.parse(resolve(baseUri, referenceUri)); in resolveToUri()
78 * @param baseUri The base URI.
[all …]

12345678910>>...207