Home
last modified time | relevance | path

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

/cts/hostsidetests/backup/AllowBackup/src/
DAllowBackupTest.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.java254 final File filesDir = context.getFilesDir(); in testCacheClearing() local
255 final UUID filesUuid = sm.getUuidForPath(filesDir); in testCacheClearing()
261 final long beforeRaw = filesDir.getUsableSpace(); in testCacheClearing()
289 filesDir.getUsableSpace(), 10 * MB_IN_BYTES); in testCacheClearing()
296 final long clear1 = filesDir.getUsableSpace() + (targetB / 2); in testCacheClearing()
311 final long clear2 = filesDir.getUsableSpace() + (targetB / 2); in testCacheClearing()
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DStorageTest.java188 final File filesDir = getContext().getFilesDir(); in testVerifyAllocateApi() local
191 final UUID filesUuid = sm.getUuidForPath(filesDir); in testVerifyAllocateApi()
203 final File filesFile = makeUniqueFile(filesDir); in testVerifyAllocateApi()
/cts/hostsidetests/backup/includeexcludeapp/src/android/cts/backup/includeexcludeapp/
DIncludeExcludeTest.java88 File filesDir = mContext.getFilesDir(); in setupFiles() local
89 setupFileTree(filesDir); in setupFiles()
/cts/tests/camera/src/android/hardware/camera2/cts/
DHeifWriterTest.java70 File filesDir = mContext.getPackageManager().isInstantApp() in setUp() local
74 mFilePath = filesDir.getPath(); in setUp()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DPackageInstallerTestBase.kt70 private val apkFile = File(context.filesDir, TEST_APK_NAME) in <lambda>()
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/
DNoPermissionTests.kt66 private var apkFile = File(context.filesDir, TEST_APK_NAME) in <lambda>()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java120 File filesDir = mContext.getPackageManager().isInstantApp() in setUp() local
124 mDebugFileNameBase = filesDir.getPath(); in setUp()
DCamera2SurfaceViewTestCase.java140 File filesDir = mContext.getPackageManager().isInstantApp() in setUp() local
144 mDebugFileNameBase = filesDir.getPath(); in setUp()