Home
last modified time | relevance | path

Searched refs:targetDir (Results 1 – 5 of 5) sorted by relevance

/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/
DTestSupport.java42 public static Path copyTestResource(Class<?> baseClass, String testResource, Path targetDir) in copyTestResource() argument
45 Files.createDirectories(targetDir); in copyTestResource()
47 return copyResourceAndLicense(baseClass, TEST_DATA_RESOURCE_DIR + testResource, targetDir); in copyTestResource()
51 Class<?> baseClass, String testResource, Path targetDir) in copyTestResourceWithoutLicense() argument
54 Files.createDirectories(targetDir); in copyTestResourceWithoutLicense()
56 return copyResource(baseClass, TEST_DATA_RESOURCE_DIR + testResource, targetDir); in copyTestResourceWithoutLicense()
60 String relativeResourcePath, Path targetDir) throws IOException { in copyResourceAndLicense() argument
66 copyResource(baseClass, dirName + "/" + LICENSE_FILE_NAME, targetDir); in copyResourceAndLicense()
68 return copyResource(baseClass, relativeResourcePath, targetDir); in copyResourceAndLicense()
72 Path targetDir) throws IOException { in copyResource() argument
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DFileUtil.java98 public static void moveAllContentUnderDirectory(File sourceDir, File targetDir) { in moveAllContentUnderDirectory() argument
99 if (sourceDir.isDirectory() && targetDir.isDirectory()) { in moveAllContentUnderDirectory()
100 if (isSameOrSubDirectory(sourceDir, targetDir)) { in moveAllContentUnderDirectory()
107 final File dirTarget = new File(targetDir, file.getName()); in moveAllContentUnderDirectory()
112 final File fileTarget = new File(targetDir, file.getName()); in moveAllContentUnderDirectory()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderForFuseTest.java124 File targetDir = Environment.getExternalStoragePublicDirectory( in testTypicalChangeDirectory() local
128 targetDir.mkdir(); in testTypicalChangeDirectory()
131 final File renamed = new File(targetDir, "renamed" + System.nanoTime() + ".jpg"); in testTypicalChangeDirectory()
137 targetDir.getPath(), sTestUid))).contains(renamed.getName()); in testTypicalChangeDirectory()
143 targetDir.getPath(), sTestUid))).doesNotContain(renamed.getName()); in testTypicalChangeDirectory()
/packages/apps/ManagedProvisioning/studio-dev/
Dstudiow1110 targetDir="${HOME}/.local/share/applications"
1111 mkdir -p "$targetDir"
1115 sed "s|%STUDIOW_ICON%|${studiow_icon}|g" > "${targetDir}/MPStudio.desktop"
/packages/services/Telephony/src/com/android/phone/satellite/accesscontrol/
DSatelliteAccessController.java479 Path targetDir = ctsFile.toPath(); in copyTestSatS2FileToPhoneDirectory() local
480 Path targetSatS2FilePath = targetDir.resolve(sourceFileName); in copyTestSatS2FileToPhoneDirectory()
504 Path targetDir = satelliteAccessControlFile.toPath(); in copySatS2FileToLocalDirectory() local
505 Path targetSatS2FilePath = targetDir.resolve(CONFIG_UPDATER_S2_CELL_FILE_NAME); in copySatS2FileToLocalDirectory()