Home
last modified time | relevance | path

Searched refs:policyConfig (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/java/android/media/
DIAudioService.aidl204 String registerAudioPolicy(in AudioPolicyConfig policyConfig, in registerAudioPolicy() argument
213 int addMixForPolicy(in AudioPolicyConfig policyConfig, in IAudioPolicyCallback pcb); in addMixForPolicy() argument
215 int removeMixForPolicy(in AudioPolicyConfig policyConfig, in IAudioPolicyCallback pcb); in removeMixForPolicy() argument
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java6889 public String registerAudioPolicy(AudioPolicyConfig policyConfig, IAudioPolicyCallback pcb, in registerAudioPolicy() argument
6894 if (!isPolicyRegisterAllowed(policyConfig, in registerAudioPolicy()
6905 + pcb.asBinder() + " with config:" + policyConfig)).printLog(TAG)); in registerAudioPolicy()
6914 AudioPolicyProxy app = new AudioPolicyProxy(policyConfig, pcb, hasFocusListener, in registerAudioPolicy()
6937 private boolean isPolicyRegisterAllowed(AudioPolicyConfig policyConfig, in isPolicyRegisterAllowed() argument
6948 } else if (policyConfig.getMixes().isEmpty()) { in isPolicyRegisterAllowed()
6952 for (AudioMix mix : policyConfig.getMixes()) { in isPolicyRegisterAllowed()
7111 public int addMixForPolicy(AudioPolicyConfig policyConfig, IAudioPolicyCallback pcb) { in addMixForPolicy() argument
7113 + " with config:" + policyConfig); } in addMixForPolicy()
7120 return app.addMixes(policyConfig.getMixes()) == AudioSystem.SUCCESS in addMixForPolicy()
[all …]