Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DDnsNameResolverProvider.java46 String targetPath = Preconditions.checkNotNull(targetUri.getPath(), "targetPath"); in newNameResolver() local
47 Preconditions.checkArgument(targetPath.startsWith("/"), in newNameResolver()
48 "the path component (%s) of the target (%s) must start with '/'", targetPath, targetUri); in newNameResolver()
49 String name = targetPath.substring(1); in newNameResolver()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/
DMediaRecorderFacade.java69 public void recorderStartMicrophone(@RpcParameter(name = "targetPath") String targetPath) in recorderStartMicrophone()
71 startAudioRecording(targetPath, MediaRecorder.AudioSource.MIC); in recorderStartMicrophone()
80 public void recorderStartVideo(@RpcParameter(name = "targetPath") String targetPath, in recorderStartVideo()
84 startVideoRecording(new File(targetPath), ms, videoSize); in recorderStartVideo()
163 public void recorderCaptureVideo(@RpcParameter(name = "targetPath") String targetPath, in recorderCaptureVideo()
167 startVideoRecording(new File(targetPath), ms, recordAudio); in recorderCaptureVideo()
200 private void startAudioRecording(String targetPath, int source) throws IOException { in startAudioRecording() argument
204 mMediaRecorder.setOutputFile(targetPath); in startAudioRecording()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/util/
DSymlinkUtil.java79 String targetPath = readlink(adapter.toFile(symlinkUri).getAbsolutePath()); in readSymlink() local
81 if (targetPath == null) { in readSymlink()
86 .fromAbsolutePath(targetPath, /* accountManager= */ null) in readSymlink()
/external/dokka/runners/gradle-integration-tests/src/test/kotlin/org/jetbrains/dokka/gradle/
DUtils.kt32 class CopyFileVisitor(private var sourcePath: Path?, private val targetPath: Path) : SimpleFileVisi… constant in org.jetbrains.dokka.gradle.CopyFileVisitor
40 Files.createDirectories(targetPath.resolve(sourcePath?.relativize(dir))) in preVisitDirectory()
48 …Files.copy(file, targetPath.resolve(sourcePath?.relativize(file)), StandardCopyOption.REPLACE_EXIS… in visitFile()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DCameraFacade.java88 @RpcParameter(name = "targetPath") final String targetPath, in cameraCapturePicture()
110 takePicture(new File(targetPath), takePictureResult, camera); in cameraCapturePicture()
212 @RpcParameter(name = "targetPath") final String targetPath) { in cameraInteractiveCapturePicture()
214 File file = new File(targetPath); in cameraInteractiveCapturePicture()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DJimfsFileSystemProvider.java235 JimfsPath targetPath = checkPath(target); in createSymbolicLink() local
237 linkPath.getFileSystem().equals(targetPath.getFileSystem()), in createSymbolicLink()
240 view.createSymbolicLink(linkPath, targetPath, attrs); in createSymbolicLink()
264 JimfsPath targetPath = checkPath(target); in copy() local
267 FileSystemView targetView = getDefaultView(targetPath); in copy()
268 sourceView.copy(sourcePath, targetView, targetPath, options, move); in copy()
DJimfsSecureDirectoryStream.java167 public void move(Path srcPath, SecureDirectoryStream<Path> targetDir, Path targetPath) in move() argument
171 JimfsPath checkedTargetPath = checkPath(targetPath); in move()
/external/cldr/tools/cldr-code/src/main/java/com/ibm/icu/dev/test/
DTestFmwk.java695 public Target resolveTarget(TestParams paramsArg, String targetPath) { in resolveTarget() argument
699 if (targetPath != null) { in resolveTarget()
700 if (targetPath.length() == 0) { in resolveTarget()
701 targetPath = null; in resolveTarget()
704 int e = targetPath.length(); in resolveTarget()
707 while (targetPath.charAt(p) == '/') { in resolveTarget()
710 while (e > p && targetPath.charAt(e - 1) == '/') { in resolveTarget()
713 if (p > 0 || e < targetPath.length()) { in resolveTarget()
714 targetPath = targetPath.substring(p, e - p); in resolveTarget()
716 e = targetPath.length(); in resolveTarget()
[all …]
/external/apache-commons-io/src/test/java/org/apache/commons/io/input/
DReversedLinesFileReaderTestParamFile.java58 … final Path targetPath = Files.createTempFile("ReversedLinesFileReaderTestParamFile", ".bin"); in testDataIntegrityWithBufferedReader() local
60 Writer output = Files.newBufferedWriter(targetPath, Charset.defaultCharset())) { in testDataIntegrityWithBufferedReader()
66 Arguments.of(targetPath.toAbsolutePath().toString(), null, null, false, false), in testDataIntegrityWithBufferedReader()
/external/dokka/core/src/main/kotlin/Generation/
DFileGenerator.kt62 formatService.enumerateSupportFiles { resource, targetPath -> in <lambda>() method
63 FileOutputStream(File(root, relativePathToNode(listOf(targetPath), false))).use { in <lambda>()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DPathSubject.java206 public PathSubject withTarget(String targetPath) throws IOException { in withTarget() argument
208 if (!actualTarget.equals(toPath(targetPath))) { in withTarget()
210 fact("expected link target", targetPath), in withTarget()
/external/dokka/core/src/main/kotlin/Formats/
DFormatService.kt20 fun enumerateSupportFiles(callback: (resource: String, targetPath: String) -> Unit) { in createOutputBuilder()
/external/apache-commons-io/src/test/java/org/apache/commons/io/
DFileUtilsTest.java221 final Path targetPath = Paths.get(targetName); in createCircularSymLink() local
222 assertTrue(Files.exists(targetPath)); in createCircularSymLink()
226 Files.createSymbolicLink(linkPath, targetPath); in createCircularSymLink()