Exploit databaseDownload repository ZIP
GH-9bef12607fbc6142c2d2e0da5832840c
nanopathi/framework_base_aosp10_r33_cve-2021-0339
Sources for CVE-2021-0339
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files50
nanopathi/framework_base_aosp10_r33_cve-2021-0339Revision 14c4f070663c
- ↑..Parent directory
- audioeffect/
- soundpool/
- Android.bp
- MODULE_LICENSE_APACHE2
- NOTICE
- OWNERS
- android_media_AudioPresentation.h
- android_media_BufferingParams.h
- android_media_DataSourceCallback.cpp
- android_media_DataSourceCallback.h
- android_media_ImageReader.cpp
- android_media_ImageWriter.cpp
- android_media_MediaCodec.cpp
- android_media_MediaCodec.h
- android_media_MediaCodecList.cpp
- android_media_MediaCrypto.cpp
- android_media_MediaCrypto.h
- android_media_MediaDataSource.cpp
- android_media_MediaDataSource.h
- android_media_MediaDescrambler.cpp
- android_media_MediaDescrambler.h
- android_media_MediaDrm.cpp
- android_media_MediaDrm.h
- android_media_MediaExtractor.cpp
- android_media_MediaExtractor.h
- android_media_MediaHTTPConnection.cpp
- android_media_MediaHTTPConnection.h
- android_media_MediaMetadataRetriever.cpp
- android_media_MediaMetricsJNI.cpp
- android_media_MediaMetricsJNI.h
- android_media_MediaMuxer.cpp
- android_media_MediaPlayer.cpp
- android_media_MediaPlayer2.cpp
- android_media_MediaProfiles.cpp
- android_media_MediaRecorder.cpp
- android_media_MediaScanner.cpp
- android_media_MediaSync.cpp
- android_media_MediaSync.h
- android_media_PlaybackParams.h
- android_media_ResampleInputStream.cpp
- android_media_Streams.cpp
- android_media_Streams.h
- android_media_SyncParams.cpp
- android_media_SyncParams.h
- android_media_Utils.cpp
- android_media_Utils.h
- android_media_VolumeShaper.h
- android_mtp_MtpDatabase.cpp
- android_mtp_MtpDevice.cpp
- android_mtp_MtpServer.cpp
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
media/jni/android_media_SyncParams.h
Text · 1,808 bytes/*
* Copyright 2015, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef _ANDROID_MEDIA_SYNC_PARAMS_H_
#define _ANDROID_MEDIA_SYNC_PARAMS_H_
#include "jni.h"
#include <media/stagefright/MediaSync.h>
namespace android {
struct SyncParams {
AVSyncSettings sync;
float frameRate;
bool syncSourceSet;
bool audioAdjustModeSet;
bool toleranceSet;
bool frameRateSet;
struct fields_t {
jclass clazz;
jmethodID constructID;
jfieldID sync_source;
jfieldID audio_adjust_mode;
jfieldID tolerance;
jfieldID frame_rate;
jfieldID set;
jint set_sync_source;
jint set_audio_adjust_mode;
jint set_tolerance;
jint set_frame_rate;
// initializes fields
void init(JNIEnv *env);
// releases global references held
void exit(JNIEnv *env);
};
// fills this from an android.media.SyncParams object
void fillFromJobject(JNIEnv *env, const fields_t& fields, jobject params);
// returns this as a android.media.SyncParams object
jobject asJobject(JNIEnv *env, const fields_t& fields);
};
} // namespace android
#endif // _ANDROID_MEDIA_SYNC_PARAMS_H_