Home
last modified time | relevance | path

Searched refs:bufferedStream (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/drm/java/android/drm/
DDrmUtils.java49 BufferedInputStream bufferedStream = new BufferedInputStream(inputStream); in readBytes() local
53 int length = bufferedStream.available(); in readBytes()
57 bufferedStream.read(data); in readBytes()
60 quietlyDispose(bufferedStream); in readBytes()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DParserFactory.java91 try (BufferedInputStream bufferedStream = new BufferedInputStream(stream)) { in readAndClose() argument
92 int avail = bufferedStream.available(); in readAndClose()
100 while ((avail = bufferedStream.available()) > 0) { in readAndClose()
/frameworks/base/libs/hwui/jni/
DMovie.cpp103 std::unique_ptr<SkStreamRewindable> bufferedStream( in movie_decodeStream() local
105 SkASSERT(bufferedStream.get() != NULL); in movie_decodeStream()
107 Movie* moov = Movie::DecodeStream(bufferedStream.get()); in movie_decodeStream()
DBitmapFactory.cpp680 std::unique_ptr<SkStreamRewindable> bufferedStream(skia::FrontBufferedStream::Make( in nativeDecodeStream() local
682 SkASSERT(bufferedStream.get() != NULL); in nativeDecodeStream()
683 bitmap = doDecode(env, std::move(bufferedStream), padding, options, inBitmapHandle, in nativeDecodeStream()
DImageDecoder.cpp205 std::unique_ptr<SkStream> bufferedStream( in ImageDecoder_nCreateInputStream() local
207 return native_create(env, std::move(bufferedStream), source, preferAnimation); in ImageDecoder_nCreateInputStream()