Home
last modified time | relevance | path

Searched defs:fileInputStream (Results 1 – 10 of 10) sorted by relevance

/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/internal/
DBackendInputStream.java30 private final FileInputStream fileInputStream; field in BackendInputStream
37 private BackendInputStream(FileInputStream fileInputStream, File file) { in BackendInputStream()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextTest.java162 try (FileInputStream fileInputStream = context.openFileInput("__test__")) { in openFileInput_shouldReturnAFileInputStream()
171 … try (FileInputStream fileInputStream = context.openFileInput("data" + File.separator + "test")) {} in openFileInput_shouldNotAcceptPathsWithSeparatorCharacters()
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()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextTest.java182 try (FileInputStream fileInputStream = context.openFileInput("__test__")) { in openFileInput_shouldReturnAFileInputStream()
191 try (FileInputStream fileInputStream = in openFileInput_shouldNotAcceptPathsWithSeparatorCharacters()
203 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldReturnAFileOutputStream()
231 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldAppendData()
249 …try (FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), file.ge… in openFileOutput_shouldOverwriteData()
DShadowBitmapFactoryTest.java90 FileInputStream fileInputStream = new FileInputStream(tmp); in decodeResource_sameAs() local
453 try (FileInputStream fileInputStream = new FileInputStream(tmpFile)) { in decodeFileDescriptor_shouldHaveCorrectWidthAndHeight()
517 FileInputStream fileInputStream = new FileInputStream(file); in getPngImageColorFromFileDescriptor() local
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBitmapFactory.java104 try (FileInputStream fileInputStream = new FileInputStream(pathName); in decodeFile()
131 try (FileInputStream fileInputStream = new FileInputStream(fd); in decodeFileDescriptor()
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/
DNQETest.java156 FileInputStream fileInputStream = new FileInputStream(file); in prefsFileContainsString() local
DQuicTest.java163 FileInputStream fileInputStream = new FileInputStream(file); in fileContainsString() local
DExperimentalOptionsTest.java202 FileInputStream fileInputStream = null; in fileContainsString() local
/external/apache-commons-io/src/test/java/org/apache/commons/io/
DIOUtilsTest.java914 final FileInputStream fileInputStream = new FileInputStream(testFile); in testRead_ReadableByteChannel() local
969 final FileInputStream fileInputStream = new FileInputStream(testFile); in testReadFully_ReadableByteChannel() local
1291 final FileInputStream fileInputStream = new FileInputStream(testFile); in testSkip_ReadableByteChannel() local
1319 final FileInputStream fileInputStream = new FileInputStream(testFile); in testSkipFully_ReadableByteChannel() local
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/
DOutdatedPaths.java166 InputStream fileInputStream = directory == null in openDataInput() local