Home
last modified time | relevance | path

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

/frameworks/base/drm/java/android/drm/
DDrmUtils.java47 BufferedInputStream bufferedStream = new BufferedInputStream(inputStream); in readBytes() local
51 int length = bufferedStream.available(); in readBytes()
55 bufferedStream.read(data); in readBytes()
58 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/core/jni/android/graphics/
DMovie.cpp107 std::unique_ptr<SkStreamRewindable> bufferedStream(SkFrontBufferedStream::Make( in movie_decodeStream() local
109 SkASSERT(bufferedStream.get() != NULL); in movie_decodeStream()
111 Movie* moov = Movie::DecodeStream(bufferedStream.get()); in movie_decodeStream()
DBitmapFactory.cpp523 std::unique_ptr<SkStreamRewindable> bufferedStream( in nativeDecodeStream() local
525 SkASSERT(bufferedStream.get() != NULL); in nativeDecodeStream()
526 bitmap = doDecode(env, std::move(bufferedStream), padding, options, inBitmapHandle, in nativeDecodeStream()
DImageDecoder.cpp157 std::unique_ptr<SkStream> bufferedStream( in ImageDecoder_nCreateInputStream() local
160 return native_create(env, std::move(bufferedStream), source); in ImageDecoder_nCreateInputStream()