Home
last modified time | relevance | path

Searched refs:toPath (Results 1 – 16 of 16) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DPlaylistResolver.java95 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()
DModernMediaScanner.java267 Files.walkFileTree(mRoot.toPath(), this); in walkFileTree()
/packages/services/Car/tests/common_utils/src/com/android/car/test/utils/
DTemporaryFile.java55 Files.delete(mFile.toPath()); in close()
72 public Path getPath() { return mFile.toPath(); } in getPath()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DP2pDiscovery.java44 Uri path = toPath(device); in toPrinter()
53 public static Uri toPath(WifiP2pDevice device) { in toPath() method in P2pDiscovery
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DUfsWearInformationProvider.java59 lifetimeData = java.nio.file.Files.readAllLines(mFile.toPath()); in load()
DProcfsUidIoStatsProvider.java38 private static Path DEFAULT_STATS_FILE = new File("/proc/uid_io/stats").toPath();
DSysfsLifetimeWriteInfoProvider.java69 datalines = Files.readAllLines(writefile.toPath()); in tryParse()
DWearHistory.java65 JSONObject jsonObject = new JSONObject(new String(Files.readAllBytes(in.toPath()))); in fromJson()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DClusterContentProvider.java71 Files.copy(inputStream, imageFile.toPath(), in openFile()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchiveFileTestRule.java69 .getTargetContext().getCacheDir().toPath(), in starting()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java241 Path stagedConfig = getFile(CONFIG_FILENAME_STAGED).toPath(); in promoteStagedConfig()
250 Path prod = getFile(CONFIG_FILENAME_PRODUCTION).toPath(); in promoteStagedConfig()
DCarStorageMonitoringService.java432 new String(Files.readAllBytes(mLifetimeWriteFile.toPath()))); in loadLifetimeWrites()
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
DP2pPrinterConnection.java193 P2pDiscovery.toPath(mPeer), printer.location); in onCapabilities()
/packages/apps/Settings/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProvider.java101 Files.copy(in, cachedFile.toPath(), StandardCopyOption.REPLACE_EXISTING); in openFile()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugReportInfoActivity.java81 new File(mBugReport.getFilePath()).toPath().getFileName().toString()); in doInBackground()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagelifetime/
DStorageLifetimeFragment.java120 Path filePath = new File(mActivity.getFilesDir(), FILE_NAME).toPath(); in getFilePath()