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 filePath = file.getAbsolutePath(); in testMountUnsignedObb()
158 String filePath = file.getAbsolutePath(); in testMountBadPackageNameObb()
[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/base/services/backup/java/com/android/server/backup/fullbackup/
DAppMetadataBackupWriter.java105 filesDir.getAbsolutePath(), in backupManifest()
106 manifestFile.getAbsolutePath(), in backupManifest()
193 filesDir.getAbsolutePath(), in backupWidget()
194 metadataFile.getAbsolutePath(), in backupWidget()
265 Log.i(TAG, "obb dir: " + obbDir.getAbsolutePath()); in backupObb()
269 String obbDirName = obbDir.getAbsolutePath(); in backupObb()
276 obb.getAbsolutePath(), in backupObb()
/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/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/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/opt/gamesdk/src/tuningfork/tools/validation/src/main/java/com/google/tuningfork/validation/
DExternalProtoCompiler.java40 protoPath = protoBinary.getAbsolutePath(); in ExternalProtoCompiler()
133 file.getName() + "=" + file.getAbsolutePath(), // That should be one line in createCommandLine()
142 protoFile.getName() + "=" + protoFile.getAbsolutePath(), // That should be one line in encodeCommandLine()
151 protoFile.getName() + "=" + protoFile.getAbsolutePath(), // That should be one line in decodeCommandLine()
/frameworks/base/core/java/com/android/server/backup/
DSystemBackupAgent.java68 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
71 "wallpaper").getAbsolutePath();
76 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
79 "wallpaper_info.xml").getAbsolutePath();
/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/utils/
DRandomAccessFileUtils.java39 Slog.w(TAG, "Error writing file:" + file.getAbsolutePath(), e); in writeBoolean()
48 Slog.w(TAG, "Error reading file:" + file.getAbsolutePath(), e); in readBoolean()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageUtil.java45 Os.chmod(newFileDir.getAbsolutePath(), 0771); in getTemporaryFile()
58 Os.chmod(newFileDir.getAbsolutePath(), 0771); in getIconFile()
105 Os.chmod(newFile.getAbsolutePath(), 0644); in getFileFromFd()
/frameworks/base/core/java/android/app/
DNativeActivity.java171 getAbsolutePath(getFilesDir()), getAbsolutePath(getObbDir()), in onCreate()
172 getAbsolutePath(getExternalFilesDir(null)), in onCreate()
183 private static String getAbsolutePath(File file) { in getAbsolutePath() method in NativeActivity
184 return (file != null) ? file.getAbsolutePath() : null; in getAbsolutePath()
/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/tests/uiservicestests/src/com/android/server/slice/
DSlicePermissionManagerTest.java57 Log.v(TAG, "testGrant: slice permissions stored in " + sliceDir.getAbsolutePath()); in testGrant()
75 Log.v(TAG, "testBackup: slice permissions stored in " + sliceDir.getAbsolutePath()); in testBackup()
119 Log.v(TAG, "testInvalid: slice permissions stored in " + sliceDir.getAbsolutePath()); in testInvalid()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuUidFreqTimeReaderTest.java77 mReader = new KernelCpuUidFreqTimeReader(mTestFile.getAbsolutePath(), in setUp()
78 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), false); in setUp()
99 mReader = new KernelCpuUidFreqTimeReader(mTestFile.getAbsolutePath(), in testReadFreqs_perClusterTimesNotAvailable()
100 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), false); in testReadFreqs_perClusterTimesNotAvailable()
127 mReader = new KernelCpuUidFreqTimeReader(mTestFile.getAbsolutePath(), in testReadFreqs_perClusterTimesAvailable()
128 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), false); in testReadFreqs_perClusterTimesAvailable()
/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/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/
DServicesTests.java201 throw new AssertionError("Failed to clear '" + subElement.getAbsolutePath() + "'"); in clearDirContent()
228 "Failed to delete result file '" + resultFile.getAbsolutePath() + "'.", in initServicesWorkFiles()
233 "Failed to delete completion file '" + completeFile.getAbsolutePath() + "'.", in initServicesWorkFiles()
320 Assert.assertTrue(dir.getAbsolutePath(), dir.isDirectory()); in getSecondaryFolder()
/frameworks/base/core/tests/coretests/src/android/text/
DFontFallbackSetup.java59 mTestFontsDir = cacheDir.getAbsolutePath() + "/"; in FontFallbackSetup()
61 final String testFontsXml = new File(mTestFontsDir, "fonts.xml").getAbsolutePath(); in FontFallbackSetup()
/frameworks/base/services/core/java/com/android/server/updates/
DIntentFirewallInstallReceiver.java25 super(IntentFirewall.getRulesDir().getAbsolutePath(), "ifw.xml", "metadata/", in IntentFirewallInstallReceiver()
/frameworks/base/core/java/android/view/textclassifier/
DModelFileManager.java159 Log.d(DEFAULT_LOG_TAG, "Ignoring " + file.getAbsolutePath()); in createModelFile()
173 Log.e(DEFAULT_LOG_TAG, "Failed to find " + file.getAbsolutePath(), e); in createModelFile()
220 return mFile.getAbsolutePath(); in getPath()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java149 final Path path = FileSystems.getDefault().getPath(file.getAbsolutePath()); in getDocumentMetadata()
200 stream = new FileInputStream(file.getAbsolutePath()); in getDocumentMetadata()
355 final String path = visibleFile.getAbsolutePath() + "/"; in removeFromMediaStore()
362 final String path = visibleFile.getAbsolutePath(); in removeFromMediaStore()
429 if (!exclusion.contains(file.getAbsolutePath()) && matchSearchQueryArguments(file, in querySearchDocuments()
648 super(file.getAbsolutePath(), NOTIFY_EVENTS); in DirectoryObserver()
668 String filePath = mFile.getAbsolutePath(); in toString()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java280 return Os.realpath(path.getAbsolutePath());
668 + "; src: " + srcFile.getAbsolutePath() in decompressFile()
669 + ", dst: " + dstFile.getAbsolutePath()); in decompressFile()
676 Os.chmod(dstFile.getAbsolutePath(), 0644); in decompressFile()
680 + "; src: " + srcFile.getAbsolutePath() in decompressFile()
681 + ", dst: " + dstFile.getAbsolutePath()); in decompressFile()
877 final FileDescriptor targetFd = Os.open(targetFile.getAbsolutePath(), in copyFile()
879 Os.chmod(targetFile.getAbsolutePath(), 0644); in copyFile()
/frameworks/base/core/java/android/os/
DFileUtils.java142 return setPermissions(path.getAbsolutePath(), mode, uid, gid); in setPermissions()
214 final StructStat stat = Os.stat(from.getAbsolutePath()); in copyPermissions()
215 Os.chmod(to.getAbsolutePath(), stat.st_mode); in copyPermissions()
216 Os.chown(to.getAbsolutePath(), stat.st_uid, stat.st_gid); in copyPermissions()
669 stringToFile(file.getAbsolutePath(), string); in stringToFile()
875 return contains(dir.getAbsolutePath(), file.getAbsolutePath()); in contains()
1048 return (result != null) ? result.getAbsolutePath() : null; in rewriteAfterRename()
1071 final String splice = file.getAbsolutePath().substring( in rewriteAfterRename()
1072 beforeDir.getAbsolutePath().length()); in rewriteAfterRename()

12345678