Searched refs:parentDir (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | DialerUtils.java | 213 File parentDir = new File(context.getCacheDir(), FILE_PROVIDER_CACHE_DIR); in createShareableFile() local 214 if (!parentDir.exists()) { in createShareableFile() 215 parentDir.mkdirs(); in createShareableFile() 217 return new File(parentDir, String.valueOf(fileId)); in createShareableFile()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | FileProvider.java | 66 final File parentDir = file.getParentFile(); in ensureFileExists() local 67 if (parentDir.exists() || parentDir.mkdirs()) { in ensureFileExists()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ |
D | ItemsProviderTest.java | 1403 private File assertCreateNewFile(File parentDir, String fileName) throws Exception { in assertCreateNewFile() argument 1404 final File file = new File(parentDir, fileName); in assertCreateNewFile() 1410 private File assertCreateNewFileWithLastModifiedTime(File parentDir, String fileName, in assertCreateNewFileWithLastModifiedTime() argument 1412 final File file = new File(parentDir, fileName); in assertCreateNewFileWithLastModifiedTime() 1416 private Uri assertCreateNewFileWithLastModifiedTimeAndReturnUri(File parentDir, String fileName, in assertCreateNewFileWithLastModifiedTimeAndReturnUri() argument 1418 final File file = new File(parentDir, fileName); in assertCreateNewFileWithLastModifiedTimeAndReturnUri() 1487 File parentDir = new File(Environment.getExternalStorageDirectory(), in createHiddenDir() local 1489 File dir = new File(parentDir, HIDDEN_DIR_NAME); in createHiddenDir()
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailPlaybackPresenter.java | 900 File parentDir = new File(context.getCacheDir(), "my_cache"); in doInBackground() local 901 if (!parentDir.exists()) { in doInBackground() 902 parentDir.mkdirs(); in doInBackground() 905 new File(parentDir, getFileName(cachedName, number, mimeType, date)); in doInBackground()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/ |
D | PickerViewModelPaginationTest.java | 505 private File assertCreateNewFileWithLastModifiedTime(File parentDir, String fileName, in assertCreateNewFileWithLastModifiedTime() argument 507 final File file = new File(parentDir, fileName); in assertCreateNewFileWithLastModifiedTime()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | FileSystemPermissionTest.java | 164 File parentDir = new File(myDataDir).getParentFile(); in testApplicationParentDirectoryNotWritable() local 165 assertFalse(parentDir.toString(), isDirectoryWritable(parentDir)); in testApplicationParentDirectoryNotWritable()
|