Home
last modified time | relevance | path

Searched refs:filesDir (Results 1 – 19 of 19) sorted by relevance

/cts/hostsidetests/backup/BackupEligibility/src/
DBackupEligibilityTest.java63 File filesDir = mContext.getFilesDir(); in setupFiles() local
64 File normalFolder = new File(filesDir, "normal_folder"); in setupFiles()
66 mDoBackupFile = new File(filesDir, "file_to_backup"); in setupFiles()
/cts/hostsidetests/backup/FullBackupOnly/src/
DFullBackupOnlyTest.java69 File filesDir = mContext.getFilesDir(); in setupFiles() local
70 File normalFolder = new File(filesDir, "normal_folder"); in setupFiles()
72 mDoBackupFile = new File(filesDir, "file_to_backup"); in setupFiles()
/cts/hostsidetests/backup/fullbackupapp/src/android/cts/backup/fullbackupapp/
DFullbackupTest.java72 File filesDir = mContext.getFilesDir(); in setupFiles() local
73 File normalFolder = new File(filesDir, "normal_folder"); in setupFiles()
75 mDoBackupFile = new File(filesDir, "file_to_backup"); in setupFiles()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DMediaRecorderCameraActivity.java62 File filesDir = getPackageManager().isInstantApp() in onCreate() local
66 mOutputPath = new File(filesDir, "record.out").getAbsolutePath(); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
DStorageStatsTest.java286 final File filesDir = context.getFilesDir(); in testCacheClearing() local
287 final UUID filesUuid = sm.getUuidForPath(filesDir); in testCacheClearing()
293 final long beforeRaw = filesDir.getUsableSpace(); in testCacheClearing()
323 filesDir.getUsableSpace(), 10 * MB_IN_BYTES); in testCacheClearing()
330 final long clear1 = filesDir.getUsableSpace() + (targetB / 2); in testCacheClearing()
345 final long clear2 = filesDir.getUsableSpace() + (targetB / 2); in testCacheClearing()
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/
DUtils.kt57 val copiedFile = File(filesDir, fileName) in Context()
DResourcesLoaderTestBase.kt238 val root = File(context.filesDir, name.split('.')[0]) in <lambda>()
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppTest.java270 File filesDir = sContext.getExternalFilesDir(/* type= */ null); in writeApkFile_writesFile() local
271 File outputFile = new File(filesDir, "test.apk"); in writeApkFile_writesFile()
/cts/hostsidetests/backup/includeexcludeapp/src/android/cts/backup/includeexcludeapp/
DIncludeExcludeTest.java88 File filesDir = mContext.getFilesDir(); in setupFiles() local
89 setupFileTree(filesDir); in setupFiles()
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DStorageTest.java252 final File filesDir = getContext().getFilesDir(); in testVerifyAllocateApi() local
255 final UUID filesUuid = sm.getUuidForPath(filesDir); in testVerifyAllocateApi()
267 final File filesFile = makeUniqueFile(filesDir); in testVerifyAllocateApi()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2ConcurrentAndroidTestCase.java102 File filesDir = mContext.getPackageManager().isInstantApp() in setUp() local
106 mDebugFileNameBase = filesDir.getPath(); in setUp()
DCamera2AndroidTestCase.java118 File filesDir = mContext.getPackageManager().isInstantApp() in setUp() local
122 mDebugFileNameBase = filesDir.getPath(); in setUp()
DCamera2AndroidTestRule.java240 File filesDir = mContext.getPackageManager().isInstantApp() in before() local
244 mDebugFileNameBase = filesDir.getPath(); in before()
DCamera2SurfaceViewTestCase.java136 File filesDir = mContext.getPackageManager().isInstantApp() in setUp() local
140 mDebugFileNameBase = filesDir.getPath(); in setUp()
/cts/tests/camera/src/android/hardware/camera2/cts/
DHeifWriterTest.java75 File filesDir = mContext.getPackageManager().isInstantApp() in setUp() local
79 mFilePath = filesDir.getPath(); in setUp()
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/
DPackageInstallerTestBase.kt71 private val apkFile = File(context.filesDir, TEST_APK_NAME) in <lambda>()
/cts/tests/tests/packageinstaller/install_appop_denied/src/android/packageinstaller/install_appop_denied/cts/
DPackageInstallerTestBase.kt71 private val apkFile = File(context.filesDir, TEST_APK_NAME) in <lambda>()
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/
DNoPermissionTests.kt70 private var apkFile = File(context.filesDir, TEST_APK_NAME)
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DPackageInstallerTestBase.kt75 private val apkFile = File(context.filesDir, TEST_APK_NAME) in <lambda>()