Home
last modified time | relevance | path

Searched refs:AudioPolicy (Results 1 – 23 of 23) sorted by relevance

/frameworks/layoutlib/bridge/src/android/media/
DAudioManager.java24 import android.media.audiopolicy.AudioPolicy;
311 …ner l, AudioAttributes requestAttributes, int durationHint, int flags, AudioPolicy ap) throws Ille… in requestAudioFocus()
315 public int requestAudioFocus(AudioFocusRequest afr, AudioPolicy ap) { in requestAudioFocus()
325 public void setFocusRequestResult(AudioFocusInfo afi, int requestResult, AudioPolicy ap) { } in setFocusRequestResult()
327 public int dispatchAudioFocusChange(AudioFocusInfo afi, int focusChange, AudioPolicy ap) { in dispatchAudioFocusChange()
363 public int registerAudioPolicy(AudioPolicy policy) { in registerAudioPolicy()
367 public void unregisterAudioPolicyAsync(AudioPolicy policy) { } in unregisterAudioPolicyAsync()
369 public void unregisterAudioPolicy(AudioPolicy policy) { } in unregisterAudioPolicy()
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioPolicyDeathTestActivity.java26 import android.media.audiopolicy.AudioPolicy;
42 private AudioPolicy mAudioPolicy = null;
69 AudioPolicy.Builder audioPolicyBuilder = new AudioPolicy.Builder(getApplicationContext()); in onCreate()
/frameworks/av/media/audio/aconfig/
Daudiopolicy_framework.aconfig12 …description: "Improves ownership model of AudioMixes and the relationship between AudioPolicy and …
20 description: "Orders AudioMixes per registered AudioPolicy."
38 description: "Enable AudioPolicy.updateMixingRules API for hot-swapping audio mixing rules."
/frameworks/base/core/java/android/companion/virtual/audio/
DVirtualAudioSession.java33 import android.media.audiopolicy.AudioPolicy;
66 private AudioPolicy mAudioPolicy;
252 AudioPolicy.Builder builder = new AudioPolicy.Builder(mContext); in createAudioStreams()
/frameworks/base/media/java/android/media/
DAudioRecord.java43 import android.media.audiopolicy.AudioPolicy;
209 private AudioPolicy mAudioCapturePolicy;
518 private void unregisterAudioPolicyOnRelease(AudioPolicy audioPolicy) { in unregisterAudioPolicyOnRelease()
792 AudioPolicy audioPolicy = new AudioPolicy.Builder(/*context=*/ mContext) in buildAudioPlaybackCaptureRecord()
856 AudioPolicy audioPolicy = new AudioPolicy.Builder(mContext).addMix(audioMix).build(); in buildCallExtractionRecord()
DAudioTrack.java36 import android.media.audiopolicy.AudioPolicy;
629 private AudioPolicy mAudioPolicy;
1355 AudioPolicy audioPolicy = in buildCallInjectionTrack()
1356 new AudioPolicy.Builder(/*context=*/ mContext).addMix(audioMix).build(); in buildCallInjectionTrack()
1471 private void unregisterAudioPolicyOnRelease(AudioPolicy audioPolicy) { in unregisterAudioPolicyOnRelease()
DAudioManager.java60 import android.media.audiopolicy.AudioPolicy;
61 import android.media.audiopolicy.AudioPolicy.AudioPolicyFocusListener;
4638 AudioPolicy ap) throws IllegalArgumentException { in requestAudioFocus()
4873 public int requestAudioFocus(@NonNull AudioFocusRequest afr, @Nullable AudioPolicy ap) { in requestAudioFocus()
5073 @FocusRequestResult int requestResult, @NonNull AudioPolicy ap) { in setFocusRequestResult()
5112 @NonNull AudioPolicy ap) { in dispatchAudioFocusChange()
5176 @NonNull AudioPolicy ap, @NonNull List<AudioFocusInfo> otherActiveAfis, in dispatchAudioFocusChangeWithFade()
5442 public int registerAudioPolicy(@NonNull AudioPolicy policy) { in registerAudioPolicy()
5446 static int registerAudioPolicyStatic(@NonNull AudioPolicy policy) { in registerAudioPolicyStatic()
5477 public void unregisterAudioPolicyAsync(@NonNull AudioPolicy policy) { in unregisterAudioPolicyAsync()
[all …]
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicy.java71 public class AudioPolicy { class
163 private AudioPolicy(AudioPolicyConfig config, Context context, Looper looper, in AudioPolicy() method in AudioPolicy
335 public AudioPolicy build() { in build()
346 return new AudioPolicy(new AudioPolicyConfig(mMixes), mContext, mLooper, in build()
1213 public EventHandler(AudioPolicy ap, Looper looper) { in EventHandler()
DAudioPolicyConfig.java42 protected int mDuckingPolicy = AudioPolicy.FOCUS_POLICY_DUCKING_IN_APP;
/frameworks/av/services/audiopolicy/fuzzer/
DREADME.md11 AudioPolicy APIs contain the following parameters:
/frameworks/av/media/libaudioclient/
DAndroid.bp52 "AudioPolicy.cpp",
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java32 import android.media.audiopolicy.AudioPolicy;
DAudioService.java183 import android.media.audiopolicy.AudioPolicy;
12905 if (duckingBehavior == AudioPolicy.FOCUS_POLICY_DUCKING_IN_POLICY) { in setFocusPropertiesForPolicy()
12908 if (policy.mFocusDuckBehavior == AudioPolicy.FOCUS_POLICY_DUCKING_IN_POLICY) { in setFocusPropertiesForPolicy()
12916 duckingBehavior == AudioPolicy.FOCUS_POLICY_DUCKING_IN_POLICY); in setFocusPropertiesForPolicy()
13466 int mFocusDuckBehavior = AudioPolicy.FOCUS_POLICY_DUCKING_DEFAULT;
13532 if (mFocusDuckBehavior == AudioPolicy.FOCUS_POLICY_DUCKING_IN_POLICY) { in release()
/frameworks/base/core/api/
Dsystem-current.txt7017 …Change(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy);
7018 … android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy, @NonNull java.…
7052 …DIFY_AUDIO_ROUTING) public int registerAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy);
7065 …ull android.media.AudioAttributes, int, int, android.media.audiopolicy.AudioPolicy) throws java.la…
7066 …ioFocus(@NonNull android.media.AudioFocusRequest, @Nullable android.media.audiopolicy.AudioPolicy);
7073 …Result(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy);
7081 …Y_AUDIO_ROUTING) public void unregisterAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy);
7082 …IO_ROUTING) public void unregisterAudioPolicyAsync(@NonNull android.media.audiopolicy.AudioPolicy);
7497 public class AudioPolicy {
7524 public abstract static class AudioPolicy.AudioPolicyFocusListener {
[all …]
Dmodule-lib-lint-baseline.txt932 …sPermission: android.media.AudioManager#registerAudioPolicy(android.media.audiopolicy.AudioPolicy):
1650 …cusChangeListener, android.media.AudioAttributes, int, int, android.media.audiopolicy.AudioPolicy):
Dsystem-lint-baseline.txt1020 …sPermission: android.media.AudioManager#registerAudioPolicy(android.media.audiopolicy.AudioPolicy):
1970 UnflaggedApi: android.media.audiopolicy.AudioPolicy#updateMixingRules(java.util.List<android.util.P…
1971 …New API must be flagged with @FlaggedApi: method android.media.audiopolicy.AudioPolicy.updateMixin…
Dtest-current.txt2115 public class AudioPolicy {
2119 public static class AudioPolicy.Builder {
2120 …method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setIsTestFocusPolicy(boolean);
Dtest-lint-baseline.txt1012 …sPermission: android.media.AudioManager#registerAudioPolicy(android.media.audiopolicy.AudioPolicy):
1856 …cusChangeListener, android.media.AudioAttributes, int, int, android.media.audiopolicy.AudioPolicy):
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt24466 Landroid/media/audiopolicy/AudioPolicy$AudioPolicyVolumeCallback;-><init>()V
24467 Landroid/media/audiopolicy/AudioPolicy$Builder;->mContext:Landroid/content/Context;
24468 Landroid/media/audiopolicy/AudioPolicy$Builder;->mFocusListener:Landroid/media/audiopolicy/AudioPol…
24469 Landroid/media/audiopolicy/AudioPolicy$Builder;->mIsFocusPolicy:Z
24470 Landroid/media/audiopolicy/AudioPolicy$Builder;->mLooper:Landroid/os/Looper;
24471 Landroid/media/audiopolicy/AudioPolicy$Builder;->mMixes:Ljava/util/ArrayList;
24472 Landroid/media/audiopolicy/AudioPolicy$Builder;->mStatusListener:Landroid/media/audiopolicy/AudioPo…
24473 Landroid/media/audiopolicy/AudioPolicy$Builder;->mVolCb:Landroid/media/audiopolicy/AudioPolicy$Audi…
24474AudioPolicy;-><init>(Landroid/media/audiopolicy/AudioPolicyConfig;Landroid/content/Context;Landroi…
24475 Landroid/media/audiopolicy/AudioPolicy;->addressForTag(Landroid/media/audiopolicy/AudioMix;)Ljava/l…
[all …]
/frameworks/base/boot/
Dpreloaded-classes5398 android.media.audiopolicy.AudioPolicy$1
5399 android.media.audiopolicy.AudioPolicy$AudioPolicyStatusListener
5400 android.media.audiopolicy.AudioPolicy$EventHandler
5401 android.media.audiopolicy.AudioPolicy
Dboot-image-profile.txt10623 …ager;->requestAudioFocus(Landroid/media/AudioFocusRequest;Landroid/media/audiopolicy/AudioPolicy;)I
10626 …AudioFocusChangeListener;Landroid/media/AudioAttributes;IILandroid/media/audiopolicy/AudioPolicy;)I
27793 Landroid/media/audiopolicy/AudioPolicy$1;
27794 Landroid/media/audiopolicy/AudioPolicy$AudioPolicyStatusListener;
27795 Landroid/media/audiopolicy/AudioPolicy$EventHandler;
27796 Landroid/media/audiopolicy/AudioPolicy;
/frameworks/base/config/
Dpreloaded-classes5402 android.media.audiopolicy.AudioPolicy$1
5403 android.media.audiopolicy.AudioPolicy$AudioPolicyStatusListener
5404 android.media.audiopolicy.AudioPolicy$EventHandler
5405 android.media.audiopolicy.AudioPolicy
Dboot-image-profile.txt10626 …ager;->requestAudioFocus(Landroid/media/AudioFocusRequest;Landroid/media/audiopolicy/AudioPolicy;)I
10629 …AudioFocusChangeListener;Landroid/media/AudioAttributes;IILandroid/media/audiopolicy/AudioPolicy;)I
37927 Landroid/media/audiopolicy/AudioPolicy$1;
37928 Landroid/media/audiopolicy/AudioPolicy$AudioPolicyStatusListener;
37929 Landroid/media/audiopolicy/AudioPolicy$EventHandler;
37930 Landroid/media/audiopolicy/AudioPolicy;