/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | IsoInterfaceTest.java | 54 final IsoInterface mp4 = IsoInterface.fromFile(file); in testRepeated() 67 final IsoInterface mp4 = IsoInterface.fromFile(file); in testGps() 78 final IsoInterface mp4 = IsoInterface.fromFile(file); in testGpsInIlst() 91 final IsoInterface mp4 = IsoInterface.fromFile(file); in testXmp() 109 assertThrows(IOException.class, () -> IsoInterface.fromFile(file)); in testFileWithTooManyBoxesDoesNotRunOutOfMemory() 114 final IsoInterface isoMeta = IsoInterface.fromFile(stageMp4File(R.raw.test_video_xmp)); in testIsoMeta() 125 final IsoInterface qtMeta = IsoInterface.fromFile(stageMp4File(R.raw.testvideo_meta)); in testQtMeta()
|
D | XmpDataParserTest.java | 111 final IsoInterface mp4 = IsoInterface.fromFile(file); in testContainer_IsoRedactionRanges() 131 final IsoInterface mp4 = IsoInterface.fromFile(file); in testContainer_IsoRedactionRanges_BadTagValue() 143 final IsoInterface mp4 = IsoInterface.fromFile(file); in testContainer_IsoRedactionRanges_MalformedXml() 158 final IsoInterface mp4 = IsoInterface.fromFile(file); in testRedaction_IsoRedactionRanges_MalformedXml()
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
D | VideoCaptureIntentTest.java | 97 Uri uri = Uri.fromFile(mFile); in testExtraOutput() 136 Uri uri = Uri.fromFile(mFile); in testExtraSizeLimit() 158 Uri uri = Uri.fromFile(mFile); in testExtraDurationLimit() 180 Uri uri = Uri.fromFile(mFile); 192 uri = Uri.fromFile(mFile2);
|
D | ImageCaptureIntentTest.java | 76 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file)); in testExtraOutput()
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
D | VideoCaptureIntentTest.java | 97 Uri uri = Uri.fromFile(mFile); in testExtraOutput() 152 Uri uri = Uri.fromFile(mFile); in testExtraSizeLimit() 174 Uri uri = Uri.fromFile(mFile); in testExtraDurationLimit() 196 Uri uri = Uri.fromFile(mFile); 208 uri = Uri.fromFile(mFile2);
|
D | ImageCaptureIntentTest.java | 77 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file)); in testExtraOutput()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | FileUtils.java | 57 public static boolean renameTo(final File fromFile, final File toFile) { in renameTo() argument 59 return fromFile.renameTo(toFile); in renameTo()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/exportimport/ |
D | ImportManagerTest.java | 130 mImportManager.runImport(mContext.getUser(), Uri.fromFile(zipToImport)); in copiesAllData() 179 mImportManager.runImport(mContext.getUser(), Uri.fromFile(zipToImport)); in skipsMissingTables() 203 mImportManager.runImport(mContext.getUser(), Uri.fromFile(dbToImport)); in deletesTheDatabase() 220 mImportManager.runImport(mContext.getUser(), Uri.fromFile(zipToImport)); in runImport_importNotADatabase_setsWrongFileError() 241 mImportManager.runImport(mContext.getUser(), Uri.fromFile(zipToImport)); in runImport_versionMismatch_setsVersionMismatchError()
|
D | ExportManagerTest.java | 185 ScheduledExportSettings.withUri(Uri.fromFile(new File("inaccessible")))); in runExport_destinationUriDoesNotExist_exportFails() 209 ScheduledExportSettings.withUri(Uri.fromFile(new File("inaccessible")))); in runExport_updatesLastSuccessfulExport_onSuccessOnly() 219 Uri.fromFile( in configureExportUri()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Thumbnail.java | 73 public void setFromFile(boolean fromFile) { in setFromFile() argument 74 mFromFile = fromFile; in setFromFile() 77 public boolean fromFile() { in fromFile() method in Thumbnail
|
/packages/apps/Settings/src/com/android/settings/ |
D | ManualDisplayActivity.java | 55 intent.setDataAndType(Uri.fromFile(file), "text/html"); in onCreate()
|
D | SettingsLicenseActivity.java | 54 showHtmlFromUri(Uri.fromFile(file)); in onCreate()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | UriBitmap.java | 71 return Uri.fromFile(tempFile); in bitmapToUri()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UriUtil.java | 68 return TextUtils.isEmpty(path) ? null : Uri.fromFile(new File(path)); in getUriForResourceFile() 272 final Uri targetUri = Uri.fromFile(FileUtil.getNewFile(outputDir, contentType)); in persistContent()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | HelpersTest.java | 120 final String hint = Uri.fromFile(expected).toString(); in testGenerateSaveFileHint() 130 final String hint = Uri.fromFile(fileWithInvalidName).toString(); in testGenerateSaveFileHintWithInvalidChars() 141 final String hint = Uri.fromFile(fileWithInvalidName).toString(); in testGenerateSaveFileHintWithInvalidCharsOnly()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
D | GalleryGridItemData.java | 69 return TextUtils.isEmpty(filePath) ? null : Uri.fromFile(new File(filePath)); in getFileUri()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/ |
D | LicenseActivity.java | 107 showHtmlFromUri(Uri.fromFile(file)); in showSelectedFile()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | ThirdPartyLicensesActivity.java | 92 showHtmlFromUri(Uri.fromFile(file)); in showSelectedFile()
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxVerifierReceiverUnitTest.java | 55 new Intent().setData(Uri.fromFile(new File("sdk.apk")));
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDebugActivity.java | 202 intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file)); in emailFile()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | UriTest.java | 267 Uri uri = Uri.fromFile(f); in testFromFile() 270 Uri.fromFile(null); in testFromFile()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DownloadPackageTask.java | 139 request.setDestinationUri(Uri.fromFile(downloadedFile)); in run()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaService.java | 181 broadcastUri = Uri.fromFile(volume.getPath()); in onScanVolume()
|
/packages/modules/Virtualization/authfs/tests/common/src/java/com/android/fs/common/ |
D | AuthFsTestRule.java | 129 MicrodroidBuilder.fromFile( in startMicrodroid()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | IsoInterface.java | 280 public static @NonNull IsoInterface fromFile(@NonNull File file) in fromFile() method in IsoInterface
|