Searched refs:openFileOutput (Results 1 – 3 of 3) sorted by relevance
178 …try (FileOutputStream fileOutputStream = context.openFileOutput("__test__", Context.MODE_PRIVATE))… in openFileOutput_shouldReturnAFileOutputStream()190 …try (FileOutputStream fos = context.openFileOutput(File.separator + "data" + File.separator + "tes… in openFileOutput_shouldNotAcceptPathsWithSeparatorCharacters()199 …try (FileOutputStream fileOutputStream = context.openFileOutput("__test__", Context.MODE_APPEND)) { in openFileOutput_shouldAppendData()202 …try (FileOutputStream fileOutputStream = context.openFileOutput("__test__", Context.MODE_APPEND)) { in openFileOutput_shouldAppendData()217 try (FileOutputStream fileOutputStream = context.openFileOutput("__test__", 0)) { in openFileOutput_shouldOverwriteData()220 try (FileOutputStream fileOutputStream = context.openFileOutput("__test__", 0)) { in openFileOutput_shouldOverwriteData()
124 public FileOutputStream openFileOutput(String s, int i) throws FileNotFoundException { in openFileOutput() method in MockContext.MockContext2
231 writer = mContext.openFileOutput(fileName, Context.MODE_WORLD_READABLE); in writeBytesToFile()