/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/core-utils/tests/java/android/support/v4/provider/ |
D | DocumentFileTest.java | 132 test.exec(DocumentFile.fromFile(root)); in testSimple() 164 test.exec(DocumentFile.fromFile(root)); in testTraverse() 195 test.exec(DocumentFile.fromFile(root)); in testReadAndWrite() 220 test.exec(DocumentFile.fromFile(root)); in testMimes() 264 test.exec(DocumentFile.fromFile(root)); in testCreate() 294 test.exec(DocumentFile.fromFile(root)); in testDelete() 339 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/telephony/java/android/telephony/mbms/ |
D | MbmsDownloadReceiver.java | 351 Uri fileUri = Uri.fromFile(tempFile); in generateFreshTempFiles() 430 Uri fileInUseUri = Uri.fromFile(canonicalFile); in cleanupTempFiles() 448 Path fromFile = FileSystems.getDefault().getPath(fromPath.getPath()); in stageTempFile() local 452 Path result = Files.move(fromFile, stagingDirectory.resolve(fromFile.getFileName())); in stageTempFile() 454 return Uri.fromFile(result.toFile()); in stageTempFile()
|
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/ |
D | FontRequestEmojiCompatConfigTest.java | 199 new FontInfo(Uri.fromFile(file), 0 /* ttc index */, 400 /* weight */, in testLoad_success() 219 new FontInfo(Uri.fromFile(file), 0 /* ttc index */, 400 /* weight */, in testLoad_retryPolicy() 242 new FontInfo(Uri.fromFile(file), 0 /* ttc index */, 400 /* weight */, in testLoad_keepRetryingAndGiveUp() 268 final Uri uri = Uri.fromFile(file); in testLoad_keepRetryingAndFail() 326 final Uri uri = Uri.fromFile(file); in testLoad_keepRetryingAndSuccess() 384 final Uri uri = Uri.fromFile(file); in testLoad_ObserverNotifyAndSuccess() 441 final Uri uri = Uri.fromFile(file); in testLoad_ObserverNotifyAndFail()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerFunctionalTest.java | 163 Uri localUri = Uri.fromFile(existentFile); in testDownloadToExternal_fileExists() 200 Uri localUri = Uri.fromFile(downloadedFile); in testDownloadToExternal() 231 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/core-utils/java/android/support/v4/provider/ |
D | DocumentFile.java | 96 public static DocumentFile fromFile(File file) { in fromFile() method in DocumentFile
|
D | RawDocumentFile.java | 64 return Uri.fromFile(mFile); in getUri()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | MediaStoreSaver.java | 70 final Uri fileUri = Uri.fromFile(file); in MediaStorageScan()
|
D | MainActivity.java | 260 return Uri.fromFile(f); in getLocalRef()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerSession.java | 1255 for (File fromFile : fromFiles) { in isLinkPossible() 1256 final StructStat fromStat = Os.stat(fromFile.getAbsolutePath()); in isLinkPossible() 1305 for (File fromFile : fromFiles) { in linkFiles() 1306 final String relativePath = getRelativePath(fromFile, fromDir); in linkFiles() 1327 for (File fromFile : fromFiles) { in copyFiles() 1329 if (LOGD) Slog.d(TAG, "Copying " + fromFile + " to " + tmpFile); in copyFiles() 1330 if (!FileUtils.copyFile(fromFile, tmpFile)) { in copyFiles() 1331 throw new IOException("Failed to copy " + fromFile + " to " + tmpFile); in copyFiles() 1338 final File toFile = new File(toDir, fromFile.getName()); in copyFiles()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 77 final Uri fileUri = Uri.fromFile(file); in MediaStorageScan()
|
/frameworks/rs/tests/java_api/SSHealingBrush/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/services/backup/java/com/android/server/backup/utils/ |
D | RestoreUtils.java | 97 Uri packageUri = Uri.fromFile(apkFile); in installApk()
|
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/data/ |
D | VideoProvider.java | 95 videoInfo.setImageUri(Uri.fromFile(file)); in buildMedia()
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 553 mDestinationUri = Uri.withAppendedPath(Uri.fromFile(base), subPath); in setDestinationFromBase() 1266 intent.setData(Uri.fromFile(after)); 1537 return Uri.fromFile(new File(localPath)).toString();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
D | DataCollector.java | 176 return Uri.fromFile(touch); in reportRejectedTouch()
|