/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/internal/ |
D | BackendInputStream.java | 30 private final FileInputStream fileInputStream; field in BackendInputStream 37 private BackendInputStream(FileInputStream fileInputStream, File file) { in BackendInputStream() argument 38 super(fileInputStream); in BackendInputStream() 39 this.fileInputStream = fileInputStream; in BackendInputStream() 50 return fileInputStream.getChannel(); in toFileChannel() 55 return fileInputStream.getChannel().size(); in size()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowContextTest.java | 179 try (FileInputStream fileInputStream = context.openFileInput("__test__")) { in openFileInput_shouldReturnAFileInputStream() argument 181 fileInputStream.read(bytes); in openFileInput_shouldReturnAFileInputStream() 188 try (FileInputStream fileInputStream = in openFileInput_shouldNotAcceptPathsWithSeparatorCharacters() argument 200 try (FileInputStream fileInputStream = in openFileOutput_shouldReturnAFileOutputStream() argument 203 fileInputStream.read(readBuffer); in openFileOutput_shouldReturnAFileOutputStream() 229 try (FileInputStream fileInputStream = in openFileOutput_shouldAppendData() argument 232 fileInputStream.read(readBuffer); in openFileOutput_shouldAppendData() 248 try (FileInputStream fileInputStream = in openFileOutput_shouldOverwriteData() argument 251 fileInputStream.read(readBuffer); in openFileOutput_shouldOverwriteData()
|
D | ShadowBitmapFactoryTest.java | 93 FileInputStream fileInputStream = new FileInputStream(tmp); in decodeResource_sameAs() local 94 Bitmap bitmap2 = BitmapFactory.decodeStream(fileInputStream); in decodeResource_sameAs() 456 try (FileInputStream fileInputStream = new FileInputStream(tmpFile)) { in decodeFileDescriptor_shouldHaveCorrectWidthAndHeight() argument 457 Bitmap loadedBitmap = BitmapFactory.decodeFileDescriptor(fileInputStream.getFD()); in decodeFileDescriptor_shouldHaveCorrectWidthAndHeight() 520 FileInputStream fileInputStream = new FileInputStream(file); in getPngImageColorFromFileDescriptor() local 521 Bitmap bitmap = BitmapFactory.decodeFileDescriptor(fileInputStream.getFD()); in getPngImageColorFromFileDescriptor()
|
/external/aws-sdk-java-v2/core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/async/ |
D | SplittingPublisherTestUtils.java | 55 try (FileInputStream fileInputStream = new FileInputStream(file.toFile())) { in verifyIndividualAsyncRequestBody() argument 63 fileInputStream.skip(i * chunkSize); in verifyIndividualAsyncRequestBody() 64 fileInputStream.read(expected); in verifyIndividualAsyncRequestBody()
|
/external/cronet/tot/components/cronet/android/test/javatests/src/org/chromium/net/ |
D | ExperimentalOptionsTest.java | 178 FileInputStream fileInputStream = null; in fileContainsString() local 181 fileInputStream = new FileInputStream(file); in fileContainsString() 183 fileInputStream.read(data); in fileContainsString() 195 if (fileInputStream != null) { in fileContainsString() 196 fileInputStream.close(); in fileContainsString()
|
D | NQETest.java | 151 FileInputStream fileInputStream = new FileInputStream(file); in prefsFileContainsString() local 153 fileInputStream.read(data); in prefsFileContainsString() 154 fileInputStream.close(); in prefsFileContainsString()
|
D | QuicTest.java | 190 FileInputStream fileInputStream = new FileInputStream(file); in fileContainsString() local 192 fileInputStream.read(data); in fileContainsString() 193 fileInputStream.close(); in fileContainsString()
|
/external/cronet/stable/components/cronet/android/test/javatests/src/org/chromium/net/ |
D | ExperimentalOptionsTest.java | 178 FileInputStream fileInputStream = null; in fileContainsString() local 181 fileInputStream = new FileInputStream(file); in fileContainsString() 183 fileInputStream.read(data); in fileContainsString() 195 if (fileInputStream != null) { in fileContainsString() 196 fileInputStream.close(); in fileContainsString()
|
D | NQETest.java | 151 FileInputStream fileInputStream = new FileInputStream(file); in prefsFileContainsString() local 153 fileInputStream.read(data); in prefsFileContainsString() 154 fileInputStream.close(); in prefsFileContainsString()
|
D | QuicTest.java | 190 FileInputStream fileInputStream = new FileInputStream(file); in fileContainsString() local 192 fileInputStream.read(data); in fileContainsString() 193 fileInputStream.close(); in fileContainsString()
|
/external/cronet/stable/components/cronet/android/java/src/org/chromium/net/httpflags/ |
D | HttpFlagsLoader.java | 132 try (FileInputStream fileInputStream = new FileInputStream(file)) { in loadFlagsFile() argument 133 return Flags.parseDelimitedFrom(fileInputStream); in loadFlagsFile()
|
/external/cronet/tot/components/cronet/android/java/src/org/chromium/net/httpflags/ |
D | HttpFlagsLoader.java | 132 try (FileInputStream fileInputStream = new FileInputStream(file)) { in loadFlagsFile() argument 133 return Flags.parseDelimitedFrom(fileInputStream); in loadFlagsFile()
|
/external/tink/java_src/src/main/java/com/google/crypto/tink/testing/ |
D | WycheproofTestUtil.java | 100 try (FileInputStream fileInputStream = new FileInputStream(new File(filePath))) { in readJson() argument 102 JsonParser.parseString(new String(readAll(fileInputStream), UTF_8)).getAsJsonObject(); in readJson()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowParcelFileDescriptor.java | 292 FileInputStream fileInputStream = new FileInputStream(fileDescriptor); in dup() local 294 FileChannel sourceChannel = fileInputStream.getChannel(); in dup() 299 ByteStreams.copy(fileInputStream, fileOutputStream); in dup()
|
D | ShadowBitmapFactory.java | 102 try (FileInputStream fileInputStream = new FileInputStream(pathName); in decodeFile() argument 103 BufferedInputStream bufferedInputStream = new BufferedInputStream(fileInputStream)) { in decodeFile() 129 try (FileInputStream fileInputStream = new FileInputStream(fd); in decodeFileDescriptor() argument 130 BufferedInputStream bufferedInputStream = new BufferedInputStream(fileInputStream); ) { in decodeFileDescriptor()
|
/external/aws-sdk-java-v2/codegen-lite/src/main/java/software/amazon/awssdk/codegen/lite/defaultsmode/ |
D | DefaultsLoader.java | 56 try (FileInputStream fileInputStream = new FileInputStream(path)) { in loadDefaultsFromFile() argument 59 Map<String, JsonNode> sdkDefaultConfiguration = jsonNodeParser.parse(fileInputStream) in loadDefaultsFromFile()
|
/external/aws-crt-java/src/test/java/software/amazon/awssdk/crt/test/ |
D | MqttClientConnectionMethodTest.java | 52 …java.io.FileInputStream fileInputStream = new java.io.FileInputStream(AWS_TEST_MQTT311_IOT_CORE_KE… in ConnDC_Cred_UC1() local 53 … keyStore.load(fileInputStream, AWS_TEST_MQTT311_IOT_CORE_KEYSTORE_PASSWORD.toCharArray()); in ConnDC_Cred_UC1() 54 fileInputStream.close(); in ConnDC_Cred_UC1()
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/ |
D | IOUtilsTest.java | 928 final FileInputStream fileInputStream = new FileInputStream(testFile); in testRead_ReadableByteChannel() local 929 final FileChannel input = fileInputStream.getChannel(); in testRead_ReadableByteChannel() 938 IOUtils.closeQuietly(input, fileInputStream); in testRead_ReadableByteChannel() 980 final FileInputStream fileInputStream = new FileInputStream(testFile); in testReadFully_ReadableByteChannel() local 981 final FileChannel input = fileInputStream.getChannel(); in testReadFully_ReadableByteChannel() 995 IOUtils.closeQuietly(input, fileInputStream); in testReadFully_ReadableByteChannel() 1299 final FileInputStream fileInputStream = new FileInputStream(testFile); in testSkip_ReadableByteChannel() local 1300 final FileChannel fileChannel = fileInputStream.getChannel(); in testSkip_ReadableByteChannel() 1306 IOUtils.closeQuietly(fileChannel, fileInputStream); in testSkip_ReadableByteChannel() 1365 final FileInputStream fileInputStream = new FileInputStream(testFile); in testSkipFully_ReadableByteChannel() local [all …]
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/ |
D | OutdatedPaths.java | 180 InputStream fileInputStream = in openDataInput() local 186 DataInputStream dataIn = new DataInputStream(fileInputStream); in openDataInput()
|