/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/ |
D | MbmsDownloadSessionTest.java | 105 File tempFileRootDirectory = new File(mContext.getFilesDir(), tempFileDirName); in testSetTempFileDirectory() 119 File tempFileRootDirectory = new File(mContext.getFilesDir(), "NNN-DoesNotExist"); in testSetInvalidTempFileRoot() 129 tempFileRootDirectory = new File(mContext.getFilesDir(), "this-is-a-file.dat"); in testSetInvalidTempFileRoot() 140 mDownloadSession.setTempFileRootDirectory(mContext.getFilesDir()); in testSetInvalidTempFileRoot() 203 File tempFileRootDir = new File(mContext.getFilesDir(), "CtsTestDir"); in testListPendingDownloads() 218 File tempFileRootDirectory = new File(mContext.getFilesDir(), tempFileDirName); in testSetTempFileDirFailure()
|
D | DownloadRequestTest.java | 48 File destinationDirectory = new File(getInstrumentation().getContext().getFilesDir(), in testBuilderConstruction() 61 File destinationDirectory = new File(getInstrumentation().getContext().getFilesDir(), in testServiceIdEquivalency()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | OutOfProcessLoginActivity.java | 102 return new File(context.getFilesDir(), "stopped"); in getStoppedMarker() 112 return new File(context.getFilesDir(), "started"); in getStartedMarker() 122 return new File(context.getFilesDir(), "destroyed"); in getDestroyedMarker()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileObserverTest.java | 51 File dir = getContext().getFilesDir(); in setUp() 86 File dir = getContext().getFilesDir(); in tearDown() 158 dir = getContext().getFilesDir(); in helpTestFileObserver() 241 helpTestFileObserver(getContext().getFilesDir(), false); in testFileObserver() 253 Pair.create(getContext().getFilesDir(), false), in testFileObserver_multipleFilesFull() 262 Pair.create(getContext().getFilesDir(), false) in testFileObserver_multipleFilesInstant()
|
/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/hostsidetests/userspacereboot/testapps/BasicTestApp/src/com/android/cts/userspacereboot/basic/ |
D | BasicUserspaceRebootTest.java | 138 de.getFilesDir(), Intent.ACTION_LOCKED_BOOT_COMPLETED.toLowerCase()); in query() 140 de.getFilesDir(), Intent.ACTION_BOOT_COMPLETED.toLowerCase()); in query()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
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() 268 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromStream2() 301 File emptyFile = new File(mContext.getFilesDir(), "tempemptyimage.jpg"); in testCreateFromResourceStream1() 312 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromResourceStream1() 351 File emptyFile = new File(mContext.getFilesDir(), "tempemptyimage.jpg"); in testCreateFromResourceStream2() 362 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromResourceStream2()
|
D | IconTest.java | 87 File file = new File(mActivity.getFilesDir(), "testimage.jpg"); in testFileIcon() 153 File file = new File(mActivity.getFilesDir(), "testimage.jpg"); in testFileIcon_getType()
|
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/ |
D | KeyValueBackupRestoreTest.java | 233 File file = new File(mContext.getFilesDir(), TEST_FILE_1); in saveSharedPreferencesValues() 239 file = new File(mContext.getFilesDir(), TEST_FILE_2); in saveSharedPreferencesValues() 272 scanner = new Scanner(new File(mContext.getFilesDir(), fileName)); in readFileContent()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | OutOfProcessActivity.java | 103 return new File(context.getFilesDir(), "stopped"); in getStoppedMarker() 113 return new File(context.getFilesDir(), "started"); in getStartedMarker()
|
/cts/tests/tests/selinux/common/src/android/security/ |
D | SELinuxTargetSdkTestBase.java | 141 File appDataDir = getContext().getFilesDir(); in appDataContext() 149 File appDataDir = getContext().getFilesDir(); in canExecuteFromHomeDir()
|
/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/StorageApp/src/com/android/cts/storageapp/ |
D | Utils.java | 65 useWrite(makeUniqueFile(c.getFilesDir()), 2 * MB_IN_BYTES); in useSpace() 71 useFallocate(makeUniqueFile(c.getFilesDir()), 13 * MB_IN_BYTES); in useSpace()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 448 final StructStat actual = Os.stat(getContext().getFilesDir().getAbsolutePath()); in testDataInternal() 457 final StructStat actual = Os.stat(getContext().getFilesDir().getAbsolutePath()); in testDataNotInternal() 510 final File current = getContext().getFilesDir(); in testPrimaryOnSameVolume() 523 assertTrue(new File(getContext().getFilesDir(), "normal.raw").createNewFile()); in testCodeCacheWrite() 528 assertTrue(new File(getContext().getFilesDir(), "normal.raw").exists()); in testCodeCacheRead()
|
D | BaseBootReceiver.java | 34 final File probe = new File(context.getFilesDir(), in onReceive()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | LowRamDeviceTest.java | 167 mContext.getFilesDir(), in testMinDataPartitionSize() 171 "Application data", mContext.getFilesDir(), MIN_APP_DATA_PARTITION_SIZE_GB); in testMinDataPartitionSize()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | MediaStoreSaver.java | 42 picDir = mContext.getFilesDir(); in savePNG()
|
/cts/tests/backup/app/src/android/backup/app/ |
D | MainActivity.java | 69 File f = new File(getFilesDir().getAbsolutePath(), FILE_NAME); in createFile()
|
D | KeyValueBackupAgent.java | 48 File testFile = new File(getFilesDir(), MainActivity.FILE_NAME); in onBackup()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptor_AutoCloseOutputStreamTest.java | 55 File file = new File(getContext().getFilesDir(), FILE_NAME); in testAutoCloseOutputStream()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MediaRecorderInfoLeakTest.java | 54 new File(getContext().getFilesDir(), "record.output").getPath()); in test_cve_2016_2499()
|
/cts/libs/install/testapp/src/com/android/cts/install/lib/testapp/ |
D | ProcessUserData.java | 84 File versionFile = new File(context.getFilesDir(), "version.txt"); in processUserData()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | PrintStreamPrinterTest.java | 48 mFile = new File(InstrumentationRegistry.getTargetContext().getFilesDir(), in setup()
|
/cts/hostsidetests/backup/ProfileFullBackupApp/src/android/cts/backup/profilefullbackupapp/ |
D | ProfileFullBackupRestoreTest.java | 47 File dir = getTargetContext().getFilesDir(); in setUp()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | SyncStorageEngineTest.java | 73 return new File(new File(getContext().getFilesDir(), "system"), "sync"); in getSyncDir()
|