/cts/tests/tests/telephony/src/android/telephony/embms/cts/ |
D | MbmsDownloadSessionTest.java | 84 File tempFileRootDirectory = new File(mContext.getFilesDir(), tempFileDirName); in testSetTempFileDirectory() 97 File tempFileRootDirectory = new File(mContext.getFilesDir(), "NNN-DoesNotExist"); in testSetInvalidTempFileRoot() 107 tempFileRootDirectory = new File(mContext.getFilesDir(), "this-is-a-file.dat"); in testSetInvalidTempFileRoot() 118 mDownloadSession.setTempFileRootDirectory(mContext.getFilesDir()); in testSetInvalidTempFileRoot() 177 File tempFileRootDir = new File(mContext.getFilesDir(), "CtsTestDir"); in testListPendingDownloads() 191 File tempFileRootDirectory = new File(mContext.getFilesDir(), tempFileDirName); in testSetTempFileDirFailure()
|
D | DownloadRequestTest.java | 38 File destinationDirectory = new File(getInstrumentation().getContext().getFilesDir(), in testBuilderConstruction() 50 File destinationDirectory = new File(getInstrumentation().getContext().getFilesDir(), in testServiceIdEquivalency()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | OutOfProcessLoginActivity.java | 83 return new File(context.getFilesDir(), "stopped"); in getStoppedMarker() 93 return new File(context.getFilesDir(), "started"); in getStartedMarker()
|
/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()
|
D | SimpleIOService.java | 78 File testFile = new File(getFilesDir(), "StoragedTest_Temp_BG"); in handleMessage()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileObserverTest.java | 46 File dir = getContext().getFilesDir(); in setUp() 75 File dir = getContext().getFilesDir(); in tearDown() 166 dir = getContext().getFilesDir(); in helpTestFileObserver() 212 helpTestFileObserver(getContext().getFilesDir(), false); in testFileObserver()
|
/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 | SplitAppTest.java | 418 final StructStat actual = Os.stat(getContext().getFilesDir().getAbsolutePath()); in testDataInternal() 427 final StructStat actual = Os.stat(getContext().getFilesDir().getAbsolutePath()); in testDataNotInternal() 480 final File current = getContext().getFilesDir(); in testPrimaryOnSameVolume() 493 assertTrue(new File(getContext().getFilesDir(), "normal.raw").createNewFile()); in testCodeCacheWrite() 498 assertTrue(new File(getContext().getFilesDir(), "normal.raw").exists()); in testCodeCacheRead()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | MediaStoreSaver.java | 42 picDir = mContext.getFilesDir(); in savePNG()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTest.java | 151 File imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromPath() 181 File emptyFile = new File(mContext.getFilesDir(), "tempemptyimage.jpg"); in testCreateFromStream() 191 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromStream() 225 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromStream2() 258 File emptyFile = new File(mContext.getFilesDir(), "tempemptyimage.jpg"); in testCreateFromResourceStream1() 269 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromResourceStream1() 308 File emptyFile = new File(mContext.getFilesDir(), "tempemptyimage.jpg"); in testCreateFromResourceStream2() 319 imageFile = new File(mContext.getFilesDir(), "tempimage.jpg"); in testCreateFromResourceStream2()
|
D | IconTest.java | 86 File file = new File(mActivity.getFilesDir(), "testimage.jpg"); in testFileIcon() 152 File file = new File(mActivity.getFilesDir(), "testimage.jpg"); in testFileIcon_getType()
|
/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/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/ |
D | KeyValueBackupRestoreTest.java | 229 File file = new File(mContext.getFilesDir(), TEST_FILE_1); in saveSharedPreferencesValues() 235 file = new File(mContext.getFilesDir(), TEST_FILE_2); in saveSharedPreferencesValues() 268 scanner = new Scanner(new File(mContext.getFilesDir(), fileName)); in readFileContent()
|
/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/util/src/android/util/cts/ |
D | PrintStreamPrinterTest.java | 47 mFile = new File(InstrumentationRegistry.getTargetContext().getFilesDir(), in setup()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | SELinuxTest.java | 56 File appDataDir = getContext().getFilesDir(); in testCTSAppDataContext()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | SyncStorageEngineTest.java | 71 return new File(new File(getContext().getFilesDir(), "system"), "sync"); in getSyncDir()
|
D | ImageCaptureUriExtraToClipDataTest.java | 58 mTestFile = new File(getContext().getFilesDir() + File.separator + FILE_NAME); in setUp()
|
D | ContextTest.java | 103 final File defaultFile = new File(mContext.getFilesDir(), "test"); in testCreateDeviceProtectedStorageContext() 104 final File deviceFile = new File(deviceContext.getFilesDir(), "test"); in testCreateDeviceProtectedStorageContext() 317 final File base = mContext.getFilesDir(); in testFilenames()
|
/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/tests/tests/selinux/common/src/android/security/ |
D | SELinuxTargetSdkTestBase.java | 77 File appDataDir = getContext().getFilesDir(); in appDataContext()
|
/cts/hostsidetests/backup/AllowBackup/src/ |
D | AllowBackupTest.java | 60 File filesDir = mContext.getFilesDir(); in setupFiles()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebHistoryItemTest.java | 89 String dbPath = getActivity().getFilesDir().toString() + "/icons"; in testWebHistoryItem()
|
/cts/hostsidetests/backup/FullBackupOnly/src/ |
D | FullBackupOnlyTest.java | 66 File filesDir = mContext.getFilesDir(); in setupFiles()
|