Home
last modified time | relevance | path

Searched refs:getAbsolutePath (Results 1 – 25 of 186) sorted by relevance

12345678

/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerIntegrationTest.java39 String filePath = file.getAbsolutePath(); in testMountSingleObb()
55 String filePath1 = file1.getAbsolutePath(); in testMountMultipleObb()
60 String filePath2 = file2.getAbsolutePath(); in testMountMultipleObb()
65 String filePath3 = file3.getAbsolutePath(); in testMountMultipleObb()
91 String filePath = file.getAbsolutePath(); in testMountSingleEncryptedObb()
103 String filePath = file.getAbsolutePath(); in testMountSingleEncryptedObbInvalidPassword()
116 String filePath3 = file3.getAbsolutePath(); in testMountTwoEncryptedObb()
121 String filePath1 = file1.getAbsolutePath(); in testMountTwoEncryptedObb()
143 String obbFilePath = file.getAbsolutePath(); in testUnmount_DontForce()
187 String filePath = file.getAbsolutePath(); in testMountUnsignedObb()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTestable.java38 super.getLockPatternFilename(userId)).getAbsolutePath(); in getLockPatternFilename()
44 super.getLockPasswordFilename(userId)).getAbsolutePath(); in getLockPasswordFilename()
50 super.getChildProfileLockFile(userId)).getAbsolutePath(); in getChildProfileLockFile()
56 userId).getAbsolutePath()); in getSyntheticPasswordDirectoryForUser()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DMediaStoreSaver.java40 String folder_path = folder.getAbsolutePath(); in savePNG()
45 System.out.println("make directory: " + dir.getAbsolutePath()); in savePNG()
54 System.out.println("saved image: " + file.getAbsolutePath()); in savePNG()
64 return file.getAbsolutePath(); in savePNG()
/frameworks/support/exifinterface/src/androidTest/java/androidx/exifinterface/media/
DExifInterfaceTest.java308 .getAbsolutePath(); in setUp()
328 .getAbsolutePath(); in tearDown()
535 ExifInterface exif = new ExifInterface(imageFile.getAbsolutePath()); in testSetDateTime()
541 exif = new ExifInterface(imageFile.getAbsolutePath()); in testSetDateTime()
550 exif = new ExifInterface(imageFile.getAbsolutePath()); in testSetDateTime()
556 exif = new ExifInterface(imageFile.getAbsolutePath()); in testSetDateTime()
565 ExifInterface exif = new ExifInterface(imageFile.getAbsolutePath()); in testRotation()
574 exif = new ExifInterface(imageFile.getAbsolutePath()); in testRotation()
586 exif = new ExifInterface(imageFile.getAbsolutePath()); in testRotation()
607 exif = new ExifInterface(imageFile.getAbsolutePath()); in testRotation()
[all …]
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMediaStoreSaver.java41 String folder_path = folder.getAbsolutePath(); in save()
60 System.out.println("saved image: " + file.getAbsolutePath()); in save()
70 return file.getAbsolutePath(); in save()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DMediaStoreSaver.java41 String folder_path = folder.getAbsolutePath(); in save()
60 System.out.println("saved image: " + file.getAbsolutePath()); in save()
70 return file.getAbsolutePath(); in save()
/frameworks/base/core/java/com/android/server/backup/
DSystemBackupAgent.java65 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
68 "wallpaper").getAbsolutePath();
73 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
76 "wallpaper_info.xml").getAbsolutePath();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java171 IMAGE_FILENAMES[i]).getAbsolutePath(); in setUp()
186 IMAGE_FILENAMES[i]).getAbsolutePath(); in tearDown()
320 ExifInterface exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testExifInterfaceCommon()
336 in = new BufferedInputStream(new FileInputStream(imageFile.getAbsolutePath())); in testExifInterfaceCommon()
346 fd = Os.open(imageFile.getAbsolutePath(), OsConstants.O_RDONLY, 0600); in testExifInterfaceCommon()
360 ExifInterface exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName()
362 exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName()
369 exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName()
374 exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName()
384 fd = Os.open(imageFile.getAbsolutePath(), OsConstants.O_RDWR, 0600); in testSaveAttributes_withFileDescriptor()
/frameworks/multidex/library/src/androidx/multidex/
DMultiDexExtractor.java280 Log.w(TAG, "Failed to read crc from " + extractedFile.getAbsolutePath(), e); in performExtractions()
285 + " '" + extractedFile.getAbsolutePath() + "': length " in performExtractions()
298 extractedFile.getAbsolutePath() + " for secondary dex (" + in performExtractions()
403 throw new IOException("Failed to mark readonly \"" + tmp.getAbsolutePath() + in extract()
404 "\" (tmp of \"" + extractTo.getAbsolutePath() + "\")"); in extract()
408 throw new IOException("Failed to rename \"" + tmp.getAbsolutePath() + in extract()
409 "\" to \"" + extractTo.getAbsolutePath() + "\""); in extract()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupEngine.java117 mFilesDir.getAbsolutePath(), in run()
118 mManifestFile.getAbsolutePath(), in run()
126 mFilesDir.getAbsolutePath(), in run()
127 mMetadataFile.getAbsolutePath(), in run()
312 Log.i(TAG, "obb dir: " + obbDir.getAbsolutePath()); in writeApkToBackup()
316 final String obbDirName = obbDir.getAbsolutePath(); in writeApkToBackup()
319 obbDirName, obb.getAbsolutePath(), output); in writeApkToBackup()
/frameworks/support/emoji/core/
Dbuild.gradle41 srcDirs = [fontDir.getAbsolutePath()]
48 srcDirs = [new File(fontDir, "font").getAbsolutePath(),
49 new File(fontDir, "supported-emojis").getAbsolutePath()]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
DGenerationalClassUtil.java106 L.e(e, "Could not merge in Bindables from %s", file.getAbsolutePath()); in loadFromDirectory()
109 file.getAbsolutePath()); in loadFromDirectory()
138 L.e(e, "Could not merge in Bindables from %s", file.getAbsolutePath()); in loadFomZipFile()
141 file.getAbsolutePath()); in loadFomZipFile()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java147 stream = new FileInputStream(file.getAbsolutePath()); in getDocumentMetadata()
224 values.put(MediaStore.Files.FileColumns.DATA, visibleFolder.getAbsolutePath()); in addFolderToMediaStore()
298 values.put(MediaStore.Files.FileColumns.DATA, newVisibleFile.getAbsolutePath()); in moveInMediaStore()
303 final String path = oldVisibleFile.getAbsolutePath(); in moveInMediaStore()
344 final String path = visibleFile.getAbsolutePath() + "/"; in removeFromMediaStore()
351 final String path = visibleFile.getAbsolutePath(); in removeFromMediaStore()
411 && !exclusion.contains(file.getAbsolutePath())) { in querySearchDocuments()
587 super(file.getAbsolutePath(), NOTIFY_EVENTS); in DirectoryObserver()
603 return "DirectoryObserver{file=" + mFile.getAbsolutePath() + ", ref=" + mRefCount + "}"; in toString()
/frameworks/base/core/java/android/app/
DNativeActivity.java168 getAbsolutePath(getFilesDir()), getAbsolutePath(getObbDir()), in onCreate()
169 getAbsolutePath(getExternalFilesDir(null)), in onCreate()
180 private static String getAbsolutePath(File file) { in getAbsolutePath() method in NativeActivity
181 return (file != null) ? file.getAbsolutePath() : null; in getAbsolutePath()
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
DBaseCompilationTest.java89 int len = folder.getAbsolutePath().length() + 1; in copyResourceDirectory()
91 if (item.getAbsolutePath().equals(folder.getAbsolutePath())) { in copyResourceDirectory()
94 String resourcePath = item.getAbsolutePath().substring(len); in copyResourceDirectory()
245 args.add(pathToExecutable.getAbsolutePath()); in runGradle()
254 args.add(new File("../.caches/", name.getMethodName()).getAbsolutePath()); in runGradle()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DMakeCopy.java123 System.out.println("Target Resources: " + resTarget.getAbsolutePath()); in main()
124 System.out.println("Target Source Dir: " + srcDir.getAbsolutePath()); in main()
125 System.out.println("Target XML Dir: " + xmlDir.getAbsolutePath()); in main()
134 System.out.println("Source Resources: " + resDir.getAbsolutePath()); in main()
162 manifest.getAbsolutePath() + ": " + e.getLocalizedMessage()); in readAndroidManifest()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/
DServicesTests.java42 assertFalse("Failed to delete result file '" + resultFile.getAbsolutePath() + "'.", in testStressConcurentFirstLaunch()
46 assertFalse("Failed to delete completion file '" + completeFile.getAbsolutePath() + in testStressConcurentFirstLaunch()
/frameworks/base/services/core/java/com/android/server/
DGraphicsStatsService.java105 + mGraphicsStatsDir.getAbsolutePath()); in GraphicsStatsService()
232 Log.w(TAG, "Unable to create path: '" + parent.getAbsolutePath() + "'"); in saveBuffer()
235 nSaveBuffer(path.getAbsolutePath(), buffer.mInfo.packageName, buffer.mInfo.versionCode, in saveBuffer()
248 Log.w(TAG, "Failed to delete '" + file.getAbsolutePath() + "'!"); in deleteRecursiveLocked()
328 nAddToDump(dump, path.getAbsolutePath(), buffer.mInfo.packageName, in dumpActiveLocked()
343 nAddToDump(dump, data.getAbsolutePath()); in dumpHistoricalLocked()
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DDumpCommand.java57 + DEFAULT_DUMP_FILE.getAbsolutePath() + "\n"; in detailedOptions()
107 String.format("UI hierchary dumped to: %s", dumpFile.getAbsolutePath())); in run()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/
DDataBindingBuilder.java129 "Generated class list does not exist %s", generatedClassListFile.getAbsolutePath()); in readGeneratedClasses()
148 return new GradleFileWriter(outFolder.getAbsolutePath()); in createJavaFileWriter()
170 L.e(e, "cannot write file " + f.getAbsolutePath()); in writeToFile()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java203 mDataDir.getAbsolutePath(), in run()
204 mManifestFile.getAbsolutePath(), in run()
212 mDataDir.getAbsolutePath(), in run()
213 mBackupDataName.getAbsolutePath(), in run()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/
DServicesTests.java197 throw new AssertionError("Failed to clear '" + subElement.getAbsolutePath() + "'"); in clearDirContent()
224 "Failed to delete result file '" + resultFile.getAbsolutePath() + "'.", in initServicesWorkFiles()
229 "Failed to delete completion file '" + completeFile.getAbsolutePath() + "'.", in initServicesWorkFiles()
316 Assert.assertTrue(dir.getAbsolutePath(), dir.isDirectory()); in getSecondaryFolder()
/frameworks/base/core/java/android/os/
DFileUtils.java110 return setPermissions(path.getAbsolutePath(), mode, uid, gid); in setPermissions()
171 final StructStat stat = Os.stat(from.getAbsolutePath()); in copyPermissions()
172 Os.chmod(to.getAbsolutePath(), stat.st_mode); in copyPermissions()
173 Os.chown(to.getAbsolutePath(), stat.st_uid, stat.st_gid); in copyPermissions()
567 stringToFile(file.getAbsolutePath(), string); in stringToFile()
696 return contains(dir.getAbsolutePath(), file.getAbsolutePath()); in contains()
845 return (result != null) ? result.getAbsolutePath() : null; in rewriteAfterRename()
865 final String splice = file.getAbsolutePath().substring( in rewriteAfterRename()
866 beforeDir.getAbsolutePath().length()); in rewriteAfterRename()
/frameworks/support/heifwriter/src/androidTest/java/androidx/heifwriter/
DHeifWriterTest.java93 IMAGE_FILENAMES[i]).getAbsolutePath(); in setUp()
118 .getAbsolutePath(); in tearDown()
188 IMAGE_FILENAMES[i]).getAbsolutePath(); in testInputBitmap_NoGrid_NoHandler()
199 IMAGE_FILENAMES[i]).getAbsolutePath(); in testInputBitmap_Grid_NoHandler()
210 IMAGE_FILENAMES[i]).getAbsolutePath(); in testInputBitmap_NoGrid_Handler()
221 IMAGE_FILENAMES[i]).getAbsolutePath(); in testInputBitmap_Grid_Handler()
316 OUTPUT_FILENAME).getAbsolutePath(); in Builder()
/frameworks/base/core/tests/coretests/src/android/text/
DFontFallbackSetup.java54 mTestFontsDir = cacheDir.getAbsolutePath() + "/"; in FontFallbackSetup()
56 final String testFontsXml = new File(mTestFontsDir, "fonts.xml").getAbsolutePath(); in FontFallbackSetup()

12345678