Home
last modified time | relevance | path

Searched refs:fromFile (Results 1 – 24 of 24) 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/
DEntropyMixer.java112 RandomBlock.fromFile(entropyFile).toFile(randomDevice, false); in loadInitialEntropy()
123 RandomBlock.fromFile(randomDevice).toFile(entropyFile, true); in writeEntropy()
DRandomBlock.java41 static RandomBlock fromFile(String filename) throws IOException { in fromFile() method in RandomBlock
DBackupManagerService.java3891 Uri packageUri = Uri.fromFile(apkFile); in installApk()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java160 Uri localUri = Uri.fromFile(existentFile); in testDownloadToExternal_fileExists()
198 Uri localUri = Uri.fromFile(downloadedFile); in testDownloadToExternal()
229 Uri localUri = Uri.fromFile(downloadedFile); in testDownloadToProhibitedDirectory()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerTestApp.java286 Uri localUri = Uri.fromFile(downloadedFile); in runDownloadMultipleSwitching()
360 Uri localUri = Uri.fromFile(downloadedFile); in runDownloadMultipleWiFiEnableDisable()
430 Uri localUri = Uri.fromFile(downloadedFile); in runDownloadMultipleAirplaneModeEnableDisable()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DFileSelector.java105 resultIntent.setData(Uri.fromFile(selectedFile)); in onListItemClick()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DA3DSelector.java105 resultIntent.setData(Uri.fromFile(selectedFile)); in onListItemClick()
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
DEffectsVideoCapture.java73 Uri uri = Uri.fromFile(file); in testBackEffectsVideoCapture()
/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.java550 mDestinationUri = Uri.withAppendedPath(Uri.fromFile(base), subPath); in setDestinationFromBase()
1053 return Uri.fromFile(new File(path)); in getUriForDownloadedFile()
1331 return Uri.fromFile(new File(localPath)).toString(); in getLocalUri()
/frameworks/base/docs/html/training/camera/
Dphotobasics.jd200 takePictureIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(f));
218 Uri contentUri = Uri.fromFile(f);
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java117 Uri.fromFile(null); in testNullFile()
261 Uri uri = Uri.fromFile(f); in testFile()
/frameworks/base/core/java/android/net/
DUri.java442 public static Uri fromFile(File file) { in fromFile() method in Uri
2318 return Uri.fromFile(new File( in getCanonicalUri()
2324 return Uri.fromFile(new File(canonicalPath)); in getCanonicalUri()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java302 return Uri.fromFile(outFile); in getInstallablePackage()
583 this.packageURI = Uri.fromFile(new File(pkg.mScanPath)); in InstallParams()
587 this.packageURI = Uri.fromFile(new File(pkg.mScanPath)); in InstallParams()
3393 invokeInstallPackageFail(Uri.fromFile(invalidFile), 0, retCode); in testInstallNonexistentFile()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java937 apkURI = Uri.fromFile(new File(apkFilePath)); in runInstall()
947 verificationURI = Uri.fromFile(new File(verificationFilePath)); in runInstall()
/frameworks/base/docs/html/training/beam-files/
Dsend-files.jd288 fileUri = Uri.fromFile(requestFile);
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd1034 return Uri.fromFile(getOutputMediaFile(type));
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java7663 return Uri.fromFile(mTempPackage); in getPackageUri()
7695 Uri packageUri = Uri.fromFile(new File(srcArgs.getCodePath())); in MoveParams()
/frameworks/base/api/
Dcurrent.txt8723 method public static android.gesture.GestureLibrary fromFile(java.lang.String);
8724 method public static android.gesture.GestureLibrary fromFile(java.io.File);
13927 method public static android.net.Uri fromFile(java.io.File);