Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerIntegrationTest.java67 String filePath = mFile.getAbsolutePath(); in testMountSingleObb()
83 String filePath1 = file1.getAbsolutePath(); in testMountMultipleObb()
88 String filePath2 = file2.getAbsolutePath(); in testMountMultipleObb()
93 String filePath3 = file3.getAbsolutePath(); in testMountMultipleObb()
119 String filePath = mFile.getAbsolutePath(); in testMountSingleEncryptedObb()
131 String filePath = mFile.getAbsolutePath(); in testMountSingleEncryptedObbInvalidPassword()
145 String filePath3 = file3.getAbsolutePath(); in testMountTwoEncryptedObb()
150 String filePath1 = file1.getAbsolutePath(); in testMountTwoEncryptedObb()
172 String obbFilePath = mFile.getAbsolutePath(); in testUnmount_DontForce()
216 String filePath = mFile.getAbsolutePath(); in testMountUnsignedObb()
[all …]
/frameworks/multidex/library/src/android/support/multidex/
DMultiDexExtractor.java200 " - length " + extractedFile.getAbsolutePath() + ": " + in performExtractions()
213 extractedFile.getAbsolutePath() + " for secondary dex (" + in performExtractions()
333 throw new IOException("Failed to rename \"" + tmp.getAbsolutePath() + in extract()
334 "\" to \"" + extractTo.getAbsolutePath() + "\""); in extract()
352 Log.w(TAG, "Failed to close zip file: " + file.getAbsolutePath()); in verifyZipFile()
355 Log.w(TAG, "File " + file.getAbsolutePath() + " is not a valid zip file.", ex); in verifyZipFile()
357 Log.w(TAG, "Got an IOException trying to open zip file: " + file.getAbsolutePath(), ex); in verifyZipFile()
/frameworks/base/core/java/android/app/
DNativeActivity.java177 getAbsolutePath(getFilesDir()), getAbsolutePath(getObbDir()), in onCreate()
178 getAbsolutePath(getExternalFilesDir(null)), in onCreate()
187 private static String getAbsolutePath(File file) { in getAbsolutePath() method in NativeActivity
188 return (file != null) ? file.getAbsolutePath() : null; in getAbsolutePath()
/frameworks/base/core/java/android/app/backup/
DWallpaperBackupHelper.java61 "wallpaper").getAbsolutePath();
64 "wallpaper_info.xml").getAbsolutePath();
76 "wallpaper-tmp").getAbsolutePath();
DRecentsBackupHelper.java65 mRecentFiles[i] = recentFiles[i].getAbsolutePath(); in RecentsBackupHelper()
103 + key + "' to " + output.getAbsolutePath()); in restoreEntity()
DFileBackupHelper.java81 fullPaths[i] = (new File(base, files[i])).getAbsolutePath(); in performBackup()
DSharedPreferencesBackupHelper.java107 files[i] = context.getSharedPrefsFile(prefGroups[i]).getAbsolutePath(); in performBackup()
/frameworks/base/core/java/android/os/
DFileUtils.java75 return setPermissions(path.getAbsolutePath(), mode, uid, gid); in setPermissions()
375 String dirPath = dir.getAbsolutePath(); in contains()
376 String filePath = file.getAbsolutePath(); in contains()
493 return (result != null) ? result.getAbsolutePath() : null; in rewriteAfterRename()
513 final String splice = file.getAbsolutePath().substring( in rewriteAfterRename()
514 beforeDir.getAbsolutePath().length()); in rewriteAfterRename()
/frameworks/base/test-runner/src/android/test/
DInstrumentationCoreTestRunner.java72 System.setProperty("java.home", cacheDir.getAbsolutePath()); in onCreate()
73 System.setProperty("user.home", cacheDir.getAbsolutePath()); in onCreate()
74 System.setProperty("java.io.tmpdir", cacheDir.getAbsolutePath()); in onCreate()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java165 mDataFileStats.restat(DATA_PATH.getAbsolutePath()); in restatDataDir()
187 mSystemFileStats.restat(SYSTEM_PATH.getAbsolutePath()); in restatDataDir()
194 mCacheFileStats.restat(CACHE_PATH.getAbsolutePath()); in restatDataDir()
327 mDataFileStats = new StatFs(DATA_PATH.getAbsolutePath()); in DeviceStorageMonitorService()
328 mSystemFileStats = new StatFs(SYSTEM_PATH.getAbsolutePath()); in DeviceStorageMonitorService()
329 mCacheFileStats = new StatFs(CACHE_PATH.getAbsolutePath()); in DeviceStorageMonitorService()
526 super(Environment.getDownloadCacheDirectory().getAbsolutePath(), FileObserver.DELETE); in CacheFileDeletedObserver()
/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/pm/
DPackageInstallerSession.java225 mResolvedBaseFile.getAbsolutePath() : null; in generateInfo()
354 final FileDescriptor targetFd = Libcore.os.open(target.getAbsolutePath(), in openWriteInternal()
356 Os.chmod(target.getAbsolutePath(), 0644); in openWriteInternal()
401 final FileDescriptor targetFd = Libcore.os.open(target.getAbsolutePath(), O_RDONLY, 0); in openReadInternal()
717 splitPaths.add(file.getAbsolutePath()); in calculateInstalledSize()
721 splitPaths.add(file.getAbsolutePath()); in calculateInstalledSize()
745 final StructStat toStat = Os.stat(toDir.getAbsolutePath()); in isLinkPossible()
747 final StructStat fromStat = Os.stat(fromFile.getAbsolutePath()); in isLinkPossible()
764 Os.link(fromFile.getAbsolutePath(), toFile.getAbsolutePath()); in linkFiles()
787 Os.chmod(tmpFile.getAbsolutePath(), 0644); in copyFiles()
/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/rs/java/android/renderscript/
DScriptC.java128 mCachePath = f.getAbsolutePath(); in internalCreate()
139 mCachePath = f.getAbsolutePath(); in internalStringCreate()
DFont.java176 return createFromFile(rs, res, path.getAbsolutePath(), pointSize); in createFromFile()
240 String fontPath = Environment.getRootDirectory().getAbsolutePath(); in create()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotTest.java58 screenshotDir.getAbsolutePath()); in testScreenshot()
137 Bitmap b = BitmapFactory.decodeFile(screenshotFile.getAbsolutePath()); in isValidImage()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java72 + f.getAbsolutePath()); in init()
242 Slog.i(TAG, "Deleting file " + file.getBaseFile().getAbsolutePath() in onTimeChanged()
258 Slog.i(TAG, "Moving file " + file.getBaseFile().getAbsolutePath() + " to " in onTimeChanged()
259 + newFile.getAbsolutePath()); in onTimeChanged()
388 Slog.d(TAG, "Reading stat file " + f.getBaseFile().getAbsolutePath()); in queryUsageStats()
/frameworks/base/services/core/java/com/android/server/updates/
DIntentFirewallInstallReceiver.java25 super(IntentFirewall.getRulesDir().getAbsolutePath(), "ifw.xml", "metadata/", in IntentFirewallInstallReceiver()
/frameworks/base/core/tests/benchmarks/src/com/android/internal/net/
DNetworkStatsFactoryBenchmark.java51 stats, mStats.getAbsolutePath(), NetworkStats.UID_ALL); in timeReadNetworkStatsDetailNative()
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java212 final String targetPath = dir.getAbsolutePath();
412 Os.chmod(targetFile.getAbsolutePath(), 0640); in copyFile()
413 Os.chmod(publicTargetFile.getAbsolutePath(), 0644); in copyFile()
415 Os.chmod(targetFile.getAbsolutePath(), 0644); in copyFile()
/frameworks/volley/src/com/android/volley/toolbox/
DDiskBasedCache.java120 VolleyLog.d("%s: %s", file.getAbsolutePath(), e.toString()); in get()
142 VolleyLog.e("Unable to create cache dir %s", mRootDirectory.getAbsolutePath()); in initialize()
203 VolleyLog.d("Failed to write header for %s", file.getAbsolutePath()); in put()
214 VolleyLog.d("Could not clean up file %s", file.getAbsolutePath()); in put()
/frameworks/base/core/java/com/android/server/backup/
DSystemBackupAgent.java54 Environment.getUserSystemDirectory(UserHandle.USER_OWNER).getAbsolutePath();
59 Environment.getUserSystemDirectory(UserHandle.USER_OWNER).getAbsolutePath();
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DFileSelector.java53 setTitle(mCurrentFile.getAbsolutePath() + "/*.dae"); in populateList()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DA3DSelector.java53 setTitle(mCurrentFile.getAbsolutePath() + "/*.a3d"); in populateList()
/frameworks/webview/chromium/tests/java/src/com/android/uiautomator/platform/
DWebViewFlingTest.java102 loadUrl("file://" + testFile.getAbsolutePath()); in runBrowserPageFling()

1234