Home
last modified time | relevance | path

Searched refs:getFilesDir (Results 1 – 6 of 6) 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/libbackup/src/com/google/android/libraries/backup/shadow/
DFileBackupHelperSimulator.java124 File base = context.getFilesDir(); in backup()
144 File base = context.getFilesDir(); in restore()
/external/sl4a/Utils/src/com/googlecode/android_scripting/interpreter/
DInterpreterUtils.java30 return context.getFilesDir(); in getInterpreterRoot()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockContext.java139 public File getFilesDir() { in getFilesDir() method in MockContext.MockContext2