Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextTest.java162 try (FileInputStream fileInputStream = context.openFileInput("__test__")) { in openFileInput_shouldReturnAFileInputStream() argument
164 fileInputStream.read(bytes); in openFileInput_shouldReturnAFileInputStream()
171 … try (FileInputStream fileInputStream = context.openFileInput("data" + File.separator + "test")) {} in openFileInput_shouldNotAcceptPathsWithSeparatorCharacters() argument
181 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldReturnAFileOutputStream() argument
183 fileInputStream.read(readBuffer); in openFileOutput_shouldReturnAFileOutputStream()
205 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldAppendData() argument
207 fileInputStream.read(readBuffer); in openFileOutput_shouldAppendData()
223 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldOverwriteData() argument
225 fileInputStream.read(readBuffer); in openFileOutput_shouldOverwriteData()
/external/cldr/tools/java/org/unicode/cldr/test/
DOutdatedPaths.java138 InputStream fileInputStream = directory == null in openDataInput() local
142 DataInputStream dataIn = new DataInputStream(fileInputStream); in openDataInput()