Home
last modified time | relevance | path

Searched refs:targetUri (Results 1 – 13 of 13) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DDnsNameResolverProvider.java44 public DnsNameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
45 if (SCHEME.equals(targetUri.getScheme())) { in newNameResolver()
46 String targetPath = Preconditions.checkNotNull(targetUri.getPath(), "targetPath"); in newNameResolver()
48 "the path component (%s) of the target (%s) must start with '/'", targetPath, targetUri); in newNameResolver()
51 targetUri.getAuthority(), in newNameResolver()
DOverrideAuthorityNameResolverFactory.java46 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
47 final NameResolver resolver = delegate.newNameResolver(targetUri, params); in newNameResolver()
DManagedChannelImpl.java608 URI targetUri = null; in getNameResolver() local
611 targetUri = new URI(target); in getNameResolver()
619 if (targetUri != null) { in getNameResolver()
620 NameResolver resolver = nameResolverFactory.newNameResolver(targetUri, nameResolverParams); in getNameResolver()
633 targetUri = new URI(nameResolverFactory.getDefaultScheme(), "", "/" + target, null); in getNameResolver()
638 NameResolver resolver = nameResolverFactory.newNameResolver(targetUri, nameResolverParams); in getNameResolver()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplGetNameResolverTest.java99 public NameResolver newNameResolver(URI targetUri, Attributes params) { in validTargetNoResovler()
146 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
147 if (expectedScheme.equals(targetUri.getScheme())) { in newNameResolver()
148 return new FakeNameResolver(targetUri); in newNameResolver()
DManagedChannelImplTest.java2738 public NameResolver newNameResolver(URI targetUri, Attributes params) { in badServiceConfigIsRecoverable() argument
2865 public NameResolver newNameResolver(final URI targetUri, Attributes params) { in newNameResolver() argument
2866 if (!expectedUri.equals(targetUri)) { in newNameResolver()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/util/
DSymlinkUtil.java48 public static void createSymlink(Context context, Uri linkUri, Uri targetUri) throws IOException { in createSymlink() argument
52 adapter.toFile(targetUri).getAbsolutePath(), adapter.toFile(linkUri).getAbsolutePath()); in createSymlink()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DNameResolverProvider.java109 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
112 NameResolver resolver = provider.newNameResolver(targetUri, params); in newNameResolver()
DNameResolver.java113 public abstract NameResolver newNameResolver(URI targetUri, Attributes params); in newNameResolver() argument
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/delta/
DDeltaDecoder.java49 void decode(Uri baseUri, Uri deltaUri, Uri targetUri) throws DeltaDecodeException; in decode() argument
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/internal/
DMddIsolatedStructuresTest.java219 Uri targetUri = AndroidUri.builder(context).setRelativePath("targetFile").build(); in testSymlinkUtil() local
222 fileStorage.open(targetUri, WriteByteArrayOpener.create("some bytes".getBytes(UTF_16))); in testSymlinkUtil()
226 SymlinkUtil.createSymlink(context, linkUri, targetUri); in testSymlinkUtil()
229 assertThat(SymlinkUtil.readSymlink(context, linkUri)).isEqualTo(targetUri); in testSymlinkUtil()
DSharedFileManagerTest.java668 public void decode(Uri baseUri, Uri deltaUri, Uri targetUri) { in findNoDeltaFile_whenDecoderNotSupported()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DNameResolverProviderTest.java145 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/
DMobileDataDownloadIntegrationTest.java892 Uri targetUri = in download_relativeFilePaths_createsSymlinks() local
898 assertThat(targetUri.toString()).contains(expectedStartTargetUri.toString()); in download_relativeFilePaths_createsSymlinks()
900 assertThat(fileStorage.exists(targetUri)).isTrue(); in download_relativeFilePaths_createsSymlinks()