Searched refs:toPath (Results 1 – 16 of 16) sorted by relevance
95 final Path parentPath = file.getParentFile().toPath(); in resolvePlaylistM3u()118 final Path parentPath = file.getParentFile().toPath(); in resolvePlaylistPls()142 final Path parentPath = file.getParentFile().toPath(); in resolvePlaylistWpl()
267 Files.walkFileTree(mRoot.toPath(), this); in walkFileTree()
55 Files.delete(mFile.toPath()); in close()72 public Path getPath() { return mFile.toPath(); } in getPath()
44 Uri path = toPath(device); in toPrinter()53 public static Uri toPath(WifiP2pDevice device) { in toPath() method in P2pDiscovery
59 lifetimeData = java.nio.file.Files.readAllLines(mFile.toPath()); in load()
38 private static Path DEFAULT_STATS_FILE = new File("/proc/uid_io/stats").toPath();
69 datalines = Files.readAllLines(writefile.toPath()); in tryParse()
65 JSONObject jsonObject = new JSONObject(new String(Files.readAllBytes(in.toPath()))); in fromJson()
71 Files.copy(inputStream, imageFile.toPath(), in openFile()
69 .getTargetContext().getCacheDir().toPath(), in starting()
241 Path stagedConfig = getFile(CONFIG_FILENAME_STAGED).toPath(); in promoteStagedConfig()250 Path prod = getFile(CONFIG_FILENAME_PRODUCTION).toPath(); in promoteStagedConfig()
432 new String(Files.readAllBytes(mLifetimeWriteFile.toPath()))); in loadLifetimeWrites()
193 P2pDiscovery.toPath(mPeer), printer.location); in onCapabilities()
101 Files.copy(in, cachedFile.toPath(), StandardCopyOption.REPLACE_EXISTING); in openFile()
81 new File(mBugReport.getFilePath()).toPath().getFileName().toString()); in doInBackground()
120 Path filePath = new File(mActivity.getFilesDir(), FILE_NAME).toPath(); in getFilePath()