Home
last modified time | relevance | path

Searched refs:externalFilesDir (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/
DLowRamDeviceTest.java153 File externalFilesDir = mContext.getExternalFilesDir(null); in testMinSharedDataPartitionSize() local
154 assumeTrue(externalFilesDir != null); in testMinSharedDataPartitionSize()
157 externalFilesDir, in testMinSharedDataPartitionSize()
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppA/src/com/android/cts/appdataisolation/appa/
DAppATests.java115 File externalFilesDir = mContext.getExternalFilesDir(""); in setUpExternalStoragePaths() local
116 if (externalFilesDir != null) { in setUpExternalStoragePaths()
117 mExternalDataPath = externalFilesDir.getAbsolutePath(); in setUpExternalStoragePaths()
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java542 final File externalFilesDir = getExternalFilesDir(); in testCreateAndDeleteEmptyDir() local
544 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()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java291 File externalFilesDir = mContext.getExternalFilesDir(/* type= */ null); in testPlayContentUri() local
292 localFile = new File(externalFilesDir, "test_files/" + testFile); in testPlayContentUri()