Exploit databaseDownload repository ZIP
GH-d594cde2f478e64351828eaedd774084
trinadh465/frameworks_base_aosp10_r33_cve-2023-20911
Sources for CVE-2023-20911
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files54
trinadh465/frameworks_base_aosp10_r33_cve-2023-20911Revision 63dffabe2f72
- ↑..Parent directory
- fonts/
- pdf/
- text/
- AnimatedImageDrawable.cpp
- Bitmap.cpp
- Bitmap.h
- BitmapFactory.cpp
- BitmapFactory.h
- BitmapRegionDecoder.cpp
- ByteBufferStreamAdaptor.cpp
- ByteBufferStreamAdaptor.h
- Camera.cpp
- CanvasProperty.cpp
- ColorFilter.cpp
- CreateJavaOutputStreamAdaptor.cpp
- CreateJavaOutputStreamAdaptor.h
- FontFamily.cpp
- FontUtils.cpp
- FontUtils.h
- GIFMovie.cpp
- GraphicBuffer.cpp
- GraphicBuffer.h
- Graphics.cpp
- GraphicsJNI.h
- ImageDecoder.cpp
- ImageDecoder.h
- Interpolator.cpp
- MaskFilter.cpp
- Matrix.cpp
- Matrix.h
- Movie.cpp
- Movie.h
- MovieImpl.cpp
- NinePatch.cpp
- NinePatchPeeker.cpp
- NinePatchPeeker.h
- Paint.cpp
- PaintFilter.cpp
- Path.cpp
- PathEffect.cpp
- PathMeasure.cpp
- Picture.cpp
- Picture.h
- Region.cpp
- Region.h
- RtlProperties.h
- Shader.cpp
- SurfaceTexture.cpp
- TEST_MAPPING
- Typeface.cpp
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
core/jni/android/graphics/CreateJavaOutputStreamAdaptor.h
Text · 1,689 bytes#ifndef _ANDROID_GRAPHICS_CREATE_JAVA_OUTPUT_STREAM_ADAPTOR_H_
#define _ANDROID_GRAPHICS_CREATE_JAVA_OUTPUT_STREAM_ADAPTOR_H_
//#include <android_runtime/AndroidRuntime.h>
#include "jni.h"
class SkMemoryStream;
class SkStream;
class SkStreamRewindable;
class SkWStream;
/**
* Return an adaptor from a Java InputStream to an SkStream.
* Does not support rewind.
* @param env JNIEnv object.
* @param stream Pointer to Java InputStream.
* @param storage Java byte array for retrieving data from the
* Java InputStream.
* @param swallowExceptions Whether to call ExceptionClear() after
* an Exception is thrown. If false, it is up to the client to
* clear or propagate the exception.
* @return SkStream Simple subclass of SkStream which supports its
* basic methods like reading. Only valid until the calling
* function returns, since the Java InputStream is not managed
* by the SkStream.
*/
SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage,
bool swallowExceptions = true);
/**
* Copy a Java InputStream. The result will be rewindable.
* @param env JNIEnv object.
* @param stream Pointer to Java InputStream.
* @param storage Java byte array for retrieving data from the
* Java InputStream.
* @return SkStreamRewindable The data in stream will be copied
* to a new SkStreamRewindable.
*/
SkStreamRewindable* CopyJavaInputStream(JNIEnv* env, jobject stream, jbyteArray storage);
SkWStream* CreateJavaOutputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage);
#endif // _ANDROID_GRAPHICS_CREATE_JAVA_OUTPUT_STREAM_ADAPTOR_H_