Searched refs:toPath (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/av/media/mtp/
H A DMtpUtils.h34 int copyRecursive(const char *fromPath, const char *toPath);
35 int copyFile(const char *fromPath, const char *toPath);
H A DMtpUtils.cpp120 int copyRecursive(const char *fromPath, const char *toPath) { argument
123 string toPathStr(toPath);
156 int copyFile(const char *fromPath, const char *toPath) { argument
164 android::base::unique_fd toFd(open(toPath, O_CREAT | O_WRONLY, FILE_PERM));
166 PLOG(ERROR) << "Failed to open copy to " << toPath;
191 chown(toPath, getuid(), FILE_GROUP);
192 access_ok(toPath);
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelCpuProcReaderTest.java99 try (OutputStream os = Files.newOutputStream(mTestFile.toPath())) {
109 try (OutputStream os = Files.newOutputStream(mTestFile.toPath())) {
122 try (OutputStream os = Files.newOutputStream(mTestFile.toPath())) {
137 try (OutputStream os = Files.newOutputStream(mTestFile.toPath())) {
152 try (OutputStream os = Files.newOutputStream(mTestFile.toPath())) {
165 try (OutputStream os = Files.newOutputStream(mTestFile.toPath())) {
179 try (OutputStream os = Files.newOutputStream(mTestFile.toPath())) {
/frameworks/base/core/java/android/gesture/
H A DGesture.java125 public Path toPath() { method in class:Gesture
126 return toPath(null);
129 public Path toPath(Path path) { method in class:Gesture
142 public Path toPath(int width, int height, int edge, int numSample) { method in class:Gesture
143 return toPath(null, width, height, edge, numSample);
146 public Path toPath(Path path, int width, int height, int edge, int numSample) { method in class:Gesture
153 path.addPath(strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample));
204 Path path = strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample);
234 final Path path = toPath();
H A DOrientedBoundingBox.java55 public Path toPath() { method in class:OrientedBoundingBox
H A DGestureStroke.java160 public Path toPath(float width, float height, int numSample) { method in class:GestureStroke
H A DGestureOverlayView.java296 final Path path = mCurrentGesture.toPath();
/frameworks/base/core/tests/coretests/src/android/text/
H A DFontFallbackSetup.java63 Files.copy(is, outInCache.toPath(), StandardCopyOption.REPLACE_EXISTING);
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskSnapshotLoader.java75 final byte[] bytes = Files.readAllBytes(protoFile.toPath());
/frameworks/support/webkit-codegen/src/test/java/androidx/webkit/internal/codegen/
H A DTestUtils.java58 return new String(Files.readAllBytes(file.toPath()));
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/
H A DDexMetadataHelperTest.java153 Files.createFile(invalidDmFile.toPath());
169 Files.createFile(invalidDmFile.toPath());
/frameworks/support/jetifier/jetifier/standalone/src/main/kotlin/com/android/tools/build/jetifier/standalone/
H A DTopOfTreeBuilder.kt69 val finalArchive = Archive(outputZip.toPath(), newFiles.toList())
/frameworks/base/core/java/com/android/server/
H A DSystemConfig.java666 boolean vendor = permFile.toPath().startsWith(
667 Environment.getVendorDirectory().toPath())
668 || permFile.toPath().startsWith(
669 Environment.getOdmDirectory().toPath());
670 boolean product = permFile.toPath().startsWith(
671 Environment.getProductDirectory().toPath());
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/archive/
H A DArchive.kt128 return extractArchive(it, archiveFile.toPath(), recursive)
/frameworks/base/apct-tests/perftests/core/src/android/database/
H A DSQLiteDatabaseIoPerfTest.java154 List<String> lines = Files.readAllLines(new File(ioStat).toPath());
/frameworks/base/core/tests/coretests/src/android/provider/
H A DMockFontProvider.java200 Files.copy(is, getCopiedFile(context, file).toPath(),
/frameworks/base/test-runner/src/android/test/
H A DRenamingDelegatingContext.java247 Files.setPosixFilePermissions(mCacheDir.toPath(),
/frameworks/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java150 PathParser_Delegate toPath = PathParser_Delegate.getDelegate(toDataPtr);
151 if (fromPath == null || toPath == null || fromPath.getPathDataNodes() == null || toPath
155 return PathParser_Delegate.canMorph(fromPath.getPathDataNodes(), toPath.getPathDataNodes());
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/
H A DProcessor.kt283 archive.setTargetPath(library.to.toPath())
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DTypefaceSystemFallbackTest.java93 Files.copy(is, outInCache.toPath(), StandardCopyOption.REPLACE_EXISTING);
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java1012 public void toPath(Path path) { method in class:VectorDrawable_Delegate.VPath_Delegate
1141 VPath.toPath(mPath);
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/
H A DVectorDrawableCompat.java1177 vPath.toPath(mPath);
1546 public void toPath(Path path) { method in class:VectorDrawableCompat.VPath
/frameworks/base/core/tests/coretests/src/android/database/
H A DNewDatabasePerformanceTests.java942 List<String> lines = Files.readAllLines(new File(ioStat).toPath());
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java3275 Files.copy(Paths.get(info.getBaseCodePath()), dexModule.toPath(),

Completed in 558 milliseconds

12