/frameworks/base/core/java/android/gesture/ |
D | GestureLibraries.java | 36 public static GestureLibrary fromFile(String path) { in fromFile() method in GestureLibraries 37 return fromFile(new File(path)); in fromFile() 40 public static GestureLibrary fromFile(File path) { in fromFile() method in GestureLibraries 45 return fromFile(context.getFileStreamPath(name)); in fromPrivateFile()
|
/frameworks/support/tests/java/android/support/v4/provider/ |
D | DocumentFileTest.java | 126 test.exec(DocumentFile.fromFile(root)); in testSimple() 158 test.exec(DocumentFile.fromFile(root)); in testTraverse() 189 test.exec(DocumentFile.fromFile(root)); in testReadAndWrite() 214 test.exec(DocumentFile.fromFile(root)); in testMimes() 258 test.exec(DocumentFile.fromFile(root)); in testCreate() 288 test.exec(DocumentFile.fromFile(root)); in testDelete() 333 test.exec(DocumentFile.fromFile(root)); in testRename()
|
/frameworks/base/services/core/java/com/android/server/ |
D | EntropyMixer.java | 128 RandomBlock.fromFile(entropyFile).toFile(randomDevice, false); in loadInitialEntropy() 139 RandomBlock.fromFile(randomDevice).toFile(entropyFile, true); in writeEntropy() 192 RandomBlock.fromFile(hwRandomDevice).toFile(randomDevice, false); in addHwRandomEntropy()
|
D | RandomBlock.java | 41 static RandomBlock fromFile(String filename) throws IOException { in fromFile() method in RandomBlock
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerSession.java | 892 for (File fromFile : fromFiles) { in isLinkPossible() 893 final StructStat fromStat = Os.stat(fromFile.getAbsolutePath()); in isLinkPossible() 933 for (File fromFile : fromFiles) { in linkFiles() 934 final String relativePath = getRelativePath(fromFile, fromDir); in linkFiles() 955 for (File fromFile : fromFiles) { in copyFiles() 957 if (LOGD) Slog.d(TAG, "Copying " + fromFile + " to " + tmpFile); in copyFiles() 958 if (!FileUtils.copyFile(fromFile, tmpFile)) { in copyFiles() 959 throw new IOException("Failed to copy " + fromFile + " to " + tmpFile); in copyFiles() 966 final File toFile = new File(toDir, fromFile.getName()); in copyFiles()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerFunctionalTest.java | 162 Uri localUri = Uri.fromFile(existentFile); in testDownloadToExternal_fileExists() 199 Uri localUri = Uri.fromFile(downloadedFile); in testDownloadToExternal() 230 Uri localUri = Uri.fromFile(downloadedFile); in testDownloadToProhibitedDirectory()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerTestApp.java | 281 Uri localUri = Uri.fromFile(downloadedFile); in runDownloadMultipleSwitching() 357 Uri localUri = Uri.fromFile(downloadedFile); in runDownloadMultipleWiFiEnableDisable() 427 Uri localUri = Uri.fromFile(downloadedFile); in runDownloadMultipleAirplaneModeEnableDisable()
|
/frameworks/support/v4/java/android/support/v4/provider/ |
D | DocumentFile.java | 95 public static DocumentFile fromFile(File file) { in fromFile() method in DocumentFile
|
D | RawDocumentFile.java | 64 return Uri.fromFile(mFile); in getUri()
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
D | MediaStoreSaver.java | 69 final Uri fileUri = Uri.fromFile(file); in MediaStorageScan()
|
D | MainActivity.java | 175 return Uri.fromFile(f); in getLocalRef()
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 77 final Uri fileUri = Uri.fromFile(file); in MediaStorageScan()
|
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/ |
D | EffectsVideoCapture.java | 73 Uri uri = Uri.fromFile(file); in testBackEffectsVideoCapture()
|
/frameworks/base/tools/preload/ |
D | PrintCsv.java | 40 Root root = Root.fromFile(args[0]); in main()
|
D | WritePreloadedClassFile.java | 49 Root root = Root.fromFile(rootFile); in main()
|
D | Root.java | 151 static Root fromFile(String fileName) in fromFile() method in Root
|
D | PrintHtmlDiff.java | 36 Root root = Root.fromFile(args[0]); in main()
|
D | MemoryUsage.java | 289 Root root = Root.fromFile(args[0]); in main()
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 566 mDestinationUri = Uri.withAppendedPath(Uri.fromFile(base), subPath); in setDestinationFromBase() 1256 intent.setData(Uri.fromFile(after)); 1517 return Uri.fromFile(new File(localPath)).toString();
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 1178 WifiNetworkSettings fromFile = new WifiNetworkSettings(); in getWifiSupplicant() local 1180 fromFile.readNetworks(br, configs, false); in getWifiSupplicant() 1183 if (fromFile.mKnownNetworks.size() > 0) { in getWifiSupplicant() 1186 fromFile.write(out); in getWifiSupplicant()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoLand.java | 241 Uri uri = Uri.fromFile(png); in shareCat()
|
/frameworks/base/core/java/android/net/ |
D | Uri.java | 450 public static Uri fromFile(File file) { in fromFile() method in Uri 2326 return Uri.fromFile(new File( in getCanonicalUri() 2332 return Uri.fromFile(new File(canonicalPath)); in getCanonicalUri()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriTest.java | 119 Uri.fromFile(null); in testNullFile() 263 Uri uri = Uri.fromFile(f); in testFile()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeech.java | 976 mUtterances.put(text, Uri.fromFile(file)); in addSpeech() 1055 mEarcons.put(earcon, Uri.fromFile(file)); in addEarcon()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 313 return Uri.fromFile(outFile); in getInstallablePackage() 581 this.packageURI = Uri.fromFile(new File(pkg.codePath)); in InstallParams() 585 this.packageURI = Uri.fromFile(new File(pkg.codePath)); in InstallParams() 3740 invokeInstallPackageFail(Uri.fromFile(invalidFile), 0, retCode); in testInstallNonexistentFile()
|