| /external/cbor-java/src/test/java/co/nstant/in/cbor/decoder/ |
| D | AbstractDecoderTest.java | 19 public TestableAbstractDecoder(InputStream inputStream) { in TestableAbstractDecoder() 44 InputStream inputStream = new ByteArrayInputStream(new byte[] {}); in shouldThrowExceptionOnUnexpectedEndOfStream() local 51 InputStream inputStream = new ByteArrayInputStream(new byte[] {}); in shouldDecodeInfinityLength() local 58 InputStream inputStream = new ByteArrayInputStream(new byte[] {}); in shouldThrowExceptionOnReserved1() local 65 InputStream inputStream = new ByteArrayInputStream(new byte[] {}); in shouldThrowExceptionOnReserved2() local 72 InputStream inputStream = new ByteArrayInputStream(new byte[] {}); in shouldThrowExceptionOnReserved3() local 79 InputStream inputStream = new ByteArrayInputStream(new byte[] {}); in shouldThrowExceptionOnReserved4() local 86 InputStream inputStream = new ByteArrayInputStream(new byte[] {}); in shouldThrowExceptionOnReserved5() local 93 InputStream inputStream = new ByteArrayInputStream(new byte[] {}); in shouldThrowExceptionOnReserved6() local 100 InputStream inputStream = new ByteArrayInputStream(new byte[] { 1, 1, 1, 1, 1, 1, 1, 1 }); in shouldDecodeEightBytesLengthToLong() local
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/playlist/ |
| D | HlsMediaPlaylistParserTest.java | 85 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist() local 184 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist_withByteRanges() local 226 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseSampleAesMethod() local 255 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseSampleAesCencMethod() local 279 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseSampleAesCtrMethod() local 302 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist_withPartMediaInformation_succeeds() local 320 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist_withoutServerControl_serverControlDefaultValues() local 346 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist_withServerControl_succeeds() local 391 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist_withSkippedSegments_correctlyMergedSegments() local 445 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist_withSkippedSegments_correctlyMergedParts() local [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/playlist/ |
| D | HlsMediaPlaylistParserTest.java | 85 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist() local 184 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist_withByteRanges() local 226 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseSampleAesMethod() local 255 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseSampleAesCencMethod() local 279 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseSampleAesCtrMethod() local 302 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist_withPartMediaInformation_succeeds() local 320 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist_withoutServerControl_serverControlDefaultValues() local 346 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist_withServerControl_succeeds() local 391 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist_withSkippedSegments_correctlyMergedSegments() local 445 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist_withSkippedSegments_correctlyMergedParts() local [all …]
|
| /external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
| D | ReadableBuffersTest.java | 98 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_available_returnsReadableBytes() local 109 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_read_returnsUnsignedByte() local 116 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_read_writes() local 126 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_read_writesPartially() local 135 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_close_closesBuffer() local 143 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_markAndReset() local 160 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_getByteBufferDelegatesToBuffer() local 169 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_availableAfterDetached_returnsZeroByte() local 179 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_skipAfterDetached() local 189 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_readUnsignedByteAfterDetached() local [all …]
|
| /external/apache-commons-io/src/test/java/org/apache/commons/io/input/ |
| D | MemoryMappedFileInputStreamTest.java | 80 try (InputStream inputStream = newStream(file, 1024)) { in testAlternateBufferSize() 91 try (InputStream inputStream = newStream(file)) { in testEmptyFile() 104 try (InputStream inputStream = newStream(file)) { in testLargerFile() 116 try (InputStream inputStream = newStream(file, 1024)) { in testReadAfterClose() 129 try (InputStream inputStream = newStream(file, 1024)) { in testReadSingleByte() 145 try (InputStream inputStream = newStream(file, 10)) { in testSkipAtStart() 158 try (InputStream inputStream = newStream(file)) { in testSkipEmpty() 172 try (InputStream inputStream = newStream(file, 10)) { in testSkipInCurrentBuffer() 188 try (InputStream inputStream = newStream(file)) { in testSkipNoop() 202 try (InputStream inputStream = newStream(file, 10)) { in testSkipOutOfCurrentBuffer() [all …]
|
| D | RandomAccessFileInputStreamTest.java | 51 …try (RandomAccessFileInputStream inputStream = new RandomAccessFileInputStream(createRandomAccessF… in testAvailable() 59 …try (RandomAccessFileInputStream inputStream = new RandomAccessFileInputStream(createRandomAccessF… in testAvailableLong() 69 …try (RandomAccessFileInputStream inputStream = RandomAccessFileInputStream.builder().setFile(new F… in testBuilderFile() 81 …try (RandomAccessFileInputStream inputStream = RandomAccessFileInputStream.builder().setPath(DATA_… in testBuilderPath() 93 …try (RandomAccessFileInputStream inputStream = RandomAccessFileInputStream.builder().setPath(DATA_… in testBuilderPathOpenOptions() 106 …try (RandomAccessFileInputStream inputStream = RandomAccessFileInputStream.builder().setRandomAcce… in testBuilderRandomAccessFile() 118 … try (RandomAccessFileInputStream inputStream = new RandomAccessFileInputStream(file, false)) { in testConstructorCloseOnCloseFalse() 130 … try (RandomAccessFileInputStream inputStream = new RandomAccessFileInputStream(file, true)) { in testConstructorCloseOnCloseTrue() 142 try (RandomAccessFileInputStream inputStream = new RandomAccessFileInputStream(file)) { in testConstructorRandomAccessFile() 158 … try (RandomAccessFileInputStream inputStream = new RandomAccessFileInputStream(file, true)) { in testGetters() [all …]
|
| D | QueueInputStreamTest.java | 78 private String readUnbuffered(final InputStream inputStream) throws IOException { in readUnbuffered() 82 …private String readUnbuffered(final InputStream inputStream, final int maxBytes) throws IOExceptio… in readUnbuffered() 102 try (BufferedInputStream inputStream = new BufferedInputStream(new QueueInputStream(queue)); in testBufferedReads() 114 try (BufferedInputStream inputStream = new BufferedInputStream(new QueueInputStream(queue)); in testBufferedReadWrite() 127 try (QueueInputStream inputStream = new QueueInputStream(queue); in testBufferedWrites() 157 …try (QueueInputStream inputStream = QueueInputStream.builder().setTimeout(Duration.ofMinutes(2)).g… in testTimeoutInterrupted() 183 …try (QueueInputStream inputStream = QueueInputStream.builder().setTimeout(Duration.ofMillis(500)).… in testTimeoutUnavailableData() 197 try (QueueInputStream inputStream = new QueueInputStream(); in testUnbufferedReadWrite() 209 try (QueueInputStream inputStream = QueueInputStream.builder().setTimeout(timeout).get(); in testUnbufferedReadWriteWithTimeout()
|
| D | AutoCloseInputStreamTest.java | 108 private void testResetBeforeEnd(final AutoCloseInputStream inputStream) throws IOException { in testResetBeforeEnd() 129 …try (final AutoCloseInputStream inputStream = new AutoCloseInputStream(new ByteArrayInputStream("1… in testResetBeforeEndCtor() 136 …try (final AutoCloseInputStream inputStream = AutoCloseInputStream.builder().setByteArray("1234".g… in testResetBeforeEndSetByteArray() 143 …try (final AutoCloseInputStream inputStream = AutoCloseInputStream.builder().setCharSequence("1234… in testResetBeforeEndSetCharSequence() 150 …try (final AutoCloseInputStream inputStream = AutoCloseInputStream.builder().setInputStream(new By… in testResetBeforeEndSetInputStream()
|
| /external/aws-sdk-java-v2/test/protocol-tests/src/test/java/software/amazon/awssdk/protocol/tests/connection/ |
| D | SyncClientConnectionTest.java | 62 …ClosableStringInputStream inputStream = new ClosableStringInputStream("{\"__type\":\"SomeUnknownTy… in nonStreaming_exception_shouldCloseConnection() local 72 ClosableStringInputStream inputStream = new ClosableStringInputStream("{}"); in nonStreaming_successfulResponse_shouldCloseConnection() local 80 ClosableStringInputStream inputStream = new ClosableStringInputStream("{}"); in streamingOut_successfulResponse_shouldCloseConnection() local 89 …ClosableStringInputStream inputStream = new ClosableStringInputStream("{\"__type\":\"SomeUnknownTy… in streamingOut_errorResponse_shouldCloseConnection() local 99 ClosableStringInputStream inputStream = new ClosableStringInputStream("{}"); in streamingOut_connectionLeftOpen_shouldNotCloseStream() local 119 ClosableStringInputStream inputStream = new ClosableStringInputStream("{}"); in streamingOut_toInputStream_closeResponseStreamShouldCloseUnderlyingStream() local 148 private HttpExecuteResponse mockResponse(InputStream inputStream, int statusCode) { in mockResponse()
|
| /external/aws-sdk-java-v2/core/sdk-core/src/main/java/software/amazon/awssdk/core/async/ |
| D | AsyncRequestBodyFromInputStreamConfiguration.java | 34 private final InputStream inputStream; field in AsyncRequestBodyFromInputStreamConfiguration 49 public InputStream inputStream() { in inputStream() method in AsyncRequestBodyFromInputStreamConfiguration 128 Builder inputStream(InputStream inputStream); in inputStream() method 160 private InputStream inputStream; field in AsyncRequestBodyFromInputStreamConfiguration.DefaultBuilder 176 public Builder inputStream(InputStream inputStream) { in inputStream() method in AsyncRequestBodyFromInputStreamConfiguration.DefaultBuilder
|
| /external/lottie/lottie/src/main/java/com/airbnb/lottie/network/ |
| D | NetworkFetcher.java | 61 InputStream inputStream = cacheResult.second; in fetchFromCache() local 92 InputStream inputStream = fetchResult.bodyByteStream(); in fetchFromNetwork() local 114 …tion> fromInputStream(Context context, @NonNull String url, @NonNull InputStream inputStream, @Nul… in fromInputStream() 150 …sition> fromZipStream(Context context, @NonNull String url, @NonNull InputStream inputStream, @Nul… in fromZipStream() 160 …sult<LottieComposition> fromGzipStream(@NonNull String url, @NonNull InputStream inputStream, @Nul… in fromGzipStream() 170 …sult<LottieComposition> fromJsonStream(@NonNull String url, @NonNull InputStream inputStream, @Nul… in fromJsonStream()
|
| /external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
| D | ShadowBitmapFactoryTest.java | 115 InputStream inputStream = in decodeStream_shouldSetDescriptionAndCreatedFrom() local 158 InputStream inputStream = in decodeStream_shouldSetDescriptionWithNullOptions() local 189 InputStream inputStream = in decodeResourceStream_canTakeOptions() local 293 InputStream inputStream = in decodeStream_shouldGetWidthAndHeightFromHints() local 303 InputStream inputStream = in decodeStream_shouldGetWidthAndHeightFromActualImage() local 313 InputStream inputStream = in decodeStream_shouldGetCorrectMimeTypeFromJpegImage() local 324 InputStream inputStream = in decodeStream_shouldGetCorrectMimeTypeFromPngImage() local 335 InputStream inputStream = in decodeStream_shouldGetCorrectMimeTypeFromGifImage() local 480 ByteArrayInputStream inputStream = new ByteArrayInputStream(invalidBitmapPixels); in decodeStream_options_setsOutWidthToMinusOne() local 507 InputStream inputStream = in getPngImageColorFromStream() local [all …]
|
| /external/aws-sdk-java-v2/core/http-auth-aws/src/test/java/software/amazon/awssdk/http/auth/aws/internal/signer/chunkedencoding/ |
| D | ChunkedEncodedInputStreamTest.java | 53 ChunkedEncodedInputStream inputStream = ChunkedEncodedInputStream in ChunkEncodedInputStream_withBasicParams_returnsEncodedChunks() local 89 ChunkedEncodedInputStream inputStream = ChunkedEncodedInputStream in ChunkEncodedInputStream_withExtensions_returnsEncodedExtendedChunks() local 127 ChunkedEncodedInputStream inputStream = ChunkedEncodedInputStream in ChunkEncodedInputStream_withTrailers_returnsEncodedChunksAndTrailerChunk() local 167 ChunkedEncodedInputStream inputStream = ChunkedEncodedInputStream in ChunkEncodedInputStream_withExtensionsAndTrailers_EncodedExtendedChunksAndTrailerChunk() local 242 ChunkedEncodedInputStream inputStream = ChunkedEncodedInputStream in ChunkEncodedInputStream_withAwsParams_returnsAwsSignedAndEncodedChunks() local 288 ChunkedEncodedInputStream inputStream = ChunkedEncodedInputStream in ChunkEncodedInputStream_withVariableChunkSize_shouldCorrectlyChunkData() local
|
| /external/aws-sdk-java-v2/services/s3/src/test/java/software/amazon/awssdk/services/s3/internal/handlers/ |
| D | GetBucketPolicyInterceptorTest.java | 40 …Optional<InputStream> inputStream = interceptor.modifyHttpResponseContent(context, new ExecutionAt… in getBucketPolicy_shouldModifyResponseContent() local 48 …Optional<InputStream> inputStream = interceptor.modifyHttpResponseContent(context, new ExecutionAt… in nonGetBucketPolicyResponse_ShouldNotModifyResponse() local 56 …Optional<InputStream> inputStream = interceptor.modifyHttpResponseContent(context, new ExecutionAt… in errorResponseShouldNotModifyResponse() local
|
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue99/ |
| D | YamlBase64Test.java | 57 InputStream inputStream = in testYamlBase64Loading() local 89 InputStream inputStream = in testYamlBase64LoadingLiteral() local 104 InputStream inputStream = in testRedefineBinaryTag() local 135 InputStream inputStream = in testLocalBinaryTag() local
|
| /external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/core/socket/ |
| D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket()
|
| /external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/core/socket/ |
| D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket()
|
| /external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/core/socket/ |
| D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket()
|
| /external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/core/socket/ |
| D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket()
|
| /external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/socket/ |
| D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket()
|
| /external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/core/socket/ |
| D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket()
|
| /external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/core/socket/ |
| D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket()
|
| /external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/core/socket/ |
| D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket()
|
| /external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/socket/ |
| D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket()
|
| /external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/core/socket/ |
| D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket()
|