Home
last modified time | relevance | path

Searched refs:fileOutputStream (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DContextTest.java192 FileOutputStream fileOutputStream = null; in openFileOutput_shouldReturnAFileOutputStream() local
194 fileOutputStream = context.openFileOutput("__test__", -1); in openFileOutput_shouldReturnAFileOutputStream()
195 fileOutputStream.write(fileContents.getBytes()); in openFileOutput_shouldReturnAFileOutputStream()
197 if (fileOutputStream != null) in openFileOutput_shouldReturnAFileOutputStream()
198 fileOutputStream.close(); in openFileOutput_shouldReturnAFileOutputStream()
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java1095 FileOutputStream fileOutputStream = null; in saveTmpFile() local
1099 fileOutputStream = new FileOutputStream(tempFile.getName()); in saveTmpFile()
1100 FileChannel dest = fileOutputStream.getChannel(); in saveTmpFile()
1107 safeClose(fileOutputStream); in saveTmpFile()