Home
last modified time | relevance | path

Searched refs:getFile (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMmsFileProvider.java47 final File file = getFile(uri.getPath()); in buildRawMmsUri()
55 File getFile(final String path, final String extension) { in getFile() method in MmsFileProvider
56 return getFile(path); in getFile()
59 public static File getFile(final Uri uri) { in getFile() method in MmsFileProvider
60 return getFile(uri.getPath()); in getFile()
63 private static File getFile(final String path) { in getFile() method in MmsFileProvider
DFileProvider.java39 abstract File getFile(final String path, final String extension); in getFile() method in FileProvider
102 final File file = getFile(fileId, getExtensionFromUri(uri)); in delete()
113 final File file = getFile(fileId, getExtensionFromUri(uri)); in openFile()
DMediaScratchFileProvider.java87 File getFile(final String path, final String extension) { in getFile() method in MediaScratchFileProvider
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DUptimeTrackerTest.java68 UptimeTracker uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerFromCleanSlate()
91 UptimeTracker uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerWithHistoricalState()
108 UptimeTracker uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerAcrossHistoricalState()
120 uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerAcrossHistoricalState()
131 UptimeTracker uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerShutdown()
138 uptimeTracker = new UptimeTracker(uptimeFile.getFile(), in testUptimeTrackerShutdown()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/
DClipStorageTest.java94 File copy = mStorage.getFile(mSlot); in testRead()
107 mStorage.getFile(firstSlot); in testClaimStorageSlot_NoAvailableSlot()
111 mStorage.getFile(slot); in testClaimStorageSlot_NoAvailableSlot()
123 File copy = mStorage.getFile(mSlot); in testReadConcurrently()
124 File copy2 = mStorage.getFile(mSlot); in testReadConcurrently()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDownloadsFilePreference.java50 public File getFile() { in getFile() method in DownloadsFilePreference
61 File otherFile = ((DownloadsFilePreference) other).getFile(); in compareTo()
62 File file = getFile(); in compareTo()
DDownloadsDeletionPreferenceGroup.java108 mDeletionType.setFileChecked(p.getFile(), checked); in onPreferenceChange()
122 mDeletionType.setFileChecked(p.getFile(), checked); in onPreferenceChange()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DCarStorageMonitoringTest.java79 lifetimeFile.getFile(), eolFile.getFile()); in testEMmcWearInformationProvider()
103 lifetimeFile.getFile()); in testUfsWearInformationProvider()
214 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testWearEstimateRecordJson()
250 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testWearHistoryJson()
442 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testUidIoStatEntryJson()
649 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testUidIoStatsDeltaJson()
730 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testLifetimeWriteInfoJson()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java215 File prodConfig = getFile(CONFIG_FILENAME_PRODUCTION); in loadConfig()
241 private File getFile(String filename) { in getFile() method in CarUxRestrictionsManagerService
262 Path stagedConfig = getFile(CONFIG_FILENAME_STAGED).toPath(); in promoteStagedConfig()
271 Path prod = getFile(CONFIG_FILENAME_PRODUCTION).toPath(); in promoteStagedConfig()
435 File stagedConfig = getFile(CONFIG_FILENAME_STAGED); in getStagedConfigs()
489 File file = getFile(filename); in persistConfig()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DUrisSupplier.java118 mFile = storage.getFile(tag); in JumboUrisSupplier()
132 mFile = clipStore.getFile(tag); in JumboUrisSupplier()
DClipStore.java36 File getFile(int tag) throws IOException; in getFile() method
DClipStorage.java156 public synchronized File getFile(int slot) throws IOException { in getFile() method in ClipStorage
/packages/apps/Camera2/src/com/android/camera/session/
DCaptureSessionImpl.java361 jpegDataTemp = FileUtil.readFileToByteArray(mTempOutputFile.getFile()); in finish()
404 path = mTempOutputFile.getFile(); in updatePreview()
DTemporarySessionFile.java81 public synchronized File getFile() { in getFile() method in TemporarySessionFile
/packages/services/Car/tests/common_utils/src/com/android/car/test/utils/
DTemporaryFile.java68 public File getFile() { in getFile() method in TemporaryFile
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DFileUtils.java125 static File getFile(Context context, String timestamp, String name) { in getFile() method in FileUtils
DBugReportService.java376 File outputFile = FileUtils.getFile(this, mMetaBugReport.getTimestamp(), OUTPUT_ZIP_FILE); in saveBugReport()
377 File extraOutputFile = FileUtils.getFile(this, mMetaBugReport.getTimestamp(), in saveBugReport()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java1036 FileOutputStream outputStream = new FileOutputStream(dumpsysFile.getFile()); in testDumpMetrics_VendorProperty()
1040 FileInputStream inputStream = new FileInputStream(dumpsysFile.getFile()); in testDumpMetrics_VendorProperty()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsSender.java176 final File tempFile = MmsFileProvider.getFile(contentUri); in writePduToTempFile()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessSentMessageAction.java142 final File tempFile = MmsFileProvider.getFile(contentUri); in executeAction()
DProcessDownloadedMmsAction.java247 final File downloadedFile = MmsFileProvider.getFile(contentUri); in doBackgroundWork()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java729 public File getFile(String rootId, String path) throws FileNotFoundException { in getFile() method in StubProvider