Home
last modified time | relevance | path

Searched refs:filesDir (Results 1 – 23 of 23) 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/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/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
DStorageStatsTest.java371 final File filesDir = context.getFilesDir(); in testCacheClearing() local
372 final UUID filesUuid = sm.getUuidForPath(filesDir); in testCacheClearing()
378 final long beforeRaw = filesDir.getUsableSpace(); in testCacheClearing()
408 filesDir.getUsableSpace(), 10 * MB_IN_BYTES); in testCacheClearing()
415 final long clear1 = filesDir.getUsableSpace() + (targetB / 2); in testCacheClearing()
430 final long clear2 = filesDir.getUsableSpace() + (targetB / 2); in testCacheClearing()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java136 File filesDir = mContext.getExternalFilesDir(null); in setUp() local
137 if (filesDir == null || mContext.getPackageManager().isInstantApp()) { in setUp()
138 filesDir = mContext.getFilesDir(); in setUp()
141 mDebugFileNameBase = filesDir.getPath(); in setUp()
DCamera2ConcurrentAndroidTestCase.java112 File filesDir = mContext.getPackageManager().isInstantApp() in setUp() local
116 mDebugFileNameBase = filesDir.getPath(); in setUp()
DCamera2AndroidTestRule.java251 File filesDir = mContext.getPackageManager().isInstantApp() in before() local
255 mDebugFileNameBase = filesDir.getPath(); in before()
DCamera2SurfaceViewTestCase.java136 File filesDir = mContext.getPackageManager().isInstantApp() in setUp() local
140 mDebugFileNameBase = filesDir.getPath(); in setUp()
/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.java264 final File filesDir = getContext().getFilesDir(); in testVerifyAllocateApi() local
267 final UUID filesUuid = sm.getUuidForPath(filesDir); in testVerifyAllocateApi()
279 final File filesFile = makeUniqueFile(filesDir); in testVerifyAllocateApi()
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppTest.java271 File filesDir = sContext.getExternalFilesDir(/* type= */ null); in writeApkFile_writesFile() local
272 File outputFile = new File(filesDir, "test.apk"); in writeApkFile_writesFile()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DInstallInfoTest.kt73 val clusterDir = File(context.filesDir, "testInstallInfoOfClusterPackage") in <lambda>()
DPackageInstallerTestBase.kt358 val apkFile = File(context.filesDir, apkName) in <lambda>()
/cts/tests/camera/src/android/hardware/camera2/cts/
DHeifWriterTest.java75 File filesDir = mContext.getPackageManager().isInstantApp() in setUp() local
79 mFilePath = filesDir.getPath(); in setUp()
DCameraGPURecordingTest.java234 File filesDir = mContext.getPackageManager().isInstantApp() in prepareEncoder() local
239 new File(filesDir.getPath(), "test-" + timestamp + "." + width + "x" + height in prepareEncoder()
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/
DNoPermissionTests.kt63 private var 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/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/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraCameraXTest.kt216 InstrumentationRegistry.getInstrumentation().targetContext.filesDir, in <lambda>()
/cts/tests/tests/packageinstaller/userrestriction/src/android/packageinstaller/userrestriction/cts/
DUserRestrictionInstallTest.kt106 val apkFile = File(context.filesDir, TEST_APK_NAME) in <lambda>()