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 files168
nanopathi/framework_base_aosp10_r33_cve-2021-0339Revision 14c4f070663c
- ↑..Parent directory
- audiofx/
- audiopolicy/
- browse/
- midi/
- projection/
- session/
- soundtrigger/
- tv/
- AmrInputStream.java
- AsyncPlayer.java
- AudioAttributes.aidl
- AudioAttributes.java
- AudioDeviceCallback.java
- AudioDeviceInfo.java
- AudioDevicePort.java
- AudioDevicePortConfig.java
- AudioFocusInfo.aidl
- AudioFocusInfo.java
- AudioFocusRequest.java
- AudioFormat.aidl
- AudioFormat.java
- AudioGain.java
- AudioGainConfig.java
- AudioHandle.java
- AudioManager.java
- AudioManagerInternal.java
- AudioMixPort.java
- AudioMixPortConfig.java
- AudioPatch.java
- AudioPlaybackCaptureConfiguration.java
- AudioPlaybackConfiguration.aidl
- AudioPlaybackConfiguration.java
- AudioPort.java
- AudioPortConfig.java
- AudioPortEventHandler.java
- AudioPresentation.java
- AudioRecord.java
- AudioRecordRoutingProxy.java
- AudioRecordingConfiguration.aidl
- AudioRecordingConfiguration.java
- AudioRecordingMonitor.java
- AudioRecordingMonitorClient.java
- AudioRecordingMonitorImpl.java
- AudioRoutesInfo.aidl
- AudioRoutesInfo.java
- AudioRouting.java
- AudioSystem.java
- AudioTimestamp.java
- AudioTrack.java
- AudioTrackRoutingProxy.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
media/java/android/media/AudioRouting.java
Java · 3,217 bytes/*
* Copyright (C) 2016 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.
*/
package android.media;
import android.os.Handler;
import android.os.Looper;
/**
* AudioRouting defines an interface for controlling routing and routing notifications in
* AudioTrack and AudioRecord objects.
*/
public interface AudioRouting {
/**
* Specifies an audio device (via an {@link AudioDeviceInfo} object) to route
* the output/input to/from.
* @param deviceInfo The {@link AudioDeviceInfo} specifying the audio sink or source.
* If deviceInfo is null, default routing is restored.
* @return true if succesful, false if the specified {@link AudioDeviceInfo} is non-null and
* does not correspond to a valid audio device.
*/
public boolean setPreferredDevice(AudioDeviceInfo deviceInfo);
/**
* Returns the selected output/input specified by {@link #setPreferredDevice}. Note that this
* is not guaranteed to correspond to the actual device being used for playback/recording.
*/
public AudioDeviceInfo getPreferredDevice();
/**
* Returns an {@link AudioDeviceInfo} identifying the current routing of this
* AudioTrack/AudioRecord.
* Note: The query is only valid if the AudioTrack/AudioRecord is currently playing.
* If it is not, <code>getRoutedDevice()</code> will return null.
*/
public AudioDeviceInfo getRoutedDevice();
/**
* Adds an {@link AudioRouting.OnRoutingChangedListener} to receive notifications of routing
* changes on this AudioTrack/AudioRecord.
* @param listener The {@link AudioRouting.OnRoutingChangedListener} interface to receive
* notifications of rerouting events.
* @param handler Specifies the {@link Handler} object for the thread on which to execute
* the callback. If <code>null</code>, the {@link Handler} associated with the main
* {@link Looper} will be used.
*/
public void addOnRoutingChangedListener(OnRoutingChangedListener listener,
Handler handler);
/**
* Removes an {@link AudioRouting.OnRoutingChangedListener} which has been previously added
* to receive rerouting notifications.
* @param listener The previously added {@link AudioRouting.OnRoutingChangedListener} interface
* to remove.
*/
public void removeOnRoutingChangedListener(OnRoutingChangedListener listener);
/**
* Defines the interface by which applications can receive notifications of routing
* changes for the associated {@link AudioRouting}.
*/
public interface OnRoutingChangedListener {
public void onRoutingChanged(AudioRouting router);
}
}