Home
last modified time | relevance | path

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

/frameworks/base/drm/java/android/drm/
DDrmUtils.java46 BufferedInputStream bufferedStream = new BufferedInputStream(inputStream); in readBytes() local
50 int length = bufferedStream.available(); in readBytes()
54 bufferedStream.read(data); in readBytes()
57 quietlyDispose(bufferedStream); in readBytes()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DParserFactory.java109 BufferedInputStream bufferedStream = new BufferedInputStream(stream); in readAndClose() local
116 avail = bufferedStream.available(); in readAndClose()
130 while ((avail = bufferedStream.available()) > 0) { in readAndClose()
149 bufferedStream.close(); in readAndClose()
/frameworks/base/core/jni/android/graphics/
DMovie.cpp107 std::unique_ptr<SkStreamRewindable> bufferedStream(SkFrontBufferedStream::Create(strm, 6)); in movie_decodeStream() local
108 SkASSERT(bufferedStream.get() != NULL); in movie_decodeStream()
110 SkMovie* moov = SkMovie::DecodeStream(bufferedStream.get()); in movie_decodeStream()
DBitmapFactory.cpp550 std::unique_ptr<SkStreamRewindable> bufferedStream( in nativeDecodeStream() local
552 SkASSERT(bufferedStream.get() != NULL); in nativeDecodeStream()
553 bitmap = doDecode(env, bufferedStream.release(), padding, options); in nativeDecodeStream()