Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicy.java61 public class AudioPolicy { class
140 private AudioPolicy(AudioPolicyConfig config, Context context, Looper looper, in AudioPolicy() method in AudioPolicy
309 public AudioPolicy build() { in build()
320 return new AudioPolicy(new AudioPolicyConfig(mMixes), mContext, mLooper, in build()
874 public EventHandler(AudioPolicy ap, Looper looper) { in EventHandler()
DAudioPolicyConfig.java40 protected int mDuckingPolicy = AudioPolicy.FOCUS_POLICY_DUCKING_IN_APP;
/frameworks/base/media/java/android/media/
DAudioRecord.java30 import android.media.audiopolicy.AudioPolicy;
191 private AudioPolicy mAudioCapturePolicy;
454 private void unregisterAudioPolicyOnRelease(AudioPolicy audioPolicy) { in unregisterAudioPolicyOnRelease()
655 AudioPolicy audioPolicy = new AudioPolicy.Builder(/*context=*/ null) in buildAudioPlaybackCaptureRecord()
DAudioManager.java39 import android.media.audiopolicy.AudioPolicy;
40 import android.media.audiopolicy.AudioPolicy.AudioPolicyFocusListener;
2866 AudioPolicy ap) throws IllegalArgumentException { in requestAudioFocus()
2921 public int requestAudioFocus(@NonNull AudioFocusRequest afr, @Nullable AudioPolicy ap) { in requestAudioFocus()
3091 @FocusRequestResult int requestResult, @NonNull AudioPolicy ap) { in setFocusRequestResult()
3131 @NonNull AudioPolicy ap) { in dispatchAudioFocusChange()
3393 public int registerAudioPolicy(@NonNull AudioPolicy policy) { in registerAudioPolicy()
3397 static int registerAudioPolicyStatic(@NonNull AudioPolicy policy) { in registerAudioPolicyStatic()
3428 public void unregisterAudioPolicyAsync(@NonNull AudioPolicy policy) { in unregisterAudioPolicyAsync()
3432 static void unregisterAudioPolicyAsyncStatic(@NonNull AudioPolicy policy) { in unregisterAudioPolicyAsyncStatic()
[all …]
/frameworks/av/media/libaudioclient/
DAndroid.bp27 "AudioPolicy.cpp",
/frameworks/base/api/
Dtest-lint-baseline.txt196 BannedThrow: android.media.audiopolicy.AudioPolicy#createAudioRecordSink(android.media.audiopolicy.…
198 BannedThrow: android.media.audiopolicy.AudioPolicy#createAudioTrackSource(android.media.audiopolicy…
200 BannedThrow: android.media.audiopolicy.AudioPolicy#setFocusDuckingBehavior(int):
202 BannedThrow: android.media.audiopolicy.AudioPolicy.Builder#addMix(android.media.audiopolicy.AudioMi…
204 BannedThrow: android.media.audiopolicy.AudioPolicy.Builder#setLooper(android.os.Looper):
342 …ration: android.media.audiopolicy.AudioPolicy.Builder#setAudioPolicyFocusListener(android.media.au…
344 …ation: android.media.audiopolicy.AudioPolicy.Builder#setAudioPolicyStatusListener(android.media.au…
346 …ation: android.media.audiopolicy.AudioPolicy.Builder#setAudioPolicyVolumeCallback(android.media.au…
480 ListenerInterface: android.media.audiopolicy.AudioPolicy.AudioPolicyFocusListener:
482 ListenerInterface: android.media.audiopolicy.AudioPolicy.AudioPolicyStatusListener:
[all …]
Dtest-current.txt1180 …Change(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy);
1182 …IFY_AUDIO_ROUTING") public int registerAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy);
1183 …Result(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy);
1184 …_AUDIO_ROUTING") public void unregisterAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy);
1185 …O_ROUTING") public void unregisterAudioPolicyAsync(@NonNull android.media.audiopolicy.AudioPolicy);
1308 public class AudioPolicy {
1327 public abstract static class AudioPolicy.AudioPolicyFocusListener {
1328 ctor public AudioPolicy.AudioPolicyFocusListener();
1335 public abstract static class AudioPolicy.AudioPolicyStatusListener {
1336 ctor public AudioPolicy.AudioPolicyStatusListener();
[all …]
Dsystem-current.txt3757 …Change(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy);
3765 …DIFY_AUDIO_ROUTING) public int registerAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy);
3768 …ull android.media.AudioAttributes, int, int, android.media.audiopolicy.AudioPolicy) throws java.la…
3769 …ioFocus(@NonNull android.media.AudioFocusRequest, @Nullable android.media.audiopolicy.AudioPolicy);
3771 …Result(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy);
3773 …Y_AUDIO_ROUTING) public void unregisterAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy);
3774 …IO_ROUTING) public void unregisterAudioPolicyAsync(@NonNull android.media.audiopolicy.AudioPolicy);
3897 public class AudioPolicy {
3916 public abstract static class AudioPolicy.AudioPolicyFocusListener {
3917 ctor public AudioPolicy.AudioPolicyFocusListener();
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java89 import android.media.audiopolicy.AudioPolicy;
7186 if (duckingBehavior == AudioPolicy.FOCUS_POLICY_DUCKING_IN_POLICY) { in setFocusPropertiesForPolicy()
7189 if (policy.mFocusDuckBehavior == AudioPolicy.FOCUS_POLICY_DUCKING_IN_POLICY) { in setFocusPropertiesForPolicy()
7197 duckingBehavior == AudioPolicy.FOCUS_POLICY_DUCKING_IN_POLICY); in setFocusPropertiesForPolicy()
7454 int mFocusDuckBehavior = AudioPolicy.FOCUS_POLICY_DUCKING_DEFAULT;
7509 if (mFocusDuckBehavior == AudioPolicy.FOCUS_POLICY_DUCKING_IN_POLICY) { in release()
/frameworks/base/non-updatable-api/
Dsystem-current.txt3757 …Change(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy);
3765 …DIFY_AUDIO_ROUTING) public int registerAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy);
3768 …ull android.media.AudioAttributes, int, int, android.media.audiopolicy.AudioPolicy) throws java.la…
3769 …ioFocus(@NonNull android.media.AudioFocusRequest, @Nullable android.media.audiopolicy.AudioPolicy);
3771 …Result(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy);
3773 …Y_AUDIO_ROUTING) public void unregisterAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy);
3774 …IO_ROUTING) public void unregisterAudioPolicyAsync(@NonNull android.media.audiopolicy.AudioPolicy);
3897 public class AudioPolicy {
3916 public abstract static class AudioPolicy.AudioPolicyFocusListener {
3917 ctor public AudioPolicy.AudioPolicyFocusListener();
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt34595 Landroid/media/audiopolicy/AudioPolicy$AudioPolicyVolumeCallback;-><init>()V
34596 Landroid/media/audiopolicy/AudioPolicy$Builder;->mContext:Landroid/content/Context;
34597 Landroid/media/audiopolicy/AudioPolicy$Builder;->mFocusListener:Landroid/media/audiopolicy/AudioPol…
34598 Landroid/media/audiopolicy/AudioPolicy$Builder;->mIsFocusPolicy:Z
34599 Landroid/media/audiopolicy/AudioPolicy$Builder;->mLooper:Landroid/os/Looper;
34600 Landroid/media/audiopolicy/AudioPolicy$Builder;->mMixes:Ljava/util/ArrayList;
34601 Landroid/media/audiopolicy/AudioPolicy$Builder;->mStatusListener:Landroid/media/audiopolicy/AudioPo…
34602 Landroid/media/audiopolicy/AudioPolicy$Builder;->mVolCb:Landroid/media/audiopolicy/AudioPolicy$Audi…
34603AudioPolicy;-><init>(Landroid/media/audiopolicy/AudioPolicyConfig;Landroid/content/Context;Landroi…
34604 Landroid/media/audiopolicy/AudioPolicy;->addressForTag(Landroid/media/audiopolicy/AudioMix;)Ljava/l…
[all …]
Dboot-image-profile.txt9340 …ager;->requestAudioFocus(Landroid/media/AudioFocusRequest;Landroid/media/audiopolicy/AudioPolicy;)I
9342 …AudioFocusChangeListener;Landroid/media/AudioAttributes;IILandroid/media/audiopolicy/AudioPolicy;)I