Home
last modified time | relevance | path

Searched refs:openFileOutput (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextTest.java178 …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()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockContext.java124 public FileOutputStream openFileOutput(String s, int i) throws FileNotFoundException { in openFileOutput() method in MockContext.MockContext2
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DSmsFacade.java231 writer = mContext.openFileOutput(fileName, Context.MODE_WORLD_READABLE); in writeBytesToFile()