Home
last modified time | relevance | path

Searched refs:fromFile (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/gesture/
DGestureLibraries.java35 public static GestureLibrary fromFile(String path) { in fromFile() method in GestureLibraries
36 return fromFile(new File(path)); in fromFile()
39 public static GestureLibrary fromFile(File path) { in fromFile() method in GestureLibraries
44 return fromFile(context.getFileStreamPath(name)); in fromPrivateFile()
/frameworks/base/services/java/com/android/server/
DEntropyService.java99 RandomBlock.fromFile(entropyFile).toFile(randomDevice, false); in loadInitialEntropy()
107 RandomBlock.fromFile(randomDevice).toFile(entropyFile, true); in writeEntropy()
DRandomBlock.java41 static RandomBlock fromFile(String filename) throws IOException { in fromFile() method in RandomBlock
DBackupManagerService.java3470 Uri packageUri = Uri.fromFile(apkFile); in installApk()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java163 Uri localUri = Uri.fromFile(existentFile); in testDownloadToExternal_fileExists()
201 Uri localUri = Uri.fromFile(downloadedFile); in testDownloadToExternal()
232 Uri localUri = Uri.fromFile(downloadedFile); in testDownloadToProhibitedDirectory()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/
DDownloadManagerTestApp.java296 Uri localUri = Uri.fromFile(downloadedFile); in runDownloadMultipleSwitching()
370 Uri localUri = Uri.fromFile(downloadedFile); in runDownloadMultipleWiFiEnableDisable()
440 Uri localUri = Uri.fromFile(downloadedFile); in runDownloadMultipleAirplaneModeEnableDisable()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DA3DSelector.java105 resultIntent.setData(Uri.fromFile(selectedFile)); in onListItemClick()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DLayoutTestController.java79 WebStorage.getInstance().setQuotaForOrigin(Uri.fromFile(new File("")).toString(), in setDatabaseQuota()
/frameworks/base/tools/preload/
DPrintCsv.java40 Root root = Root.fromFile(args[0]); in main()
DWritePreloadedClassFile.java49 Root root = Root.fromFile(rootFile); in main()
DRoot.java151 static Root fromFile(String fileName) in fromFile() method in Root
DPrintHtmlDiff.java36 Root root = Root.fromFile(args[0]); in main()
DMemoryUsage.java289 Root root = Root.fromFile(args[0]); in main()
/frameworks/base/core/java/android/app/
DDownloadManager.java504 mDestinationUri = Uri.withAppendedPath(Uri.fromFile(base), subPath); in setDestinationFromBase()
992 return Uri.fromFile(new File(path)); in getUriForDownloadedFile()
1245 return Uri.fromFile(new File(localPath)).toString(); in getLocalUri()
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java119 Uri.fromFile(null); in testNullFile()
263 Uri uri = Uri.fromFile(f); in testFile()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java782 apkURI = Uri.fromFile(new File(apkFilePath)); in runInstall()
793 verificationURI = Uri.fromFile(new File(verificationFilePath)); in runInstall()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java259 return Uri.fromFile(outFile); in getInstallablePackage()
445 this.packageURI = Uri.fromFile(new File(pkg.mScanPath)); in InstallParams()
448 this.packageURI = Uri.fromFile(new File(pkg.mScanPath)); in InstallParams()
3122 invokeInstallPackageFail(Uri.fromFile(invalidFile), 0, retCode); in testInstallNonexistentFile()
/frameworks/base/core/java/android/net/
DUri.java439 public static Uri fromFile(File file) { in fromFile() method in Uri
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd1008 return Uri.fromFile(getOutputMediaFile(type));
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java5608 Uri packageUri = Uri.fromFile(new File(srcArgs.getCodePath())); in MoveParams()
/frameworks/base/api/
Dcurrent.txt7603 method public static android.gesture.GestureLibrary fromFile(java.lang.String);
7604 method public static android.gesture.GestureLibrary fromFile(java.io.File);
11776 method public static android.net.Uri fromFile(java.io.File);
D14.txt7603 method public static android.gesture.GestureLibrary fromFile(java.lang.String);
7604 method public static android.gesture.GestureLibrary fromFile(java.io.File);
11776 method public static android.net.Uri fromFile(java.io.File);