/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | OutOfProcessLoginActivity.java | 103 return new File(context.getFilesDir(), "stopped"); in getStoppedMarker() 113 return new File(context.getFilesDir(), "started"); in getStartedMarker() 123 return new File(context.getFilesDir(), "destroyed"); in getDestroyedMarker()
|
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/ |
D | MbmsDownloadSessionTest.java | 111 File tempFileRootDirectory = new File(mContext.getFilesDir(), tempFileDirName); in testSetTempFileDirectory() 125 File tempFileRootDirectory = new File(mContext.getFilesDir(), "NNN-DoesNotExist"); in testSetInvalidTempFileRoot() 135 tempFileRootDirectory = new File(mContext.getFilesDir(), "this-is-a-file.dat"); in testSetInvalidTempFileRoot() 146 mDownloadSession.setTempFileRootDirectory(mContext.getFilesDir()); in testSetInvalidTempFileRoot() 209 File tempFileRootDir = new File(mContext.getFilesDir(), "CtsTestDir"); in testListPendingDownloads() 224 File tempFileRootDirectory = new File(mContext.getFilesDir(), tempFileDirName); in testSetTempFileDirFailure()
|
D | DownloadRequestTest.java | 65 File destinationDirectory = new File(getInstrumentation().getContext().getFilesDir(), in testBuilderConstruction() 78 File destinationDirectory = new File(getInstrumentation().getContext().getFilesDir(), in testServiceIdEquivalency()
|
/cts/hostsidetests/testharness/app/src/android/testharness/app/ |
D | TestHarnessActivity.java | 68 Path dirtyFile = getFilesDir().toPath().resolve(DIRTY_DEVICE_FILENAME); in dirtyDevice() 76 return !Files.exists(getFilesDir().toPath().resolve(DIRTY_DEVICE_FILENAME)); in isDeviceClean()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/util/ |
D | AtomicFileHelperTest.java | 55 File appPrivateFileDir = mContext.getFilesDir(); in testAtomicFileWithPreExistedBaseFile() 73 File appPrivateFileDir = mContext.getFilesDir(); in testAtomicFileWithNonExistedBaseFile() 105 File appPrivateFileDir = mContext.getFilesDir(); in testAtomicFileWithFailedWrite() 126 File appPrivateFileDir = mContext.getFilesDir(); in testAtomicFileRewrite()
|
/cts/hostsidetests/appsecurity/test-apps/NoDataStorageApp/src/com/android/cts/noappstorage/ |
D | NoAppDataStorageTest.java | 45 assertDirDoesNotExist(mCeContext.getFilesDir()); in testNoInternalCeStorage() 53 assertDirDoesNotExist(mDeContext.getFilesDir()); in testNoInternalDeStorage()
|
/cts/hostsidetests/backup/includeexcludeapp/src/android/cts/backup/includeexcludeapp/ |
D | DataExtractionRulesApplicabilityTest.java | 63 File testFile = new File(mContext.getFilesDir(), fileName); in createFiles() 91 File file = new File(mContext.getFilesDir(), fileName); in ensureOnlyGivenFileIsExcluded()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileObserverTest.java | 55 File dir = getContext().getFilesDir(); in setUp() 97 File dir = getContext().getFilesDir(); in tearDown() 177 dir = getContext().getFilesDir(); in helpTestFileObserver() 256 helpTestFileObserver(getContext().getFilesDir(), false); in testFileObserver() 273 Pair.create(getContext().getFilesDir(), false), in testFileObserver_multipleFilesFull() 283 Pair.create(getContext().getFilesDir(), false) in testFileObserver_multipleFilesInstant()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | AlarmReceiver.java | 42 new File(sContext.getFilesDir(), "alarm-history.xml")); 45 new File(sContext.getFilesDir(), "alarm-compat-history.xml"));
|
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/ |
D | SimpleIOActivity.java | 31 File testFile = new File(getFilesDir(), "StoragedTest_Temp_FG"); in onStart()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | BaseBootReceiver.java | 34 final File probe = new File(context.getFilesDir(), in onReceive()
|
D | RemoteQueryProvider.java | 62 File probe = new File(deCtx.getFilesDir(), fileName); in fileQuery()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | IconTest.java | 103 File file = new File(mActivity.getFilesDir(), "testimage.jpg"); in testFileIcon() 120 File file = new File(mActivity.getFilesDir(), "testimage.jpg"); in testAdaptiveFileIcon() 192 File file = new File(mActivity.getFilesDir(), "testimage.jpg"); in testFileIcon_getType() 216 File file = new File(mActivity.getFilesDir(), "testimage.jpg"); in testAdaptiveFileIcon_getType()
|
D | DrawableTest.java | 153 File imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromPath() 175 File imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromIncomplete() 224 File emptyFile = new File(mContext.getFilesDir(), "tempemptyimage.jpg"); in testCreateFromStream() 234 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromStream() 269 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromStream2() 302 File emptyFile = new File(mContext.getFilesDir(), "tempemptyimage.jpg"); in testCreateFromResourceStream1() 313 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromResourceStream1() 352 File emptyFile = new File(mContext.getFilesDir(), "tempemptyimage.jpg"); in testCreateFromResourceStream2() 363 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromResourceStream2()
|
/cts/libs/install/testapp/src/com/android/cts/install/lib/testapp/ |
D | ProcessBroadcast.java | 123 File versionFile = new File(context.getFilesDir(), "userdata.txt"); in processUserData() 177 File versionFile = new File(context.getFilesDir(), "userdata.txt"); in getUserDataVersion()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | SyncStorageEngineTest.java | 59 return new File(new File(getContext().getFilesDir(), "system"), "sync"); in getSyncDir()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | MediaStoreSaver.java | 42 picDir = mContext.getFilesDir(); in savePNG()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CallComposerTest.java | 95 Files.deleteIfExists(mContext.getFilesDir().toPath().resolve(TEST_FILE_NAME)); in tearDown() 103 Path testFile = mContext.getFilesDir().toPath().resolve(TEST_FILE_NAME); in testUploadPictureWithFile() 132 Path testFile = mContext.getFilesDir().toPath().resolve(TEST_FILE_NAME); in testExcessivelyLargePictureAsFile()
|
/cts/tests/tests/selinux/common/src/android/security/ |
D | SELinuxTargetSdkTestBase.java | 152 File appDataDir = getContext().getFilesDir(); in appDataContext() 160 File appDataDir = getContext().getFilesDir(); in canExecuteFromHomeDir()
|
/cts/tests/backup/app/src/android/backup/app/ |
D | MainActivity.java | 69 File f = new File(getFilesDir().getAbsolutePath(), FILE_NAME); in createFile()
|
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/ |
D | KeyValueBackupRestoreTest.java | 243 File file = new File(mContext.getFilesDir(), TEST_FILE_1); in saveSharedPreferencesValues() 249 file = new File(mContext.getFilesDir(), TEST_FILE_2); in saveSharedPreferencesValues() 282 scanner = new Scanner(new File(mContext.getFilesDir(), fileName)); in readFileContent()
|
/cts/hostsidetests/install/app/src/android/cts/install/ |
D | SessionRule.java | 46 mTestStateFile = new File(mContext.getFilesDir(), STATE_FILENAME); in SessionRule()
|
/cts/tests/tests/packageinstaller/test-apps/criticaluserjourneyinstaller/src/android/packageinstaller/cts/cujinstaller/ |
D | MainActivity.java | 163 File file = new File(getFilesDir(), apkName); in copyApkFromUri() 182 final File apkFile = new File(getFilesDir(), apkName); in startInstallationViaPackageInstallerSession() 192 final File apkFile = new File(getFilesDir(), apkName); in startInstallationViaIntent()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MediaRecorderInfoLeakTest.java | 61 new File(getContext().getFilesDir(), "record.output").getPath()); in test_cve_2016_2499()
|
/cts/hostsidetests/backup/ProfileFullBackupApp/src/android/cts/backup/profilefullbackupapp/ |
D | ProfileFullBackupRestoreTest.java | 47 File dir = getTargetContext().getFilesDir(); in setUp()
|