Home
last modified time | relevance | path

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

1234567

/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerIntegrationTest.java73 String filePath = mFile.getAbsolutePath(); in testMountSingleObb()
89 String filePath1 = file1.getAbsolutePath(); in testMountMultipleObb()
94 String filePath2 = file2.getAbsolutePath(); in testMountMultipleObb()
99 String filePath3 = file3.getAbsolutePath(); in testMountMultipleObb()
125 String filePath = mFile.getAbsolutePath(); in testMountSingleEncryptedObb()
138 String filePath = mFile.getAbsolutePath(); in testMountSingleEncryptedObbInvalidPassword()
152 String filePath3 = file3.getAbsolutePath(); in testMountTwoEncryptedObb()
157 String filePath1 = file1.getAbsolutePath(); in testMountTwoEncryptedObb()
179 String obbFilePath = mFile.getAbsolutePath(); in testUnmount_DontForce()
223 String filePath = mFile.getAbsolutePath(); in testMountUnsignedObb()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DLockSettingsStorageTestable.java35 super.getLockPatternFilename(userId)).getAbsolutePath(); in getLockPatternFilename()
41 super.getLockPasswordFilename(userId)).getAbsolutePath(); in getLockPasswordFilename()
47 super.getChildProfileLockFile(userId)).getAbsolutePath(); in getChildProfileLockFile()
53 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/base/core/java/android/app/backup/
DWallpaperBackupHelper.java62 "wallpaper").getAbsolutePath();
65 "wallpaper_orig").getAbsolutePath();
68 "wallpaper_info.xml").getAbsolutePath();
81 "wallpaper-tmp").getAbsolutePath();
/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/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/support/emoji/core/
Dbuild.gradle38 srcDirs = [fontDir.getAbsolutePath()]
44 srcDirs = [new File(fontDir, "font").getAbsolutePath(),
45 new File(fontDir, "supported-emojis").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/android/support/multidex/
DMultiDexExtractor.java267 Log.w(TAG, "Failed to read crc from " + extractedFile.getAbsolutePath(), e); in performExtractions()
272 " - length " + extractedFile.getAbsolutePath() + ": " + in performExtractions()
285 extractedFile.getAbsolutePath() + " for secondary dex (" + in performExtractions()
394 throw new IOException("Failed to mark readonly \"" + tmp.getAbsolutePath() + in extract()
395 "\" (tmp of \"" + extractTo.getAbsolutePath() + "\")"); in extract()
399 throw new IOException("Failed to rename \"" + tmp.getAbsolutePath() + in extract()
400 "\" to \"" + extractTo.getAbsolutePath() + "\""); in extract()
/frameworks/base/core/java/android/os/
DFileUtils.java93 return setPermissions(path.getAbsolutePath(), mode, uid, gid); in setPermissions()
154 final StructStat stat = Os.stat(from.getAbsolutePath()); in copyPermissions()
155 Os.chmod(to.getAbsolutePath(), stat.st_mode); in copyPermissions()
156 Os.chown(to.getAbsolutePath(), stat.st_uid, stat.st_gid); in copyPermissions()
315 stringToFile(file.getAbsolutePath(), string); in stringToFile()
435 return contains(dir.getAbsolutePath(), file.getAbsolutePath()); in contains()
584 return (result != null) ? result.getAbsolutePath() : null; in rewriteAfterRename()
604 final String splice = file.getAbsolutePath().substring( in rewriteAfterRename()
605 beforeDir.getAbsolutePath().length()); in rewriteAfterRename()
/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/test-runner/src/android/test/
DInstrumentationCoreTestRunner.java67 System.setProperty("java.home", cacheDir.getAbsolutePath()); in onCreate()
68 System.setProperty("user.home", cacheDir.getAbsolutePath()); in onCreate()
69 System.setProperty("java.io.tmpdir", cacheDir.getAbsolutePath()); in onCreate()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java296 mResolvedBaseFile.getAbsolutePath() : null; in generateInfo()
415 Os.chmod(target.getAbsolutePath(), 0 /*mode*/); in createRemoveSplitMarker()
466 final FileDescriptor targetFd = Libcore.os.open(target.getAbsolutePath(), in openWriteInternal()
468 Os.chmod(target.getAbsolutePath(), 0644); in openWriteInternal()
513 final FileDescriptor targetFd = Libcore.os.open(target.getAbsolutePath(), O_RDONLY, 0); in openReadInternal()
914 splitPaths.add(file.getAbsolutePath()); in calculateInstalledSize()
918 splitPaths.add(file.getAbsolutePath()); in calculateInstalledSize()
942 final StructStat toStat = Os.stat(toDir.getAbsolutePath()); in isLinkPossible()
944 final StructStat fromStat = Os.stat(fromFile.getAbsolutePath()); in isLinkPossible()
957 final String pathStr = file.getAbsolutePath(); in getRelativePath()
[all …]
/frameworks/support/exifinterface/tests/src/android/support/media/
DExifInterfaceTest.java192 .getAbsolutePath(); in setUp()
212 .getAbsolutePath(); in tearDown()
423 ExifInterface exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testExifInterfaceCommon()
430 in = new BufferedInputStream(new FileInputStream(imageFile.getAbsolutePath())); in testExifInterfaceCommon()
443 ExifInterface exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName()
445 exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName()
452 exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName()
457 exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testSaveAttributes_withFileName()
517 return new ExifInterface(image.getAbsolutePath()); in createTestExifInterface()
/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/java/com/android/internal/content/
DFileSystemProvider.java162 values.put(MediaStore.Files.FileColumns.DATA, visibleFolder.getAbsolutePath()); in addFolderToMediaStore()
223 values.put(MediaStore.Files.FileColumns.DATA, newVisibleFile.getAbsolutePath()); in moveInMediaStore()
228 final String path = oldVisibleFile.getAbsolutePath(); in moveInMediaStore()
262 final String path = visibleFile.getAbsolutePath() + "/"; in removeFromMediaStore()
269 final String path = visibleFile.getAbsolutePath(); in removeFromMediaStore()
326 && !exclusion.contains(file.getAbsolutePath())) { in querySearchDocuments()
491 super(file.getAbsolutePath(), NOTIFY_EVENTS); in DirectoryObserver()
507 return "DirectoryObserver{file=" + mFile.getAbsolutePath() + ", ref=" + mRefCount + "}"; in toString()
/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()
231 Log.w(TAG, "Unable to create path: '" + parent.getAbsolutePath() + "'"); in saveBuffer()
234 nSaveBuffer(path.getAbsolutePath(), buffer.mInfo.packageName, buffer.mInfo.versionCode, in saveBuffer()
247 Log.w(TAG, "Failed to delete '" + file.getAbsolutePath() + "'!"); in deleteRecursiveLocked()
327 nAddToDump(dump, path.getAbsolutePath(), buffer.mInfo.packageName, in dumpActiveLocked()
342 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/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java194 mDataDir.getAbsolutePath(), in run()
195 mManifestFile.getAbsolutePath(), in run()
203 mDataDir.getAbsolutePath(), in run()
204 mBackupDataName.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/core/java/com/android/server/updates/
DIntentFirewallInstallReceiver.java25 super(IntentFirewall.getRulesDir().getAbsolutePath(), "ifw.xml", "metadata/", in IntentFirewallInstallReceiver()
/frameworks/rs/rsov/compiler/
DBuiltin_test.cpp32 const std::string &fullPath = getAbsolutePath(testDataPath + testFile); in TEST()

1234567