/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicyConfig.java | 41 protected final ArrayList<AudioMix> mMixes; 55 AudioPolicyConfig(ArrayList<AudioMix> mixes) { in AudioPolicyConfig() 65 public void addMix(AudioMix mix) throws IllegalArgumentException { in addMix() 72 public ArrayList<AudioMix> getMixes() { in getMixes() 89 for (AudioMix mix : mMixes) { in writeToParcel() 111 mMixes = new ArrayList<AudioMix>(); in AudioPolicyConfig() 114 final AudioMix.Builder mixBuilder = new AudioMix.Builder(); in AudioPolicyConfig() 159 for(AudioMix mix : mMixes) { in toLogFriendlyString() 212 for (AudioMix mix : mMixes) { in setRegistration() 217 private void setMixRegistration(@NonNull final AudioMix mix) { in setMixRegistration() [all …]
|
D | AudioPolicy.java | 138 private ArrayList<AudioMix> mMixes; 152 mMixes = new ArrayList<AudioMix>(); in Builder() 163 public Builder addMix(@NonNull AudioMix mix) throws IllegalArgumentException { in addMix() 247 for (AudioMix mix : mMixes) { in build() 248 mix.mCallbackFlags |= AudioMix.CALLBACK_FLAG_NOTIFY_ACTIVITY; in build() 270 public int attachMixes(@NonNull List<AudioMix> mixes) { in attachMixes() 278 final ArrayList<AudioMix> zeMixes = new ArrayList<AudioMix>(mixes.size()); in attachMixes() 279 for (AudioMix mix : mixes) { in attachMixes() 311 public int detachMixes(@NonNull List<AudioMix> mixes) { in detachMixes() 319 final ArrayList<AudioMix> zeMixes = new ArrayList<AudioMix>(mixes.size()); in detachMixes() [all …]
|
D | AudioMix.java | 34 public class AudioMix { class 52 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags, int callbackFlags, in AudioMix() method in AudioMix 175 final AudioMix that = (AudioMix) o; in equals() 343 public AudioMix build() throws IllegalArgumentException { in build() 371 if (mRule.getTargetMixType() != AudioMix.MIX_TYPE_PLAYERS) { in build() 389 return new AudioMix(mRule, mFormat, mRouteFlags, mCallbackFlags, mDeviceSystemType, in build()
|
D | AudioMixingRule.java | 240 private int mTargetMixType = AudioMix.MIX_TYPE_INVALID; 400 if (mTargetMixType == AudioMix.MIX_TYPE_INVALID) { in addRuleInternal() 402 mTargetMixType = AudioMix.MIX_TYPE_PLAYERS; in addRuleInternal() 404 mTargetMixType = AudioMix.MIX_TYPE_RECORDERS; in addRuleInternal() 406 } else if (((mTargetMixType == AudioMix.MIX_TYPE_PLAYERS) && !isPlayerRule(rule)) in addRuleInternal() 407 || ((mTargetMixType == AudioMix.MIX_TYPE_RECORDERS) && isPlayerRule(rule))) in addRuleInternal()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPolicyMix.h | 42 android::AudioMix *getMix(); 44 void setMix(AudioMix &mix); 49 AudioMix mMix; // Audio policy mix descriptor 59 status_t registerMix(const String8& address, AudioMix mix, sp<SwAudioOutputDescriptor> desc); 79 AudioMix **policyMix); 81 status_t getInputMixForAttr(audio_attributes_t attr, AudioMix **policyMix);
|
D | AudioSession.h | 43 AudioMix* policyMix, 78 AudioMix* mPolicyMix; // non NULL when used by a dynamic policy
|
D | AudioInputDescriptor.h | 30 class AudioMix; variable 47 AudioMix *mPolicyMix; // non NULL when used by a dynamic policy
|
D | AudioOutputDescriptor.h | 32 class AudioMix; variable 144 AudioMix *mPolicyMix; // non NULL when used by a dynamic policy
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 45 void AudioPolicyMix::setMix(AudioMix &mix) in setMix() 50 android::AudioMix *AudioPolicyMix::getMix() in getMix() 115 status_t AudioPolicyMixCollection::registerMix(const String8& address, AudioMix mix, in registerMix() 175 AudioMix *mix = policyMix->getMix(); in getOutputForAttr() 294 AudioMix **policyMix) in getDeviceAndMixForInputSource() 297 AudioMix *mix = valueAt(i)->getMix(); in getDeviceAndMixForInputSource() 320 status_t AudioPolicyMixCollection::getInputMixForAttr(audio_attributes_t attr, AudioMix **policyMix) in getInputMixForAttr() 331 AudioMix *mix = policyMix->getMix(); in getInputMixForAttr() 342 AudioMix *mix = audioPolicyMix->getMix(); in getInputMixForAttr()
|
D | AudioSession.cpp | 39 AudioMix* policyMix, in AudioSession() 82 if ((mPolicyMix != NULL) && ((mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in changeActiveCount()
|
D | AudioOutputDescriptor.cpp | 311 if ((mPolicyMix != NULL) && ((mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in changeRefCount() 318 if ((mPolicyMix != NULL) && ((mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in changeRefCount()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioPolicy.h | 75 class AudioMix { 81 AudioMix() {} in AudioMix() function 82 AudioMix(Vector<AudioMixMatchCriterion> criteria, uint32_t mixType, audio_config_t format, in AudioMix() function
|
D | IAudioPolicyService.h | 158 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration) = 0;
|
D | AudioSystem.h | 328 static status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration);
|
/frameworks/av/include/media/ |
D | AudioPolicy.h | 75 class AudioMix { 81 AudioMix() {} in AudioMix() function 82 AudioMix(Vector<AudioMixMatchCriterion> criteria, uint32_t mixType, audio_config_t format, in AudioMix() function
|
D | IAudioPolicyService.h | 158 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration) = 0;
|
D | AudioSystem.h | 328 static status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration);
|
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 63 status_t AudioMix::readFromParcel(Parcel *parcel) in readFromParcel() 86 status_t AudioMix::writeToParcel(Parcel *parcel) const in writeToParcel()
|
D | IAudioPolicyService.cpp | 722 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration) in registerPolicyMixes() 1475 Vector<AudioMix> mixes; in onTransact() 1481 AudioMix mix; in onTransact()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 227 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes); 228 virtual status_t unregisterPolicyMixes(Vector<AudioMix> mixes); 657 AudioMix *policyMix); 671 AudioMix **policyMix = NULL);
|
D | AudioPolicyManager.cpp | 1148 AudioMix *policyMix = NULL; in startOutput() 1491 AudioMix *policyMix = NULL; in getInputForAttr() 1632 AudioMix *policyMix) in getInputForDevice() 2046 && ((inputDesc->mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) { in startInput() 2115 && ((inputDesc->mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) { in stopInput() 2476 status_t AudioPolicyManager::registerPolicyMixes(const Vector<AudioMix>& mixes) in registerPolicyMixes() 2572 status_t AudioPolicyManager::unregisterPolicyMixes(Vector<AudioMix> mixes) in unregisterPolicyMixes() 5481 AudioMix **policyMix) in loadConfig()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 233 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes) = 0; 234 virtual status_t unregisterPolicyMixes(Vector<AudioMix> mixes) = 0;
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 22 import android.media.audiopolicy.AudioMix; 826 public static native int registerPolicyMixes(ArrayList<AudioMix> mixes, boolean register); in registerPolicyMixes()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 1639 AudioMix *nAudioMix, in convertAudioMixToNative() 1736 Vector <AudioMix> mixes; in android_media_AudioSystem_registerPolicyMixes() 1743 AudioMix mix; in android_media_AudioSystem_registerPolicyMixes()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.h | 193 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration);
|