Home
last modified time | relevance | path

Searched refs:AudioPlaybackConfiguration (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java24 import android.media.AudioPlaybackConfiguration;
50 implements AudioPlaybackConfiguration.PlayerDeathMonitor, PlayerFocusEnforcer {
77 AudioPlaybackConfiguration.PLAYER_TYPE_AAUDIO,
78 AudioPlaybackConfiguration.PLAYER_TYPE_JAM_SOUNDPOOL,
92 private final HashMap<Integer, AudioPlaybackConfiguration> mPlayers =
93 new HashMap<Integer, AudioPlaybackConfiguration>();
104 AudioPlaybackConfiguration.sPlayerDeathMonitor = this; in PlaybackActivityMonitor()
124 for (AudioPlaybackConfiguration apc : mPlayers.values()) { in disableAudioForUid()
136 private boolean checkBanPlayer(@NonNull AudioPlaybackConfiguration apc, int uid) { in checkBanPlayer()
159 final AudioPlaybackConfiguration apc = in trackPlayer()
[all …]
DAudioService.java71 import android.media.AudioPlaybackConfiguration;
2194 public void dispatchPlaybackConfigChange(List<AudioPlaybackConfiguration> configs,
2202 private void onPlaybackConfigChange(List<AudioPlaybackConfiguration> configs) { in onPlaybackConfigChange()
2204 for (AudioPlaybackConfiguration config : configs) { in onPlaybackConfigChange()
2208 && config.getPlayerState() == AudioPlaybackConfiguration.PLAYER_STATE_STARTED) { in onPlaybackConfigChange()
5486 onPlaybackConfigChange((List<AudioPlaybackConfiguration>) msg.obj); in handleMessage()
7199 public List<AudioPlaybackConfiguration> getActivePlaybackConfigurations() { in getActivePlaybackConfigurations()
/frameworks/base/media/java/android/media/
DAudioPlaybackConfiguration.java41 public final class AudioPlaybackConfiguration implements Parcelable { class
191 private AudioPlaybackConfiguration(int piid) { in AudioPlaybackConfiguration() method in AudioPlaybackConfiguration
199 public AudioPlaybackConfiguration(PlayerBase.PlayerIdCard pic, int piid, int uid, int pid) { in AudioPlaybackConfiguration() method in AudioPlaybackConfiguration
233 public static AudioPlaybackConfiguration anonymizedCopy(AudioPlaybackConfiguration in) { in anonymizedCopy()
234 final AudioPlaybackConfiguration anonymCopy = new AudioPlaybackConfiguration(in.mPlayerIId); in anonymizedCopy()
429 public static String toLogFriendlyString(AudioPlaybackConfiguration apc) { in toLogFriendlyString()
437 …public static final @android.annotation.NonNull Parcelable.Creator<AudioPlaybackConfiguration> CRE…
438 = new Parcelable.Creator<AudioPlaybackConfiguration>() {
444 public AudioPlaybackConfiguration createFromParcel(Parcel p) {
445 return new AudioPlaybackConfiguration(p);
[all …]
DIPlaybackConfigDispatcher.aidl19 import android.media.AudioPlaybackConfiguration;
28 … void dispatchPlaybackConfigChange(in List<AudioPlaybackConfiguration> configs, in boolean flush); in dispatchPlaybackConfigChange()
DPlayerBase.java80 private int mPlayerIId = AudioPlaybackConfiguration.PLAYER_PIID_INVALID;
104 mState = AudioPlaybackConfiguration.PLAYER_STATE_IDLE; in PlayerBase()
164 + AudioPlaybackConfiguration.toLogFriendlyPlayerState(state) in updateState()
171 updateState(AudioPlaybackConfiguration.PLAYER_STATE_STARTED); in baseStart()
193 updateState(AudioPlaybackConfiguration.PLAYER_STATE_PAUSED); in basePause()
198 updateState(AudioPlaybackConfiguration.PLAYER_STATE_STOPPED); in baseStop()
259 if (mState != AudioPlaybackConfiguration.PLAYER_STATE_RELEASED) { in baseRelease()
261 mState = AudioPlaybackConfiguration.PLAYER_STATE_RELEASED; in baseRelease()
DPlayerProxy.java38 private final AudioPlaybackConfiguration mConf; // never null
45 PlayerProxy(@NonNull AudioPlaybackConfiguration apc) { in PlayerProxy()
DAudioPlaybackConfiguration.aidl18 parcelable AudioPlaybackConfiguration;
DIAudioService.aidl22 import android.media.AudioPlaybackConfiguration;
229 List<AudioPlaybackConfiguration> getActivePlaybackConfigurations(); in getActivePlaybackConfigurations()
DHwAudioSource.java49 super(attributes, AudioPlaybackConfiguration.PLAYER_TYPE_HW_SOURCE); in HwAudioSource()
DSoundPool.java156 super(attributes, AudioPlaybackConfiguration.PLAYER_TYPE_JAM_SOUNDPOOL); in SoundPool()
DAudioManager.java3467 public void onPlaybackConfigChanged(List<AudioPlaybackConfiguration> configs) {} in onPlaybackConfigChanged()
3481 final List<AudioPlaybackConfiguration> mConfigs;
3484 List<AudioPlaybackConfiguration> configs) { in PlaybackConfigChangeCallbackData()
3568 public @NonNull List<AudioPlaybackConfiguration> getActivePlaybackConfigurations() { in getActivePlaybackConfigurations()
3617 public void dispatchPlaybackConfigChange(List<AudioPlaybackConfiguration> configs,
DAudioTrack.java601 super(attributes, AudioPlaybackConfiguration.PLAYER_TYPE_JAM_AUDIOTRACK); in AudioTrack()
707 AudioPlaybackConfiguration.PLAYER_TYPE_JAM_AUDIOTRACK); in AudioTrack()
DMediaPlayer.java655 AudioPlaybackConfiguration.PLAYER_TYPE_JAM_MEDIAPLAYER); in MediaPlayer()
/frameworks/base/services/core/java/com/android/server/media/
DAudioPlayerStateMonitor.java22 import android.media.AudioPlaybackConfiguration;
61 @NonNull AudioPlaybackConfiguration config, boolean isRemoved); in onAudioPlayerActiveStateChanged()
78 mListener.onAudioPlayerActiveStateChanged((AudioPlaybackConfiguration) msg.obj, in handleMessage()
85 final AudioPlaybackConfiguration config, final boolean isRemoved) { in sendAudioPlayerActiveStateChangedMessage()
100 ArrayMap<Integer, AudioPlaybackConfiguration> mPrevActiveAudioPlaybackConfigs =
215 final AudioPlaybackConfiguration config, final boolean isRemoved) { in sendAudioPlayerActiveStateChangedMessageLocked()
223 public void onPlaybackConfigChanged(List<AudioPlaybackConfiguration> configs) { in onPlaybackConfigChanged()
227 ArrayMap<Integer, AudioPlaybackConfiguration> activeAudioPlaybackConfigs = in onPlaybackConfigChanged()
229 for (AudioPlaybackConfiguration config : configs) { in onPlaybackConfigChanged()
238 AudioPlaybackConfiguration config = activeAudioPlaybackConfigs.valueAt(i); in onPlaybackConfigChanged()
[all …]
DMediaRouterService.java28 import android.media.AudioPlaybackConfiguration;
130 @NonNull AudioPlaybackConfiguration config, boolean isRemoved) { in MediaRouterService()
DMediaSessionService.java42 import android.media.AudioPlaybackConfiguration;
176 == AudioPlaybackConfiguration.PLAYER_TYPE_JAM_SOUNDPOOL) { in onStart()
/frameworks/base/config/
Dpreloaded-classes2216 android.media.AudioPlaybackConfiguration$1
2217 android.media.AudioPlaybackConfiguration
Dhiddenapi-greylist-max-o.txt36979 Landroid/media/AudioPlaybackConfiguration$IPlayerShell;
36980 Landroid/media/AudioPlaybackConfiguration$IPlayerShell;-><init>(Landroid/media/AudioPlaybackConfigu…
36981 Landroid/media/AudioPlaybackConfiguration$IPlayerShell;->getIPlayer()Landroid/media/IPlayer;
36982 Landroid/media/AudioPlaybackConfiguration$IPlayerShell;->mIPlayer:Landroid/media/IPlayer;
36983 Landroid/media/AudioPlaybackConfiguration$IPlayerShell;->mMonitor:Landroid/media/AudioPlaybackConfi…
36984 Landroid/media/AudioPlaybackConfiguration$IPlayerShell;->monitorDeath()V
36985 Landroid/media/AudioPlaybackConfiguration$IPlayerShell;->release()V
36986 Landroid/media/AudioPlaybackConfiguration$PlayerDeathMonitor;
36987 Landroid/media/AudioPlaybackConfiguration$PlayerDeathMonitor;->playerDeath(I)V
36988 Landroid/media/AudioPlaybackConfiguration$PlayerState;
[all …]
Dboot-image-profile.txt9358 HSPLandroid/media/AudioPlaybackConfiguration$1;-><init>()V
9359 HSPLandroid/media/AudioPlaybackConfiguration$IPlayerShell;->binderDied()V
9360 HSPLandroid/media/AudioPlaybackConfiguration$IPlayerShell;->monitorDeath()V
9361 HSPLandroid/media/AudioPlaybackConfiguration$IPlayerShell;->release()V
9362 HSPLandroid/media/AudioPlaybackConfiguration;-><init>(Landroid/media/PlayerBase$PlayerIdCard;III)V
9363 …droid/media/AudioPlaybackConfiguration;->anonymizedCopy(Landroid/media/AudioPlaybackConfiguration;…
9364 HSPLandroid/media/AudioPlaybackConfiguration;->handleAudioAttributesEvent(Landroid/media/AudioAttri…
9365 HSPLandroid/media/AudioPlaybackConfiguration;->handleStateEvent(I)Z
9366 HSPLandroid/media/AudioPlaybackConfiguration;->init()V
9367 HPLandroid/media/AudioPlaybackConfiguration;->writeToParcel(Landroid/os/Parcel;I)V
[all …]
/frameworks/base/services/
Dart-profile4430 …ackActivityMonitor$DuckingManager$DuckedApp;->addDuck(Landroid/media/AudioPlaybackConfiguration;Z)V
4432 …dio/PlaybackActivityMonitor$DuckingManager;->checkDuck(Landroid/media/AudioPlaybackConfiguration;)V
4435 …laybackActivityMonitor$DuckingManager;->removeReleased(Landroid/media/AudioPlaybackConfiguration;)V
4437 …/audio/PlaybackActivityMonitor$NewPlayerEvent;-><init>(Landroid/media/AudioPlaybackConfiguration;)V
4445 …o/PlaybackActivityMonitor;->checkConfigurationCaller(ILandroid/media/AudioPlaybackConfiguration;I)Z
4446 …aybackActivityMonitor;->checkVolumeForPrivilegedAlarm(Landroid/media/AudioPlaybackConfiguration;I)V
8559 …uvV4UG4nWgvCgkL6hec;->onAudioPlayerActiveStateChanged(Landroid/media/AudioPlaybackConfiguration;Z)V
8579 …ediaRouterService$1;->onAudioPlayerActiveStateChanged(Landroid/media/AudioPlaybackConfiguration;Z)V
8743 …erviceImpl;->lambda$onStart$0$MediaSessionServiceImpl(Landroid/media/AudioPlaybackConfiguration;Z)V
/frameworks/base/api/
Dsystem-current.txt3526 public final class AudioPlaybackConfiguration implements android.os.Parcelable {
Dcurrent.txt23270 …method @NonNull public java.util.List<android.media.AudioPlaybackConfiguration> getActivePlaybackC…
23432 …thod public void onPlaybackConfigChanged(java.util.List<android.media.AudioPlaybackConfiguration>);
23461 public final class AudioPlaybackConfiguration implements android.os.Parcelable {
23465 …ublic static final android.os.Parcelable.Creator<android.media.AudioPlaybackConfiguration> CREATOR;