Searched refs:externalFilesDir (Results 1 – 4 of 4) sorted by relevance
153 File externalFilesDir = mContext.getExternalFilesDir(null); in testMinSharedDataPartitionSize() local154 assumeTrue(externalFilesDir != null); in testMinSharedDataPartitionSize()157 externalFilesDir, in testMinSharedDataPartitionSize()
115 File externalFilesDir = mContext.getExternalFilesDir(""); in setUpExternalStoragePaths() local116 if (externalFilesDir != null) { in setUpExternalStoragePaths()117 mExternalDataPath = externalFilesDir.getAbsolutePath(); in setUpExternalStoragePaths()
542 final File externalFilesDir = getExternalFilesDir(); in testCreateAndDeleteEmptyDir() local544 deleteRecursively(externalFilesDir); in testCreateAndDeleteEmptyDir()547 assertThat(externalFilesDir.mkdir()).isTrue(); in testCreateAndDeleteEmptyDir()549 final File dir1 = new File(externalFilesDir, "random_dir"); in testCreateAndDeleteEmptyDir()560 assertThat(deleteRecursively(externalFilesDir)).isTrue(); in testCreateAndDeleteEmptyDir()564 externalFilesDir.getPath().replace(THIS_PACKAGE_NAME, "no.such.package")); in testCreateAndDeleteEmptyDir()566 externalFilesDir.getPath().replace(THIS_PACKAGE_NAME, "com.android.shell")); in testCreateAndDeleteEmptyDir()
291 File externalFilesDir = mContext.getExternalFilesDir(/* type= */ null); in testPlayContentUri() local292 localFile = new File(externalFilesDir, "test_files/" + testFile); in testPlayContentUri()