/packages/providers/MediaProvider/tests/src/com/android/providers/media/playlist/ |
D | PlaylistPersisterTest.java | 47 new File("test.mp3").toPath(), 48 new File("../parent/../test.mp3").toPath(), 49 new File("subdir/test.mp3").toPath(), 50 new File("/root/test.mp3").toPath(), 51 new File("從不喜歡孤單一個 - 蘇永康/吳雨霏.mp3").toPath(), 52 new File("test.mp3").toPath());
|
D | PlaylistTest.java | 34 private final Path RED = new File("red").toPath(); 35 private final Path GREEN = new File("../green").toPath(); 36 private final Path BLUE = new File("path/to/blue").toPath(); 37 private final Path YELLOW = new File("/root/yellow").toPath();
|
/packages/services/Car/tests/common_utils/src/com/android/car/test/utils/ |
D | TemporaryFile.java | 55 Files.delete(mFile.toPath()); in close() 72 public Path getPath() { return mFile.toPath(); } in getPath()
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | P2pDiscovery.java | 44 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/ |
D | UfsWearInformationProvider.java | 59 lifetimeData = java.nio.file.Files.readAllLines(mFile.toPath()); in load()
|
D | ProcfsUidIoStatsProvider.java | 38 private static Path DEFAULT_STATS_FILE = new File("/proc/uid_io/stats").toPath();
|
D | SysfsLifetimeWriteInfoProvider.java | 69 datalines = Files.readAllLines(writefile.toPath()); in tryParse()
|
D | WearHistory.java | 65 JSONObject jsonObject = new JSONObject(new String(Files.readAllBytes(in.toPath()))); in fromJson()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/ |
D | ClusterContentProvider.java | 71 Files.copy(inputStream, imageFile.toPath(), in openFile()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | FileUtils.java | 383 Files.write(file.toPath(), value.get().getBytes(StandardCharsets.UTF_8)); in writeString() 395 final String value = new String(Files.readAllBytes(file.toPath()), in readString() 456 walkFileTreeContents(dir.toPath(), (path) -> { in deleteContents()
|
D | Logging.java | 62 sPersistentDir = persistentDir.toPath(); in initPersistent()
|
D | XmpInterface.java | 192 return new XmpInterface(Files.readAllBytes(file.toPath()), in fromSidecar()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | ArchiveFileTestRule.java | 69 .getTargetContext().getCacheDir().toPath(), in starting()
|
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/ |
D | P2pPrinterConnection.java | 193 P2pDiscovery.toPath(mPeer), printer.location); in onCapabilities()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicenseProvider.java | 101 Files.copy(in, cachedFile.toPath(), StandardCopyOption.REPLACE_EXISTING); in openFile()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagelifetime/ |
D | StorageLifetimeFragment.java | 120 Path filePath = new File(mActivity.getFilesDir(), FILE_NAME).toPath(); in getFilePath()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsManagerService.java | 303 Path stagedConfig = getFile(CONFIG_FILENAME_STAGED).toPath(); in promoteStagedConfig() 312 Path prod = getFile(CONFIG_FILENAME_PRODUCTION).toPath(); in promoteStagedConfig()
|
D | CarStorageMonitoringService.java | 460 new String(Files.readAllBytes(mLifetimeWriteFile.toPath()))); in loadLifetimeWrites()
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | ModernMediaScanner.java | 363 acquireDirectoryLock(mRoot.getParentFile().toPath()); in walkFileTree() 366 Files.walkFileTree(mRoot.toPath(), this); in walkFileTree() 373 releaseDirectoryLock(mRoot.getParentFile().toPath()); in walkFileTree()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarUxRestrictionsManagerServiceTest.java | 163 assertEquals(readFile(staged.toPath()), expectedConfig); in testSaveConfig_WriteStagedFile()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 839 FileUtils.walkFileTreeContents(dir.toPath(), this::deleteAndInvalidate); in ensureThumbnailsValid() 5449 final Path playlistPath = queryForDataFile(playlistUri, null).toPath(); 5517 playlistFile.toPath().getParent().relativize(audioFile.toPath()));
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcService.java | 3156 String logs = Files.lines(file.toPath()).collect(Collectors.joining("\n")); in dumpDebug()
|