Home
last modified time | relevance | path

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

12

/packages/apps/Camera2/tests/src/com/android/camera/functional/
DVideoCaptureIntentTest.java96 Uri uri = Uri.fromFile(mFile); in testExtraOutput()
135 Uri uri = Uri.fromFile(mFile); in testExtraSizeLimit()
157 Uri uri = Uri.fromFile(mFile); in testExtraDurationLimit()
179 Uri uri = Uri.fromFile(mFile);
191 uri = Uri.fromFile(mFile2);
DImageCaptureIntentTest.java75 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file)); in testExtraOutput()
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DVideoCaptureIntentTest.java103 Uri uri = Uri.fromFile(mFile); in testExtraOutput()
158 Uri uri = Uri.fromFile(mFile); in testExtraSizeLimit()
180 Uri uri = Uri.fromFile(mFile); in testExtraDurationLimit()
202 Uri uri = Uri.fromFile(mFile);
214 uri = Uri.fromFile(mFile2);
DImageCaptureIntentTest.java80 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file)); in testExtraOutput()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DIsoInterfaceTest.java44 final IsoInterface mp4 = IsoInterface.fromFile(file); in testRepeated()
57 final IsoInterface mp4 = IsoInterface.fromFile(file); in testGps()
68 final IsoInterface mp4 = IsoInterface.fromFile(file); in testXmp()
DXmpInterfaceTest.java121 final IsoInterface mp4 = IsoInterface.fromFile(file); in testContainer_IsoRedactionRanges()
139 final IsoInterface mp4 = IsoInterface.fromFile(file); in testContainer_IsoRedactionRanges_BadTagValue()
157 final IsoInterface mp4 = IsoInterface.fromFile(file); in testContainer_IsoRedactionRanges_MalformedXml()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DFileUtils.java57 public static boolean renameTo(final File fromFile, final File toFile) { in renameTo() argument
59 return fromFile.renameTo(toFile); in renameTo()
/packages/apps/LegacyCamera/src/com/android/camera/
DThumbnail.java73 public void setFromFile(boolean fromFile) { in setFromFile() argument
74 mFromFile = fromFile; in setFromFile()
77 public boolean fromFile() { in fromFile() method in Thumbnail
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java66 return TextUtils.isEmpty(path) ? null : Uri.fromFile(new File(path)); in getUriForResourceFile()
249 final Uri targetUri = Uri.fromFile(FileUtil.getNewFile(outputDir, contentType)); in persistContent()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DVideoStore.java153 Query query = Query.parse(Uri.fromFile(file)); in load()
301 thumbnailUri = Uri.fromFile(new File(data)); in getThumbnailUri()
/packages/apps/Settings/src/com/android/settings/
DManualDisplayActivity.java55 intent.setDataAndType(Uri.fromFile(file), "text/html"); in onCreate()
DSettingsLicenseActivity.java55 showHtmlFromUri(Uri.fromFile(file)); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DManualDisplayActivity.java55 intent.setDataAndType(Uri.fromFile(file), "text/html"); in onCreate()
DSettingsLicenseActivity.java55 showHtmlFromUri(Uri.fromFile(file)); in onCreate()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUriBitmap.java71 return Uri.fromFile(tempFile); in bitmapToUri()
DLogoUtilsTest.java95 LogoUtils.saveOrganisationLogo(getContext(), Uri.fromFile(tempFile)); in testSaveGetOrganisationLogo()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaScannerService.java53 Uri.fromFile(systemFile)); in onBind()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMuteVideo.java86 intent.setDataAndType(Uri.fromFile(mDstFileInfo.mFile), "video/*"); in muteInBackground()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DGalleryGridItemData.java69 return TextUtils.isEmpty(filePath) ? null : Uri.fromFile(new File(filePath)); in getFileUri()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DFileWallpaperInfo.java51 final InputStreamProvider isp = InputStreamProvider.fromUri(a, Uri.fromFile(mFile)); in onSave()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java73 final String hint = Uri.fromFile(expected).toString(); in testGenerateSaveFileHint()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DLicenseActivity.java107 showHtmlFromUri(Uri.fromFile(file)); in showSelectedFile()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DThirdPartyLicensesActivity.java90 showHtmlFromUri(Uri.fromFile(file)); in showSelectedFile()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamStatusReceiver.java142 uri = Uri.fromFile(new File(uri.getPath())); in handleTransferEvent()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebugActivity.java195 intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file)); in emailFile()

12