/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | DnsNameResolverProvider.java | 44 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()
|
D | OverrideAuthorityNameResolverFactory.java | 46 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument 47 final NameResolver resolver = delegate.newNameResolver(targetUri, params); in newNameResolver()
|
D | ManagedChannelImpl.java | 608 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/ |
D | ManagedChannelImplGetNameResolverTest.java | 99 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()
|
D | ManagedChannelImplTest.java | 2738 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/ |
D | SymlinkUtil.java | 48 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/ |
D | NameResolverProvider.java | 109 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument 112 NameResolver resolver = provider.newNameResolver(targetUri, params); in newNameResolver()
|
D | NameResolver.java | 113 public abstract NameResolver newNameResolver(URI targetUri, Attributes params); in newNameResolver() argument
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/delta/ |
D | DeltaDecoder.java | 49 void decode(Uri baseUri, Uri deltaUri, Uri targetUri) throws DeltaDecodeException; in decode() argument
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/internal/ |
D | MddIsolatedStructuresTest.java | 219 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()
|
D | SharedFileManagerTest.java | 668 public void decode(Uri baseUri, Uri deltaUri, Uri targetUri) { in findNoDeltaFile_whenDecoderNotSupported()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | NameResolverProviderTest.java | 145 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/ |
D | MobileDataDownloadIntegrationTest.java | 892 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()
|