Home
last modified time | relevance | path

Searched refs:getFilesDir (Results 1 – 11 of 11) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextTest.java120 assertThat(context.getFilesDir().exists()).isTrue(); in getFilesDir_shouldCreateDirectory()
125 assertThat(context.fileList()).isEqualTo(context.getFilesDir().list()); in fileList()
157 File file = new File(context.getFilesDir(), "__test__"); in openFileInput_shouldReturnAFileInputStream()
181 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldReturnAFileOutputStream()
205 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldAppendData()
223 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldOverwriteData()
232 File filesDir = context.getFilesDir(); in deleteFile_shouldReturnTrue()
242 File filesDir = context.getFilesDir(); in deleteFile_shouldReturnFalse()
DShadowParcelFileDescriptorTest.java26 file = new File(ApplicationProvider.getApplicationContext().getFilesDir(), "test"); in setUp()
30 new File(ApplicationProvider.getApplicationContext().getFilesDir(), "test_readonly"); in setUp()
109 File f = new File(ApplicationProvider.getApplicationContext().getFilesDir(), "outfile"); in testAutoCloseOutputStream()
DShadowContentResolverTest.java881 new File(ApplicationProvider.getApplicationContext().getFilesDir(), "test_file"); in openFile()
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/
DBaseChromiumRunnerCommon.java46 public File getFilesDir() { in getFilesDir() method in BaseChromiumRunnerCommon.MultiDexContextWrapper
47 return mAppContext.getFilesDir(); in getFilesDir()
/external/sl4a/Utils/src/com/googlecode/android_scripting/interpreter/
DInterpreterUtils.java30 return context.getFilesDir(); in getInterpreterRoot()
/external/libbackup/src/com/google/android/libraries/backup/shadow/
DFileBackupHelperSimulator.java124 File base = context.getFilesDir(); in backup()
144 File base = context.getFilesDir(); in restore()
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DDemoApplication.java163 downloadDirectory = getFilesDir(); in getDownloadDirectory()
/external/oboe/tests/UnitTestRunner/app/src/main/java/com/google/oboe/tests/unittestrunner/
DMainActivity.java63 String filesDir = getFilesDir().getPath(); in executeBinary()
/external/libtextclassifier/java/src/com/android/textclassifier/common/
DModelFileManager.java74 this.modelDownloaderDir = new File(context.getFilesDir(), DOWNLOAD_SUB_DIR_NAME); in ModelFileManager()
129 this.modelDownloaderDir = new File(context.getFilesDir(), DOWNLOAD_SUB_DIR_NAME); in ModelFileManager()
/external/downloader/src/example/java/com/google/android/downloader/example/
DDownloaderTestActivity.java85 targetDirectory = getFilesDir(); in onCreate()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockContext.java139 public File getFilesDir() { in getFilesDir() method in MockContext.MockContext2