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()
265 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()
69 datalines = Files.readAllLines(writefile.toPath()); in tryParse()
38 private static Path DEFAULT_STATS_FILE = new File("/proc/uid_io/stats").toPath();
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()
193 P2pDiscovery.toPath(mPeer), printer.location); in onCapabilities()
101 Files.copy(in, cachedFile.toPath(), StandardCopyOption.REPLACE_EXISTING); in openFile()
120 Path filePath = new File(mActivity.getFilesDir(), FILE_NAME).toPath(); in getFilePath()
262 Path stagedConfig = getFile(CONFIG_FILENAME_STAGED).toPath(); in promoteStagedConfig()271 Path prod = getFile(CONFIG_FILENAME_PRODUCTION).toPath(); in promoteStagedConfig()
432 new String(Files.readAllBytes(mLifetimeWriteFile.toPath()))); in loadLifetimeWrites()
136 assertEquals(readFile(staged.toPath()), expectedConfig); in testSaveConfig_WriteStagedFile()