Home
last modified time | relevance | path

Searched refs:getDirectory (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMmsFileProvider.java65 final File filePath = new File(getDirectory(context), path + ".dat"); in getFile()
69 .startsWith(getDirectory(context).getCanonicalPath())) { in getFile()
73 + getDirectory(context).getCanonicalPath()); in getFile()
83 private static File getDirectory(final Context context) { in getDirectory() method in MmsFileProvider
DMediaScratchFileProvider.java93 final File filePath = new File(getDirectory(context), in getFileWithExtension()
98 .startsWith(getDirectory(context).getCanonicalPath())) { in getFileWithExtension()
102 + getDirectory(context).getCanonicalPath()); in getFileWithExtension()
112 private static File getDirectory(final Context context) { in getDirectory() method in MediaScratchFileProvider
/packages/services/Car/tests/common_utils/src/com/android/car/test/utils/
DTemporaryDirectory.java81 public File getDirectory() { in getDirectory() method in TemporaryDirectory
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaVolume.java117 File path = storageVolume.getDirectory(); in fromStorageVolume()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DDownloadProviderTest.java146 .getStorageVolume(MediaStore.Files.getContentUri(volumeName)).getDirectory(); in getVolumePath()
DLegacyProviderMigrationTest.java135 .getStorageVolume(MediaStore.Files.getContentUri(mVolumeName)).getDirectory(); in generateValues()
327 .getStorageVolume(MediaStore.Files.getContentUri(mVolumeName)).getDirectory(), in testLegacy_PlaylistMap()
/packages/modules/ExtServices/java/src/android/ext/services/storage/
DCacheQuotaServiceImpl.java136 final File directory = volume.getDirectory(); in getReservedCacheSize()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DICarImplTest.java202 return mFilesDir.getDirectory(); in getSystemCarDir()
DMockedCarTestBase.java424 return mFilesDir.getDirectory(); in getSystemCarDir()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java111 mTempDirectory = new TemporaryDirectory(TAG).getDirectory(); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java832 return mFilesDir.getDirectory(); in getSystemCarDir()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DCarStorageMonitoringTest.java722 new SysfsLifetimeWriteInfoProvider(temporaryDirectory.getDirectory()); in testLifetimeWriteInfo()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java841 .getDirectory();